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 144 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 152 of file IoComponentMgr.h.

154  : m_oldfname(f), m_oldabspath(p),m_newfname(""), m_iomode(t){} // VT. changes
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 155 of file IoComponentMgr.h.

155  :m_oldfname(rhs.m_oldfname),
156  m_oldabspath(rhs.m_oldabspath), // VT. changes
157  m_newfname(rhs.m_newfname),
158  m_iomode(rhs.m_iomode){}
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 159 of file IoComponentMgr.h.

159  {
160  if (m_oldfname == rhs.m_oldfname) {
161  return (m_iomode < rhs.m_iomode);
162  } else {
163  return (m_oldfname < rhs.m_oldfname);
164  }
165  }
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 167 of file IoComponentMgr.h.

167  {
168  os << "old: \"" << c.m_oldfname
169  << "\" absolute path: \"" << c.m_oldabspath
170  << "\" new: \"" << c.m_newfname
171  << "\" m: " << ( (c.m_iomode == IIoComponentMgr::IoMode::READ) ?
172  "R" : "W" );
173  return os;
174  }
tuple c
Definition: gaudirun.py:391

Member Data Documentation

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

Definition at line 148 of file IoComponentMgr.h.

std::string IoComponentMgr::IoComponentEntry::m_newfname

Definition at line 147 of file IoComponentMgr.h.

std::string IoComponentMgr::IoComponentEntry::m_oldabspath

Definition at line 146 of file IoComponentMgr.h.

std::string IoComponentMgr::IoComponentEntry::m_oldfname

Definition at line 145 of file IoComponentMgr.h.


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