Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11
 Overview   Namespace   Class   Index   Help 
PUBLIC MEMBERS:  CLASSESSTRUCTSUNIONSENUMSTYPEDEFSMETHODSSTATIC METHODSDATASTATIC DATA
PROTECTED MEMBERS:  CLASSESSTRUCTSUNIONSENUMSTYPEDEFSMETHODSSTATIC METHODSDATASTATIC DATA

::

class RegistryTypeReader


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
Summary
RegistryTypeReades reads a binary type blob.
Description
This class provides the necessary functions to read type informations for all kinds of types of a type blob. The class is inline and use a load on call C-Api.
File
reflread.hxx

Public Members

Methods


RegistryTypeReader( const RegistryTypeReader_Api * pApi, const sal_uInt8 * buffer, sal_uInt32 bufferLen, sal_Bool copyData );
Constructor using the registry Api directly.

RegistryTypeReader( const RegistryTypeReaderLoader & rLoader, const sal_uInt8 * buffer, sal_uInt32 bufferLen, sal_Bool copyData );
Constructor using the loader mechanism.

RegistryTypeReader( const RegistryTypeReader & toCopy );
Copy constructcor

~RegistryTypeReader( );
Destructor. The Destructor frees the data block if the copyData flag was TRUE.
RegistryTypeReader &
operator==( const RegistryTypeReader & toAssign );
Assign operator
sal_Bool
isValid( ) const;
checks if the registry type reader points to a valid Api.
sal_uInt16
getMinorVersion( ) const;
returns the minor version number.
sal_uInt16
getMajorVersion( ) const;
returns the major version number.
RTTypeClass
getTypeClass( ) const;
returns the typeclass of the type represented by this blob.
::rtl::OUString
getTypeName( ) const;
returns the full qualified name of the type.
::rtl::OUString
getSuperTypeName( ) const;
returns the full qualified name of the supertype.
void
getUik( RTUik & uik ) const;
returns the unique identifier for an interface type as an out parameter.
::rtl::OUString
getDoku( ) const;
returns the documentation string of this type.
::rtl::OUString
getFileName( ) const;
returns the IDL filename where the type is defined.
sal_uInt32
getFieldCount( ) const;
returns the number of fields (attributes/properties, enum values or number of constants in a module).
::rtl::OUString
getFieldName( sal_uInt16 index ) const;
returns the name of the field specified by index.
::rtl::OUString
getFieldType( sal_uInt16 index ) const;
returns the full qualified name of the field specified by index.
RTFieldAccess
getFieldAccess( sal_uInt16 index ) const;
returns the access mode of the field specified by index.
RTConstValue
getFieldConstValue( sal_uInt16 index ) const;
returns the value of the field specified by index.
::rtl::OUString
getFieldDoku( sal_uInt16 index ) const;
returns the documentation string for the field specified by index.
::rtl::OUString
getFieldFileName( sal_uInt16 index ) const;
returns the IDL filename of the field specified by index.
sal_uInt32
getMethodCount( ) const;
returns the number of methods of an interface type.
::rtl::OUString
getMethodName( sal_uInt16 index ) const;
returns the name of the method specified by index.
sal_uInt32
getMethodParamCount( sal_uInt16 index ) const;
returns number of parameters of the method specified by index.
::rtl::OUString
getMethodParamType( sal_uInt16 index, sal_uInt16 paramIndex ) const;
returns the full qualified parameter typename.
::rtl::OUString
getMethodParamName( sal_uInt16 index, sal_uInt16 paramIndex ) const;
returns the name of a parameter.
RTParamMode
getMethodParamMode( sal_uInt16 index, sal_uInt16 paramIndex ) const;
returns the parameter mode, if it is an in, out or inout parameter.
sal_uInt32
getMethodExcCount( sal_uInt16 index ) const;
returns the number of exceptions which are declared for the method specified by index.
::rtl::OUString
getMethodExcType( sal_uInt16 index, sal_uInt16 excIndex ) const;
returns the full qualified exception type of the specified exception.
::rtl::OUString
getMethodReturnType( sal_uInt16 index ) const;
returns the full qualified return type of the method specified by index.
RTMethodMode
getMethodMode( sal_uInt16 index ) const;
returns the full qualified exception type of the specified exception.
::rtl::OUString
getMethodDoku( sal_uInt16 index ) const;
returns the documentation string of the method specified by index.
sal_uInt32
getReferenceCount( ) const;
returns the number of references (supported interfaces, exported services).
::rtl::OUString
getReferenceName( sal_uInt16 index ) const;
returns the full qualified typename of the reference specified by index.
RTReferenceType
getReferenceType( sal_uInt16 index ) const;
returns the type of the reference specified by index.
::rtl::OUString
getReferenceDoku( sal_uInt16 index ) const;
returns the documentation string of the reference specified by index.
RTFieldAccess
getReferenceAccess( sal_uInt16 index ) const;
returns the access mode of the reference specified by index.

Protected Members

Data

const RegistryTypeReader_Api * m_pApi; stores the registry type reader Api.
const ::salhelper::ODynamicLoader< RegistryTypeReader_Api > m_Api; stores the dynamic loader which is used to hold the library.
TypeReaderImpl m_hImpl; stores the handle of an implementation class

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.