Elaztek Developer Hub
Blamite Game Engine - Strings  00315.05.27.21.0015.blamite
A library containing general purpose utilities and classes for use in multiple projects.
int.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../fields.h"
4 
5 #ifdef STRINGS_EXPORTS
6 #define STRINGS_API __declspec(dllexport)
7 #else
8 #define STRINGS_API __declspec(dllimport)
9 #endif
10 
17 {
18 private:
19 
20 public:
21  int value = 0;
22 
30 
31  std::string GenerateXMLString();
32  std::vector<char> GetValueAsBytes();
33 };
BlamTagField
Class representing a tag field.
Definition: fields.h:138
BlamTagFieldType
BlamTagFieldType
Enumerator containing all possible tag field types.
Definition: fields.h:22
BlamTagField::GenerateXMLString
virtual std::string GenerateXMLString()
Generates a string with the field ID and value, ready to be written to an XML file.
Definition: BlamTagField.cpp:9
STRINGS_API
#define STRINGS_API
Definition: int.h:8
BlamTag
Class representing a Tag.
Definition: tags.h:125
BlamTagField_Int
Class representing an integer tag field.
Definition: int.h:16
BlamTagField::GetValueAsBytes
virtual std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition: BlamTagField.cpp:14