srObjectRef Class Reference

Inheritance diagram for srObjectRef:

srBase


Public Methods

 srObjectRef (const sd::sdObject *def, void *object)
virtual ~srObjectRef ()
virtual void accept (srVisitorMgr &visitor)
const sd::sdObjectgetDef () const
void * getObject () const
void setObject (void *object)

Public Types

typedef srObjectRef * SPtr
typedef const srObjectRef * CSPtr

Detailed Description

This is the base class to represent an object reference, containing only a pointer to the sdObject that defines the schema definition for the representation.

The srObjectRef class encapsulates the definition and representation of an opaque object pointer.


Member Typedef Documentation

typedef const srObjectRef* srObjectRef::CSPtr
 

typedef srObjectRef* srObjectRef::SPtr
 

Reimplemented from srBase.


Constructor & Destructor Documentation

srObjectRef::srObjectRef const sd::sdObject *    def,
void *    object
 

This is the srObjectRef constructor.

Parameters:
def A pointer to the schema definition object.
object A pointer to the object for which to construct the opaque object pointer.

srObjectRef::~srObjectRef   [virtual]
 

This is the srObjectRef destructor.


Member Function Documentation

void srObjectRef::accept srVisitorMgr &    visitor [virtual]
 

This function is responsible for calling the correct visitor.

Parameters:
visitor The visitor to call.

Implements srBase.

const sd::sdObject * srObjectRef::getDef   const
 

This function is the accessor to get the schema definition object.

void * srObjectRef::getObject   const
 

This function is the accessor to the opaque object pointer that is being referenced.

void srObjectRef::setObject void *    object
 

This function sets the opaque object pointer.

Parameters:
object A pointer to the object for which to set the opaque pointer.


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

Return to top of page