Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

SctData::SerializableWrapper Class Reference

Wraps pointers as a Serializable for IOManager. More...

Inheritance diagram for SctData::SerializableWrapper:

Inheritance graph
[legend]
Collaboration diagram for SctData::SerializableWrapper:

Collaboration graph
[legend]

Public Member Functions

 SerializableWrapper (const string &className, const scan_result_ptrs &data)
virtual string getClassName () const throw ()
 Get the class name for this object.

virtual Sct::UniqueID getUniqueID () const throw ()
 For objects to be stored, there must be some way of identifying them.


Private Attributes

string className
Sct::UniqueID uniqueID

Detailed Description

Wraps pointers as a Serializable for IOManager.

Definition at line 25 of file ScanResultWriter.cpp.


Member Function Documentation

virtual string SctData::SerializableWrapper::getClassName  )  const throw () [inline, virtual]
 

Get the class name for this object.

This is used to identify the precise type.

Returns:
the class name
Note:
Nothrow

Implements Sct::Streamable.

Definition at line 33 of file ScanResultWriter.cpp.

virtual Sct::UniqueID SctData::SerializableWrapper::getUniqueID  )  const throw () [inline, virtual]
 

For objects to be stored, there must be some way of identifying them.

This function must be implemented to return some unique identifier for objects of this precise className

Returns:
a unique string for this class
Exceptions:
LogicError if the class is unable to generate a uniqueID for some reason

Implements Sct::Serializable.

Definition at line 37 of file ScanResultWriter.cpp.


The documentation for this class was generated from the following file:
Generated on Fri Dec 16 19:42:47 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5