PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
Go to the source code of this file.
Functions | |
void | idf_input_string (std::istream &in, std::string &str) |
Reads the given string from the input file, as previously written by output_string(). More... | |
void | idf_input_string (std::istream &in, const char *&str) |
Reads the given string from the input file, as previously written by output_string(). More... | |
template<class Element > | |
void | idf_input_vector (std::istream &in, std::vector< Element > &vec) |
Reads the given vector from the input file, as previously written by output_string(). More... | |
void | idf_output_string (std::ostream &out, const std::string &str, char whitespace=' ') |
Writes the indicated string to the output file. More... | |
void | idf_output_string (std::ostream &out, const char *str, char whitespace=' ') |
Writes the indicated string to the output file. More... | |
template<class Element > | |
void | idf_output_vector (std::ostream &out, const std::vector< Element > &vec) |
Writes the indicated vector to the output file. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file interrogate_datafile.h.
void idf_input_string | ( | std::istream & | in, |
std::string & | str | ||
) |
Reads the given string from the input file, as previously written by output_string().
Definition at line 38 of file interrogate_datafile.cxx.
Referenced by InterrogateManifest::input(), InterrogateMakeSeq::input(), InterrogateComponent::input(), InterrogateFunctionWrapper::input(), InterrogateFunction::input(), InterrogateElement::input(), and InterrogateType::input().
void idf_input_string | ( | std::istream & | in, |
const char *& | str | ||
) |
Reads the given string from the input file, as previously written by output_string().
Definition at line 75 of file interrogate_datafile.cxx.
void idf_input_vector | ( | std::istream & | in, |
std::vector< Element > & | vec | ||
) |
Reads the given vector from the input file, as previously written by output_string().
Each component is read using its normal istream input operator.
Definition at line 36 of file interrogate_datafile.I.
Referenced by InterrogateFunctionWrapper::input(), and InterrogateFunction::input().
void idf_output_string | ( | ostream & | out, |
const string & | str, | ||
char | whitespace | ||
) |
Writes the indicated string to the output file.
Uses the given whitespace character to separate the string's length and its contents.
Definition at line 26 of file interrogate_datafile.cxx.
Referenced by InterrogateManifest::output(), InterrogateMakeSeq::output(), InterrogateComponent::output(), InterrogateFunctionWrapper::output(), InterrogateFunction::output(), InterrogateElement::output(), InterrogateType::output(), and InterrogateDatabase::write().
void idf_output_string | ( | ostream & | out, |
const char * | str, | ||
char | whitespace | ||
) |
Writes the indicated string to the output file.
Uses the given whitespace character to separate the string's length and its contents.
Definition at line 59 of file interrogate_datafile.cxx.
void idf_output_vector | ( | std::ostream & | out, |
const std::vector< Element > & | vec | ||
) |
Writes the indicated vector to the output file.
Each component is written using its normal ostream output operator.
Definition at line 20 of file interrogate_datafile.I.
Referenced by InterrogateFunctionWrapper::output(), InterrogateFunction::output(), and InterrogateType::output().