![]() |
Gorgon Game Engine
|
Stores text data for data exchange. More...
Public Member Functions | |
| TextData (std::string text="") | |
| std::string | GetText () const |
| Returns the text in this data. More... | |
| virtual std::string | Name () const override |
| Should return the name of the data type. More... | |
| void | SetText (std::string value) |
| Changes the text in this data. More... | |
| virtual std::string | Text () const override |
| Should return the textual representation of the data. A datatype can simply return its typename. More... | |
| virtual Resource::GID::Type | Type () const override |
| Should return the type id of the data. More... | |
Public Member Functions inherited from ExchangeData | |
| virtual | ~ExchangeData () |
Stores text data for data exchange.
|
explicit |
| std::string GetText | ( | ) | const |
Returns the text in this data.
|
overridevirtual |
Should return the name of the data type.
Implements ExchangeData.
| void SetText | ( | std::string | value | ) |
Changes the text in this data.
|
overridevirtual |
Should return the textual representation of the data. A datatype can simply return its typename.
Reimplemented from ExchangeData.
|
overridevirtual |
Should return the type id of the data.
Implements ExchangeData.
References Gorgon::Resource::GID::Text.