#include <IWAObjectIndex.h>
Classes | |
struct | ObjectRecord |
Public Member Functions | |
IWAObjectIndex (const RVNGInputStreamPtr_t &fragments, const RVNGInputStreamPtr_t &package) | |
void | parse () |
void | queryObject (const unsigned id, unsigned &type, boost::optional< IWAMessage > &msg) const |
boost::optional< unsigned > | getObjectType (const unsigned id) const |
const RVNGInputStreamPtr_t | queryFile (unsigned id) const |
boost::optional< IWORKColor > | queryFileColor (unsigned id) const |
Private Member Functions | |
void | scanFragment (unsigned id) |
void | scanFragment (unsigned id, const RVNGInputStreamPtr_t &stream) |
void | scanColorFileMap (unsigned id) |
boost::optional< IWORKColor > | scanColorFileCorrespondance (unsigned id) |
Private Attributes | |
const RVNGInputStreamPtr_t | m_fragments |
const RVNGInputStreamPtr_t | m_package |
std::map< unsigned, std::string > | m_unparsedFragments |
std::map< unsigned, std::pair < unsigned, ObjectRecord > > | m_fragmentObjectMap |
std::map< unsigned, std::pair < std::string, RVNGInputStreamPtr_t > > | m_fileMap |
std::map< unsigned, IWORKColor > | m_fileColorMap |
libetonyek::IWAObjectIndex::IWAObjectIndex | ( | const RVNGInputStreamPtr_t & | fragments, |
const RVNGInputStreamPtr_t & | package | ||
) |
boost::optional< unsigned > libetonyek::IWAObjectIndex::getObjectType | ( | const unsigned | id | ) | const |
Referenced by libetonyek::IWAParser::getObjectType().
void libetonyek::IWAObjectIndex::parse | ( | ) |
Referenced by libetonyek::IWAParser::parseObjectIndex().
const RVNGInputStreamPtr_t libetonyek::IWAObjectIndex::queryFile | ( | unsigned | id | ) | const |
Referenced by libetonyek::IWAParser::queryFile().
boost::optional< IWORKColor > libetonyek::IWAObjectIndex::queryFileColor | ( | unsigned | id | ) | const |
Referenced by libetonyek::IWAParser::readFill().
void libetonyek::IWAObjectIndex::queryObject | ( | const unsigned | id, |
unsigned & | type, | ||
boost::optional< IWAMessage > & | msg | ||
) | const |
Referenced by getObjectType(), and libetonyek::IWAParser::queryObject().
|
private |
Referenced by scanColorFileMap().
|
private |
Referenced by parse().
|
private |
Referenced by parse(), and queryObject().
|
private |
|
mutableprivate |
Referenced by queryFileColor(), and scanColorFileMap().
|
mutableprivate |
Referenced by parse(), and queryFile().
|
mutableprivate |
Referenced by parse(), queryObject(), scanColorFileCorrespondance(), scanColorFileMap(), and scanFragment().
|
private |
Referenced by scanFragment().
|
private |
Referenced by parse(), and queryFile().
|
mutableprivate |
Referenced by parse(), and scanFragment().