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::STOFFEntry |
( |
| ) |
|
|
inline |
◆ ~STOFFEntry()
STOFFEntry::~STOFFEntry |
( |
| ) |
|
|
virtual |
◆ begin()
long STOFFEntry::begin |
( |
| ) |
const |
|
inline |
◆ end()
long STOFFEntry::end |
( |
| ) |
const |
|
inline |
◆ extra()
std::string const& STOFFEntry::extra |
( |
| ) |
const |
|
inline |
retrieves the extra string
◆ hasName()
bool STOFFEntry::hasName |
( |
std::string const & |
nam | ) |
const |
|
inline |
checks if the entry name is equal to name
◆ hasType()
bool STOFFEntry::hasType |
( |
std::string const & |
typ | ) |
const |
|
inline |
returns true if the type entry == type
◆ id()
int STOFFEntry::id |
( |
| ) |
const |
|
inline |
◆ isParsed()
bool STOFFEntry::isParsed |
( |
| ) |
const |
|
inline |
a flag to know if the entry was parsed or not
◆ length()
long STOFFEntry::length |
( |
| ) |
const |
|
inline |
returns the length of the zone
◆ name()
std::string const& STOFFEntry::name |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool STOFFEntry::operator!= |
( |
const STOFFEntry & |
a | ) |
const |
|
inline |
◆ operator==()
bool STOFFEntry::operator== |
( |
const STOFFEntry & |
a | ) |
const |
|
inline |
◆ setBegin()
void STOFFEntry::setBegin |
( |
long |
off | ) |
|
|
inline |
◆ setEnd()
void STOFFEntry::setEnd |
( |
long |
off | ) |
|
|
inline |
◆ setExtra()
void STOFFEntry::setExtra |
( |
std::string const & |
s | ) |
|
|
inline |
◆ setId()
void STOFFEntry::setId |
( |
int |
newId | ) |
|
|
inline |
◆ setLength()
void STOFFEntry::setLength |
( |
long |
l | ) |
|
|
inline |
◆ setName()
void STOFFEntry::setName |
( |
std::string const & |
nam | ) |
|
|
inline |
sets the name of the entry
◆ setParsed()
void STOFFEntry::setParsed |
( |
bool |
ok = true | ) |
const |
|
inline |
sets the flag m_parsed to true or false
◆ setType()
void STOFFEntry::setType |
( |
std::string const & |
newType | ) |
|
|
inline |
sets the type of the entry: BTEP,FDPP, BTEC, FDPC, PLC , TEXT, ...
◆ type()
std::string const& STOFFEntry::type |
( |
| ) |
const |
|
inline |
returns the type of the entry
◆ valid()
bool STOFFEntry::valid |
( |
| ) |
const |
|
inline |
returns true if the zone length is positive
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
STOFFEntry const & |
ent |
|
) |
| |
|
friend |
◆ m_begin
◆ m_extra
std::string STOFFEntry::m_extra |
|
protected |
◆ m_id
◆ m_length
long STOFFEntry::m_length |
|
protected |
◆ m_name
std::string STOFFEntry::m_name |
|
protected |
◆ m_parsed
bool STOFFEntry::m_parsed |
|
mutableprotected |
◆ m_type
std::string STOFFEntry::m_type |
|
protected |
The documentation for this class was generated from the following files: