Overview | Namespace | Class | Index | Help

## Methods of Class Type

Type
  Type() throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Default Constructor: Type is set to void.

Type
  Type(

    TypeClass | eTypeClass,
    const ::rtl::OUString & | rTypeName ) throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Constructor: Type is constructed by given name and type class.
  Parameters

    eTypeClass |
        type class of type
    rTypeName |
        name of type

Type
  Type(

    TypeClass | eTypeClass,
    const sal_Char * | pTypeName ) throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Constructor: Type is constructed by given name and type class.
  Parameters

    eTypeClass |
        type class of type
    pTypeName |
        name of type

Type
  Type(

    typelib_TypeDescriptionReference * | pType ) throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Constructor: Type is (copy) constructed by given C type description reference.
  Parameters

    pType |
        C type description reference

Type
  Type(

    typelib_TypeDescriptionReference * | pType,
    UnoType_NoAcquire | ) throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Constructor: Type is (copy) constructed by given C type description reference without acquiring it.
  Parameters

    pType |
        C type description reference
    dummy |
        UNO_TYPE_NO_ACQUIRE to force obvious distinction to other constructors

Type
  Type(

    typelib_TypeDescriptionReference * | pType,
    __sal_NoAcquire | ) throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Constructor: Type is (copy) constructed by given C type description reference without acquiring it.
  Parameters

    pType |
        C type description reference
    dummy |
        SAL_NO_ACQUIRE to force obvious distinction to other constructors

Type
  Type(

    const Type & | rType ) throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Copy constructor: Type is copy constructed by given type.
  Parameters

    rType |
        another type

~Type
  ~Type() throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Destructor: Releases acquired C type description reference.

operator=
  Type & operator=(

    const Type & | rType ) throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Assignment operator: Acquires right side type and releases previously set type.
  Parameters

    rType |
        another type (right side)

  Return
    this type

getTypeClass
  TypeClass getTypeClass() throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Gets the type class of set type.
  Return
    type class of set type

getTypeName
  ::rtl::OUString getTypeName() throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Gets the name of the set type.
  Return
    name of the set type

getDescription
  void getDescription(

    typelib_TypeDescription * * | ppDescr ) const throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | YES | NO | NO | NO | YES | NO

  Summary
    Obtains a full type description of set type.
  Parameters

    ppDescr |
        type description

getTypeLibType
  typelib_TypeDescriptionReference * getTypeLibType() throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Gets the C typelib type description reference pointer. Does not acquire the reference!
  Return
    UNacquired type description reference

isAssignableFrom
  sal_Bool isAssignableFrom(

    const Type & | rType ) const throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | YES | NO | NO | NO | YES | NO

  Description
    Tests if values of this reflected type can be assigned by values of given type. This includes widening conversion (e.g., long assignable from short), as long as there is no data loss.
  Parameters

    rType |
        another type

  Return
    true if values of this type can be assigned from values of given type, false otherwise

equals
  sal_Bool equals(

    const Type & | rType ) const throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | YES | NO | NO | NO | YES | NO

  Summary
    Compares two types.
  Parameters

    rType |
        another type

  Return
    true if both types refer the same type, false otherwise

operator==
  sal_Bool operator==(

    const Type & | rType ) const throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | YES | NO | NO | NO | YES | NO

  Summary
    Equality operator: Compares two types.
  Parameters

    rType |
        another type

  Return
    true if both types refer the same type, false otherwise

operator!=
  sal_Bool operator!=(

    const Type & | rType ) const throw();

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | YES | NO | NO | NO | YES | NO

  Summary
    Unequality operator: Compares two types.
  Parameters

    rType |
        another type

  Return
    false if both types refer the same type, true otherwise

Top of Page

Copyright © 2003 Sun Microsystems, Inc.