Public Member Functions | Data Fields
VirtFs::DirEntry Struct Reference

#include <direntry.h>

Inheritance diagram for VirtFs::DirEntry:

Public Member Functions

 DirEntry (const std::string &userDir0, const std::string &rootDir, const std::string &subDir0, const std::string &rootSubDir0, FsFuncs *const funcs0)
virtual ~DirEntry ()
- Public Member Functions inherited from VirtFs::FsEntry
 FsEntry (const FsEntryTypeT &type0, FsFuncs *const funcs)
virtual ~FsEntry ()

Data Fields

std::string userDir
std::string rootSubDir
- Data Fields inherited from VirtFs::FsEntry
std::string root
std::string subDir
FsEntryTypeT type

Detailed Description

Definition at line 32 of file direntry.h.

Constructor & Destructor Documentation

◆ DirEntry()

VirtFs::DirEntry::DirEntry ( const std::string &  userDir0,
const std::string &  rootDir,
const std::string &  subDir0,
const std::string &  rootSubDir0,
FsFuncs *const  funcs0 

Definition at line 29 of file direntry.cpp.

33  :
34  FsEntry(FsEntryType::Dir, funcs0),
35  userDir(userDir0),
36  rootSubDir(rootSubDir0)
37 {
38  root = rootDir;
39  subDir = subDir0;
40 }
std::string userDir
Definition: direntry.h:44
std::string rootSubDir
Definition: direntry.h:45
std::string subDir
Definition: fsentry.h:47
std::string root
Definition: fsentry.h:45
FsEntry(const FsEntryTypeT &type0, FsFuncs *const funcs)
Definition: fsentry.cpp:29

References VirtFs::FsEntry::root, and VirtFs::FsEntry::subDir.

◆ ~DirEntry()

VirtFs::DirEntry::~DirEntry ( )

Definition at line 42 of file direntry.cpp.

43 {
44 }

Field Documentation

◆ rootSubDir

std::string VirtFs::DirEntry::rootSubDir

Definition at line 45 of file direntry.h.

Referenced by VirtFs::FsDir::getRealDir(), and VirtFs::FsDir::loadFile().

◆ userDir

std::string VirtFs::DirEntry::userDir

Definition at line 44 of file direntry.h.

Referenced by VirtFs::FsDir::getRealDir(), and VirtFs::FsDir::loadFile().

The documentation for this struct was generated from the following files: