basic class to store an entry in a file This contained :
More...
#include <STOFFEntry.hxx>
basic class to store an entry in a file This contained :
- its begin and end positions
- its type, its name and an identificator
- a flag used to know if the file is or not parsed
STOFFEntry::STOFFEntry |
( |
| ) |
|
|
inline |
virtual STOFFEntry::~STOFFEntry |
( |
| ) |
|
|
inlinevirtual |
long STOFFEntry::begin |
( |
| ) |
const |
|
inline |
long STOFFEntry::end |
( |
| ) |
const |
|
inline |
std::string const& STOFFEntry::extra |
( |
| ) |
const |
|
inline |
retrieves the extra string
bool STOFFEntry::hasName |
( |
std::string const & |
nam | ) |
const |
|
inline |
checks if the entry name is equal to name
bool STOFFEntry::hasType |
( |
std::string const & |
typ | ) |
const |
|
inline |
returns true if the type entry == type
int STOFFEntry::id |
( |
| ) |
const |
|
inline |
bool STOFFEntry::isParsed |
( |
| ) |
const |
|
inline |
a flag to know if the entry was parsed or not
long STOFFEntry::length |
( |
| ) |
const |
|
inline |
returns the length of the zone
std::string const& STOFFEntry::name |
( |
| ) |
const |
|
inline |
bool STOFFEntry::operator!= |
( |
const STOFFEntry & |
a | ) |
const |
|
inline |
bool STOFFEntry::operator== |
( |
const STOFFEntry & |
a | ) |
const |
|
inline |
void STOFFEntry::setBegin |
( |
long |
off | ) |
|
|
inline |
void STOFFEntry::setEnd |
( |
long |
off | ) |
|
|
inline |
void STOFFEntry::setExtra |
( |
std::string const & |
s | ) |
|
|
inline |
void STOFFEntry::setId |
( |
int |
newId | ) |
|
|
inline |
void STOFFEntry::setLength |
( |
long |
l | ) |
|
|
inline |
void STOFFEntry::setName |
( |
std::string const & |
nam | ) |
|
|
inline |
sets the name of the entry
void STOFFEntry::setParsed |
( |
bool |
ok = true | ) |
const |
|
inline |
sets the flag m_parsed to true or false
void STOFFEntry::setType |
( |
std::string const & |
newType | ) |
|
|
inline |
sets the type of the entry: BTEP,FDPP, BTEC, FDPC, PLC , TEXT, ...
std::string const& STOFFEntry::type |
( |
| ) |
const |
|
inline |
returns the type of the entry
bool STOFFEntry::valid |
( |
| ) |
const |
|
inline |
returns true if the zone length is positive
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
STOFFEntry const & |
ent |
|
) |
| |
|
friend |
std::string STOFFEntry::m_extra |
|
protected |
long STOFFEntry::m_length |
|
protected |
std::string STOFFEntry::m_name |
|
protected |
bool STOFFEntry::m_parsed |
|
mutableprotected |
std::string STOFFEntry::m_type |
|
protected |
The documentation for this class was generated from the following file: