HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_PathFile Class Reference

#include <UT_PathFile.h>

Public Member Functions

 UT_PathFile ()
 
virtual ~UT_PathFile ()
 
void setSearchPath (int path_id, const char *pattern)
 
void applyStandardFilter ()
 
const char * getSearchPattern ()
 
const char * getDefaultDir ()
 
int getDefaultDirIndex ()
 
int getHomeDirIndex ()
 
bool getLine (UT_WorkBuffer &wbuf)
 
int getCurrentLineNumber ()
 
const char * getCurrentFileName ()
 
int getDirCount () const
 
const char * getDir (int i) const
 
int getFileInfoCount (int filtered=1) const
 
UT_PathFileInfogetFileInfo (int i, int filtered=1) const
 
UT_PathFileInfogetFileInfo (char const *file_path) const
 
void appendFileInfo (UT_PathFileInfo *info)
 
void clearFileInfoList ()
 
void sortFileInfos (int(*compare)(UT_PathFileInfo *const *t1, UT_PathFileInfo *const *t2))
 
virtual UT_PathFileInfocreateFileInfo ()
 
UT_PathFileInfoappendFileInfo (const char *fullpath, int level)
 
void removeFileInfo (int i)
 
void removeFileInfo (UT_PathFileInfo *)
 
void removeFileInfo (const char *fullpath)
 

Protected Member Functions

void clearFileList ()
 
void computeFileList ()
 
void addMatchingFiles (char *fullpattern, int level)
 
void removeMatchingFiles (char *fullpattern, int level)
 

Protected Attributes

unsigned int myBusyFlag:1
 
unsigned int myFilesFoundFlag:1
 

Friends

int utAddMatchingFiles (const char *file, void *data)
 
int utRemoveMatchingFiles (const char *file, void *data)
 

Detailed Description

Definition at line 35 of file UT_PathFile.h.

Constructor & Destructor Documentation

UT_PathFile::UT_PathFile ( )
virtual UT_PathFile::~UT_PathFile ( )
virtual

Member Function Documentation

void UT_PathFile::addMatchingFiles ( char *  fullpattern,
int  level 
)
protected
void UT_PathFile::appendFileInfo ( UT_PathFileInfo info)
inline

Definition at line 76 of file UT_PathFile.h.

UT_PathFileInfo* UT_PathFile::appendFileInfo ( const char *  fullpath,
int  level 
)
void UT_PathFile::applyStandardFilter ( )
void UT_PathFile::clearFileInfoList ( )
inline

Definition at line 80 of file UT_PathFile.h.

void UT_PathFile::clearFileList ( )
protected
void UT_PathFile::computeFileList ( )
protected
virtual UT_PathFileInfo* UT_PathFile::createFileInfo ( )
virtual
const char* UT_PathFile::getCurrentFileName ( )
int UT_PathFile::getCurrentLineNumber ( )
inline

Definition at line 62 of file UT_PathFile.h.

const char* UT_PathFile::getDefaultDir ( )
inline

Definition at line 52 of file UT_PathFile.h.

int UT_PathFile::getDefaultDirIndex ( )
inline

Definition at line 53 of file UT_PathFile.h.

const char* UT_PathFile::getDir ( int  i) const
int UT_PathFile::getDirCount ( ) const
UT_PathFileInfo* UT_PathFile::getFileInfo ( int  i,
int  filtered = 1 
) const
UT_PathFileInfo* UT_PathFile::getFileInfo ( char const file_path) const
int UT_PathFile::getFileInfoCount ( int  filtered = 1) const
int UT_PathFile::getHomeDirIndex ( )
inline

Definition at line 54 of file UT_PathFile.h.

bool UT_PathFile::getLine ( UT_WorkBuffer wbuf)
const char* UT_PathFile::getSearchPattern ( )
inline

Definition at line 50 of file UT_PathFile.h.

void UT_PathFile::removeFileInfo ( int  i)
void UT_PathFile::removeFileInfo ( UT_PathFileInfo )
void UT_PathFile::removeFileInfo ( const char *  fullpath)
void UT_PathFile::removeMatchingFiles ( char *  fullpattern,
int  level 
)
protected
void UT_PathFile::setSearchPath ( int  path_id,
const char *  pattern 
)
void UT_PathFile::sortFileInfos ( int(*)(UT_PathFileInfo *const *t1, UT_PathFileInfo *const *t2)  compare)

Friends And Related Function Documentation

int utAddMatchingFiles ( const char *  file,
void data 
)
friend
int utRemoveMatchingFiles ( const char *  file,
void data 
)
friend

Member Data Documentation

unsigned int UT_PathFile::myBusyFlag
protected

Definition at line 101 of file UT_PathFile.h.

unsigned int UT_PathFile::myFilesFoundFlag
protected

Definition at line 101 of file UT_PathFile.h.


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