![]() |
Blamite Game Engine - Strings
00403.12.03.23.1757.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Class representing a Blamite string. More...
#include <strings.h>
Public Member Functions | |
| bool | HasAttribute (std::string id) |
| Checks whether the string has a given attribute. More... | |
| std::string | GetAttribute (std::string id) |
| Retrieves the value of a given attribute. More... | |
Public Attributes | |
| std::string | id |
| The ID of the string. More... | |
| std::string | text |
| The content of the string. More... | |
| std::vector< BlamStringAttribute > | attributes |
| The list of attributes present within the string. More... | |
Class representing a Blamite string.
| std::string BlamEngineString::GetAttribute | ( | std::string | id | ) |
Retrieves the value of a given attribute.
| id | - The attribute to retrieve the value of. |
| bool BlamEngineString::HasAttribute | ( | std::string | id | ) |
Checks whether the string has a given attribute.
| id | - The attribute to look for. |
true if the string has the attribute, otherwise returns false. | std::vector<BlamStringAttribute> BlamEngineString::attributes |
The list of attributes present within the string.
| std::string BlamEngineString::id |
The ID of the string.
| std::string BlamEngineString::text |
The content of the string.