Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   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:

Sct::Streamable Sct::ISProxy::ISProxy SctData::ScanHeader SctData::ScanResult SctData::SerializableWrapper SctData::TestResult SctData::FitScanResult SctData::RawScanResult SctData::FullBypassTestResult SctData::NMaskTestResult SctData::NoiseOccupancyTestResult SctData::NPtGainTestResult SctData::PipelineTestResult SctData::StrobeDelayTestResult SctData::TimeWalkTestResult SctData::TrimRangeTestResult

Public Member Functions

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

virtual ~Serializable () throw ()

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.


Constructor & Destructor Documentation

virtual Sct::Serializable::~Serializable   throw () [inline, virtual]
 

Definition at line 26 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::ISProxy::ISProxy, SctData::SerializableWrapper, SctData::FitScanResult, SctData::RawScanResult, SctData::ScanHeader, and SctData::TestResult.


The documentation for this class was generated from the following file:
Generated on Mon Dec 15 19:37:21 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3