artefaktur
software engineer &        architecture

 
 
 
 

class CppSourceDependTask

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::make::CppSourceDependTask Class Reference

#include <CppSourceDependTask.h>

Inheritance diagram for acdk::make::CppSourceDependTask:

acdk::make::AbstractTask acdk::lang::Object acdk::make::Task acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Checks include deps.

See also:
 Tasks.


Public Member Functions

 CppSourceDependTask (IN(RString) parseSource, IN(RString) target, bool checkRecursive=recursiveDeps, bool onlyDirectIncludes=onlyDirectIncludes)
void addIncludeDir (IN(RString) str)
virtual bool execute (IN(RString) exec, IN(RProps) props)
 returns true if target exists and is not older thant source


Public Attributes

RString _source
RString _target
RStringArray _includeDirs
bool _checkRecursive
 Parse also found include files.

bool _checkOnlyDirectIncludes
 Check only files which are included #enclude OtherFile.h or #enclude ../src/OtherFile.h ignore all #enclude <OtherFile.h>.


Static Public Attributes

bool noSourceDeps
bool onlyDirectIncludes
bool recursiveDeps
bool useCache

Protected Member Functions

bool parseFile (IN(RString) file, jlong ts, IN(RStringArray) parsedFiles, IN(RString) cwd, DepCacheStack &dcs)

Constructor & Destructor Documentation

acdk::make::CppSourceDependTask::CppSourceDependTask IN(RString parseSource,
IN(RString target,
bool  checkRecursive = recursiveDeps,
bool  onlyDirectIncludes = onlyDirectIncludes
[inline]
 


Member Function Documentation

void acdk::make::CppSourceDependTask::addIncludeDir IN(RString str  ) 
 

virtual bool acdk::make::CppSourceDependTask::execute IN(RString exec,
IN(RProps props
[virtual]
 

returns true if target exists and is not older thant source

Reimplemented from acdk::make::AbstractTask.

bool acdk::make::CppSourceDependTask::parseFile IN(RString file,
jlong  ts,
IN(RStringArray parsedFiles,
IN(RString cwd,
DepCacheStack &  dcs
[protected]
 


Member Data Documentation

bool acdk::make::CppSourceDependTask::_checkOnlyDirectIncludes
 

Check only files which are included #enclude OtherFile.h or #enclude ../src/OtherFile.h ignore all #enclude <OtherFile.h>.

bool acdk::make::CppSourceDependTask::_checkRecursive
 

Parse also found include files.

If false only the directly included files are checked.

RStringArray acdk::make::CppSourceDependTask::_includeDirs
 

RString acdk::make::CppSourceDependTask::_source
 

RString acdk::make::CppSourceDependTask::_target
 

bool acdk::make::CppSourceDependTask::noSourceDeps [static]
 

bool acdk::make::CppSourceDependTask::onlyDirectIncludes [static]
 

bool acdk::make::CppSourceDependTask::recursiveDeps [static]
 

bool acdk::make::CppSourceDependTask::useCache [static]
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer