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)
 ~SerializableWrapper () throw ()
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.

References className.

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.

References uniqueID.


The documentation for this class was generated from the following file:
Generated on Mon Feb 6 14:07:02 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6