132 std::string
const &
type()
const 148 std::string
const &
name()
const 184 if (ent.
m_id >= 0) o <<
"[" << ent.
m_id <<
"]";
bool operator==(const STOFFEntry &a) const
basic operator==
Definition: STOFFEntry.hxx:100
bool hasName(std::string const &nam) const
checks if the entry name is equal to name
Definition: STOFFEntry.hxx:153
int m_id
an identificator
Definition: STOFFEntry.hxx:197
friend std::ostream & operator<<(std::ostream &o, STOFFEntry const &ent)
Definition: STOFFEntry.hxx:180
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: STOFFEntry.hxx:121
void setId(int newId)
sets the id
Definition: STOFFEntry.hxx:164
bool operator!=(const STOFFEntry &a) const
basic operator!=
Definition: STOFFEntry.hxx:110
long m_begin
the begin of the entry.
Definition: STOFFEntry.hxx:190
std::string m_name
the name
Definition: STOFFEntry.hxx:195
void setBegin(long off)
sets the begin offset
Definition: STOFFEntry.hxx:62
void setType(std::string const &newType)
sets the type of the entry: BTEP,FDPP, BTEC, FDPC, PLC , TEXT, ...
Definition: STOFFEntry.hxx:127
int id() const
returns the id
Definition: STOFFEntry.hxx:159
long end() const
returns the end offset
Definition: STOFFEntry.hxx:83
long m_length
the size of the entry
Definition: STOFFEntry.hxx:190
std::string m_type
the entry type
Definition: STOFFEntry.hxx:193
bool hasType(std::string const &typ) const
returns true if the type entry == type
Definition: STOFFEntry.hxx:137
virtual ~STOFFEntry()
Definition: STOFFEntry.cxx:36
long length() const
returns the length of the zone
Definition: STOFFEntry.hxx:88
void setLength(long l)
sets the zone size
Definition: STOFFEntry.hxx:67
long begin() const
returns the begin offset
Definition: STOFFEntry.hxx:78
bool valid() const
returns true if the zone length is positive
Definition: STOFFEntry.hxx:94
void setName(std::string const &nam)
sets the name of the entry
Definition: STOFFEntry.hxx:143
std::string const & type() const
returns the type of the entry
Definition: STOFFEntry.hxx:132
STOFFEntry()
constructor
Definition: STOFFEntry.hxx:50
bool isParsed() const
a flag to know if the entry was parsed or not
Definition: STOFFEntry.hxx:116
std::string const & name() const
name of the entry
Definition: STOFFEntry.hxx:148
void setExtra(std::string const &s)
sets the extra string
Definition: STOFFEntry.hxx:175
bool m_parsed
a bool to store if the entry is or not parsed
Definition: STOFFEntry.hxx:199
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:72
std::string const & extra() const
retrieves the extra string
Definition: STOFFEntry.hxx:170
std::string m_extra
an extra string
Definition: STOFFEntry.hxx:201