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