Objective Systems, Inc.  
Home
About ASN.1
Products
Free Software
Documents
Services
Resources
Resellers
Customers
Careers
About Us
Contact Us
 

Google


Objective Systems, Inc.

OSBaseType Class Reference

C++ structured type base class. More...

#include <rtxCppBaseType.h>

Inheritance diagram for OSBaseType:

OSAnyAttrClass OSAnyElementClass OSDynOctStrClass OSRTDListBaseClass OSXMLStringClass OSXSDDateTimeClass OSRTDListClass OSRTObjListClass OSXSDDateClass OSXSDTimeClass List of all members.

Public Member Functions

 OSBaseType ()
virtual ~OSBaseType ()
virtual int encodeXML (OSMessageBufferIF &msgbuf, const OSUTF8CHAR *elemName, const OSUTF8CHAR *nsPrefix)
virtual int decodeXML (OSMessageBufferIF &msgbuf, const OSUTF8CHAR *elemName=0)
void setOwnMemory (OSBOOL bvalue=TRUE)
 This method transfers ownership of the string memory to the class instance.

Protected Attributes

OSBOOL mbOwnMemory

Detailed Description

C++ structured type base class.

This is the base class for all generated structured types. It defines special new and delete operators to allow memory for the structure to be allocated using the built-in memory management algorithm.

Definition at line 41 of file rtxCppBaseType.h.


Member Function Documentation

void OSBaseType::setOwnMemory OSBOOL  bvalue = TRUE  )  [inline]
 

This method transfers ownership of the string memory to the class instance.

The memory will be deleted when the instance is deleted or goes out of scope.

Parameters:
bvalue - Boolean value.

Definition at line 63 of file rtxCppBaseType.h.


The documentation for this class was generated from the following file:

This file was last modified on 8 Jan 2007.
XBinder, Version 1.1.9