TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
iFileSystemEnumerator Struct Referenceabstract
Inheritance diagram for iFileSystemEnumerator:
iUnknown

Detailed Description

File system enumerator interface.

Public Member Functions

virtual iFileSystemGetFileSystem () const =0
 Get the owner file system. {Property}. More...
 
virtual tBool FindFirst (const achar *aaszFilePattern)=0
 Find the first file matching the specified pattern. More...
 
virtual tBool FindNext ()=0
 Find the next file matching the specified pattern. More...
 
virtual const acharGetFileName () const =0
 Get the current file name. {Property}. More...
 
virtual tI64 GetFileSize () const =0
 Get the current file size. {Property}. More...
 
virtual tFileAttrFlags GetFileAttributes () const =0
 Get the current file attributes. {Property}. More...
 
virtual iTimeGetFileTime () const =0
 Get the current file last write time. {Property}. More...
 
- Public Member Functions inherited from iUnknown
virtual tBool IsOK () const =0
 Check if the object is valid. More...
 
virtual tI32 AddRef ()=0
 Signal that one more reference of the object has been created. More...
 
virtual tI32 Release ()=0
 Release a reference of the object. More...
 
virtual void DeleteThis ()=0
 Bypass any reference counting and delete this object. More...
 
virtual void Invalidate ()=0
 Invalidate the object. More...
 
virtual iUnknownQueryInterface (const tUUID &aIID)=0
 Query an interface. More...
 
virtual void ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0
 Fill a UUID list containing the UUIDs of the implemented interfaces. More...
 
virtual tI32 SetNumRefs (tI32 anNumRefs)=0
 Set the reference counter directly. More...
 
virtual tI32 GetNumRefs () const =0
 Get the number of references to this object. More...
 

Member Function Documentation

virtual iFileSystem* GetFileSystem ( ) const
pure virtual

Get the owner file system. {Property}.

virtual tBool FindFirst ( const achar aaszFilePattern)
pure virtual

Find the first file matching the specified pattern.

virtual tBool FindNext ( )
pure virtual

Find the next file matching the specified pattern.

Returns
eFalse if there's no more file matching the specified pattern.
virtual const achar* GetFileName ( ) const
pure virtual

Get the current file name. {Property}.

virtual tI64 GetFileSize ( ) const
pure virtual

Get the current file size. {Property}.

virtual tFileAttrFlags GetFileAttributes ( ) const
pure virtual

Get the current file attributes. {Property}.

virtual iTime* GetFileTime ( ) const
pure virtual

Get the current file last write time. {Property}.