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(
-
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(
-
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(
-
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
-
- ~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(
-
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
-
- 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
-
- 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
-
- 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
-
- 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
-
- Return
- false if both types refer the same type, true otherwise
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.