Public Types | Public Member Functions | List of all members
DefinitionIntf Class Referenceabstract

#include <definition.h>

Inheritance diagram for DefinitionIntf:
Definition DefinitionList ClassDef DirDef FileDef GroupDef MemberDef NamespaceDef PageDef

Public Types

enum  DefType {
  TypeClass = 0, TypeFile = 1, TypeNamespace = 2, TypeMember = 3,
  TypeGroup = 4, TypePackage = 5, TypePage = 6, TypeDir = 7,
  TypeSymbolList = 8
}
 

Public Member Functions

 DefinitionIntf ()
 
virtual ~DefinitionIntf ()
 
virtual DefType definitionType () const =0
 

Detailed Description

Abstract interface for a Definition or DefinitionList

Definition at line 65 of file definition.h.

Member Enumeration Documentation

Types of derived classes

Enumerator
TypeClass 
TypeFile 
TypeNamespace 
TypeMember 
TypeGroup 
TypePackage 
TypePage 
TypeDir 
TypeSymbolList 

Definition at line 71 of file definition.h.

Constructor & Destructor Documentation

DefinitionIntf::DefinitionIntf ( )
inline

Definition at line 68 of file definition.h.

68 {}
virtual DefinitionIntf::~DefinitionIntf ( )
inlinevirtual

Definition at line 69 of file definition.h.

69 {}

Member Function Documentation

virtual DefType DefinitionIntf::definitionType ( ) const
pure virtual

Use this for dynamic inspection of the type of the derived class

Implemented in DefinitionList, ClassDef, FileDef, MemberDef, DirDef, GroupDef, NamespaceDef, and PageDef.


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