Internal: a zone of a RagTime5Parser. More...
Public Types | |
enum | Type { Main, Data, Empty, Unknown } |
the zone type More... | |
Public Member Functions | |
Zone (MWAWInputStreamPtr input, libmwaw::DebugFile &asc) | |
constructor More... | |
~Zone () | |
destructor More... | |
std::string | getKindLastPart (bool main=true) const |
returns the main type More... | |
MWAWInputStreamPtr | getInput () |
returns the current input More... | |
void | setInput (MWAWInputStreamPtr input) |
reset the current input More... | |
bool | isMainInput () const |
returns true if the input correspond to the basic file More... | |
libmwaw::DebugFile & | ascii () |
returns the current ascii file More... | |
void | setAsciiFileName (std::string const &name) |
defines the ascii name More... | |
void | createAsciiFile () |
creates the ascii file More... | |
Public Attributes | |
Type | m_type |
the zone type More... | |
int | m_subType |
the zone sub type More... | |
long | m_defPosition |
the position of the definition in the main zones More... | |
std::string | m_kinds [2] |
the zone types: normal and packing More... | |
MWAWEntry | m_entry |
the zone entry More... | |
bool | m_hiLoEndian |
true if the endian is hilo More... | |
int | m_ids [3] |
the zone id More... | |
int | m_idsFlag [3] |
the zone flag More... | |
std::vector< MWAWEntry > | m_entriesList |
the list of original entries More... | |
std::string | m_name |
the zone name (used mainly for debugging) More... | |
std::string | m_extra |
extra data More... | |
Protected Attributes | |
MWAWInputStreamPtr | m_input |
the main input More... | |
bool | m_defaultInput |
a flag used to know if the input is or not the default input More... | |
std::string | m_asciiName |
the ascii file name ( used if we need to create a ascii file) More... | |
libmwaw::DebugFile * | m_asciiFile |
the ascii file corresponding to an input More... | |
shared_ptr< libmwaw::DebugFile > | m_localAsciiFile |
the local ascii file ( if we need to create a new input) More... | |
Private Member Functions | |
Zone (Zone const &orig) | |
Zone & | operator= (Zone const &orig) |
Friends | |
std::ostream & | operator<< (std::ostream &o, Zone const &z) |
operator<< More... | |
Internal: a zone of a RagTime5Parser.
|
inline |
constructor
|
inline |
destructor
|
private |
|
inline |
returns the current ascii file
Referenced by RagTime5Parser::createZones(), RagTime5Parser::readDocumentVersion(), RagTime5Parser::readPicture(), RagTime5Parser::readPictureList(), RagTime5Parser::readPictureMatch(), RagTime5Parser::readString(), RagTime5Parser::readUnicodeString(), and RagTime5Parser::unpackZone().
|
inline |
creates the ascii file
Referenced by ascii().
|
inline |
returns the current input
Referenced by RagTime5Parser::readDocumentVersion(), RagTime5Parser::readItemCluster(), RagTime5Parser::readListZone(), RagTime5Parser::readPicture(), RagTime5Parser::readPictureMatch(), RagTime5Parser::readString(), RagTime5Parser::readUnicodeString(), and RagTime5Parser::unpackZone().
|
inline |
returns the main type
Referenced by RagTime5Parser::createZones().
|
inline |
returns true if the input correspond to the basic file
Referenced by RagTime5Parser::readPicture().
|
inline |
defines the ascii name
Referenced by RagTime5Parser::update().
|
inline |
reset the current input
Referenced by RagTime5Parser::unpackZone(), and RagTime5Parser::update().
|
friend |
operator<<
|
protected |
the ascii file corresponding to an input
Referenced by ascii(), and createAsciiFile().
|
protected |
the ascii file name ( used if we need to create a ascii file)
Referenced by createAsciiFile(), and setAsciiFileName().
|
protected |
a flag used to know if the input is or not the default input
Referenced by ascii(), isMainInput(), and setInput().
long RagTime5ParserInternal::Zone::m_defPosition |
the position of the definition in the main zones
Referenced by RagTime5Parser::createZones(), RagTime5Parser::readDocumentVersion(), RagTime5Parser::readPicture(), and RagTime5Parser::readPictureMatch().
std::vector<MWAWEntry> RagTime5ParserInternal::Zone::m_entriesList |
the list of original entries
Referenced by RagTime5ParserInternal::operator<<(), and RagTime5Parser::update().
MWAWEntry RagTime5ParserInternal::Zone::m_entry |
the zone entry
Referenced by RagTime5Parser::createZones(), RagTime5ParserInternal::operator<<(), RagTime5Parser::readDocumentVersion(), RagTime5Parser::readItemCluster(), RagTime5Parser::readListZone(), RagTime5Parser::readPicture(), RagTime5Parser::readPictureMatch(), RagTime5Parser::readString(), RagTime5Parser::readUnicodeString(), RagTime5Parser::unpackZone(), and RagTime5Parser::update().
std::string RagTime5ParserInternal::Zone::m_extra |
extra data
Referenced by RagTime5Parser::createZones(), RagTime5ParserInternal::operator<<(), and RagTime5Parser::unpackZone().
bool RagTime5ParserInternal::Zone::m_hiLoEndian |
true if the endian is hilo
Referenced by RagTime5Parser::createZones(), RagTime5ParserInternal::operator<<(), RagTime5Parser::readItemCluster(), RagTime5Parser::readListZone(), and RagTime5Parser::readPictureMatch().
int RagTime5ParserInternal::Zone::m_ids[3] |
the zone id
Referenced by RagTime5Parser::createZones(), RagTime5ParserInternal::operator<<(), RagTime5Parser::readPicture(), RagTime5Parser::update(), and Zone().
int RagTime5ParserInternal::Zone::m_idsFlag[3] |
the zone flag
Referenced by RagTime5Parser::createZones(), RagTime5ParserInternal::operator<<(), RagTime5Parser::update(), and Zone().
|
protected |
the main input
Referenced by createAsciiFile(), getInput(), and setInput().
std::string RagTime5ParserInternal::Zone::m_kinds[2] |
the zone types: normal and packing
Referenced by RagTime5Parser::createZones(), getKindLastPart(), RagTime5ParserInternal::operator<<(), and Zone().
|
protected |
the local ascii file ( if we need to create a new input)
Referenced by ascii(), and createAsciiFile().
std::string RagTime5ParserInternal::Zone::m_name |
the zone name (used mainly for debugging)
Referenced by RagTime5Parser::createZones(), and RagTime5Parser::update().
int RagTime5ParserInternal::Zone::m_subType |
the zone sub type
Referenced by RagTime5ParserInternal::operator<<().
Type RagTime5ParserInternal::Zone::m_type |
the zone type
Referenced by RagTime5ParserInternal::operator<<(), and RagTime5Parser::update().