 |
Gorgon Game Engine
|
Go to the documentation of this file.
94 extern std::set<std::string, String::CaseInsensitiveLess>
KeywordNames;
98 #define DEFTYPE(name) inline const Scripting::Type &name() { static const Scripting::Type *type = Integrals.GetType(#name); return *type; }
134 #define DEFTYPE(name) inline const Scripting::Type &name() { static const Scripting::Type *type = Reflection.GetType(#name); return *type; }
virtual std::string ToString(const Data &) const =0
Converts a data of this type to string.
contains collection, a vector of references.
std::ostream & operator<<(std::ostream &out, const Data &data)
This function parses the code and returns any syntax errors.
Definition: Scripting.h:73
Data describes a piece of data.
Definition: Data.h:22
contains Enum class that allows C++ enums to have string capabilities.
float Float
Represents floating point data type.
Definition: Types.h:16
const Type & GetType() const
Returns the type of the data.
Definition: Data.h:173
Library Keywords
Definition: VirtualMachine.h:41
void Initialize()
Initializes the scripting system.
Definition: Scripting.h:85
This class stores information about types.
Definition: Reflection.h:1165
Root namespace for Gorgon Game Engine.
Definition: Any.h:19
This class represents a library.
Definition: Reflection.h:1596
uint32_t Char
Definition: Types.h:46
Namespace contains other static members as members.
Definition: Reflection.h:1073
This class represents a static constant.
Definition: Reflection.h:1458
const Scripting::Type & Library()
void init_builtin()
Definition: Builtin.cpp:113
contains type definitions for Gorgon system
unsigned char Byte
Represents smallest cell in memory.
Definition: Types.h:9
std::set< std::string, String::CaseInsensitiveLess > KeywordNames
Definition: Scripting.cpp:13
Represents an enumeration type.
Definition: Reflection.h:1540
Library Reflection
Definition: Builtin.cpp:17
Library Integrals
This library requires Initialize to be called.
Definition: VirtualMachine.h:41
Represents a function.
Definition: Reflection.h:557
bool IsValid() const
Returns if the data is in a valid state.
Definition: Data.h:152
This class represents an instance data member.
Definition: Reflection.h:989
Events allow an easy mechanism to program logic into actions instead of checking actions continuously...
Definition: Reflection.h:1491
Definition: Reflection.h:421
DEFTYPE(Variant)
Variant is a special data type.