Reader_SSV< Type > Class Template Reference

Inheritance diagram for Reader_SSV< Type >:
Reader_Eliz< Type > Reader_Eliz< Type >

List of all members.

Public Member Functions

 Reader_SSV ()
 ~Reader_SSV ()
virtual void read (string filename)
bool is_space (char pos)
int parse_int (char &c, FILE *in)
 parse integer, c is first char, rest is in *in, space separated
 Reader_SSV ()
 ~Reader_SSV ()
virtual void read (string filename)
bool is_space (char pos)
int parse_int (char &c, FILE *in)
 parse integer, c is first char, rest is in *in, space separated

Public Attributes

vector< vector< Type > > data

Detailed Description

template<class Type>
class Reader_SSV< Type >

Class to read space separated values, like 0 1 12 5 8

Definition at line 50 of file reader_ssv.cpp.


Constructor & Destructor Documentation

template<class Type>
Reader_SSV< Type >::Reader_SSV (  )  [inline]

Definition at line 54 of file reader_ssv.cpp.

template<class Type>
Reader_SSV< Type >::~Reader_SSV (  )  [inline]

Definition at line 55 of file reader_ssv.cpp.

template<class Type>
Reader_SSV< Type >::Reader_SSV (  )  [inline]

Definition at line 54 of file reader_ssv.cpp.

template<class Type>
Reader_SSV< Type >::~Reader_SSV (  )  [inline]

Definition at line 55 of file reader_ssv.cpp.


Member Function Documentation

template<class Type>
bool Reader_SSV< Type >::is_space ( char  pos  )  [inline]

Definition at line 58 of file reader_ssv.cpp.

template<class Type>
bool Reader_SSV< Type >::is_space ( char  pos  )  [inline]

Definition at line 58 of file reader_ssv.cpp.

Referenced by Reader_SSV< Type >::parse_int().

template<class Type>
int Reader_SSV< Type >::parse_int ( char &  c,
FILE *  in 
) [inline]

parse integer, c is first char, rest is in *in, space separated

template<class Type >
int Reader_SSV< Type >::parse_int ( char &  c,
FILE *  in 
) [inline]

parse integer, c is first char, rest is in *in, space separated

Definition at line 104 of file reader_ssv.cpp.

References Reader_SSV< Type >::is_space().

Referenced by Reader_SSV< Type >::read(), and Reader_Eliz< Type >::read().

template<class Type>
virtual void Reader_SSV< Type >::read ( string  filename  )  [virtual]

Reimplemented in Reader_Eliz< Type >, and Reader_Eliz< Type >.

template<class Type >
void Reader_SSV< Type >::read ( string  filename  )  [inline, virtual]

Reimplemented in Reader_Eliz< Type >, and Reader_Eliz< Type >.

Definition at line 67 of file reader_ssv.cpp.

References Reader_SSV< Type >::data, and Reader_SSV< Type >::parse_int().

Referenced by Fimcp_basic::run().


Member Data Documentation

template<class Type>
vector< vector< Type > > Reader_SSV< Type >::data

The documentation for this class was generated from the following files:
Generated on Sat Nov 12 12:59:30 2011 for FIM_CP+CIMCP by  doxygen 1.6.3