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