src/tools/DataFileEngineCfg.cpp
bool
DataFileEngineCfg::
read(std::string& s) const
{
  char* str = rc_sprint(data_);
  if (str) {
    s = str;
    rc_free(str);
    return true;
  }
  else {
    return false;
  }
}
// Return the entire contents of the file as a string
Return the entire contents of the file as a string
Return the entire contents of the file as a string
bool
DataFileEngineCfg::
read(std::string& s) const
{
  char* str = rc_sprint(data_);
  if (str) {
    s = str;
    rc_free(str);
    return true;
  }
  else {
    return false;
  }
}
bool DataFileEngineCfg :: read ( std :: string & s ) const { char * str = rc_sprint ( data_ ) ; if ( str ) { s = str ; rc_free ( str ) ; return true ; } else { return false ; } }
Return the entire contents of the file as a string
Return the entire contents of the file as a string