Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | 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 string getUniqueID () const throw ()
 For objects to be stored, there must be some way of identifying them.


Private Attributes

string className
string 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 36 of file ScanResultWriter.cpp.

virtual string 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 40 of file ScanResultWriter.cpp.


The documentation for this class was generated from the following file:
Generated on Thu Jul 8 11:42:27 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5