The Gaudi Framework  v30r3 (a5ef0a68)
IoComponentMgr::IoComponentEntry Struct Reference
Collaboration diagram for IoComponentMgr::IoComponentEntry:

Public Member Functions

 IoComponentEntry ()
 
 IoComponentEntry (const std::string &f, const std::string &p, const IIoComponentMgr::IoMode::Type &t)
 
 IoComponentEntry (const IoComponentEntry &rhs)
 
bool operator< (IoComponentEntry const &rhs) const
 

Public Attributes

std::string m_oldfname
 
std::string m_oldabspath
 
std::string m_newfname
 
IIoComponentMgr::IoMode::Type m_iomode
 

Friends

std::ostreamoperator<< (std::ostream &os, const IoComponentEntry &c)
 

Detailed Description

Definition at line 115 of file IoComponentMgr.h.

Constructor & Destructor Documentation

IoComponentMgr::IoComponentEntry::IoComponentEntry ( )
inline
IoComponentMgr::IoComponentEntry::IoComponentEntry ( const std::string f,
const std::string p,
const IIoComponentMgr::IoMode::Type t 
)
inline

Definition at line 125 of file IoComponentMgr.h.

126  : m_oldfname( f ), m_oldabspath( p ), m_newfname( "" ), m_iomode( t )
127  {
128  }
std::string m_oldabspath
std::string m_oldfname
IIoComponentMgr::IoMode::Type m_iomode
std::string m_newfname
IoComponentMgr::IoComponentEntry::IoComponentEntry ( const IoComponentEntry rhs)
inline

Definition at line 129 of file IoComponentMgr.h.

130  : m_oldfname( rhs.m_oldfname )
131  , m_oldabspath( rhs.m_oldabspath )
132  , m_newfname( rhs.m_newfname )
133  , m_iomode( rhs.m_iomode )
134  {
135  }
std::string m_oldabspath
std::string m_oldfname
IIoComponentMgr::IoMode::Type m_iomode
std::string m_newfname

Member Function Documentation

bool IoComponentMgr::IoComponentEntry::operator< ( IoComponentEntry const &  rhs) const
inline

Definition at line 136 of file IoComponentMgr.h.

137  {
138  if ( m_oldfname == rhs.m_oldfname ) {
139  return ( m_iomode < rhs.m_iomode );
140  } else {
141  return ( m_oldfname < rhs.m_oldfname );
142  }
143  }
std::string m_oldfname
IIoComponentMgr::IoMode::Type m_iomode

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream os,
const IoComponentEntry c 
)
friend

Definition at line 145 of file IoComponentMgr.h.

146  {
147  os << "old: \"" << c.m_oldfname << "\" absolute path: \"" << c.m_oldabspath << "\" new: \"" << c.m_newfname
148  << "\" m: " << ( ( c.m_iomode == IIoComponentMgr::IoMode::READ ) ? "R" : "W" );
149  return os;
150  }

Member Data Documentation

IIoComponentMgr::IoMode::Type IoComponentMgr::IoComponentEntry::m_iomode

Definition at line 119 of file IoComponentMgr.h.

std::string IoComponentMgr::IoComponentEntry::m_newfname

Definition at line 118 of file IoComponentMgr.h.

std::string IoComponentMgr::IoComponentEntry::m_oldabspath

Definition at line 117 of file IoComponentMgr.h.

std::string IoComponentMgr::IoComponentEntry::m_oldfname

Definition at line 116 of file IoComponentMgr.h.


The documentation for this struct was generated from the following file: