MezzanineEngine 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Constant Groups | Macros | Typedefs | Functions
datatypes.h File Reference

All the definitions for datatypes as well as some basic conversion functions are defined here. Additionally, this is where all of the other singular header inclusions go as well. More...

#include "crossplatformexport.h"
#include <stdint.h>
#include <cstddef>
#include <algorithm>
#include <exception>
#include <istream>
#include <list>
#include <map>
#include <string>
#include <sstream>
#include <fstream>
#include <set>
#include <vector>
#include <utility>
#include <memory>
#include <ostream>
#include "swig.h"
+ Include dependency graph for datatypes.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Mezzanine
 The bulk of the engine components go in this namspace.
 

Constant Groups

 Mezzanine
 The bulk of the engine components go in this namspace.
 

Macros

#define MEZZANINE_CORE   1
 Only defined in the Mezzanine and none of the Sattelite libraries. More...
 

Typedefs

typedef bool Mezzanine::Boolean
 
typedef char Mezzanine::Char8
 A datatype to represent one character. More...
 
typedef const String Mezzanine::ConstString
 A Datatype used to a series of imutable characters. More...
 
typedef intptr_t Mezzanine::ConvertiblePointer
 A type that any pointer can be converted to and back from, and insures after the conversion back it will be identical.
 
typedef int16_t Mezzanine::Int16
 An 16-bit integer.
 
typedef int32_t Mezzanine::Int32
 An 32-bit integer.
 
typedef int64_t Mezzanine::Int64
 An 64-bit integer.
 
typedef int8_t Mezzanine::Int8
 An 8-bit integer.
 
typedef int Mezzanine::Integer
 A datatype used to represent any integer close to. More...
 
typedef std::stringstream Mezzanine::Logger
 In case we ever replace the stringstream with another class, this will allow us to swap it out. More...
 
typedef long long Mezzanine::MaxInt
 A large integer type suitable for compile time math and long term microsecond time keeping. More...
 
typedef std::pair< String, String > Mezzanine::NameValuePair
 This is a pair for the generic storage of a value and it's associated name.
 
typedef std::list< NameValuePair > Mezzanine::NameValuePairList
 This is a datatype mostly used for describing settings or parameters that can't be declared in advance. More...
 
typedef std::map< String, String > Mezzanine::NameValuePairMap
 This is a datatype mostly used for describing settings or parameters that can't be declared in advance. More...
 
typedef double Mezzanine::PreciseReal
 A Real number that is at least as precise as the Real and could be considerabll moreso.
 
typedef SDL_Event Mezzanine::RawEvent
 This is an internal datatype use to communicate with the User input Subsystem. More...
 
typedef float Mezzanine::Real
 A Datatype used to represent a real floating point number. More...
 
typedef std::string Mezzanine::String
 A datatype used to a series of characters. More...
 
typedef std::set< String > Mezzanine::StringSet
 This is a simple datatype for a set container of strings.
 
typedef std::stringstream Mezzanine::StringStream
 A Datatype used for streaming operations with strings.
 
typedef std::vector< String > Mezzanine::StringVector
 This is a simple datatype for a vector container of strings.
 
typedef UInt32 Mezzanine::TimeMarker
 A datatype used to indicate a specific point in time, or a timestamp. More...
 
typedef uint16_t Mezzanine::UInt16
 An 16-bit unsigned integer.
 
typedef uint32_t Mezzanine::UInt32
 An 32-bit unsigned integer.
 
typedef uint64_t Mezzanine::UInt64
 An 64-bit unsigned integer.
 
typedef uint8_t Mezzanine::UInt8
 An 8-bit unsigned integer.
 
typedef unsigned long Mezzanine::Whole
 Whole is an unsigned integer, it will be at least 32bits in size. More...
 
typedef std::wstring Mezzanine::WideString
 A wide version of the String typedef. More...
 

Functions

template<typename To , typename From >
To Mezzanine::ConvertTo (const From &Datum)
 Catch all Lexigraphical Conversion. More...
 
template<class T >
Boolean Mezzanine::ToBool (const T &Datum)
 Converts whatever to a Boolean as long as the proper streaming operators are available for it. More...
 
template<class T >
double Mezzanine::Todouble (const T &Datum)
 Converts whatever to a double as long as the proper streaming operators are available for it. More...
 
template<class T >
float Mezzanine::Tofloat (const T &Datum)
 Converts whatever to a float as long as the proper streaming operators are available for it. More...
 
template<class T >
int Mezzanine::Toint (const T &Datum)
 Converts whatever to an int as long as the proper streaming operators are available for it. More...
 
template<class T >
Integer Mezzanine::ToInteger (const T &Datum)
 Converts whatever to an Integer as long as the proper streaming operators are available for it. More...
 
template<class T >
Real Mezzanine::ToReal (const T &Datum)
 Converts whatever to a Real as long as the proper streaming operators are available for it. More...
 
template<class T >
String Mezzanine::ToString (const T &Datum)
 Converts whatever to a String as long as a streaming operator is available for it. More...
 
template<class T >
unsigned int Mezzanine::Tounsignedint (const T &Datum)
 Converts whatever to an unsigned int as long as the proper streaming operators are available for it. More...
 
template<class T >
Whole Mezzanine::ToWhole (const T &Datum)
 Converts whatever to a Whole as long as the proper streaming operators are available for it. More...
 

Detailed Description

All the definitions for datatypes as well as some basic conversion functions are defined here. Additionally, this is where all of the other singular header inclusions go as well.

Definition in file datatypes.h.

Macro Definition Documentation

#define MEZZANINE_CORE   1

Only defined in the Mezzanine and none of the Sattelite libraries.

Some parts of the code are in the Mezzanine and other libraries, Only the Mezzanine defines this to allow that code to fully integrate its behaviour.

Definition at line 53 of file datatypes.h.