Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
FileListContext Class Reference

#include <context.h>

Inheritance diagram for FileListContext:
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 ()
 
- 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 FileListContextalloc ()
 

Private Member Functions

 FileListContext ()
 
 ~FileListContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 647 of file context.h.

Constructor & Destructor Documentation

FileListContext::FileListContext ( )
private

Definition at line 7010 of file context.cpp.

7010  : RefCountedContext("FileListContext")
7011 {
7012  p = new Private;
7014 }
void addFiles(const FileNameList &fnList)
Definition: context.cpp:6987
static FileNameList * inputNameList
Definition: doxygen.h:109
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
Private * p
Definition: context.h:662
FileListContext::~FileListContext ( )
private

Definition at line 7016 of file context.cpp.

7017 {
7018  delete p;
7019 }
Private * p
Definition: context.h:662

Member Function Documentation

virtual int FileListContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateListIntf.

Definition at line 656 of file context.h.

656 { return RefCountedContext::addRef(); }
static FileListContext* FileListContext::alloc ( )
inlinestatic

Definition at line 650 of file context.h.

650 { return new FileListContext; }
TemplateVariant FileListContext::at ( int  index) const
virtual

Returns the element at index position index.

Implements TemplateListIntf.

Definition at line 7027 of file context.cpp.

7028 {
7029  return p->at(index);
7030 }
Private * p
Definition: context.h:662
TemplateVariant at(int index) const
Definition: context.cpp:181
int FileListContext::count ( ) const
virtual

Returns the number of elements in the list

Implements TemplateListIntf.

Definition at line 7022 of file context.cpp.

7023 {
7024  return p->count();
7025 }
Private * p
Definition: context.h:662
int count() const
Definition: context.cpp:177
TemplateListIntf::ConstIterator * FileListContext::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 7032 of file context.cpp.

7033 {
7034  return p->createIterator();
7035 }
Private * p
Definition: context.h:662
TemplateListIntf::ConstIterator * createIterator() const
Definition: context.cpp:190
virtual int FileListContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateListIntf.

Definition at line 657 of file context.h.

657 { return RefCountedContext::release(); }

Member Data Documentation

Private* FileListContext::p
private

Definition at line 662 of file context.h.


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