Base class representing a File or Directory entry. More...
#include <Composite_FileDirEntry.h>


| Public Member Functions | |
| FileDirEntry () | |
| Default constructor. | |
| FileDirEntry (FileDirTypes type, std::string entryName, long size, DateTime modDate) | |
| Constructor. | |
| virtual FileDirTypes | FileDirType () | 
| The type of this entry as represented by a value from the FileDirTypes enumeration. | |
| virtual std::string | Name () | 
| The name of this entry. | |
| virtual long | Length () | 
| The length in bytes of this entry. Directory entries are the sum of the length of all children. | |
| virtual DateTime | WhenModified () | 
| When this entry was last modified. | |
| virtual FileDirEntryList | Children () | 
| The children of this entry. Is empty if the entry can never have any children (that is, it isn't a container of other entries). | |
| Protected Attributes | |
| FileDirTypes | fileDirType | 
| std::string | name | 
| long | length | 
| DateTime | whenModified | 
Base class representing a File or Directory entry.
Definition at line 47 of file cplusplus/Composite_FileDirEntry.h.
| 
 | inline | 
Default constructor.
Definition at line 59 of file cplusplus/Composite_FileDirEntry.h.
| 
 | inline | 
Constructor.
| type | Value from the FileDirTypes enumeration specifying the type of entry. | 
| entryName | Name of the entry. | 
| size | Size of the entry. Can be 0 for directories. | 
| modDate | DateTime object indicating when this entry was last modified. | 
Definition at line 74 of file cplusplus/Composite_FileDirEntry.h.
| 
 | inlinevirtual | 
The children of this entry. Is empty if the entry can never have any children (that is, it isn't a container of other entries).
Reimplemented in DirEntry.
Definition at line 107 of file cplusplus/Composite_FileDirEntry.h.
Referenced by Composite_FileAccess::_FindEntry().
| 
 | inlinevirtual | 
The type of this entry as represented by a value from the FileDirTypes enumeration.
Definition at line 85 of file cplusplus/Composite_FileDirEntry.h.
References FileDirEntry::fileDirType.
| 
 | inlinevirtual | 
The length in bytes of this entry. Directory entries are the sum of the length of all children.
Reimplemented in DirEntry.
Definition at line 96 of file cplusplus/Composite_FileDirEntry.h.
References FileDirEntry::length.
| 
 | inlinevirtual | 
The name of this entry.
Definition at line 90 of file cplusplus/Composite_FileDirEntry.h.
References FileDirEntry::name.
Referenced by Composite_FileAccess::_FindEntry(), Visitor_Shop::PickupOrder(), Visitor_Shop::PlaceOrder(), and EntryInformation::ToString().
| 
 | inlinevirtual | 
When this entry was last modified.
Definition at line 101 of file cplusplus/Composite_FileDirEntry.h.
References FileDirEntry::whenModified.
| 
 | protected | 
Definition at line 50 of file cplusplus/Composite_FileDirEntry.h.
Referenced by FileDirEntry::FileDirType().
| 
 | protected | 
Definition at line 52 of file cplusplus/Composite_FileDirEntry.h.
Referenced by FileDirEntry::Length(), and DirEntry::Length().
| 
 | protected | 
Definition at line 51 of file cplusplus/Composite_FileDirEntry.h.
Referenced by FileDirEntry::Name().
| 
 | protected | 
Definition at line 53 of file cplusplus/Composite_FileDirEntry.h.
Referenced by FileDirEntry::WhenModified().