Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

dtool/src/interrogatedb/interrogate_datafile.h File Reference

#include <dtoolbase.h>
#include <vector>
#include "interrogate_datafile.I"

Go to the source code of this file.

Functions

void idf_output_string (ostream &out, const string &str, char whitespace= ' ')
 Writes the indicated string to the output file.

void idf_input_string (istream &in, string &str)
 Reads the given string from the input file, as previously written by output_string().

void idf_output_string (ostream &out, const char *str, char whitespace= ' ')
 Writes the indicated string to the output file.

void idf_input_string (istream &in, const char *&str)
 Reads the given string from the input file, as previously written by output_string().

template<class Element> void idf_output_vector (ostream &out, const vector< Element > &vec)
 Writes the indicated vector to the output file.

template<class Element> void idf_input_vector (istream &in, vector< Element > &vec)
 Reads the given vector from the input file, as previously written by output_string().


Detailed Description

Definition in file interrogate_datafile.h.


Function Documentation

void idf_input_string istream &  in,
const char *&  str
 

Reads the given string from the input file, as previously written by output_string().

Definition at line 103 of file interrogate_datafile.cxx.

Referenced by InterrogateType::output(), InterrogateType::EnumValue::output(), InterrogateFunctionWrapper::output(), InterrogateFunctionWrapper::Parameter::output(), and InterrogateComponent::output().

void idf_input_string istream &  in,
string &  str
 

Reads the given string from the input file, as previously written by output_string().

Definition at line 54 of file interrogate_datafile.cxx.

template<class Element>
void idf_input_vector istream &  in,
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 60 of file interrogate_datafile.I.

Referenced by InterrogateFunctionWrapper::output(), and InterrogateType::output().

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 82 of file interrogate_datafile.cxx.

Referenced by InterrogateType::Derivation::input(), InterrogateFunctionWrapper::Parameter::input(), and InterrogateType::merge_with().

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 37 of file interrogate_datafile.cxx.

template<class Element>
void idf_output_vector ostream &  out,
const vector< Element > &  vec
 

Writes the indicated vector to the output file.

Each component is written using its normal ostream output operator.

Definition at line 36 of file interrogate_datafile.I.

Referenced by InterrogateFunctionWrapper::Parameter::input(), and InterrogateType::merge_with().


Generated on Thu May 1 22:13:12 2003 for DTool by doxygen1.3