1 #ifndef FWCore_Utilities_ReflexTools_h
2 #define FWCore_Utilities_ReflexTools_h
11 #include "Reflex/Object.h"
12 #include "Reflex/Type.h"
63 std::vector<Reflex::Type>& baseTypes);
80 toType(Reflex::Type::ByTypeInfo(
typeid(
T)));
82 Reflex::Object
obj(dynamicType, raw);
83 return static_cast<T const*
>(obj.CastObject(toType).Address());
115 std::type_info
const& toType);
bool is_RefToBaseVector(Reflex::Type const &possible_ref_vector, Reflex::Type &value_type)
bool is_PtrVector(Reflex::Type const &possible_ref_vector, Reflex::Type &value_type)
bool value_type_of(Reflex::Type const &t, Reflex::Type &found_type)
void const * reflex_pointer_adjust(void *raw, Reflex::Type const &dynamicType, std::type_info const &toType)
void public_base_classes(Reflex::Type const &type, std::vector< Reflex::Type > &baseTypes)
StringSet & missingTypes()
bool wrapper_type_of(Reflex::Type const &possible_wrapper, Reflex::Type &found_wrapped_type)
std::set< std::string > StringSet
void checkDictionaries(std::string const &name, bool noComponents=false)
Container::value_type value_type
void throwMissingDictionariesException()
bool find_nested_type_named(std::string const &nested_type, Reflex::Type const &type_to_search, Reflex::Type &found_type)
T const * reflex_cast(void *raw, Reflex::Type const &dynamicType)
void loadMissingDictionaries()
bool is_RefVector(Reflex::Type const &possible_ref_vector, Reflex::Type &value_type)