VL
|
#include <TypeResolver.h>
Public Types | |
typedef std::function< std::string(const vl::Object &object)> | FGetTypeId |
typedef std::function< vl::Object &(const std::string &protoId)> | FGetProto |
Public Member Functions | |
TypeResolver ()=default | |
TypeResolver (const FGetTypeId &fGetTypeId, const FGetProto &fGetProto) | |
operator bool () const | |
std::string | GetTypeId (const vl::Object &object) const |
const vl::Object & | GetProto (const std::string &protoId) const |
Protected Attributes | |
FGetTypeId | mGetTypeId = nullptr |
FGetProto | mGetProto = nullptr |
typedef std::function<vl::Object& (const std::string& protoId)> TypeResolver::FGetProto |
typedef std::function<std::string(const vl::Object& object)> TypeResolver::FGetTypeId |
|
default |
TypeResolver::TypeResolver | ( | const FGetTypeId & | fGetTypeId, |
const FGetProto & | fGetProto | ||
) |
const vl::Object & TypeResolver::GetProto | ( | const std::string & | protoId | ) | const |
std::string TypeResolver::GetTypeId | ( | const vl::Object & | object | ) | const |
TypeResolver::operator bool | ( | ) | const |
|
protected |
|
protected |