jigdo API

XStatus Class Reference

Version of Status which can contain more than 2 values. More...

#include <status.hh>

List of all members.


Public Member Functions

 XStatus (const Status &x)
 XStatus (int c)
 XStatus (const XStatus &x)
XStatusoperator= (const XStatus &x)
XStatusoperator= (const Status &x)
bool xok () const
 Not calling these ok()/failed() to remind you that this is a XStatus.
bool xfailed () const
bool returned (int x) const

Public Attributes

int code

Detailed Description

Version of Status which can contain more than 2 values.

Explicitly making this a separate class so users (hopefully) notice that there are other states beyond succeeded/failed.


Constructor & Destructor Documentation

XStatus::XStatus ( const Status x  )  [inline]

XStatus::XStatus ( int  c  )  [inline, explicit]

XStatus::XStatus ( const XStatus x  )  [inline]


Member Function Documentation

XStatus& XStatus::operator= ( const XStatus x  )  [inline]

References code.

XStatus& XStatus::operator= ( const Status x  )  [inline]

References code, and Status::ok().

bool XStatus::xok (  )  const [inline]

Not calling these ok()/failed() to remind you that this is a XStatus.

References code.

bool XStatus::xfailed (  )  const [inline]

References code.

bool XStatus::returned ( int  x  )  const [inline]

References code.


Member Data Documentation


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

Generated on Tue Sep 23 14:27:43 2008 for jigdo by  doxygen 1.5.6