Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
 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

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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.