My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

Definition at line 158 of file layout.cpp.

: m_parent(parent), m_kind(k), m_handler(h) {}

Member Function Documentation

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

Reimplemented from LayoutParser::StartElementHandler.

Definition at line 160 of file layout.cpp.

References m_handler, m_kind, and m_parent.

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

Member Data Documentation

Handler LayoutParser::StartElementHandlerKind::m_handler
private

Definition at line 167 of file layout.cpp.

Referenced by operator()().

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

Definition at line 166 of file layout.cpp.

Referenced by operator()().

LayoutParser* LayoutParser::StartElementHandlerKind::m_parent
private

Definition at line 165 of file layout.cpp.

Referenced by operator()().


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