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