oaCMStringEntry Class Reference


Public Methods

 oaCMStringEntry (const oaString &string, oaCMStringTbl *tbl, oaTimeStamp timeStamp)
virtual ~oaCMStringEntry ()
const char * getString () const
oaTimeStamp getTimeStamp () const
virtual void accept (sr::srVisitorMgr &visitor)

Public Types

typedef oaCMStringEntry * SPtr

Detailed Description

The oaCMStringEntry class represents an entry in the object string table for an oaChangeSet. Each entry object contains an object state and a reference count.


Member Typedef Documentation

typedef oaCMStringEntry* oaCMStringEntry::SPtr
 


Constructor & Destructor Documentation

oaCMStringEntry::oaCMStringEntry const oaString &    string,
oaCMStringTbl *    tbl,
oaTimeStamp    timeStamp
 

This function constructs the string entry object and adds it to the table.

Parameters:
string The string for which to add the string entry object.
tbl A pointer to the oaCMStringTbl in which to insert the constructed string entry object.
timeStamp The timestamp indicating when this object was created.

oaCMStringEntry::~oaCMStringEntry   [virtual]
 

This function deletes this entry object and removes it from the table.


Member Function Documentation

void oaCMStringEntry::accept sr::srVisitorMgr &    visitor [virtual]
 

This function accepts an srVisitorMgr. It calls the visit function of the specified visitor on this object.

Parameters:
visitor The srVisitorMgr to call on this object.

const oaString * oaCMStringEntry::getString   const
 

This function returns a pointer to the string in this oaCMStringEntry object.

oaTimeStamp oaCMStringEntry::getTimeStamp   const
 

This function returns the timestamp of this object.


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

Return to top of page