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

Sct::Serializable Class Reference

Classes should implement this interface if they want to be serialized by the IO system. More...

#include <Serializable.h>

Inheritance diagram for Sct::Serializable:

Inheritance graph
[legend]
Collaboration diagram for Sct::Serializable:

Collaboration graph
[legend]

Public Member Functions

virtual string getUniqueID () const=0
 For objects to be stored, there must be some way of identifying them.


Detailed Description

Classes should implement this interface if they want to be serialized by the IO system.

Author:
Matthew Palmer

Definition at line 15 of file Serializable.h.


Member Function Documentation

virtual string Sct::Serializable::getUniqueID  )  const [pure 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

Implemented in Sct::ISSerializableWrapper< T >, SctData::SerializableWrapper, SctData::FitScanResult, SctData::RawScanResult, SctData::ResultHeader, and SctData::TestResult.

Referenced by SctArchiving::IOManagerDB::getHeader(), and Sct::Archive::IOManagerArchiveFile::write().


The documentation for this class was generated from the following file:
Generated on Thu Jul 15 09:51:30 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5