Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CTBfallibleBase.icc

Go to the documentation of this file.
00001 
00006 /*----------------------------------------------------------------------------*/
00007 /* C Tool Box: Designed and implemented by:                                   */
00008 /*    Walter F.J. Mueller   Gesellschaft fuer Schwerionenforschung (GSI)      */
00009 /*                          Planckstrasse 1, D-64291 Darmstadt, Germany       */
00010 /*                  Email:  W.F.J.Mueller@gsi.de                              */
00011 /*                  WWW:    http://www-kp3.gsi.de/www/kp3/people/mueller.html */
00012 /*------------------------------------------+---------------------------------*/
00013 
00014 //------------------------------------------+-----------------------------------
00016 
00017 inline CTBfallibleBase::CTBfallibleBase(bool b_valid)
00018   : mb_valid(b_valid)
00019 {}
00020 
00021 //------------------------------------------+-----------------------------------
00023 
00024 inline bool CTBfallibleBase::Failed() const
00025 {
00026   return !mb_valid;
00027 }
00028 
00029 //------------------------------------------+-----------------------------------
00031 
00032 inline bool CTBfallibleBase::Valid() const
00033 {
00034   return mb_valid;
00035 }
00036 
00037 //------------------------------------------+-----------------------------------
00039 
00040 inline void CTBfallibleBase::Invalidate()
00041 {
00042   mb_valid = false;
00043   return;
00044 }
00045 

Generated at Fri Oct 24 18:11:28 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001