Sct::File::IOManagerFile Class Reference

Inheritance diagram for Sct::File::IOManagerFile:

Inheritance graph
[legend]
Collaboration diagram for Sct::File::IOManagerFile:

Collaboration graph
[legend]

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

static IOManagerFileinstance ()

Private Member Functions

 IOManagerFile () throw ()

Detailed Description

Definition at line 11 of file IOManagerFile.h.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:03:27 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6