Panda3D
Functions
interrogate_datafile.I File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

Go to the source code of this file.

Functions

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...
 
template<class Element >
void idf_output_vector (std::ostream &out, const std::vector< Element > &vec)
 Writes the indicated vector to the output file. More...
 

Detailed Description

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."

Author
drose
Date
2000-08-09

Definition in file interrogate_datafile.I.

Function Documentation

◆ idf_input_vector()

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().

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().

◆ idf_output_vector()

template<class Element >
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().