My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
CompAccept< T > Class Template Reference

#include <docparser.h>

Public Member Functions

 CompAccept ()
 
virtual ~CompAccept ()
 
void accept (T *obj, DocVisitor *v)
 
const QList< DocNode > & children () const
 
QList< DocNode > & children ()
 

Protected Attributes

QList< DocNodem_children
 

Detailed Description

template<class T>
class CompAccept< T >

Default accept implementation for compound nodes in the abstract syntax tree.

Definition at line 172 of file docparser.h.

Constructor & Destructor Documentation

template<class T>
CompAccept< T >::CompAccept ( )
inline

Definition at line 175 of file docparser.h.

{ m_children.setAutoDelete(TRUE); }
template<class T>
virtual CompAccept< T >::~CompAccept ( )
inlinevirtual

Definition at line 176 of file docparser.h.

{}

Member Function Documentation

template<class T>
void CompAccept< T >::accept ( T *  obj,
DocVisitor v 
)
inline
template<class T>
const QList<DocNode>& CompAccept< T >::children ( ) const
inline
template<class T>
QList<DocNode>& CompAccept< T >::children ( )
inline

Definition at line 186 of file docparser.h.

{ return m_children; }

Member Data Documentation

template<class T>
QList<DocNode> CompAccept< T >::m_children
protected

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