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 © 2000, 2017 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.