|
| TextData () |
|
| TextData (const std::string &name, const std::string &v) |
|
| TextData (std::string v) |
|
virtual GID::Type | GetGID () const override |
| Returns the Gorgon ID of this data object. More...
|
|
virtual void | SaveValue (Writer &writer) const override |
| Saves only the value of the data item to gorgon file. More...
|
|
virtual std::string | ToString () const override |
| Converts the contents of this data to string. More...
|
|
virtual | ~DataItem () |
|
template<class T_ > |
T_ | Get () const |
| Returns the contents of this data item to the requested type; use GetObject in order to get resource objects. More...
|
|
template<> |
int | Get () const |
|
template<> |
float | Get () const |
|
template<class T_ > |
T_ & | GetObject () const |
|
virtual void | Save (Writer &writer) const |
| Saves the data item with header information to gorgon file. More...
|
|
◆ TextData() [1/3]
◆ TextData() [2/3]
◆ TextData() [3/3]
TextData |
( |
const std::string & |
name, |
|
|
const std::string & |
v |
|
) |
| |
◆ GetGID()
◆ Load()
DataItem * Load |
( |
std::weak_ptr< File > |
file, |
|
|
std::shared_ptr< Reader > |
reader, |
|
|
unsigned long |
totalsize |
|
) |
| |
|
static |
◆ SaveValue()
virtual void SaveValue |
( |
Writer & |
writer | ) |
const |
|
overridevirtual |
◆ ToString()
virtual std::string ToString |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: