RagTime5LayoutInternal::ClustListParser Struct Referencefinal

Internal: the helper to read a clustList. More...

Inheritance diagram for RagTime5LayoutInternal::ClustListParser:
RagTime5StructManager::DataParser

Public Member Functions

 ClustListParser (RagTime5ClusterManager &clusterManager, int fieldSize, std::string const &zoneName)
 constructor
 
 ~ClustListParser () final
 destructor
 
std::vector< int > getIdList () const
 returns the not null list dataId list
 
std::string getClusterDebugName (int id) const
 return the cluster name
 
bool parseData (MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
 try to parse a data
 
- Public Member Functions inherited from RagTime5StructManager::DataParser
 DataParser (std::string const &zoneName)
 constructor
 
virtual ~DataParser ()
 destructor
 
virtual std::string getZoneName () const
 return the debug name corresponding to a zone
 
virtual std::string getZoneName (int n) const
 return the debug name corresponding to a field
 
virtual bool parseData (MWAWInputStreamPtr &, long, RagTime5Zone &, int, libmwaw::DebugStream &)
 parse a data
 

Public Attributes

int m_fieldSize
 the field size
 
std::vector< RagTime5StructManager::ZoneLinkm_linkList
 the list of read cluster
 

Private Member Functions

 ClustListParser (ClustListParser &orig)=delete
 copy constructor, not implemented
 
ClustListParseroperator= (ClustListParser &orig)=delete
 copy operator, not implemented
 

Private Attributes

RagTime5ClusterManagerm_clusterManager
 the main zone manager
 

Additional Inherited Members

- Protected Attributes inherited from RagTime5StructManager::DataParser
std::string m_name
 the field name
 

Detailed Description

Internal: the helper to read a clustList.

Constructor & Destructor Documentation

◆ ClustListParser() [1/2]

RagTime5LayoutInternal::ClustListParser::ClustListParser ( RagTime5ClusterManager clusterManager,
int  fieldSize,
std::string const &  zoneName 
)
inline

constructor

◆ ~ClustListParser()

RagTime5LayoutInternal::ClustListParser::~ClustListParser ( )
final

destructor

◆ ClustListParser() [2/2]

RagTime5LayoutInternal::ClustListParser::ClustListParser ( ClustListParser orig)
privatedelete

copy constructor, not implemented

Member Function Documentation

◆ getClusterDebugName()

std::string RagTime5LayoutInternal::ClustListParser::getClusterDebugName ( int  id) const
inline

return the cluster name

Referenced by parseData().

◆ getIdList()

std::vector< int > RagTime5LayoutInternal::ClustListParser::getIdList ( ) const
inline

returns the not null list dataId list

Referenced by RagTime5Layout::readLayoutCluster().

◆ operator=()

ClustListParser & RagTime5LayoutInternal::ClustListParser::operator= ( ClustListParser orig)
privatedelete

copy operator, not implemented

◆ parseData()

bool RagTime5LayoutInternal::ClustListParser::parseData ( MWAWInputStreamPtr input,
long  endPos,
RagTime5Zone ,
int  ,
libmwaw::DebugStream f 
)
inlinefinalvirtual

try to parse a data

Reimplemented from RagTime5StructManager::DataParser.

Member Data Documentation

◆ m_clusterManager

RagTime5ClusterManager& RagTime5LayoutInternal::ClustListParser::m_clusterManager
private

the main zone manager

Referenced by getClusterDebugName().

◆ m_fieldSize

int RagTime5LayoutInternal::ClustListParser::m_fieldSize

the field size

Referenced by ClustListParser(), and parseData().

◆ m_linkList

std::vector<RagTime5StructManager::ZoneLink> RagTime5LayoutInternal::ClustListParser::m_linkList

the list of read cluster

Referenced by getIdList(), and parseData().


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

Generated on Thu Jan 19 2023 00:00:00 for libmwaw by doxygen 1.9.6