#include <Errata.h>
Inherited by ts::Rv< R >.
Public Member Functions | |
RvBase () | |
Default constructor. | |
RvBase (Errata const &s) | |
Construct with specific status. | |
bool | isOK () const |
Test the return value for success. | |
void | clear () |
Clear any stacked errors. | |
void | doNotLog () |
Inhibit logging of the errata. | |
Data Fields | |
Errata | _errata |
The status from the function. |
Helper class for Rv
.
This class enables us to move the implementation of non-templated methods and members out of the header file for a cleaner API.
Definition at line 615 of file Errata.h.
ts::RvBase::RvBase | ( | Errata const & | s | ) | [inline] |
void ts::RvBase::clear | ( | void | ) | [inline] |
Clear any stacked errors.
This is useful during shutdown, to silence irrelevant errors caused by the shutdown process.
Definition at line 905 of file Errata.h.
References _errata, and ts::Errata::clear().
void ts::RvBase::doNotLog | ( | ) | [inline] |
Inhibit logging of the errata.
Definition at line 906 of file Errata.h.
References _errata, and ts::Errata::doNotLog().
bool ts::RvBase::isOK | ( | ) | const [inline] |
Test the return value for success.
Definition at line 904 of file Errata.h.
References _errata.
Referenced by ts::config::Builder::literalValue(), main(), ts::config::Value::makeChild(), ts::config::Value::makeInteger(), ts::config::Value::makePath(), ts::config::Value::makeString(), ts::config::Path::Parser::parse(), and ts::config::Builder::pathClose().
The status from the function.
Definition at line 616 of file Errata.h.
Referenced by clear(), doNotLog(), ts::Rv< R >::errata(), isOK(), ts::Rv< R >::operator=(), and ts::Rv< R >::push().