Util Namespace Reference

Functions

bool MsgLevel (const char *stream, const char *level)
 Set the stream's message level.
const char * GetMsgLevel (const char *stream)
 Get the stream's current level.
void eat_whitespace (std::istream &is)
 discard all whitespace chars until hitting a non-whitespace
std::string read_quoted_string (std::istream &is)

Function Documentation

void Util::eat_whitespace ( std::istream &  is  ) 

discard all whitespace chars until hitting a non-whitespace

const char* Util::GetMsgLevel ( const char *  stream  ) 

Get the stream's current level.

bool Util::MsgLevel ( const char *  stream,
const char *  level 
)

Set the stream's message level.

std::string Util::read_quoted_string ( std::istream &  is  ) 

return a string of words. Strings are delimited by single quotes. any leading white space is eaten.

Referenced by Registry::ReadStream(), and RegistryItemXxx< T >::ReadStream().


Generated on 24 Jul 2018 for loon by  doxygen 1.6.1