Shaka Player Embedded
|
#include <struct.h>
Public Member Functions | |
FieldConverter (const std::string &name, Field Parent::*member) | |
void | SearchAndStore (Struct *dict, Handle< JsObject > object) override |
void | AddToObject (const Struct *dict, Handle< JsObject > object) const override |
void | Trace (const Struct *dict, memory::HeapTracer *tracer) const override |
![]() | |
virtual | ~FieldConverterBase () |
The implementation of the field converter. This will convert a field of type Field that is defined on the type Parent.
|
inline |
|
inlineoverridevirtual |
Stores the value of the field in the given object.
Implements shaka::impl::FieldConverterBase.
|
inlineoverridevirtual |
Search the given object for a property with the name of the field this is converting. If found, try to convert it and store in the field.
Implements shaka::impl::FieldConverterBase.
|
inlineoverridevirtual |
Traces the member on the given object.
Implements shaka::impl::FieldConverterBase.