Class for serializing RenderSystemCapabilities to / from a .rendercaps script.
More...
#include <OgreRenderSystemCapabilitiesSerializer.h>
|
| RenderSystemCapabilitiesSerializer () |
| default constructor More...
|
|
virtual | ~RenderSystemCapabilitiesSerializer () |
| default destructor More...
|
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info More...
|
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new More...
|
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info More...
|
|
void | parseScript (DataStreamPtr &stream) |
| Parses a RenderSystemCapabilities script file passed as a stream. More...
|
|
void | writeScript (const RenderSystemCapabilities *caps, String name, String filename) |
| Writes a RenderSystemCapabilities object to a data stream. More...
|
|
String | writeString (const RenderSystemCapabilities *caps, String name) |
| Writes a RenderSystemCapabilities object to a string. More...
|
|
|
typedef vector< std::pair< String, int > >::type | CapabilitiesLinesList |
|
typedef map< String, Capabilities >::type | CapabilitiesMap |
|
enum | CapabilityKeywordType {
UNDEFINED_CAPABILITY_TYPE = 0
, SET_STRING_METHOD
, SET_INT_METHOD
, SET_BOOL_METHOD
,
SET_REAL_METHOD
, SET_CAPABILITY_ENUM_BOOL
, ADD_SHADER_PROFILE_STRING
} |
|
typedef map< String, CapabilityKeywordType >::type | KeywordTypeMap |
|
enum | ParseAction { PARSE_HEADER
, FIND_OPEN_BRACE
, COLLECT_LINES
} |
|
typedef void(RenderSystemCapabilities::* | SetBoolMethod) (bool) |
|
typedef map< String, SetBoolMethod >::type | SetBoolMethodDispatchTable |
|
typedef void(RenderSystemCapabilities::* | SetIntMethod) (ushort) |
|
typedef map< String, SetIntMethod >::type | SetIntMethodDispatchTable |
|
typedef void(RenderSystemCapabilities::* | SetRealMethod) (Real) |
|
typedef map< String, SetRealMethod >::type | SetRealMethodDispatchTable |
|
typedef void(RenderSystemCapabilities::* | SetStringMethod) (const String &) |
|
typedef map< String, SetStringMethod >::type | SetStringMethodDispatchTable |
|
|
void | addCapabilitiesMapping (String name, Capabilities cap) |
|
void | addKeywordType (String keyword, CapabilityKeywordType type) |
|
void | addSetBoolMethod (String keyword, SetBoolMethod method) |
|
void | addSetIntMethod (String keyword, SetIntMethod method) |
|
void | addSetRealMethod (String keyword, SetRealMethod method) |
|
void | addSetStringMethod (String keyword, SetStringMethod method) |
|
void | addShaderProfile (String &val) |
|
void | callSetBoolMethod (String &keyword, bool val) |
|
void | callSetIntMethod (String &keyword, ushort val) |
|
void | callSetRealMethod (String &keyword, Real val) |
|
void | callSetStringMethod (String &keyword, String &val) |
|
CapabilityKeywordType | getKeywordType (const String &keyword) const |
|
void | initialiaseDispatchTables () |
|
void | logParseError (const String &error) const |
|
void | parseCapabilitiesLines (CapabilitiesLinesList &linesList) |
|
void | setCapabilityEnumBool (String &name, bool val) |
|
Class for serializing RenderSystemCapabilities to / from a .rendercaps script.
Definition at line 48 of file OgreRenderSystemCapabilitiesSerializer.h.
◆ CapabilitiesLinesList
◆ CapabilitiesMap
◆ KeywordTypeMap
◆ SetBoolMethod
typedef void(RenderSystemCapabilities::* Ogre::RenderSystemCapabilitiesSerializer::SetBoolMethod) (bool) |
|
protected |
◆ SetBoolMethodDispatchTable
◆ SetIntMethod
typedef void(RenderSystemCapabilities::* Ogre::RenderSystemCapabilitiesSerializer::SetIntMethod) (ushort) |
|
protected |
◆ SetIntMethodDispatchTable
◆ SetRealMethod
typedef void(RenderSystemCapabilities::* Ogre::RenderSystemCapabilitiesSerializer::SetRealMethod) (Real) |
|
protected |
◆ SetRealMethodDispatchTable
◆ SetStringMethod
typedef void(RenderSystemCapabilities::* Ogre::RenderSystemCapabilitiesSerializer::SetStringMethod) (const String &) |
|
protected |
◆ SetStringMethodDispatchTable
◆ CapabilityKeywordType
Enumerator |
---|
UNDEFINED_CAPABILITY_TYPE | |
SET_STRING_METHOD | |
SET_INT_METHOD | |
SET_BOOL_METHOD | |
SET_REAL_METHOD | |
SET_CAPABILITY_ENUM_BOOL | |
ADD_SHADER_PROFILE_STRING | |
Definition at line 71 of file OgreRenderSystemCapabilitiesSerializer.h.
◆ ParseAction
◆ RenderSystemCapabilitiesSerializer()
Ogre::RenderSystemCapabilitiesSerializer::RenderSystemCapabilitiesSerializer |
( |
| ) |
|
◆ ~RenderSystemCapabilitiesSerializer()
virtual Ogre::RenderSystemCapabilitiesSerializer::~RenderSystemCapabilitiesSerializer |
( |
| ) |
|
|
virtual |
◆ addCapabilitiesMapping()
void Ogre::RenderSystemCapabilitiesSerializer::addCapabilitiesMapping |
( |
String |
name, |
|
|
Capabilities |
cap |
|
) |
| |
|
protected |
◆ addKeywordType()
◆ addSetBoolMethod()
void Ogre::RenderSystemCapabilitiesSerializer::addSetBoolMethod |
( |
String |
keyword, |
|
|
SetBoolMethod |
method |
|
) |
| |
|
protected |
◆ addSetIntMethod()
void Ogre::RenderSystemCapabilitiesSerializer::addSetIntMethod |
( |
String |
keyword, |
|
|
SetIntMethod |
method |
|
) |
| |
|
protected |
◆ addSetRealMethod()
void Ogre::RenderSystemCapabilitiesSerializer::addSetRealMethod |
( |
String |
keyword, |
|
|
SetRealMethod |
method |
|
) |
| |
|
protected |
◆ addSetStringMethod()
void Ogre::RenderSystemCapabilitiesSerializer::addSetStringMethod |
( |
String |
keyword, |
|
|
SetStringMethod |
method |
|
) |
| |
|
protected |
◆ addShaderProfile()
void Ogre::RenderSystemCapabilitiesSerializer::addShaderProfile |
( |
String & |
val | ) |
|
|
protected |
◆ callSetBoolMethod()
void Ogre::RenderSystemCapabilitiesSerializer::callSetBoolMethod |
( |
String & |
keyword, |
|
|
bool |
val |
|
) |
| |
|
protected |
◆ callSetIntMethod()
void Ogre::RenderSystemCapabilitiesSerializer::callSetIntMethod |
( |
String & |
keyword, |
|
|
ushort |
val |
|
) |
| |
|
protected |
◆ callSetRealMethod()
void Ogre::RenderSystemCapabilitiesSerializer::callSetRealMethod |
( |
String & |
keyword, |
|
|
Real |
val |
|
) |
| |
|
protected |
◆ callSetStringMethod()
void Ogre::RenderSystemCapabilitiesSerializer::callSetStringMethod |
( |
String & |
keyword, |
|
|
String & |
val |
|
) |
| |
|
protected |
◆ getKeywordType()
◆ initialiaseDispatchTables()
void Ogre::RenderSystemCapabilitiesSerializer::initialiaseDispatchTables |
( |
| ) |
|
|
protected |
◆ logParseError()
void Ogre::RenderSystemCapabilitiesSerializer::logParseError |
( |
const String & |
error | ) |
const |
|
protected |
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inherited |
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inherited |
◆ parseCapabilitiesLines()
void Ogre::RenderSystemCapabilitiesSerializer::parseCapabilitiesLines |
( |
CapabilitiesLinesList & |
linesList | ) |
|
|
protected |
◆ parseScript()
void Ogre::RenderSystemCapabilitiesSerializer::parseScript |
( |
DataStreamPtr & |
stream | ) |
|
◆ setCapabilityEnumBool()
void Ogre::RenderSystemCapabilitiesSerializer::setCapabilityEnumBool |
( |
String & |
name, |
|
|
bool |
val |
|
) |
| |
|
protected |
◆ writeScript()
◆ writeString()
◆ mCapabilitiesMap
◆ mCurrentCapabilities
◆ mCurrentLine
String* Ogre::RenderSystemCapabilitiesSerializer::mCurrentLine |
|
protected |
◆ mCurrentLineNumber
int Ogre::RenderSystemCapabilitiesSerializer::mCurrentLineNumber |
|
protected |
◆ mCurrentStream
DataStreamPtr Ogre::RenderSystemCapabilitiesSerializer::mCurrentStream |
|
protected |
◆ mKeywordTypeMap
KeywordTypeMap Ogre::RenderSystemCapabilitiesSerializer::mKeywordTypeMap |
|
protected |
◆ mSetBoolMethodDispatchTable
◆ mSetIntMethodDispatchTable
◆ mSetRealMethodDispatchTable
◆ mSetStringMethodDispatchTable
The documentation for this class was generated from the following file: