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::ConstIteratorcreateIterator () 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 6607 of file context.cpp.

6607  : RefCountedContext("NestingContext")
6608 {
6609  p = new Private(parent,level);
6610 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
Private * p
Definition: context.h:561
NestingContext::~NestingContext ( )
private

Definition at line 6612 of file context.cpp.

6613 {
6614  delete p;
6615 }
Private * p
Definition: context.h:561

Member Function Documentation

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

Definition at line 6633 of file context.cpp.

6634 {
6635  p->addClasses(clDict,rootOnly);
6636 }
void addClasses(const ClassSDict &clDict, bool rootOnly)
Definition: context.cpp:6414
Private * p
Definition: context.h:561
void NestingContext::addClassHierarchy ( const ClassSDict clDict,
bool  rootOnly 
)

Definition at line 6678 of file context.cpp.

6679 {
6680  p->addClassHierarchy(classSDict,rootOnly);
6681 }
void addClassHierarchy(const ClassSDict &classSDict, bool)
Definition: context.cpp:6569
Private * p
Definition: context.h:561
void NestingContext::addDerivedClasses ( const BaseClassList bcl,
bool  hideSuper 
)

Definition at line 6683 of file context.cpp.

6684 {
6685  p->addDerivedClasses(bcl,hideSuper);
6686 }
void addDerivedClasses(const BaseClassList *bcl, bool hideSuper)
Definition: context.cpp:6538
Private * p
Definition: context.h:561
void NestingContext::addDirs ( const DirSDict dirs)

Definition at line 6643 of file context.cpp.

6644 {
6645  p->addDirs(dirs);
6646 }
void addDirs(const DirSDict &dirDict)
Definition: context.cpp:6443
Private * p
Definition: context.h:561
void NestingContext::addDirs ( const DirList dirs)

Definition at line 6648 of file context.cpp.

6649 {
6650  p->addDirs(dirs);
6651 }
void addDirs(const DirSDict &dirDict)
Definition: context.cpp:6443
Private * p
Definition: context.h:561
void NestingContext::addFiles ( const FileNameList files)

Definition at line 6653 of file context.cpp.

6654 {
6655  p->addFiles(files);
6656 }
void addFiles(const FileNameList &fnList)
Definition: context.cpp:6466
Private * p
Definition: context.h:561
void NestingContext::addFiles ( const FileList files)

Definition at line 6658 of file context.cpp.

6659 {
6660  p->addFiles(files);
6661 }
void addFiles(const FileNameList &fnList)
Definition: context.cpp:6466
Private * p
Definition: context.h:561
void NestingContext::addModules ( const GroupSDict modules)

Definition at line 6668 of file context.cpp.

6669 {
6670  p->addModules(modules);
6671 }
void addModules(const GroupSDict &groups)
Definition: context.cpp:6509
Private * p
Definition: context.h:561
void NestingContext::addModules ( const GroupList modules)

Definition at line 6673 of file context.cpp.

6674 {
6675  p->addModules(modules);
6676 }
void addModules(const GroupSDict &groups)
Definition: context.cpp:6509
Private * p
Definition: context.h:561
void NestingContext::addNamespaces ( const NamespaceSDict nsDict,
bool  rootOnly,
bool  addClasses 
)

Definition at line 6638 of file context.cpp.

6639 {
6640  p->addNamespaces(nsDict,rootOnly,addClasses);
6641 }
void addNamespaces(const NamespaceSDict &nsDict, bool rootOnly, bool addClasses)
Definition: context.cpp:6394
void addClasses(const ClassSDict &clDict, bool rootOnly)
Definition: context.cpp:6633
Private * p
Definition: context.h:561
void NestingContext::addPages ( const PageSDict pages,
bool  rootOnly 
)

Definition at line 6663 of file context.cpp.

6664 {
6665  p->addPages(pages,rootOnly);
6666 }
Private * p
Definition: context.h:561
void addPages(const PageSDict &pages, bool rootOnly)
Definition: context.cpp:6494
virtual int NestingContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateListIntf.

Definition at line 543 of file context.h.

543 { return RefCountedContext::addRef(); }
static NestingContext* NestingContext::alloc ( const NestingNodeContext parent,
int  level 
)
inlinestatic

Definition at line 536 of file context.h.

537  { return new NestingContext(parent,level); }
NestingContext(const NestingNodeContext *parent, int level)
Definition: context.cpp:6607
TemplateVariant NestingContext::at ( int  index) const
virtual

Returns the element at index position index.

Implements TemplateListIntf.

Definition at line 6623 of file context.cpp.

6624 {
6625  return p->at(index);
6626 }
TemplateVariant at(int index) const
Definition: context.cpp:181
Private * p
Definition: context.h:561
int NestingContext::count ( ) const
virtual

Returns the number of elements in the list

Implements TemplateListIntf.

Definition at line 6618 of file context.cpp.

6619 {
6620  return p->count();
6621 }
Private * p
Definition: context.h:561
int count() const
Definition: context.cpp:177
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 6628 of file context.cpp.

6629 {
6630  return p->createIterator();
6631 }
TemplateListIntf::ConstIterator * createIterator() const
Definition: context.cpp:190
Private * p
Definition: context.h:561
virtual int NestingContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateListIntf.

Definition at line 544 of file context.h.

544 { return RefCountedContext::release(); }

Member Data Documentation

Private* NestingContext::p
private

Definition at line 561 of file context.h.


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