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

dtool/src/interrogatedb/interrogate_datafile.h

Go to the documentation of this file.
00001 // Filename: interrogate_datafile.h
00002 // Created by:  drose (09Aug00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #ifndef INTERROGATE_DATAFILE_H
00020 #define INTERROGATE_DATAFILE_H
00021 
00022 // This file defines some convenience functions for reading and
00023 // writing the interrogate database files.
00024 
00025 #include <dtoolbase.h>
00026 #include <vector>
00027 
00028 void idf_output_string(ostream &out, const string &str, char whitespace = ' ');
00029 void idf_input_string(istream &in, string &str);
00030 
00031 void idf_output_string(ostream &out, const char *str, char whitespace = ' ');
00032 void idf_input_string(istream &in, const char *&str);
00033 
00034 template<class Element>
00035 void idf_output_vector(ostream &out, const vector<Element> &vec);
00036 
00037 template<class Element>
00038 void idf_input_vector(istream &in, vector<Element> &vec);
00039 
00040 #include "interrogate_datafile.I"
00041 
00042 #endif

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