34 #ifndef MWAW_RSRC_PARSER_H
35 #define MWAW_RSRC_PARSER_H
~MWAWRSRCParser()
the destructor
Definition: MWAWRSRCParser.cxx:45
bool m_parsed
an internal flag used to know if the parsing was done
Definition: MWAWRSRCParser.hxx:122
MWAWInputStreamPtr m_input
the input stream
Definition: MWAWRSRCParser.hxx:118
int m_majorVersion
the major number
Definition: MWAWRSRCParser.hxx:141
std::multimap< std::string, MWAWEntry > & getEntriesMap()
returns the entry map (this map is filled by parse)
Definition: MWAWRSRCParser.hxx:69
std::string m_string
the major string
Definition: MWAWRSRCParser.hxx:147
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:65
MWAWRSRCParser(MWAWInputStreamPtr input)
the constructor
Definition: MWAWRSRCParser.cxx:41
int m_minorVersion
the minor number
Definition: MWAWRSRCParser.hxx:143
MWAWEntry getEntry(std::string type, int id) const
returns a entry corresponding to a type and an id (if possible)
Definition: MWAWRSRCParser.cxx:74
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWRSRCParser.hxx:99
libmwaw::DebugFile m_asciiFile
the debug file
Definition: MWAWRSRCParser.hxx:124
std::string m_extra
extra data
Definition: MWAWRSRCParser.hxx:151
a public structure used to return the version
Definition: MWAWRSRCParser.hxx:133
friend std::ostream & operator<<(std::ostream &o, Version const &vers)
operator<<
Definition: MWAWRSRCParser.cxx:444
std::multimap< std::string, MWAWEntry > const & getEntriesMap() const
returns the entry map (this map is filled by parse)
Definition: MWAWRSRCParser.hxx:76
bool parseVers(MWAWEntry const &entry, Version &vers)
try to parse a version entry
Definition: MWAWRSRCParser.cxx:460
std::string m_versionString
the version string
Definition: MWAWRSRCParser.hxx:149
bool parseSTRList(MWAWEntry const &entry, std::vector< std::string > &list)
try to parse a STR# entry
Definition: MWAWRSRCParser.cxx:329
bool parseClut(MWAWEntry const &entry, std::vector< MWAWColor > &list)
try to color map (clut entry)
Definition: MWAWRSRCParser.cxx:382
std::string m_asciiName
the debug file name
Definition: MWAWRSRCParser.hxx:126
int m_countryCode
the country code
Definition: MWAWRSRCParser.hxx:145
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:439
Version()
Definition: MWAWRSRCParser.hxx:134
std::string const & asciiName() const
return the ascii file name
Definition: MWAWRSRCParser.hxx:104
std::multimap< std::string, MWAWEntry > m_entryMap
the list of entries, name->entry
Definition: MWAWRSRCParser.hxx:120
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWRSRCParser.hxx:109
bool parse()
try to parse the document
Definition: MWAWRSRCParser.cxx:90
MWAWInputStreamPtr getInput()
return the rsrc input
Definition: MWAWRSRCParser.hxx:60
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
the main class to read a Mac resource fork
Definition: MWAWRSRCParser.hxx:46
bool parseMap(MWAWEntry const &entry, long dataBegin)
try to parse the map
Definition: MWAWRSRCParser.cxx:173
MWAWRSRCParser & operator=(MWAWRSRCParser const &orig)
bool parsePICT(MWAWEntry const &entry, librevenge::RVNGBinaryData &pict)
try to parse a PICT entry
Definition: MWAWRSRCParser.cxx:502
bool parseSTR(MWAWEntry const &entry, std::string &str)
try to parse a STR entry
Definition: MWAWRSRCParser.cxx:295