// Filename: interrogate_datafile.h // Created by: drose (09Aug00) // //////////////////////////////////////////////////////////////////// // // 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." // //////////////////////////////////////////////////////////////////// #ifndef INTERROGATE_DATAFILE_H #define INTERROGATE_DATAFILE_H // This file defines some convenience functions for reading and // writing the interrogate database files. #include "dtoolbase.h" #include void idf_output_string(ostream &out, const string &str, char whitespace = ' '); void idf_input_string(istream &in, string &str); void idf_output_string(ostream &out, const char *str, char whitespace = ' '); void idf_input_string(istream &in, const char *&str); template void idf_output_vector(ostream &out, const vector &vec); template void idf_input_vector(istream &in, vector &vec); #include "interrogate_datafile.I" #endif