Graphics::TextAsset Class Reference
#include <Asset.h>
Inheritance diagram for Graphics::TextAsset:
Collaboration diagram for Graphics::TextAsset:
Public Member Functions | |
TextAsset (String &&content) | |
TextAsset (AssetID id) | |
TextAsset (IDataSourceStream *stream) | |
TextAsset (AssetID id, IDataSourceStream *stream) | |
TextAsset (const FSTR::String &fstr) | |
TextAsset (AssetID id, const char *text, size_t length) | |
TextAsset (AssetID id, const String &s) | |
TextAsset (AssetID id, String &&s) | |
size_t | getLength () const |
size_t | read (uint32_t offset, char *buffer, size_t length) const |
char | read (uint32_t offset) const |
String | readString (size_t maxlen) const |
void | write (MetaWriter &meta) const override |
![]() | |
virtual Type | type () const override |
Asset () | |
Asset (ID id) | |
![]() | |
Asset () | |
Asset (ID id) | |
bool | operator== (ID id) const |
ID | id () const |
virtual Type | type () const =0 |
virtual String | getTypeStr () const |
![]() | |
Asset * | getNext () const |
bool | insertAfter (Asset *object) |
Iterator | begin () const |
Iterator | end () const |
Iterator | cbegin () const |
Iterator | cend () const |
![]() | |
virtual | ~LinkedObject () |
virtual LinkedObject * | next () const |
bool | insertAfter (LinkedObject *object) |
bool | operator== (const LinkedObject &other) const |
bool | operator!= (const LinkedObject &other) const |
Additional Inherited Members | |
![]() | |
enum | Type { Type::XX } |
using | List = LinkedObjectListTemplate< Asset > |
using | OwnedList = OwnedLinkedObjectListTemplate< Asset > |
using | ID = AssetID |
![]() | |
using | Iterator = IteratorTemplate< Asset, Asset *, Asset & > |
using | ConstIterator = IteratorTemplate< const Asset, const Asset *, const Asset & > |
![]() | |
static constexpr Asset::Type | assetType |
Constructor & Destructor Documentation
◆ TextAsset() [1/8]
|
inline |
◆ TextAsset() [2/8]
|
inline |
◆ TextAsset() [3/8]
|
inline |
◆ TextAsset() [4/8]
|
inline |
◆ TextAsset() [5/8]
|
inline |
◆ TextAsset() [6/8]
◆ TextAsset() [7/8]
◆ TextAsset() [8/8]
Member Function Documentation
◆ getLength()
|
inline |
◆ read() [1/2]
|
inline |
◆ read() [2/2]
◆ readString()
◆ write()
|
inlineoverridevirtual |
Reimplemented from Graphics::Asset.
The documentation for this class was generated from the following file: