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

GetDefaultValue.h File Reference

#include <fstream>
#include <strstream.h>
#include <vector>
#include "SimpleTokenizer.h"

Include dependency graph for GetDefaultValue.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

GetDefaultValue (const char *filename, const char *inName, const T &defv)
 version for reading in a simple type. More...

vector<T> GetManyDefaultValues (const char *filename, const char *inName, const T &defv)
 version which looks for more than one token of the same name, returns vector<T>. More...

vector<T> GetFILIDefaultValues (const char *filename, const char *inName, const T &defv)
 version which looks for more than one token of the same name, returns vector<T> specialized for the use of alpha FILIs (specialized delimitors). More...

vector<T> GetSRUNDefaultValues (const char *filename, const char *inName, const vector< T > &defv)
 version which looks only once for a token, but which may hold a vector of entries distributed on several lines. Return also a vector<T>. More...

vector<T> GetDefaultValueVector (const char *filename, const char *inName, const vector< T > &defv)
 version which looks only once for a token, but which may hold a vector of entries. Return also a vector<T>. More...

vector< pair< String, vector<
T> > > 
GetUserDefaultValues (const char *filename, const char *inName, T dummy)
 version which looks for more than one token of the same name, returns pair< subname, vector<T> >. Usefull for user defined cards. More...

void GetDefaultValue (const char *filename, const char *inName, T *value, const int nitems)
 version which looks only once for a token, but which may hold an array of some size. Read in are nitems items. More...


Function Documentation

void GetDefaultValue ( const char * filename,
const char * inName,
T * value,
const int nitems )
 

version which looks only once for a token, but which may hold an array of some size. Read in are nitems items.

Definition at line 400 of file GetDefaultValue.h.

Referenced by AlephCardsReader::AlephCardsReader().

T GetDefaultValue ( const char * filename,
const char * inName,
const T & defv )
 

version for reading in a simple type.

Definition at line 47 of file GetDefaultValue.h.

vector< T > GetDefaultValueVector ( const char * filename,
const char * inName,
const vector< T > & defv )
 

version which looks only once for a token, but which may hold a vector of entries. Return also a vector<T>.

Definition at line 282 of file GetDefaultValue.h.

Referenced by AlephCardsReader::AlephCardsReader().

vector< T > GetFILIDefaultValues ( const char * filename,
const char * inName,
const T & defv )
 

version which looks for more than one token of the same name, returns vector<T> specialized for the use of alpha FILIs (specialized delimitors).

Definition at line 141 of file GetDefaultValue.h.

Referenced by AlephCardsReader::AlephCardsReader().

vector< T > GetManyDefaultValues ( const char * filename,
const char * inName,
const T & defv )
 

version which looks for more than one token of the same name, returns vector<T>.

Definition at line 92 of file GetDefaultValue.h.

Referenced by AlephCardsReader::AlephCardsReader().

vector< T > GetSRUNDefaultValues ( const char * filename,
const char * inName,
const vector< T > & defv )
 

version which looks only once for a token, but which may hold a vector of entries distributed on several lines. Return also a vector<T>.

Definition at line 191 of file GetDefaultValue.h.

Referenced by AlephCardsReader::AlephCardsReader().

vector< pair< String, vector< T > > > GetUserDefaultValues ( const char * filename,
const char * inName,
T dummy )
 

version which looks for more than one token of the same name, returns pair< subname, vector<T> >. Usefull for user defined cards.

Definition at line 336 of file GetDefaultValue.h.

Referenced by AlephCardsReader::AlephCardsReader().


Generated at Wed Jun 18 17:20:36 2003 for ALPHA++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001