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 |
Public Member Functions inherited from Graphics::AssetTemplate< AssetType::Text > | |
| virtual Type | type () const override |
| Asset () | |
| Asset (ID id) | |
Public Member Functions inherited from Graphics::Asset | |
| Asset () | |
| Asset (ID id) | |
| bool | operator== (ID id) const |
| ID | id () const |
| virtual String | getTypeStr () const |
Public Member Functions inherited from LinkedObjectTemplate< Asset > | |
| Asset * | getNext () const |
| bool | insertAfter (Asset *object) |
| Iterator | begin () const |
| Iterator | end () const |
| Iterator | cbegin () const |
| Iterator | cend () const |
Public Member Functions inherited from LinkedObject | |
| virtual | ~LinkedObject ()=default |
| virtual LinkedObject * | next () const |
| bool | insertAfter (LinkedObject *object) |
| bool | operator== (const LinkedObject &other) const |
| bool | operator!= (const LinkedObject &other) const |
Additional Inherited Members | |
Public Types inherited from Graphics::Asset | |
| enum class | Type { XX } |
| using | List = LinkedObjectListTemplate< Asset > |
| using | OwnedList = OwnedLinkedObjectListTemplate< Asset > |
| using | ID = AssetID |
Public Types inherited from LinkedObjectTemplate< Asset > | |
| using | Iterator = IteratorTemplate< Asset, Asset *, Asset & > |
| using | ConstIterator = IteratorTemplate< const Asset, const Asset *, const Asset & > |
Static Public Attributes inherited from Graphics::AssetTemplate< AssetType::Text > | |
| 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]
|
inline |
◆ TextAsset() [7/8]
◆ TextAsset() [8/8]
Member Function Documentation
◆ getLength()
|
inline |
◆ read() [1/2]
|
inline |
◆ read() [2/2]
|
inline |
◆ readString()
|
inline |
◆ write()
|
inlineoverridevirtual |
Reimplemented from Graphics::Asset.
The documentation for this class was generated from the following file:
Public Member Functions inherited from
1.9.1