Sct::IOName Class Reference

Name an object has when being streamed to or from e.g. More...

#include <IOName.h>

Inheritance diagram for Sct::IOName:

Inheritance graph
[legend]
Collaboration diagram for Sct::IOName:

Collaboration graph
[legend]

Public Types

typedef std::list< shared_ptr<
IOName > >::iterator 
iterator
typedef std::list< shared_ptr<
IOName > >::const_iterator 
const_iterator

Public Member Functions

 IOName (const string &nameIO) throw (InvalidArgumentError)
 IOName (const UniqueID &uniqueID, const string &className) throw (InvalidArgumentError)
virtual ~IOName () throw ()
string getIOName () const throw ()
UniqueID getUniqueID () const throw ()
string getClassName () const throw ()
virtual bool wildcard () const
 return true if this name contains wildcards
iterator begin ()
 iterator begin method
iterator end ()
 iterator end method for wildcard
const_iterator begin () const
 iterator const begin method for wildcard
const_iterator end () const
 iterator const end method for wildcard

Protected Member Functions

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

Protected Attributes

UniqueID uniqueID
string className
string nameIO
std::list< shared_ptr< IOName > > m_list
bool m_wildcardsExpanded

Detailed Description

Name an object has when being streamed to or from e.g.

IS or file. May contain wildcards in some cases - see derrived classes.

Definition at line 14 of file IOName.h.


Member Function Documentation

IOName::const_iterator Sct::IOName::begin  )  const
 

iterator const begin method for wildcard

Definition at line 36 of file IOName.cpp.

References expandWildcards(), and m_list.

Here is the call graph for this function:

IOName::iterator Sct::IOName::begin  ) 
 

iterator begin method

Definition at line 26 of file IOName.cpp.

References expandWildcards(), and m_list.

Here is the call graph for this function:

virtual void Sct::IOName::construct  )  throw () [protected, pure virtual]
 

Must set nameIO from uniqueID and className.

Implemented in SctArchiving::IONameDB, Sct::Archive::IONameArchiveFile, Sct::File::IONameFile, and Sct::IS::IONameIS.

IOName::const_iterator Sct::IOName::end  )  const
 

iterator const end method for wildcard

Definition at line 41 of file IOName.cpp.

References expandWildcards(), and m_list.

Here is the call graph for this function:

IOName::iterator Sct::IOName::end  ) 
 

iterator end method for wildcard

Definition at line 31 of file IOName.cpp.

References expandWildcards(), and m_list.

Here is the call graph for this function:

void Sct::IOName::expandWildcards  )  [protected, virtual]
 

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

Reimplemented in Sct::Archive::IONameArchiveFile.

Definition at line 50 of file IOName.cpp.

Referenced by begin(), and end().

virtual void Sct::IOName::parse  )  throw (InvalidArgumentError) [protected, pure virtual]
 

Must set uniqueID from nameIO.

Exceptions:
InvalidArgument if this isn't possible.

Implemented in SctArchiving::IONameDB, Sct::Archive::IONameArchiveFile, Sct::File::IONameFile, and Sct::IS::IONameIS.

bool Sct::IOName::wildcard  )  const [virtual]
 

return true if this name contains wildcards

Reimplemented in Sct::Archive::IONameArchiveFile.

Definition at line 46 of file IOName.cpp.


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