Main Page   Modules   Namespace List   Class Hierarchy   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:

Sct::Streamable SctData::ScanHeader SctData::ScanResult 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.


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 SctData::FitScanResult, SctData::RawScanResult, SctData::ScanHeader, and SctData::TestResult.


The documentation for this class was generated from the following file:
Generated on Tue Dec 9 10:08:04 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3