Implementation of the FileDirEntry, FileEntry, and DirEntry classes used in the Composite Pattern. More...


Go to the source code of this file.
Classes | |
| class | FileDirEntry |
| Base class representing a File or Directory entry. More... | |
| class | FileEntry |
| Represents a File entry. More... | |
| class | DirEntry |
| Represents a Directory entry. More... | |
Namespaces | |
| namespace | DesignPatternExamples_cpp |
| The namespace containing all Design Pattern Examples implemented in C++. | |
Macros | |
| #define | __COMPOSITE_FILEDIRENTRY_H__ |
Typedefs | |
| typedef std::vector< std::shared_ptr< FileDirEntry > > | FileDirEntryList |
| Makes it easier to refer to a list of child nodes. | |
Enumerations | |
| enum | FileDirTypes { File , Directory } |
| Represents the type of entries allowed in the hierarchy for the Composite design pattern example. More... | |
Implementation of the FileDirEntry, FileEntry, and DirEntry classes used in the Composite Pattern.
Definition in file cplusplus/Composite_FileDirEntry.h.
| #define __COMPOSITE_FILEDIRENTRY_H__ |
Definition at line 10 of file cplusplus/Composite_FileDirEntry.h.