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

PLearn::NumToStringMapping Class Reference

#include <AutoSDBVMatrix.h>

Collaboration diagram for PLearn::NumToStringMapping:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NumToStringMapping ()
 NumToStringMapping (string filename_, const string &dft_val_="")
void read (istream &in) const
void load (string filename_="")
void load () const
const stringoperator[] (real x) const

Public Attributes

string filename
string dft_val
hash_map< real, stringmapping
bool loaded

Constructor & Destructor Documentation

PLearn::NumToStringMapping::NumToStringMapping  )  [inline]
 

Definition at line 107 of file AutoSDBVMatrix.h.

References loaded.

PLearn::NumToStringMapping::NumToStringMapping string  filename_,
const string dft_val_ = ""
[inline]
 

Definition at line 111 of file AutoSDBVMatrix.h.

References dft_val, filename, loaded, and mapping.


Member Function Documentation

void PLearn::NumToStringMapping::load  )  const [inline]
 

Definition at line 136 of file AutoSDBVMatrix.h.

References filename, and PLearn::read().

Referenced by operator[]().

void PLearn::NumToStringMapping::load string  filename_ = ""  )  [inline]
 

Definition at line 128 of file AutoSDBVMatrix.h.

References filename, and PLearn::read().

const string& PLearn::NumToStringMapping::operator[] real  x  )  const [inline]
 

Definition at line 142 of file AutoSDBVMatrix.h.

References dft_val, load(), loaded, mapping, operator[](), and x.

Referenced by operator[]().

void PLearn::NumToStringMapping::read istream &  in  )  const [inline]
 

Definition at line 115 of file AutoSDBVMatrix.h.

References loaded, mapping, PLearn::read(), and val.


Member Data Documentation

string PLearn::NumToStringMapping::dft_val
 

Definition at line 103 of file AutoSDBVMatrix.h.

Referenced by NumToStringMapping(), and operator[]().

string PLearn::NumToStringMapping::filename
 

Definition at line 102 of file AutoSDBVMatrix.h.

Referenced by load(), and NumToStringMapping().

bool PLearn::NumToStringMapping::loaded [mutable]
 

Definition at line 105 of file AutoSDBVMatrix.h.

Referenced by NumToStringMapping(), operator[](), and read().

hash_map<real, string> PLearn::NumToStringMapping::mapping [mutable]
 

Definition at line 104 of file AutoSDBVMatrix.h.

Referenced by NumToStringMapping(), operator[](), and read().


The documentation for this class was generated from the following file:
Generated on Tue Aug 17 16:22:46 2004 for PLearn by doxygen 1.3.7