All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::ostream & operator<< (std::ostream &os, const IoComponentEntry &c)
 

Detailed Description

Definition at line 143 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 151 of file IoComponentMgr.h.

153  : 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 154 of file IoComponentMgr.h.

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

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

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

Member Data Documentation

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

Definition at line 147 of file IoComponentMgr.h.

std::string IoComponentMgr::IoComponentEntry::m_newfname

Definition at line 146 of file IoComponentMgr.h.

std::string IoComponentMgr::IoComponentEntry::m_oldabspath

Definition at line 145 of file IoComponentMgr.h.

std::string IoComponentMgr::IoComponentEntry::m_oldfname

Definition at line 144 of file IoComponentMgr.h.


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