Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v28r2p1 (f1a77ff4)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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::ostreamoperator<< (std::ostream &os, const IoComponentEntry &c)
 

Detailed Description

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

138  : 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 139 of file IoComponentMgr.h.

139  :m_oldfname(rhs.m_oldfname),
140  m_oldabspath(rhs.m_oldabspath), // VT. changes
141  m_newfname(rhs.m_newfname),
142  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 143 of file IoComponentMgr.h.

143  {
144  if (m_oldfname == rhs.m_oldfname) {
145  return (m_iomode < rhs.m_iomode);
146  } else {
147  return (m_oldfname < rhs.m_oldfname);
148  }
149  }
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 151 of file IoComponentMgr.h.

151  {
152  os << "old: \"" << c.m_oldfname
153  << "\" absolute path: \"" << c.m_oldabspath
154  << "\" new: \"" << c.m_newfname
155  << "\" m: " << ( (c.m_iomode == IIoComponentMgr::IoMode::READ) ?
156  "R" : "W" );
157  return os;
158  }

Member Data Documentation

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

Definition at line 132 of file IoComponentMgr.h.

std::string IoComponentMgr::IoComponentEntry::m_newfname

Definition at line 131 of file IoComponentMgr.h.

std::string IoComponentMgr::IoComponentEntry::m_oldabspath

Definition at line 130 of file IoComponentMgr.h.

std::string IoComponentMgr::IoComponentEntry::m_oldfname

Definition at line 129 of file IoComponentMgr.h.


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