Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


::

class RegistryTypeWriter


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
D E P R E C A T E D
Summary
RegistryTypeWriter writes/creates a binary type blob.
Description
This class provides the necessary functions to write type informations for all kinds of types into a blob. The class is inline and use a C-Api. use typereg::Writer instead
File
reflwrit.hxx

Public Members

Methods


RegistryTypeWriter( RTTypeClass RTTypeClass, const ::rtl::OUString & typeName, const ::rtl::OUString & superTypeName, sal_uInt16 fieldCount, sal_uInt16 methodCount, sal_uInt16 referenceCount );
Constructor.

RegistryTypeWriter( const RegistryTypeWriter & toCopy );
Copy constructcor

~RegistryTypeWriter( );
Destructor. The Destructor frees the internal data block.
RegistryTypeWriter &
operator==( const RegistryTypeWriter & toAssign );
Assign operator
void
setUik( const RTUik & uik );
sets the unique identifier for an interface type.
void
setDoku( const ::rtl::OUString & doku );
sets a documentation string for the type.
void
setFileName( const ::rtl::OUString & fileName );
sets the IDL filename where this type is defined.
void
setFieldData( sal_uInt16 index, const ::rtl::OUString & name, const ::rtl::OUString & typeName, const ::rtl::OUString & doku, const ::rtl::OUString & fileName, RTFieldAccess access, RTConstValue constValue = RTConstValue );
sets the data for a field member of a type blob.
void
setMethodData( sal_uInt16 index, const ::rtl::OUString & name, const ::rtl::OUString & returnTypeName, RTMethodMode mode, sal_uInt16 paramCount, sal_uInt16 excCount, const ::rtl::OUString & doku );
sets the data for a method.
void
setParamData( sal_uInt16 index, sal_uInt16 paramIndex, const ::rtl::OUString & type, const ::rtl::OUString & name, RTParamMode mode );
sets the data for the specified parameter of a method.
void
setExcData( sal_uInt16 index, sal_uInt16 excIndex, const ::rtl::OUString & type );
sets the data for the specified exception of a mehtod.
const sal_uInt8 *
getBlop( );
returns a pointer to the new type blob.
sal_uInt32
getBlopSize( );
returns the size of the new type blob in bytes.
void
setReferenceData( sal_uInt16 index, const ::rtl::OUString & name, RTReferenceType refType, const ::rtl::OUString & doku, RTFieldAccess access = RT_ACCESS_INVALID );
sets the data for a reference member.

Protected Members

Data

const RegistryTypeWriter_Api * m_pApi; stores the registry type writer Api.
TypeWriterImpl 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.