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

pal_string_utils.cxx File Reference

#include "pal_string_utils.h"
#include <pnmFileType.h>
#include <pnmFileTypeRegistry.h>

Go to the source code of this file.

Functions

void extract_param_value (const string &str, string &param, string &value)
bool parse_image_type_request (const string &word, PNMFileType *&color_type, PNMFileType *&alpha_type)


Function Documentation

void extract_param_value const string &  str,
string &  param,
string &  value
 

Definition at line 28 of file pal_string_utils.cxx.

References end, param, size_t, start, and trim_right().

bool parse_image_type_request const string &  word,
PNMFileType *&  color_type,
PNMFileType *&  alpha_type
 

Definition at line 56 of file pal_string_utils.cxx.

References PNMFileTypeRegistry::get_ptr(), PNMFileTypeRegistry::get_type_from_extension(), nout, NULL, and size_t.

Referenced by TxaLine::parse(), TxaFile::parse_imagetype_line(), and TxaFile::parse_shadowtype_line().


Generated on Fri Apr 18 01:00:21 2003 for Panda-Tool by doxygen1.3