My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
NestingContext Class Reference

#include <context.h>

Inheritance diagram for NestingContext:
RefCountedContext TemplateListIntf

Classes

class  Private
 

Public Member Functions

virtual int count () const
 
virtual TemplateVariant at (int index) const
 
virtual
TemplateListIntf::ConstIterator
createIterator () const
 
virtual int addRef ()
 
virtual int release ()
 
void addNamespaces (const NamespaceSDict &nsDict, bool rootOnly, bool addClasses)
 
void addClasses (const ClassSDict &clDict, bool rootOnly)
 
void addDirs (const DirSDict &)
 
void addDirs (const DirList &)
 
void addFiles (const FileNameList &)
 
void addFiles (const FileList &)
 
void addPages (const PageSDict &pages, bool rootOnly)
 
void addModules (const GroupSDict &modules)
 
void addModules (const GroupList &modules)
 
void addClassHierarchy (const ClassSDict &clDict, bool rootOnly)
 
void addDerivedClasses (const BaseClassList *bcl, bool hideSuper)
 
- Public Member Functions inherited from RefCountedContext
 RefCountedContext (const char *)
 
virtual ~RefCountedContext ()
 
int addRef ()
 
int release ()
 
- Public Member Functions inherited from TemplateListIntf
virtual ~TemplateListIntf ()
 

Static Public Member Functions

static NestingContextalloc (const NestingNodeContext *parent, int level)
 

Private Member Functions

 NestingContext (const NestingNodeContext *parent, int level)
 
 ~NestingContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 533 of file context.h.

Constructor & Destructor Documentation

NestingContext::NestingContext ( const NestingNodeContext parent,
int  level 
)
private

Definition at line 6622 of file context.cpp.

References p, and Private.

Referenced by alloc().

: RefCountedContext("NestingContext")
{
p = new Private(parent,level);
}
NestingContext::~NestingContext ( )
private

Definition at line 6627 of file context.cpp.

References p.

{
delete p;
}

Member Function Documentation

void NestingContext::addClasses ( const ClassSDict clDict,
bool  rootOnly 
)
void NestingContext::addClassHierarchy ( const ClassSDict clDict,
bool  rootOnly 
)

Definition at line 6693 of file context.cpp.

References NestingContext::Private::addClassHierarchy(), and p.

Referenced by ClassHierarchyContext::Private::Private().

{
p->addClassHierarchy(classSDict,rootOnly);
}
void NestingContext::addDerivedClasses ( const BaseClassList bcl,
bool  hideSuper 
)

Definition at line 6698 of file context.cpp.

References NestingContext::Private::addDerivedClasses(), and p.

Referenced by NestingNodeContext::Private::addClasses().

{
p->addDerivedClasses(bcl,hideSuper);
}
void NestingContext::addDirs ( const DirSDict dirs)
void NestingContext::addDirs ( const DirList dirs)

Definition at line 6663 of file context.cpp.

References NestingContext::Private::addDirs(), and p.

{
p->addDirs(dirs);
}
void NestingContext::addFiles ( const FileNameList files)
void NestingContext::addFiles ( const FileList files)

Definition at line 6673 of file context.cpp.

References NestingContext::Private::addFiles(), and p.

{
p->addFiles(files);
}
void NestingContext::addModules ( const GroupSDict modules)
void NestingContext::addModules ( const GroupList modules)

Definition at line 6688 of file context.cpp.

References NestingContext::Private::addModules(), and p.

{
p->addModules(modules);
}
void NestingContext::addNamespaces ( const NamespaceSDict nsDict,
bool  rootOnly,
bool  addClasses 
)
void NestingContext::addPages ( const PageSDict pages,
bool  rootOnly 
)
virtual int NestingContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateListIntf.

Definition at line 543 of file context.h.

References RefCountedContext::addRef().

static NestingContext* NestingContext::alloc ( const NestingNodeContext parent,
int  level 
)
inlinestatic
TemplateVariant NestingContext::at ( int  index) const
virtual

Returns the element at index position index.

Implements TemplateListIntf.

Definition at line 6638 of file context.cpp.

References GenericNodeListContext::at(), and p.

{
return p->at(index);
}
int NestingContext::count ( ) const
virtual

Returns the number of elements in the list

Implements TemplateListIntf.

Definition at line 6633 of file context.cpp.

References GenericNodeListContext::count(), and p.

Referenced by NestingNodeContext::Private::isLeafNode().

{
return p->count();
}
TemplateListIntf::ConstIterator * NestingContext::createIterator ( ) const
virtual

Creates a new iterator for this list.

Note
the user should call delete on the returned pointer.

Implements TemplateListIntf.

Definition at line 6643 of file context.cpp.

References GenericNodeListContext::createIterator(), and p.

{
return p->createIterator();
}
virtual int NestingContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateListIntf.

Definition at line 544 of file context.h.

References RefCountedContext::release().

Member Data Documentation

Private* NestingContext::p
private

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