Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.10

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: typereg ::

class Reader


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
Summary
A type reader working on a binary blob that represents a UNOIDL type.
Description

Instances of this class are not multi-thread–safe.

Since
UDK 3.2.0
File
reader.hxx

Public Members

Methods


Reader( );
Creates an invalid type reader.

Reader( const void * buffer, sal_uInt32 length, bool copy, typereg_Version maxVersion );
Creates a type reader.

Reader( const Reader & other );
Shares a type reader between two <code>Reader</code> instances.

~Reader( );
Destroys this <code>Reader</code> instance.
Reader &
operator=( const Reader & other );
Replaces the underlying type reader.
bool
isValid( ) const;
Returns whether this type reader is valid.
typereg_Version
getVersion( ) const;
Returns the binary blob version of this type reader.
rtl::OUString
getDocumentation( ) const;
Returns the documentation of this type reader.
rtl::OUString
getFileName( ) const;
Returns the file name of this type reader.
RTTypeClass
getTypeClass( ) const;
Returns the type class of this type reader.
bool
isPublished( ) const;
Returns whether this type reader is published.
rtl::OUString
getTypeName( ) const;
Returns the type name of this type reader.
sal_uInt16
getSuperTypeCount( ) const;
Returns the number of super types of this type reader.
rtl::OUString
getSuperTypeName( sal_uInt16 index ) const;
Returns the type name of a super type of this type reader.
sal_uInt16
getFieldCount( ) const;
Returns the number of fields of this type reader.
rtl::OUString
getFieldDocumentation( sal_uInt16 index ) const;
Returns the documentation of a field of this type reader.
rtl::OUString
getFieldFileName( sal_uInt16 index ) const;
Returns the file name of a field of this type reader.
RTFieldAccess
getFieldFlags( sal_uInt16 index ) const;
Returns the flags of a field of this type reader.
rtl::OUString
getFieldName( sal_uInt16 index ) const;
Returns the name of a field of this type reader.
rtl::OUString
getFieldTypeName( sal_uInt16 index ) const;
Returns the type name of a field of this type reader.
RTConstValue
getFieldValue( sal_uInt16 index ) const;
Returns the value of a field of this type reader.
sal_uInt16
getMethodCount( ) const;
Returns the number of methods of this type reader.
rtl::OUString
getMethodDocumentation( sal_uInt16 index ) const;
Returns the documentation of a method of this type reader.
RTMethodMode
getMethodFlags( sal_uInt16 index ) const;
Returns the flags of a method of this type reader.
rtl::OUString
getMethodName( sal_uInt16 index ) const;
Returns the name of a method of this type reader.
rtl::OUString
getMethodReturnTypeName( sal_uInt16 index ) const;
Returns the return type name of a method of this type reader.
sal_uInt16
getMethodParameterCount( sal_uInt16 index ) const;
Returns the number of parameters of a method of this type reader.
RTParamMode
getMethodParameterFlags( sal_uInt16 methodIndex, sal_uInt16 parameterIndex ) const;
Returns the flags of a parameter of a method of this type reader.
rtl::OUString
getMethodParameterName( sal_uInt16 methodIndex, sal_uInt16 parameterIndex ) const;
Returns the name of a parameter of a method of this type reader.
rtl::OUString
getMethodParameterTypeName( sal_uInt16 methodIndex, sal_uInt16 parameterIndex ) const;
Returns the type name of a parameter of a method of this type reader.
sal_uInt16
getMethodExceptionCount( sal_uInt16 index ) const;
Returns the number of exceptions of a method of this type reader.
rtl::OUString
getMethodExceptionTypeName( sal_uInt16 methodIndex, sal_uInt16 exceptionIndex ) const;
Returns the type name of an exception of a method of this type reader.
sal_uInt16
getReferenceCount( ) const;
Returns the number of references of this type reader.
rtl::OUString
getReferenceDocumentation( sal_uInt16 index ) const;
Returns the documentation of a reference of this type reader.
RTFieldAccess
getReferenceFlags( sal_uInt16 index ) const;
Returns the flags of a reference of this type reader.
RTReferenceType
getReferenceSort( sal_uInt16 index ) const;
Returns the sort of a reference of this type reader.
rtl::OUString
getReferenceTypeName( sal_uInt16 index ) const;
Returns the type name of a reference of this type reader.

Private Members

Data

void * m_handle;

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.