125 std::string
const &
type()
const 141 std::string
const &
name()
const 177 if (ent.
m_id >= 0) o <<
"[" << ent.
m_id <<
"]";
bool operator==(const STOFFEntry &a) const
basic operator==
Definition: STOFFEntry.hxx:93
bool hasName(std::string const &nam) const
checks if the entry name is equal to name
Definition: STOFFEntry.hxx:146
int m_id
an identificator
Definition: STOFFEntry.hxx:190
friend std::ostream & operator<<(std::ostream &o, STOFFEntry const &ent)
Definition: STOFFEntry.hxx:173
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: STOFFEntry.hxx:114
void setId(int newId)
sets the id
Definition: STOFFEntry.hxx:157
bool operator!=(const STOFFEntry &a) const
basic operator!=
Definition: STOFFEntry.hxx:103
long m_begin
the begin of the entry.
Definition: STOFFEntry.hxx:183
std::string m_name
the name
Definition: STOFFEntry.hxx:188
void setBegin(long off)
sets the begin offset
Definition: STOFFEntry.hxx:55
void setType(std::string const &newType)
sets the type of the entry: BTEP,FDPP, BTEC, FDPC, PLC , TEXT, ...
Definition: STOFFEntry.hxx:120
int id() const
returns the id
Definition: STOFFEntry.hxx:152
long end() const
returns the end offset
Definition: STOFFEntry.hxx:76
long m_length
the size of the entry
Definition: STOFFEntry.hxx:183
std::string m_type
the entry type
Definition: STOFFEntry.hxx:186
bool hasType(std::string const &typ) const
returns true if the type entry == type
Definition: STOFFEntry.hxx:130
virtual ~STOFFEntry()
Definition: STOFFEntry.cxx:36
long length() const
returns the length of the zone
Definition: STOFFEntry.hxx:81
void setLength(long l)
sets the zone size
Definition: STOFFEntry.hxx:60
long begin() const
returns the begin offset
Definition: STOFFEntry.hxx:71
bool valid() const
returns true if the zone length is positive
Definition: STOFFEntry.hxx:87
void setName(std::string const &nam)
sets the name of the entry
Definition: STOFFEntry.hxx:136
std::string const & type() const
returns the type of the entry
Definition: STOFFEntry.hxx:125
STOFFEntry()
constructor
Definition: STOFFEntry.hxx:50
bool isParsed() const
a flag to know if the entry was parsed or not
Definition: STOFFEntry.hxx:109
std::string const & name() const
name of the entry
Definition: STOFFEntry.hxx:141
void setExtra(std::string const &s)
sets the extra string
Definition: STOFFEntry.hxx:168
bool m_parsed
a bool to store if the entry is or not parsed
Definition: STOFFEntry.hxx:192
basic class to store an entry in a file This contained :
Definition: STOFFEntry.hxx:46
void setEnd(long off)
sets the end offset
Definition: STOFFEntry.hxx:65
std::string const & extra() const
retrieves the extra string
Definition: STOFFEntry.hxx:163
std::string m_extra
an extra string
Definition: STOFFEntry.hxx:194