RagTime5TextInternal::TextCParser Struct Reference

low level: parser of text cluster More...

Inheritance diagram for RagTime5TextInternal::TextCParser:
RagTime5ClusterManager::ClusterParser

List of all members.

Public Member Functions

 TextCParser (RagTime5ClusterManager &parser, int type, libmwaw::DebugFile &ascii)
 constructor
shared_ptr
< RagTime5ClusterManager::Cluster
getCluster ()
 return the current cluster
shared_ptr< ClusterTextgetTextCluster ()
 return the text cluster
void startZone ()
 start a new zone
void endZone ()
 end of a start zone call
bool parseZone (MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
 parse a zone
bool parseField (RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f)
 parse a field

Protected Member Functions

bool parseDataZone (MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
 parse a data block
bool parseHeaderZone (MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
 parse the header zone
bool parseZoneBlock (MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
 parse a zone block

Protected Attributes

shared_ptr< ClusterTextm_cluster
 the current cluster
int m_actualZone
 the actual zone
int m_numZones
 the number of zones
int m_what
 a index to know which field is parsed : 0: main, 1: list zones, 3: linkdef, 4: list, 5; text unkn1
int m_linkId
 the link id: 0: linkdef, 1-2: cluster list, 3: text unknown, 4: unkA list, 5:unkn fixed fSz==14
std::string m_fieldName
 the actual field name
libmwaw::DebugFilem_asciiFile
 the ascii file

Private Member Functions

 TextCParser (TextCParser const &orig)
 copy constructor (not implemented)
TextCParseroperator= (TextCParser const &orig)
 copy operator (not implemented)

Detailed Description

low level: parser of text cluster


Constructor & Destructor Documentation

constructor

copy constructor (not implemented)


Member Function Documentation

void RagTime5TextInternal::TextCParser::endZone ( ) [inline, virtual]

end of a start zone call

Reimplemented from RagTime5ClusterManager::ClusterParser.

return the current cluster

Implements RagTime5ClusterManager::ClusterParser.

return the text cluster

TextCParser& RagTime5TextInternal::TextCParser::operator= ( TextCParser const &  orig) [private]

copy operator (not implemented)

bool RagTime5TextInternal::TextCParser::parseDataZone ( MWAWInputStreamPtr input,
long  fSz,
int  N,
int  flag,
libmwaw::DebugStream f 
) [inline, protected]

parse a data block

bool RagTime5TextInternal::TextCParser::parseField ( RagTime5StructManager::Field const &  field,
int  ,
libmwaw::DebugStream f 
) [inline, virtual]

parse a field

Reimplemented from RagTime5ClusterManager::ClusterParser.

bool RagTime5TextInternal::TextCParser::parseHeaderZone ( MWAWInputStreamPtr input,
long  fSz,
int  N,
int  flag,
libmwaw::DebugStream f 
) [inline, protected]

parse the header zone

bool RagTime5TextInternal::TextCParser::parseZone ( MWAWInputStreamPtr input,
long  fSz,
int  N,
int  flag,
libmwaw::DebugStream f 
) [inline, virtual]

parse a zone

Reimplemented from RagTime5ClusterManager::ClusterParser.

bool RagTime5TextInternal::TextCParser::parseZoneBlock ( MWAWInputStreamPtr input,
long  fSz,
int  N,
int  flag,
libmwaw::DebugStream f 
) [inline, protected]

parse a zone block

start a new zone

Reimplemented from RagTime5ClusterManager::ClusterParser.


Member Data Documentation

the actual zone

Referenced by startZone().

the current cluster

Referenced by endZone(), getCluster(), and getTextCluster().

the actual field name

the link id: 0: linkdef, 1-2: cluster list, 3: text unknown, 4: unkA list, 5:unkn fixed fSz==14

Referenced by endZone().

the number of zones

Referenced by startZone().

a index to know which field is parsed : 0: main, 1: list zones, 3: linkdef, 4: list, 5; text unkn1

Referenced by startZone().


The documentation for this struct was generated from the following file: