Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: typereg ::

class Writer


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
Summary
A type writer 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
writer.hxx

Public Members

Methods


Writer( typereg_Version version, const rtl::OUString & documentation, const rtl::OUString & fileName, RTTypeClass typeClass, bool published, const rtl::OUString & typeName, sal_uInt16 superTypeCount, sal_uInt16 fieldCount, sal_uInt16 methodCount, sal_uInt16 referenceCount );
Creates a type writer.

~Writer( );
Destroys this <code>Writer</code> instance.
void
setSuperTypeName( sal_uInt16 index, const rtl::OUString & typeName );
Sets the type name of a super type of this type writer.
void
setFieldData( sal_uInt16 index, const rtl::OUString & documentation, const rtl::OUString & fileName, RTFieldAccess flags, const rtl::OUString & name, const rtl::OUString & typeName, const RTConstValue & value );
Sets the data of a field of this type writer.
void
setMethodData( sal_uInt16 index, const rtl::OUString & documentation, RTMethodMode flags, const rtl::OUString & name, const rtl::OUString & returnTypeName, sal_uInt16 parameterCount, sal_uInt16 exceptionCount );
Sets the data of a method of this type writer.
void
setMethodParameterData( sal_uInt16 methodIndex, sal_uInt16 parameterIndex, RTParamMode flags, const rtl::OUString & name, const rtl::OUString & typeName );
Sets the data of a parameter of a method of this type writer.
void
setMethodExceptionTypeName( sal_uInt16 methodIndex, sal_uInt16 exceptionIndex, const rtl::OUString & typeName );
Sets an exception type name of a method of this type writer.
void
setReferenceData( sal_uInt16 index, const rtl::OUString & documentation, RTReferenceType sort, RTFieldAccess flags, const rtl::OUString & typeName );
Sets the data of a reference of this type writer.
const void *
getBlob( sal_uInt32 * size );
Returns the blob of this type writer.

Private Members

Methods


Writer( Writer & );
void
operator=( Writer );

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.