#include <Recovery.H>
Collaboration diagram for RecoveryReader:

Public Types | |
| typedef char | Ident [256] |
Public Member Functions | |
| RecoveryReader (VestaLog *vl) throw () | |
| RecoveryReader (std::istream *is) throw () | |
| void | get (char &c) throw (VestaLog::Eof, VestaLog::Error) |
| void | get (char *p, int n, char term='\n') throw (VestaLog::Eof, VestaLog::Error) |
| int | read (char *p, int n) throw (VestaLog::Error) |
| void | readAll (char *p, int n) throw (VestaLog::Eof, VestaLog::Error) |
| bool | eof () throw (VestaLog::Error) |
| void | skipWhite (char &c) throw (VestaLog::Eof, VestaLog::Error) |
| void | requireChar (char &c, char required) throw (VestaLog::Eof, VestaLog::Error) |
| void | getIdent (char &c, Ident id) throw (VestaLog::Eof, VestaLog::Error) |
| void | getLong (char &c, long &n) throw (VestaLog::Eof, VestaLog::Error) |
| void | getULong (char &c, unsigned long &n) throw (VestaLog::Eof, VestaLog::Error) |
| void | getLongId (char &c, Byte32 &value) throw (VestaLog::Eof, VestaLog::Error) |
| void | getQuotedString (char &c, char *buf, int maxLen) throw (VestaLog::Eof, VestaLog::Error) |
| void | getNewQuotedString (char &c, char *&string) throw (VestaLog::Eof, VestaLog::Error) |
Private Attributes | |
| VestaLog * | vl_ |
| std::istream * | is_ |
Definition at line 39 of file Recovery.H.
| typedef char RecoveryReader::Ident[256] |
Definition at line 61 of file Recovery.H.
| RecoveryReader::RecoveryReader | ( | VestaLog * | vl | ) | throw () |
Definition at line 33 of file Recovery.C.
| RecoveryReader::RecoveryReader | ( | std::istream * | is | ) | throw () |
| void RecoveryReader::get | ( | char & | c | ) | throw (VestaLog::Eof, VestaLog::Error) |
Definition at line 46 of file Recovery.C.
References Basics::errno_Text().
Referenced by GetFPTag(), and GetHexUint64().
Here is the call graph for this function:

Here is the caller graph for this function:

| void RecoveryReader::get | ( | char * | p, | |
| int | n, | |||
| char | term = '\n' | |||
| ) | throw (VestaLog::Eof, VestaLog::Error) |
Definition at line 60 of file Recovery.C.
References Basics::errno_Text().
Here is the call graph for this function:

| int RecoveryReader::read | ( | char * | p, | |
| int | n | |||
| ) | throw (VestaLog::Error) |
Definition at line 75 of file Recovery.C.
References Basics::errno_Text().
Here is the call graph for this function:

| void RecoveryReader::readAll | ( | char * | p, | |
| int | n | |||
| ) | throw (VestaLog::Eof, VestaLog::Error) |
Definition at line 92 of file Recovery.C.
References Basics::errno_Text().
Here is the call graph for this function:

| bool RecoveryReader::eof | ( | ) | throw (VestaLog::Error) |
Definition at line 111 of file Recovery.C.
References VestaLog::eof(), Basics::errno_Text(), is_, and vl_.
Referenced by Weeder::CopyGLtoPending(), EmptyPKLog::EndOfFile(), Print_used_cis(), Weeder::PruneGraphLog(), CacheS::RecoverCILog(), and Weeder::WeededPrefixes().
Here is the call graph for this function:

Here is the caller graph for this function:

| void RecoveryReader::skipWhite | ( | char & | c | ) | throw (VestaLog::Eof, VestaLog::Error) |
Definition at line 130 of file Recovery.C.
References VestaConfig::get().
Referenced by GetFPTag(), and GetHexUint64().
Here is the call graph for this function:

Here is the caller graph for this function:

| void RecoveryReader::requireChar | ( | char & | c, | |
| char | required | |||
| ) | throw (VestaLog::Eof, VestaLog::Error) |
Definition at line 138 of file Recovery.C.
References VestaConfig::get().
Here is the call graph for this function:

| void RecoveryReader::getIdent | ( | char & | c, | |
| Ident | id | |||
| ) | throw (VestaLog::Eof, VestaLog::Error) |
Definition at line 150 of file Recovery.C.
References VestaConfig::get().
Here is the call graph for this function:

| void RecoveryReader::getLong | ( | char & | c, | |
| long & | n | |||
| ) | throw (VestaLog::Eof, VestaLog::Error) |
Definition at line 169 of file Recovery.C.
References VestaConfig::get().
Here is the call graph for this function:

| void RecoveryReader::getULong | ( | char & | c, | |
| unsigned long & | n | |||
| ) | throw (VestaLog::Eof, VestaLog::Error) |
Definition at line 196 of file Recovery.C.
References VestaConfig::get().
Here is the call graph for this function:

| void RecoveryReader::getLongId | ( | char & | c, | |
| Byte32 & | value | |||
| ) | throw (VestaLog::Eof, VestaLog::Error) |
Definition at line 223 of file Recovery.C.
References VestaConfig::get().
Here is the call graph for this function:

| void RecoveryReader::getQuotedString | ( | char & | c, | |
| char * | buf, | |||
| int | maxLen | |||
| ) | throw (VestaLog::Eof, VestaLog::Error) |
Definition at line 253 of file Recovery.C.
References VestaConfig::get().
Here is the call graph for this function:

| void RecoveryReader::getNewQuotedString | ( | char & | c, | |
| char *& | string | |||
| ) | throw (VestaLog::Eof, VestaLog::Error) |
Definition at line 286 of file Recovery.C.
References VestaConfig::get(), and NEW_PTRFREE_ARRAY.
Here is the call graph for this function:

VestaLog* RecoveryReader::vl_ [private] |
std::istream* RecoveryReader::is_ [private] |
1.5.1