38 #ifndef RAGTIME_STRUCT
39 # define RAGTIME_STRUCT
59 enum Type {
BuSl=0,
BuGr,
SpBo,
SpCe,
SpDE,
SpTe,
SpVa,
gray,
colr,
res_,
Undef};
69 static char const *(wh[])= {
"BuSl",
"BuGr",
"SpBo",
"SpCe",
"SpDE",
"SpTe",
"SpVa",
"gray",
"colr",
"res_",
"#Undef"};
Definition: RagTimeStruct.hxx:59
Definition: RagTimeStruct.hxx:59
Definition: RagTimeStruct.hxx:59
Definition: RagTimeStruct.hxx:59
Definition: RagTimeStruct.hxx:59
long m_endPos
the end pos
Definition: RagTimeStruct.hxx:87
static std::string getName(Type type)
returns a string corresponding to a type
Definition: RagTimeStruct.hxx:67
Definition: RagTimeStruct.hxx:59
some structure used to parse a RagTime document
Definition: RagTimeStruct.cxx:39
Definition: RagTimeStruct.hxx:59
long m_dataPos
the begin position of the first data
Definition: RagTimeStruct.hxx:81
int m_headerSize
the header size
Definition: RagTimeStruct.hxx:79
int m_dataSize
the data size
Definition: RagTimeStruct.hxx:85
ResourceList()
constructor
Definition: RagTimeStruct.hxx:61
friend std::ostream & operator<<(std::ostream &o, ResourceList &zone)
operator<<
Definition: RagTimeStruct.cxx:161
int m_dataNumber
the number of data
Definition: RagTimeStruct.hxx:83
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:439
long m_headerPos
the begin position of the header
Definition: RagTimeStruct.hxx:77
Type m_type
the resource type
Definition: RagTimeStruct.hxx:75
bool read(MWAWInputStreamPtr input, MWAWEntry &entry)
try to read the header block
Definition: RagTimeStruct.cxx:42
std::string m_extra
extra data
Definition: RagTimeStruct.hxx:89
Definition: RagTimeStruct.hxx:59
Definition: RagTimeStruct.hxx:59
Definition: RagTimeStruct.hxx:59
Type
the different resource type which can be stored as list
Definition: RagTimeStruct.hxx:59
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
Definition: RagTimeStruct.hxx:59
a structure used to store list in a resource fork
Definition: RagTimeStruct.hxx:57