class FileDependTask

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

acdk::make::FileDependTask Class Reference

#include <FileDependTask.h>

Inheritance diagram for acdk::make::FileDependTask:

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

Detailed Description

Check if a file exists or is older.

If the directory to the file doesn't exists it tries to create it. execute returns false if file should be (re-)created.

See also:

Public Member Functions

 FileDependTask (IN(RString) source, IN(RString) target)
 FileDependTask (IN(RStringArray) sources, IN(RString) target)
virtual bool execute (IN(RString) exec, IN(RProps) props)
 returns true if target exists and is not older thant source

Public Attributes

RString _source
RStringArray _sources
RString _target

Constructor & Destructor Documentation

acdk::make::FileDependTask::FileDependTask IN(RString source,
IN(RString target

acdk::make::FileDependTask::FileDependTask IN(RStringArray sources,
IN(RString target

Member Function Documentation

virtual bool acdk::make::FileDependTask::execute IN(RString exec,
IN(RProps props

returns true if target exists and is not older thant source

Reimplemented from acdk::make::AbstractTask.

Member Data Documentation

RString acdk::make::FileDependTask::_source

RStringArray acdk::make::FileDependTask::_sources

RString acdk::make::FileDependTask::_target