#include <cifstrem.h>
Public Member Functions | |
| cifstream (const char *, int=ios::nocreate, char cc= '#') | |
| ~cifstream () | |
| char * | comment () |
| adstring | get_file_name (void) |
| cifstream & | getline (char *, int, char= '\n') |
| void | open (const char *, int=ios::nocreate) |
| cifstream & | operator>> (const dvariable &z) |
| cifstream & | operator>> (long long &i) |
| cifstream & | operator>> (const long &i) |
| cifstream & | operator>> (const int &i) |
| cifstream & | operator>> (const double &x) |
| cifstream & | operator>> (const float &x) |
| cifstream & | operator>> (char *x) |
| cifstream & | operator>> (const char *x) |
| cifstream & | operator>> (const adstring &x) |
| cifstream & | operator>> (adstring &x) |
| cifstream & | operator>> (const line_adstring &x) |
| cifstream & | operator>> (const dvar_vector &z) |
| cifstream & | operator>> (const dvector &z) |
| cifstream & | operator>> (const lvector &z) |
| cifstream & | operator>> (const ivector &z) |
| void | set_ignore_eof () |
| void | set_use_eof () |
| char * | signature () |
| Get the signature line of inputfile. | |
Private Member Functions | |
| void | filter (void) |
| void | get_field (char *s, int space_flag=0) |
| void | report_error (const char *s=NULL) |
| void | set_eof_bit (void) |
Private Attributes | |
| streambuf * | bp |
| char | COMMENT_CHAR |
| char | comment_line [SIGNATURE_LENGTH+1] |
| int | field |
| adstring | file_name |
| int | ignore_eof |
| int | line |
| char | signature_line [SIGNATURE_LENGTH+1] |
Definition at line 117 of file cifstrem.h.
| cifstream::cifstream | ( | const char * | fn, |
| int | open_m = ios::nocreate, |
||
| char | cc = '#' |
||
| ) |
Definition at line 71 of file cifstrem.cpp.
| cifstream::~cifstream | ( | ) | [inline] |
Definition at line 164 of file cifstrem.h.
| char* cifstream::comment | ( | ) | [inline] |
Definition at line 187 of file cifstrem.h.
| void cifstream::filter | ( | void | ) | [private] |
Definition at line 106 of file cifstrem.cpp.
Referenced by get_field(), and getline().
| void cifstream::get_field | ( | char * | s, |
| int | space_flag = 0 |
||
| ) | [private] |
Definition at line 153 of file cifstrem.cpp.
Referenced by operator>>().
| adstring cifstream::get_file_name | ( | void | ) |
Definition at line 66 of file cifstrem.cpp.
Referenced by param_init_vector::allocate(), param_init_bounded_vector::allocate(), param_init_number::allocate(), param_init_bounded_number::allocate(), and param_init_matrix::allocate().
| cifstream & cifstream::getline | ( | char * | s, |
| int | k, | ||
| char | d = '\n' |
||
| ) |
Definition at line 377 of file cifstrem.cpp.
| void cifstream::open | ( | const char * | , |
| int | = ios::nocreate |
||
| ) |
Definition at line 10 of file dfadcif.cpp.
| cifstream & cifstream::operator>> | ( | long long & | i | ) |
Definition at line 264 of file cifstrem.cpp.
| cifstream & cifstream::operator>> | ( | const long & | i | ) |
Definition at line 237 of file cifstrem.cpp.
| cifstream & cifstream::operator>> | ( | const int & | i | ) |
Definition at line 295 of file cifstrem.cpp.
| cifstream & cifstream::operator>> | ( | const double & | x | ) |
Definition at line 316 of file cifstrem.cpp.
| cifstream & cifstream::operator>> | ( | const float & | x | ) |
Definition at line 356 of file cifstrem.cpp.
| cifstream & cifstream::operator>> | ( | char * | x | ) |
Definition at line 225 of file cifstrem.cpp.
| cifstream & cifstream::operator>> | ( | const char * | x | ) |
Definition at line 231 of file cifstrem.cpp.
Definition at line 208 of file cifstrem.cpp.
Definition at line 198 of file cifstrem.cpp.
| cifstream & cifstream::operator>> | ( | const line_adstring & | x | ) |
Definition at line 218 of file cifstrem.cpp.
| cifstream & cifstream::operator>> | ( | const dvar_vector & | z | ) |
Definition at line 25 of file dfadcif.cpp.
Definition at line 57 of file ad_cif.cpp.
Definition at line 37 of file ad_cif.cpp.
Definition at line 21 of file ad_cif.cpp.
| void cifstream::report_error | ( | const char * | s = NULL | ) | [private] |
Definition at line 423 of file cifstrem.cpp.
Referenced by filter(), get_field(), and operator>>().
| void cifstream::set_eof_bit | ( | void | ) | [private] |
Definition at line 22 of file cifstrem.cpp.
Referenced by filter(), and get_field().
| void cifstream::set_ignore_eof | ( | ) | [inline] |
Definition at line 210 of file cifstrem.h.
| void cifstream::set_use_eof | ( | ) | [inline] |
Definition at line 211 of file cifstrem.h.
| char * cifstream::signature | ( | ) |
Get the signature line of inputfile.
Definition at line 37 of file cifstrem.cpp.
streambuf* cifstream::bp [private] |
Definition at line 119 of file cifstrem.h.
Referenced by filter(), get_field(), getline(), and signature().
char cifstream::COMMENT_CHAR [private] |
Definition at line 120 of file cifstrem.h.
Referenced by filter().
char cifstream::comment_line[SIGNATURE_LENGTH+1] [private] |
Definition at line 121 of file cifstrem.h.
Referenced by comment(), filter(), and signature().
int cifstream::field [private] |
Definition at line 125 of file cifstrem.h.
Referenced by filter(), and get_field().
adstring cifstream::file_name [private] |
Definition at line 123 of file cifstrem.h.
Referenced by get_file_name().
int cifstream::ignore_eof [private] |
Definition at line 126 of file cifstrem.h.
Referenced by set_ignore_eof(), and set_use_eof().
int cifstream::line [private] |
Definition at line 124 of file cifstrem.h.
Referenced by filter(), and signature().
char cifstream::signature_line[SIGNATURE_LENGTH+1] [private] |
Definition at line 122 of file cifstrem.h.
Referenced by filter(), and signature().
|
|
Generated on Tue Mar 8 2016 19:51:38 for ADMB Documentation by 1.8.0
|