My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
FileListContext::Private Class Reference
Inheritance diagram for FileListContext::Private:
GenericNodeListContext TemplateListIntf

Public Member Functions

void addFiles (const FileNameList &fnList)
 
- Public Member Functions inherited from GenericNodeListContext
 GenericNodeListContext ()
 
int count () const
 
TemplateVariant at (int index) const
 
TemplateListIntf::ConstIteratorcreateIterator () const
 
void append (const TemplateVariant &ctn)
 
bool isEmpty () const
 
int addRef ()
 
int release ()
 
- Public Member Functions inherited from TemplateListIntf
virtual ~TemplateListIntf ()
 

Additional Inherited Members

- Static Public Member Functions inherited from GenericNodeListContext
static GenericNodeListContextalloc ()
 

Detailed Description

Definition at line 6999 of file context.cpp.

Member Function Documentation

void FileListContext::Private::addFiles ( const FileNameList fnList)
inline

Definition at line 7002 of file context.cpp.

References FileContext::alloc(), GenericNodeListContext::append(), doc, FileDef::generateSourceFile(), FileDef::isDocumentationFile(), FileDef::isLinkableInProject(), and Definition::isReference().

Referenced by FileListContext::FileListContext().

{
// TODO: if FULL_PATH_NAMES is enabled, the ordering should be dir+file
FileNameListIterator fnli(fnList);
FileName *fn;
for (fnli.toFirst();(fn=fnli.current());++fnli)
{
FileNameIterator fni(*fn);
FileDef *fd;
for (fni.toFirst();(fd=fni.current());++fni)
{
bool doc = fd->isLinkableInProject();
bool src = fd->generateSourceFile();
bool nameOk = !fd->isDocumentationFile();
if (nameOk && (doc || src) && !fd->isReference())
{
}
}
}
}

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