#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/IFileMgr.h>
◆ IoFlags() [1/2]
◆ IoFlags() [2/2]
Io::IoFlags::IoFlags |
( |
unsigned | i | ) |
|
|
inline |
◆ bits()
std::string Io::IoFlags::bits |
( |
| ) |
const |
|
inline |
Definition at line 69 of file IFileMgr.h.
69 {
72 const unsigned SHIFT = 8 * sizeof( unsigned ) - 1;
73 const unsigned MASK = 1u << SHIFT;
74
75 for ( unsigned i = 1; i <= SHIFT + 1; ++i ) {
76 s += (
f & MASK ?
'1' :
'0' );
78 if ( i % 8 == 0 )
s +=
' ';
79 }
81 }
◆ f()
unsigned Io::IoFlags::f |
( |
| ) |
const |
|
inline |
◆ isInvalid()
bool Io::IoFlags::isInvalid |
( |
| ) |
const |
|
inline |
Definition at line 61 of file IFileMgr.h.
61{
return ( (
_f & INVALID ) != 0 ); }
◆ isRdWr()
bool Io::IoFlags::isRdWr |
( |
| ) |
const |
|
inline |
Definition at line 60 of file IFileMgr.h.
60{
return ( (
_f & RDWR ) != 0 ); }
◆ isRead()
bool Io::IoFlags::isRead |
( |
| ) |
const |
|
inline |
Definition at line 58 of file IFileMgr.h.
58{
return (
_f == READ ); }
◆ isWrite()
bool Io::IoFlags::isWrite |
( |
| ) |
const |
|
inline |
Definition at line 59 of file IFileMgr.h.
59{
return ( (
_f & WRITE ) != 0 ); }
◆ match()
bool Io::IoFlags::match |
( |
const IoFlags & | fa, |
|
|
bool | strict = true ) const |
|
inline |
Definition at line 63 of file IFileMgr.h.
63 {
64 if ( strict ) {
return (
_f == fa ); }
65
66 return ( (
_f & 3 ) == ( fa & 3 ) );
67 }
◆ operator unsigned()
Io::IoFlags::operator unsigned |
( |
| ) |
const |
|
inline |
◆ operator==() [1/2]
bool Io::IoFlags::operator== |
( |
const IoFlags & | fa | ) |
const |
|
inline |
◆ operator==() [2/2]
bool Io::IoFlags::operator== |
( |
const unsigned & | fa | ) |
const |
|
inline |
◆ operator|() [1/2]
◆ operator|() [2/2]
IoFlags Io::IoFlags::operator| |
( |
const unsigned & | fa | ) |
const |
|
inline |
◆ _f
unsigned Io::IoFlags::_f = INVALID |
|
private |
The documentation for this class was generated from the following file: