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

Sct::ISProxy::ISProxy Class Reference

#include <ISProxy.h>

Inheritance diagram for Sct::ISProxy::ISProxy:

Sct::Serializable Sct::Streamable

Public Member Functions

 ISProxy (const string &uniqueID, const string &className) throw ()
 ISProxy () throw ()
 ~ISProxy () throw ()
string getUniqueID () const throw (LogicError)
 For objects to be stored, there must be some way of identifying them.

string getClassName () const throw ()
 Get the class name for this object.

string getFileName () const throw ()
void setFileName (const string &fileName) throw ()

Private Attributes

string fileName
string uniqueID
string className

Constructor & Destructor Documentation

Sct::ISProxy::ISProxy::ISProxy const string &    uniqueID,
const string &    className
throw ()
 

Definition at line 9 of file ISProxy.cpp.

Sct::ISProxy::ISProxy::ISProxy   throw ()
 

Definition at line 14 of file ISProxy.cpp.

Sct::ISProxy::ISProxy::~ISProxy   throw () [inline]
 

Definition at line 17 of file ISProxy.h.


Member Function Documentation

string Sct::ISProxy::ISProxy::getClassName   const throw () [virtual]
 

Get the class name for this object.

This is used to identify the precise type.

Todo:
We could use typeid instead here, but that would probably mean removing the namespace stuff.
Returns:
the class name

Implements Sct::Streamable.

Definition at line 21 of file ISProxy.cpp.

string Sct::ISProxy::ISProxy::getFileName   const throw ()
 

Definition at line 25 of file ISProxy.cpp.

string Sct::ISProxy::ISProxy::getUniqueID   const throw (LogicError) [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 17 of file ISProxy.cpp.

void Sct::ISProxy::ISProxy::setFileName const string &    fileName throw ()
 

Definition at line 29 of file ISProxy.cpp.


Field Documentation

string Sct::ISProxy::ISProxy::className [private]
 

Definition at line 28 of file ISProxy.h.

string Sct::ISProxy::ISProxy::fileName [private]
 

Definition at line 26 of file ISProxy.h.

string Sct::ISProxy::ISProxy::uniqueID [private]
 

Definition at line 27 of file ISProxy.h.


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