TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
FindFile Struct Reference

Detailed Description

Find file utility class.

Public Member Functions

 FindFile (const achar *aaszPath=NULL)
 Constructor. More...
 
 ~FindFile ()
 Destructor. More...
 
void ResetFileInfos ()
 Reset all file infos. More...
 
tIntPtr GetHandle () const
 Get the handle. More...
 
tBool First (const achar *aaszPath)
 Find the first file matching the specified path. More...
 
tBool Next ()
 Find the next file matching the path. More...
 
tBool Close ()
 Close the current find. More...
 
tBool FileExists () const
 Get whether there's a file info available. More...
 
const acharFileName () const
 Get the current file name. More...
 
tI64 FileTime () const
 Get the current file time. More...
 
tI64 FileSize () const
 Get the current file size. More...
 
tFileAttrFlags FileAttribs () const
 Get the current file attribs. More...
 

Constructor & Destructor Documentation

FindFile ( const achar aaszPath = NULL)

Constructor.

~FindFile ( )

Destructor.

Member Function Documentation

void ResetFileInfos ( )

Reset all file infos.

tIntPtr GetHandle ( ) const

Get the handle.

tBool First ( const achar aaszPath)

Find the first file matching the specified path.

tBool Next ( )

Find the next file matching the path.

tBool Close ( )

Close the current find.

tBool FileExists ( ) const

Get whether there's a file info available.

const achar* FileName ( ) const

Get the current file name.

tI64 FileTime ( ) const

Get the current file time.

tI64 FileSize ( ) const

Get the current file size.

tFileAttrFlags FileAttribs ( ) const

Get the current file attribs.