The Gaudi Framework  master (37c0b60a)
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 129 of file IoComponentMgr.h.

Constructor & Destructor Documentation

◆ IoComponentEntry() [1/3]

IoComponentMgr::IoComponentEntry::IoComponentEntry ( )
inline

Definition at line 135 of file IoComponentMgr.h.

◆ IoComponentEntry() [2/3]

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

Definition at line 137 of file IoComponentMgr.h.

138  : m_oldfname( f ), m_oldabspath( p ), m_newfname( "" ), m_iomode( t ) {}

◆ IoComponentEntry() [3/3]

IoComponentMgr::IoComponentEntry::IoComponentEntry ( const IoComponentEntry rhs)
inline

Definition at line 139 of file IoComponentMgr.h.

140  : m_oldfname( rhs.m_oldfname )
141  , m_oldabspath( rhs.m_oldabspath )
142  , m_newfname( rhs.m_newfname )
143  , m_iomode( rhs.m_iomode ) {}

Member Function Documentation

◆ operator<()

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

Definition at line 144 of file IoComponentMgr.h.

144  {
145  if ( m_oldfname == rhs.m_oldfname ) {
146  return ( m_iomode < rhs.m_iomode );
147  } else {
148  return ( m_oldfname < rhs.m_oldfname );
149  }
150  }

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 152 of file IoComponentMgr.h.

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

Member Data Documentation

◆ m_iomode

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

Definition at line 133 of file IoComponentMgr.h.

◆ m_newfname

std::string IoComponentMgr::IoComponentEntry::m_newfname

Definition at line 132 of file IoComponentMgr.h.

◆ m_oldabspath

std::string IoComponentMgr::IoComponentEntry::m_oldabspath

Definition at line 131 of file IoComponentMgr.h.

◆ m_oldfname

std::string IoComponentMgr::IoComponentEntry::m_oldfname

Definition at line 130 of file IoComponentMgr.h.


The documentation for this struct was generated from the following file:
IIoComponentMgr::IoMode::READ
@ READ
Definition: IIoComponentMgr.h:41
gaudirun.c
c
Definition: gaudirun.py:525
bug_34121.t
t
Definition: bug_34121.py:31
IIoComponentMgr::IoMode::INVALID
@ INVALID
Definition: IIoComponentMgr.h:41
IoComponentMgr::IoComponentEntry::m_newfname
std::string m_newfname
Definition: IoComponentMgr.h:132
IoComponentMgr::IoComponentEntry::m_iomode
IIoComponentMgr::IoMode::Type m_iomode
Definition: IoComponentMgr.h:133
IoComponentMgr::IoComponentEntry::m_oldabspath
std::string m_oldabspath
Definition: IoComponentMgr.h:131
IoComponentMgr::IoComponentEntry::m_oldfname
std::string m_oldfname
Definition: IoComponentMgr.h:130