Public Member Functions | Data Fields

ts::RvBase Struct Reference

Helper class for Rv. More...

#include <Errata.h>

Inherited by ts::Rv< R >.

Collaboration diagram for ts::RvBase:
Collaboration graph
[legend]

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.

Detailed Description

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.


Constructor & Destructor Documentation

ts::RvBase::RvBase (  )  [inline]

Default constructor.

Definition at line 902 of file Errata.h.

ts::RvBase::RvBase ( Errata const &  s  )  [inline]

Construct with specific status.

Parameters:
s Status to copy

Definition at line 903 of file Errata.h.


Member Function Documentation

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]

Field Documentation

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().


The documentation for this struct was generated from the following file: