artefaktur
software engineer &        architecture

 
 
 
 

class LookupFileTask

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

acdk::make::LookupFileTask Class Reference

#include <LookupFileTask.h>

Inheritance diagram for acdk::make::LookupFileTask:

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

Detailed Description

Try to locate a file, executable, library, or header.

See also:
 Tasks.


Public Member Functions

 LookupFileTask (LookupFileType ft)
 LookupFileTask (IN(RString) filename, LookupFileType ft, IN(RStringArray) suggestPaths=Nil)
void addFileName (IN(RString) platformtag, IN(RString) path)
void addLookupPath (IN(RString) platformtag, IN(RString) path)
virtual bool execute (IN(RString) exec, IN(RProps) props)
 if file found, saves in _located prop

RString fileTypeAsString ()
bool lookupFileInSuggestedDirs (IN(RProps) props, IN(RStringArray) dirnames, IN(RString) fname)
bool lookupFileInSuggestedDirs (IN(RProps) props, IN(RString) fname)
bool lookupFileInSuggestedDir (IN(RProps) props, IN(RString) dir, IN(RString) name)
RString foundPath ()
 returns found fully qualified path of the first found file

RStringArray foundPathes ()
RString foundParentDir ()
 returns the fully qualified parent directory name of the first found file

RString foundFile ()
 return the base file name of first found file.

RStringArray foundFiles ()

Public Attributes

RProps _filenames
LookupFileType _fileType
RProps _suggestDirs
RStringArray _foundFiles
RStringArray _foundBaseFiles

Private Member Functions

bool _execute (IN(RString) exec, IN(RProps) props, IN(RString) filename)

Constructor & Destructor Documentation

acdk::make::LookupFileTask::LookupFileTask LookupFileType  ft  ) 
 

acdk::make::LookupFileTask::LookupFileTask IN(RString filename,
LookupFileType  ft,
IN(RStringArray suggestPaths = Nil
 


Member Function Documentation

bool acdk::make::LookupFileTask::_execute IN(RString exec,
IN(RProps props,
IN(RString filename
[private]
 

void acdk::make::LookupFileTask::addFileName IN(RString platformtag,
IN(RString path
[inline]
 

void acdk::make::LookupFileTask::addLookupPath IN(RString platformtag,
IN(RString path
[inline]
 

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

if file found, saves in _located prop

Reimplemented from acdk::make::AbstractTask.

RString acdk::make::LookupFileTask::fileTypeAsString  ) 
 

RString acdk::make::LookupFileTask::foundFile  )  [inline]
 

return the base file name of first found file.

In case of libraries without lib prefix and suffix.

RStringArray acdk::make::LookupFileTask::foundFiles  )  [inline]
 

RString acdk::make::LookupFileTask::foundParentDir  ) 
 

returns the fully qualified parent directory name of the first found file

RString acdk::make::LookupFileTask::foundPath  )  [inline]
 

returns found fully qualified path of the first found file

RStringArray acdk::make::LookupFileTask::foundPathes  )  [inline]
 

bool acdk::make::LookupFileTask::lookupFileInSuggestedDir IN(RProps props,
IN(RString dir,
IN(RString name
 

bool acdk::make::LookupFileTask::lookupFileInSuggestedDirs IN(RProps props,
IN(RString fname
 

bool acdk::make::LookupFileTask::lookupFileInSuggestedDirs IN(RProps props,
IN(RStringArray dirnames,
IN(RString fname
 


Member Data Documentation

RProps acdk::make::LookupFileTask::_filenames
 

LookupFileType acdk::make::LookupFileTask::_fileType
 

RStringArray acdk::make::LookupFileTask::_foundBaseFiles
 

RStringArray acdk::make::LookupFileTask::_foundFiles
 

RProps acdk::make::LookupFileTask::_suggestDirs
 

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