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
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
some structure used to parse a RagTime document
Definition: RagTimeStruct.cxx:40
a structure used to store list in a resource fork
Definition: RagTimeStruct.hxx:57
static std::string getName(Type type)
returns a string corresponding to a type
Definition: RagTimeStruct.hxx:75
int m_dataSize
the data size
Definition: RagTimeStruct.hxx:93
friend std::ostream & operator<<(std::ostream &o, ResourceList const &zone)
operator<<
Definition: RagTimeStruct.cxx:161
std::string m_extra
extra data
Definition: RagTimeStruct.hxx:97
int m_headerSize
the header size
Definition: RagTimeStruct.hxx:87
ResourceList()
constructor
Definition: RagTimeStruct.hxx:61
long m_dataPos
the begin position of the first data
Definition: RagTimeStruct.hxx:89
Type
the different resource type which can be stored as list
Definition: RagTimeStruct.hxx:59
@ SpCe
Definition: RagTimeStruct.hxx:59
@ BuSl
Definition: RagTimeStruct.hxx:59
@ SpVa
Definition: RagTimeStruct.hxx:59
@ BuGr
Definition: RagTimeStruct.hxx:59
@ SpBo
Definition: RagTimeStruct.hxx:59
@ SpDE
Definition: RagTimeStruct.hxx:59
@ gray
Definition: RagTimeStruct.hxx:59
@ SpTe
Definition: RagTimeStruct.hxx:59
@ res_
Definition: RagTimeStruct.hxx:59
@ Undef
Definition: RagTimeStruct.hxx:59
@ colr
Definition: RagTimeStruct.hxx:59
int m_dataNumber
the number of data
Definition: RagTimeStruct.hxx:91
Type m_type
the resource type
Definition: RagTimeStruct.hxx:83
long m_endPos
the end pos
Definition: RagTimeStruct.hxx:95
bool read(MWAWInputStreamPtr input, MWAWEntry &entry)
try to read the header block
Definition: RagTimeStruct.cxx:42
long m_headerPos
the begin position of the header
Definition: RagTimeStruct.hxx:85