Sct::Archive::IONameArchiveFile Class Reference

IOName for an archived file. More...

#include <IONameArchiveFile.h>

Inheritance diagram for Sct::Archive::IONameArchiveFile:

Inheritance graph
[legend]
Collaboration diagram for Sct::Archive::IONameArchiveFile:

Collaboration graph
[legend]

Public Member Functions

 IONameArchiveFile (const string &fileName) throw (InvalidArgument)
 constructor from fileName
 IONameArchiveFile (const UniqueID &uniqueID, const string &className) throw ()
 constructor from uniqueID and classname
virtual ~IONameArchiveFile () throw ()
bool wildcard () const
 wildcard if it contains a `*'

Protected Member Functions

virtual void parse () throw (InvalidArgument)
 Must set uniqueID from nameIO.
virtual void construct () throw ()
 Must set nameIO from uniqueID and className.
 IONameArchiveFile ()
void expandWildcards ()
 expand all wildcards - to be over-written by sub-classes.

Detailed Description

IOName for an archived file.

Uses SCT_PERSISTENT_DIR

Definition at line 12 of file IONameArchiveFile.h.


Constructor & Destructor Documentation

Sct::Archive::IONameArchiveFile::IONameArchiveFile const string &  fileName  )  throw (InvalidArgument)
 

constructor from fileName

Definition at line 9 of file IONameArchiveFile.cpp.

References parse().

Here is the call graph for this function:

Sct::Archive::IONameArchiveFile::IONameArchiveFile const UniqueID uniqueID,
const string &  className
throw ()
 

constructor from uniqueID and classname

Definition at line 13 of file IONameArchiveFile.cpp.

References construct().

Here is the call graph for this function:


Member Function Documentation

void Sct::Archive::IONameArchiveFile::construct  )  throw () [protected, virtual]
 

Must set nameIO from uniqueID and className.

Implements Sct::IOName.

Definition at line 61 of file IONameArchiveFile.cpp.

References Sct::IOName::className, Sct::SctNames::getPersistentDir(), Sct::IOName::nameIO, and Sct::IOName::uniqueID.

Referenced by IONameArchiveFile().

Here is the call graph for this function:

void Sct::Archive::IONameArchiveFile::expandWildcards  )  [protected, virtual]
 

expand all wildcards - to be over-written by sub-classes.

Reimplemented from Sct::IOName.

Definition at line 27 of file IONameArchiveFile.cpp.

References Sct::SctNames::getTempDir(), IONameArchiveFile(), Sct::IOName::m_list, Sct::IOName::m_wildcardsExpanded, Sct::IOName::nameIO, and wildcard().

Here is the call graph for this function:

void Sct::Archive::IONameArchiveFile::parse  )  throw (InvalidArgument) [protected, virtual]
 

Must set uniqueID from nameIO.

Exceptions:
InvalidArgument if this isn't possible.

Implements Sct::IOName.

Definition at line 48 of file IONameArchiveFile.cpp.

References Sct::IOName::className, Sct::IOName::nameIO, and Sct::IOName::uniqueID.

Referenced by IONameArchiveFile().

bool Sct::Archive::IONameArchiveFile::wildcard  )  const [virtual]
 

wildcard if it contains a `*'

Reimplemented from Sct::IOName.

Definition at line 23 of file IONameArchiveFile.cpp.

References Sct::IOName::nameIO.

Referenced by expandWildcards().


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