|
|
using | flag_type = std::ios_base::iostate |
| | The state flag representation type.
|
| |
◆ IOBase() [1/2]
| active::file::IOBase::IOBase |
( |
| ) |
|
|
inlinenoexcept |
◆ IOBase() [2/2]
| active::file::IOBase::IOBase |
( |
const IOBase & | source | ) |
|
|
inlinenoexcept |
Copy constructor
- Parameters
-
◆ ~IOBase()
| virtual active::file::IOBase::~IOBase |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ bad()
| virtual bool active::file::IOBase::bad |
( |
| ) |
const |
|
inlinevirtualnoexcept |
Determine if the stream is bad
- Returns
- True if the stream is bad
Reimplemented in active::file::File.
◆ clear() [1/2]
| virtual void active::file::IOBase::clear |
( |
flag_type | f = std::ios_base::goodbit | ) |
|
|
inlinevirtual |
◆ clear() [2/2]
| void active::file::IOBase::clear |
( |
flag_type | f = std::ios_base::goodbit | ) |
const |
|
inlineprotected |
Set the stream state flags
- Parameters
-
◆ eof()
| virtual bool active::file::IOBase::eof |
( |
| ) |
const |
|
inlinevirtualnoexcept |
Determine if end of input has been seen
- Returns
- True if end of input has been seen
Reimplemented in active::file::File.
◆ fail()
| virtual bool active::file::IOBase::fail |
( |
| ) |
const |
|
inlinevirtualnoexcept |
Determine if the next operation will fail
- Returns
- True if the next operation will fail
Reimplemented in active::file::File.
◆ good()
| virtual bool active::file::IOBase::good |
( |
| ) |
const |
|
inlinevirtualnoexcept |
Determine if the last operation was successful, i.e. eof, fail and bad bits are all 0)
- Returns
- True if the last operation was successful
Reimplemented in active::file::File.
◆ operator void *()
| active::file::IOBase::operator void * |
( |
| ) |
const |
|
inlinenoexcept |
Determine if the next operation will succeed
- Returns
- Non-zero if the next operation will succeed
◆ operator!()
| bool active::file::IOBase::operator! |
( |
| ) |
const |
|
inlinenoexcept |
Logical not operator
- Returns
- True if an error has occured
◆ setCompleteState()
| void active::file::IOBase::setCompleteState |
( |
flag_type | state | ) |
|
|
inlineprotected |
Modify the stream state flags
- Parameters
-
◆ setState() [1/2]
| virtual void active::file::IOBase::setState |
( |
flag_type | f | ) |
|
|
inlinevirtual |
◆ setState() [2/2]
| void active::file::IOBase::setState |
( |
flag_type | f | ) |
const |
|
inlineprotected |
Modify the stream state flags
- Parameters
-
◆ state()
| virtual flag_type active::file::IOBase::state |
( |
| ) |
const |
|
inlinevirtualnoexcept |
Get the stream state flags
- Returns
- The stream state flags
◆ unsetState() [1/2]
| virtual void active::file::IOBase::unsetState |
( |
flag_type | f | ) |
|
|
inlinevirtual |
Unset stream state flags
- Parameters
-
| f | The flag to unset (clear) |
◆ unsetState() [2/2]
| virtual void active::file::IOBase::unsetState |
( |
flag_type | f | ) |
const |
|
inlineprotectedvirtual |
Unset stream state flags
- Parameters
-
| f | The flag to unset (clear) |
The documentation for this class was generated from the following file:
- /Users/rwessel/Documents/Development/ActiveLib/Active/File/Interface/IOBase.h