NTrace
GPU ray tracing framework
|
#include <StateDump.hpp>
Inherits FW::Serializable.
Public Member Functions | |
StateDump (void) | |
StateDump (const StateDump &other) | |
virtual | ~StateDump (void) |
virtual void | readFromStream (InputStream &s) |
virtual void | writeToStream (OutputStream &s) const |
void | clear (void) |
void | add (const StateDump &other) |
void | set (const StateDump &other) |
void | pushOwner (const String &id) |
void | popOwner (void) |
bool | has (const String &id) const |
const Array< U8 > * | get (const String &id) const |
bool | get (void *ptr, int size, const String &id) |
template<class T > | |
bool | get (T &value, const String &id) const |
template<class T > | |
bool | get (T &value, const String &id, const T &defValue) const |
template<class T > | |
T | get (const String &id, const T &defValue) const |
void | set (const void *ptr, int size, const String &id) |
template<class T > | |
void | set (const T &value, const String &id) |
void | unset (const String &id) |
StateDump & | operator= (const StateDump &other) |
![]() | |
Serializable (void) | |
virtual | ~Serializable (void) |
Definition at line 37 of file StateDump.hpp.
|
inline |
Definition at line 40 of file StateDump.hpp.
|
inline |
Definition at line 41 of file StateDump.hpp.
|
inlinevirtual |
Definition at line 42 of file StateDump.hpp.
Definition at line 68 of file StateDump.cpp.
Definition at line 59 of file StateDump.cpp.
Definition at line 77 of file StateDump.cpp.
Definition at line 85 of file StateDump.cpp.
bool FW::StateDump::get | ( | T & | value, |
const String & | id | ||
) | const |
Definition at line 81 of file StateDump.hpp.
bool FW::StateDump::get | ( | T & | value, |
const String & | id, | ||
const T & | defValue | ||
) | const |
Definition at line 95 of file StateDump.hpp.
T FW::StateDump::get | ( | const String & | id, |
const T & | defValue | ||
) | const |
Definition at line 105 of file StateDump.hpp.
|
inline |
Definition at line 54 of file StateDump.hpp.
Definition at line 65 of file StateDump.hpp.
Definition at line 52 of file StateDump.hpp.
Definition at line 51 of file StateDump.hpp.
|
virtual |
Implements FW::Serializable.
Definition at line 34 of file StateDump.cpp.
Definition at line 49 of file StateDump.hpp.
Definition at line 101 of file StateDump.cpp.
Definition at line 114 of file StateDump.hpp.
Definition at line 63 of file StateDump.hpp.
|
virtual |
Implements FW::Serializable.
Definition at line 50 of file StateDump.cpp.