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

Sct::File::IOManagerFile Class Reference

#include <IOManagerFile.h>

Inheritance diagram for Sct::File::IOManagerFile:

Sct::IOManager noncopyable

Public Member Functions

virtual void write (const Serializable &ob, const IOParams *params=0) const throw (LogicError, IoError)
 Write an object.

virtual shared_ptr< Serializableread (const string &name, const IOParams *params=0) const throw (LogicError, IoError)
 Read an object.


Static Public Member Functions

IOManagerFile & instance ()

Private Member Functions

 IOManagerFile () throw ()

Constructor & Destructor Documentation

Sct::File::IOManagerFile::IOManagerFile   throw () [private]
 

Definition at line 10 of file IOManagerFile.cpp.


Member Function Documentation

IOManagerFile & Sct::File::IOManagerFile::instance   [static]
 

Definition at line 13 of file IOManagerFile.cpp.

shared_ptr< Serializable > Sct::File::IOManagerFile::read const string &    name,
const IOParams   params = 0
const throw (LogicError, IoError) [virtual]
 

Read an object.

Will determine the class by first reading a string assumed to contain the className.

Parameters:
name The name of the object to read
params A backend specific sub-class of IOParams.
Exceptions:
IoException if there is a problem with the I/O

Implements Sct::IOManager.

Definition at line 24 of file IOManagerFile.cpp.

void Sct::File::IOManagerFile::write const Serializable   ob,
const IOParams   params = 0
const throw (LogicError, IoError) [virtual]
 

Write an object.

Parameters:
ob The Serializable to write
params A backend specific sub-class of IOParams.
Exceptions:
IoException if there is a problem with the I/O

Implements Sct::IOManager.

Definition at line 18 of file IOManagerFile.cpp.

References Sct::IOName::getIOName().


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