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 00020 inline CTBlineStream::operator bool() 00021 { 00022 return mp_is && (bool)(*mp_is); 00023 } 00024 00025 //------------------------------------------+----------------------------------- 00027 00028 inline CTBlineStream& CTBlineStream::operator>>(CTBstring& line) 00029 { 00030 Get(line); 00031 return *this; 00032 } 00033 00034 //------------------------------------------+----------------------------------- 00036 00041 inline CTBlineStream& CTBlineStream::operator>>(const char*& c_line) 00042 { 00043 Get(c_line); 00044 return *this; 00045 } 00046