Public Member Functions | Private Types | Private Attributes | List of all members
LayoutParser::StartElementHandlerKind Class Reference
Inheritance diagram for LayoutParser::StartElementHandlerKind:
LayoutParser::StartElementHandler

Public Member Functions

 StartElementHandlerKind (LayoutParser *parent, LayoutDocEntry::Kind k, Handler h)
 
void operator() (const QXmlAttributes &attrib)
 
- Public Member Functions inherited from LayoutParser::StartElementHandler
 StartElementHandler (LayoutParser *parent, Handler h)
 
virtual ~StartElementHandler ()
 

Private Types

typedef void(LayoutParser::* Handler) (LayoutDocEntry::Kind kind, const QXmlAttributes &attrib)
 

Private Attributes

LayoutParserm_parent
 
LayoutDocEntry::Kind m_kind
 
Handler m_handler
 

Additional Inherited Members

- Protected Member Functions inherited from LayoutParser::StartElementHandler
 StartElementHandler ()
 

Detailed Description

Definition at line 153 of file layout.cpp.

Member Typedef Documentation

typedef void(LayoutParser::* LayoutParser::StartElementHandlerKind::Handler) (LayoutDocEntry::Kind kind, const QXmlAttributes &attrib)
private

Definition at line 155 of file layout.cpp.

Constructor & Destructor Documentation

LayoutParser::StartElementHandlerKind::StartElementHandlerKind ( LayoutParser parent,
LayoutDocEntry::Kind  k,
Handler  h 
)
inline

Member Function Documentation

void LayoutParser::StartElementHandlerKind::operator() ( const QXmlAttributes attrib)
inlinevirtual

Reimplemented from LayoutParser::StartElementHandler.

Definition at line 160 of file layout.cpp.

161  {
162  (m_parent->*m_handler)(m_kind,attrib);
163  }

Member Data Documentation

Handler LayoutParser::StartElementHandlerKind::m_handler
private

Definition at line 167 of file layout.cpp.

LayoutDocEntry::Kind LayoutParser::StartElementHandlerKind::m_kind
private

Definition at line 166 of file layout.cpp.

LayoutParser* LayoutParser::StartElementHandlerKind::m_parent
private

Definition at line 165 of file layout.cpp.


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