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 |
Class to read space separated values, like 0 1 12 5 8
Definition at line 50 of file reader_ssv.cpp.
| Reader_SSV< Type >::Reader_SSV | ( | ) | [inline] |
Definition at line 54 of file reader_ssv.cpp.
| Reader_SSV< Type >::~Reader_SSV | ( | ) | [inline] |
Definition at line 55 of file reader_ssv.cpp.
| Reader_SSV< Type >::Reader_SSV | ( | ) | [inline] |
Definition at line 54 of file reader_ssv.cpp.
| Reader_SSV< Type >::~Reader_SSV | ( | ) | [inline] |
Definition at line 55 of file reader_ssv.cpp.
| bool Reader_SSV< Type >::is_space | ( | char | pos | ) | [inline] |
Definition at line 58 of file reader_ssv.cpp.
| 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().
| int Reader_SSV< Type >::parse_int | ( | char & | c, | |
| FILE * | in | |||
| ) | [inline] |
parse integer, c is first char, rest is in *in, space separated
| 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().
| virtual void Reader_SSV< Type >::read | ( | string | filename | ) | [virtual] |
Reimplemented in Reader_Eliz< Type >, and Reader_Eliz< 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().
| vector< vector< Type > > Reader_SSV< Type >::data |
Definition at line 52 of file reader_ssv.cpp.
Referenced by Fimcp_basic::common_construction(), Reader_SSV< Type >::read(), Reader_Eliz< Type >::read(), and Fimcp_basic::run().
1.6.3