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

panda/src/egg/eggMiscFuncs.cxx File Reference

#include "pandabase.h"
#include "eggMiscFuncs.h"
#include "indent.h"
#include <ctype.h>

Go to the source code of this file.

Functions

ostream & enquote_string (ostream &out, const string &str, int indent_level, bool always_quote)
 Writes the string to the indicated output stream.

void write_transform (ostream &out, const LMatrix3d &mat, int indent_level)
 A helper function to write out a 3x3 transform matrix.


Detailed Description

Definition in file eggMiscFuncs.cxx.


Function Documentation

ostream& enquote_string ostream &  out,
const string &  str,
int  indent_level,
bool  always_quote
 

Writes the string to the indicated output stream.

If the string contains any characters special to egg, writes quotation marks around it. If always_quote is true, writes quotation marks regardless.

Definition at line 43 of file eggMiscFuncs.cxx.

Referenced by EggExternalReference::operator=().

void write_transform ostream &  out,
const LMatrix3d &  mat,
int  indent_level
 

A helper function to write out a 3x3 transform matrix.

Definition at line 95 of file eggMiscFuncs.cxx.


Generated on Fri May 2 00:45:26 2003 for Panda by doxygen1.3