jigdo API

Status Class Reference

Simple success/failure return type. More...

#include <status.hh>

List of all members.

Public Member Functions

 Status (bool c)
 Status (const Status &x)
Statusoperator= (const Status &x)
bool ok () const
bool failed () const

Public Attributes

bool code

Static Public Attributes

static const bool OK = false
static const bool FAILED = true

Detailed Description

Simple success/failure return type.

Constructor & Destructor Documentation

Status::Status ( bool  c  )  [inline, explicit]

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

Member Function Documentation

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

References code.

bool Status::ok (  )  const [inline]

References code, and OK.

Referenced by XStatus::operator=().

bool Status::failed (  )  const [inline]

References code, and FAILED.

Referenced by JigdoCache::readFilenames().

Member Data Documentation

const bool Status::OK = false [static]

Referenced by ok().

const bool Status::FAILED = true [static]

Referenced by failed().

Referenced by failed(), ok(), operator=(), and operator==().

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