The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
IoComponentMgr::IoComponentEntry Struct Referencefinal
Collaboration diagram for IoComponentMgr::IoComponentEntry:

Public Member Functions

 IoComponentEntry ()=default
 
 IoComponentEntry (const std::string &f, const std::string &p, const IIoComponentMgr::IoMode::Type &t)
 

Public Attributes

std::string m_oldfname
 
std::string m_oldabspath
 
std::string m_newfname
 
IIoComponentMgr::IoMode::Type m_iomode { IIoComponentMgr::IoMode::INVALID }
 

Friends

bool operator< (const IoComponentEntry &lhs, const IoComponentEntry &rhs)
 
std::ostream & operator<< (std::ostream &os, const IoComponentEntry &c)
 

Detailed Description

Definition at line 128 of file IoComponentMgr.h.

Constructor & Destructor Documentation

◆ IoComponentEntry() [1/2]

IoComponentMgr::IoComponentEntry::IoComponentEntry ( )
default

◆ IoComponentEntry() [2/2]

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

Definition at line 135 of file IoComponentMgr.h.

136 : m_oldfname( f ), m_oldabspath( p ), m_iomode( t ) {}
std::string m_oldfname
std::string m_oldabspath
IIoComponentMgr::IoMode::Type m_iomode

Friends And Related Symbol Documentation

◆ operator<

bool operator< ( const IoComponentEntry & lhs,
const IoComponentEntry & rhs )
friend

Definition at line 138 of file IoComponentMgr.h.

138 {
139 return std::tie( lhs.m_oldfname, lhs.m_iomode ) < std::tie( rhs.m_oldfname, rhs.m_iomode );
140 }

◆ operator<<

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

Definition at line 142 of file IoComponentMgr.h.

142 {
143 return os << "old: \"" << c.m_oldfname << "\" absolute path: \"" << c.m_oldabspath << "\" new: \""
144 << c.m_newfname << "\" m: " << ( ( c.m_iomode == IIoComponentMgr::IoMode::READ ) ? "R" : "W" );
145 }

Member Data Documentation

◆ m_iomode

IIoComponentMgr::IoMode::Type IoComponentMgr::IoComponentEntry::m_iomode { IIoComponentMgr::IoMode::INVALID }

◆ m_newfname

std::string IoComponentMgr::IoComponentEntry::m_newfname

Definition at line 131 of file IoComponentMgr.h.

◆ m_oldabspath

std::string IoComponentMgr::IoComponentEntry::m_oldabspath

Definition at line 130 of file IoComponentMgr.h.

◆ m_oldfname

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: