#include <pred_fileio.h>
Public Member Functions | |
| bool | OpenInputFile (const std::string &a_path) |
| Opens an input file for reading. | |
| bool | CloseInputFile () |
| Closes the input file. | |
| std::string | GetPredicate (bool *a_flag) |
| Gets a raw predicate from the input file. | |
| CPredicateFileIO () | |
| Constructor. | |
| ~CPredicateFileIO () | |
| Destructor. | |
Private Member Functions | |
| bool | p_GetLine (std::string &a_string) const |
| Gets a line from the file. | |
Private Attributes | |
| FILE * | m_fp |
| File handle for current opened file. | |
Definition at line 30 of file pred_fileio.h.
|
|
Constructor.
Definition at line 93 of file pred_fileio.h. References m_fp. |
|
|
Destructor.
Definition at line 99 of file pred_fileio.h. References CloseInputFile(). |
Here is the call graph for this function:

|
|
Closes the input file.
Definition at line 52 of file pred_fileio.h. References m_fp. Referenced by COMCSNet::LoadPredicateFile(), and ~CPredicateFileIO(). |
|
|
Gets a raw predicate from the input file.
Definition at line 67 of file pred_fileio.h. References m_fp, and p_GetLine(). Referenced by COMCSNet::LoadPredicateFile(). |
Here is the call graph for this function:

|
|
Opens an input file for reading.
Definition at line 34 of file pred_fileio.h. References m_fp. Referenced by COMCSNet::LoadPredicateFile(). |
|
|
Gets a line from the file.
Definition at line 106 of file pred_fileio.h. References m_fp. Referenced by GetPredicate(). |
|
|
File handle for current opened file.
Definition at line 147 of file pred_fileio.h. Referenced by CloseInputFile(), CPredicateFileIO(), GetPredicate(), OpenInputFile(), and p_GetLine(). |
1.3.3