Euphoria
eu::io::ReadRootCatalog Struct Reference

#include <vfs.h>

Inheritance diagram for eu::io::ReadRootCatalog:
eu::io::ReadRoot

Public Member Functions

 ReadRootCatalog ()
 
void register_file_string (const FilePath &path, const std::string &content)
 
void register_file_data (const FilePath &path, const std::shared_ptr< MemoryChunk > &content)
 
std::shared_ptr< MemoryChunkread_file (const FilePath &path) override
 
void add_description (std::vector< std::string > *strings) override
 
FileList list_files (const DirPath &path) override
 
- Public Member Functions inherited from eu::io::ReadRoot
 ReadRoot ()=default
 
virtual ~ReadRoot ()
 
 ReadRoot (const ReadRoot &)=delete
 
 ReadRoot (ReadRoot &&)=delete
 
void operator= (const ReadRoot &)=delete
 
void operator= (ReadRoot &&)=delete
 

Static Public Member Functions

static std::shared_ptr< ReadRootCatalogcreate_and_add (FileSystem *fs)
 

Detailed Description

Definition at line 101 of file vfs.h.

Constructor & Destructor Documentation

◆ ReadRootCatalog()

eu::io::ReadRootCatalog::ReadRootCatalog ( )
default

Member Function Documentation

◆ add_description()

void eu::io::ReadRootCatalog::add_description ( std::vector< std::string > *  strings)
overridevirtual

Implements eu::io::ReadRoot.

Definition at line 240 of file vfs.cc.

◆ create_and_add()

std::shared_ptr< ReadRootCatalog > eu::io::ReadRootCatalog::create_and_add ( FileSystem fs)
static

Definition at line 216 of file vfs.cc.

◆ list_files()

FileList eu::io::ReadRootCatalog::list_files ( const DirPath path)
overridevirtual

Implements eu::io::ReadRoot.

Definition at line 247 of file vfs.cc.

◆ read_file()

std::shared_ptr< MemoryChunk > eu::io::ReadRootCatalog::read_file ( const FilePath path)
overridevirtual

Implements eu::io::ReadRoot.

Definition at line 226 of file vfs.cc.

◆ register_file_data()

void eu::io::ReadRootCatalog::register_file_data ( const FilePath path,
const std::shared_ptr< MemoryChunk > &  content 
)

Definition at line 205 of file vfs.cc.

◆ register_file_string()

void eu::io::ReadRootCatalog::register_file_string ( const FilePath path,
const std::string &  content 
)

Definition at line 193 of file vfs.cc.


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