OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FileSystemDumper Class Reference

Public Member Functions

 FileSystemDumper (FILE *stream, FileSystem *fs, FileSystemDumpFlags flags, int maxEntries)
 
 FileSystemDumper (std::vector< FileSystemDumpEntry > *target, FileSystem *fs, FileSystemDumpFlags flags, int maxEntries)
 
void dump ()
 

Private Member Functions

void dump (FileSystemPathView path)
 
void writeOutDir (FileSystemPathView path)
 
void writeOutFile (FileSystemPathView path)
 

Private Attributes

FILE * _stream = nullptr
 
std::vector< FileSystemDumpEntry > * _target = nullptr
 
FileSystem_fs = nullptr
 
FileSystemDumpFlags _flags = 0
 
int _maxEntries = 0
 
int _entries = 0
 

Constructor & Destructor Documentation

◆ FileSystemDumper() [1/2]

FileSystemDumper::FileSystemDumper ( FILE *  stream,
FileSystem fs,
FileSystemDumpFlags  flags,
int  maxEntries 
)
inline

◆ FileSystemDumper() [2/2]

FileSystemDumper::FileSystemDumper ( std::vector< FileSystemDumpEntry > *  target,
FileSystem fs,
FileSystemDumpFlags  flags,
int  maxEntries 
)
inline

Member Function Documentation

◆ dump() [1/2]

void FileSystemDumper::dump ( )
inline

◆ dump() [2/2]

void FileSystemDumper::dump ( FileSystemPathView  path)
inlineprivate

◆ writeOutDir()

void FileSystemDumper::writeOutDir ( FileSystemPathView  path)
inlineprivate

◆ writeOutFile()

void FileSystemDumper::writeOutFile ( FileSystemPathView  path)
inlineprivate

Member Data Documentation

◆ _entries

int FileSystemDumper::_entries = 0
private

◆ _flags

FileSystemDumpFlags FileSystemDumper::_flags = 0
private

◆ _fs

FileSystem* FileSystemDumper::_fs = nullptr
private

◆ _maxEntries

int FileSystemDumper::_maxEntries = 0
private

◆ _stream

FILE* FileSystemDumper::_stream = nullptr
private

◆ _target

std::vector<FileSystemDumpEntry>* FileSystemDumper::_target = nullptr
private

The documentation for this class was generated from the following file: