|
Symphony Of Empires
|
A "file" version of the base asset, mostly to identify an asset on a physical disk. More...
#include <io.hpp>


Public Member Functions | |
| virtual void | open () |
| virtual void | close () |
| virtual void | read (void *buf, size_t n) |
| virtual void | write (const void *buf, size_t n) |
| virtual void | seek (Eng3D::IO::SeekType type, int offset) |
| virtual size_t | get_size (void) const |
Public Member Functions inherited from Eng3D::IO::Asset::Base | |
| virtual | ~Base ()=default |
| std::string | get_abs_path () const |
| Get the abs path object in a safe manner, such as that the access does not occur on null pointers. Use this function because it also converts slashes between paths. More... | |
| std::string | read_all (void) |
| Read the entire file into a string. More... | |
Public Attributes | |
| FILE * | fp = nullptr |
Public Attributes inherited from Eng3D::IO::Asset::Base | |
| std::string | path |
| std::string | abs_path |
A "file" version of the base asset, mostly to identify an asset on a physical disk.
|
virtual |
Reimplemented from Eng3D::IO::Asset::Base.
|
virtual |
Reimplemented from Eng3D::IO::Asset::Base.
|
virtual |
Reimplemented from Eng3D::IO::Asset::Base.
Definition at line 45 of file io.cpp.

|
virtual |
Reimplemented from Eng3D::IO::Asset::Base.
|
virtual |
Reimplemented from Eng3D::IO::Asset::Base.
|
virtual |
Reimplemented from Eng3D::IO::Asset::Base.