Go to the documentation of this file.
38 #ifndef RAGTIME_STRUCT
39 # define RAGTIME_STRUCT
59 enum Type {
BuSl=0,
BuGr,
SpBo,
SpCe,
SpDE,
SpTe,
SpVa,
gray,
colr,
res_,
Undef};
77 static char const *wh[] = {
"BuSl",
"BuGr",
"SpBo",
"SpCe",
"SpDE",
"SpTe",
"SpVa",
"gray",
"colr",
"res_",
"#Undef"};
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
Type
the different resource type which can be stored as list
Definition: RagTimeStruct.hxx:59
std::ostream & operator<<(std::ostream &o, ResourceList &zone)
Definition: RagTimeStruct.cxx:161
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
bool read(MWAWInputStreamPtr input, MWAWEntry &entry)
try to read the header block
Definition: RagTimeStruct.cxx:42
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
static std::string getName(Type type)
returns a string corresponding to a type
Definition: RagTimeStruct.hxx:75
@ res_
Definition: RagTimeStruct.hxx:59
int m_dataNumber
the number of data
Definition: RagTimeStruct.hxx:91
@ BuSl
Definition: RagTimeStruct.hxx:59
std::string const & type() const
returns the type of the entry
Definition: MWAWEntry.hxx:137
some structure used to parse a RagTime document
Definition: RagTimeStruct.cxx:40
long m_dataPos
the begin position of the first data
Definition: RagTimeStruct.hxx:89
@ SpTe
Definition: RagTimeStruct.hxx:59
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:126
a structure used to store list in a resource fork
Definition: RagTimeStruct.hxx:57
@ gray
Definition: RagTimeStruct.hxx:59
@ SpDE
Definition: RagTimeStruct.hxx:59
@ Undef
Definition: RagTimeStruct.hxx:59
ResourceList()
constructor
Definition: RagTimeStruct.hxx:61
long m_headerPos
the begin position of the header
Definition: RagTimeStruct.hxx:85
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:83
@ SpBo
Definition: RagTimeStruct.hxx:59
friend std::ostream & operator<<(std::ostream &o, ResourceList &zone)
operator<<
Definition: RagTimeStruct.cxx:161
@ SpVa
Definition: RagTimeStruct.hxx:59
long m_endPos
the end pos
Definition: RagTimeStruct.hxx:95
std::string m_extra
extra data
Definition: RagTimeStruct.hxx:97
@ SpCe
Definition: RagTimeStruct.hxx:59
Type m_type
the resource type
Definition: RagTimeStruct.hxx:83
@ colr
Definition: RagTimeStruct.hxx:59
@ BuGr
Definition: RagTimeStruct.hxx:59
int m_headerSize
the header size
Definition: RagTimeStruct.hxx:87
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
int m_dataSize
the data size
Definition: RagTimeStruct.hxx:93
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20