rttr/0.9.6

Run Time Type Reflection library
Recipe info
2023-02-20

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
rttr/0.9.6

Using rttr

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
rttr/0.9.6
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("rttr/0.9.6")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): rttr
  • CMake target name(s): RTTR::Core_Lib
  • _rttr => RTTR::Core_Lib
    
  • pkg-config file name(s): rttr.pc
  • _rttr => rttr-_rttr.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(rttr REQUIRED)
# ...
target_link_libraries(YOUR_TARGET RTTR::Core_Lib)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the rttr homepage listed above:

#include "rttr/access_levels.h"
#include "rttr/argument.h"
#include "rttr/array_range.h"
#include "rttr/associative_mapper.h"
#include "rttr/constructor.h"
#include "rttr/destructor.h"
#include "rttr/detail/base/core_prerequisites.h"
#include "rttr/detail/base/version.h"
#include "rttr/detail/comparison/comparable_types.h"
#include "rttr/detail/comparison/compare_array_equal.h"
#include "rttr/detail/comparison/compare_array_equal_impl.h"
#include "rttr/detail/comparison/compare_array_less.h"
#include "rttr/detail/comparison/compare_array_less_impl.h"
#include "rttr/detail/comparison/compare_equal.h"
#include "rttr/detail/comparison/compare_equal_impl.h"
#include "rttr/detail/comparison/compare_less.h"
#include "rttr/detail/comparison/compare_less_impl.h"
#include "rttr/detail/constructor/constructor_invoker.h"
#include "rttr/detail/constructor/constructor_wrapper.h"
#include "rttr/detail/constructor/constructor_wrapper_base.h"
#include "rttr/detail/constructor/constructor_wrapper_defaults.h"
#include "rttr/detail/conversion/number_conversion.h"
#include "rttr/detail/conversion/std_conversion_functions.h"
#include "rttr/detail/default_arguments/default_arguments.h"
#include "rttr/detail/default_arguments/invoke_with_defaults.h"
#include "rttr/detail/destructor/destructor_wrapper.h"
#include "rttr/detail/destructor/destructor_wrapper_base.h"
#include "rttr/detail/enumeration/enum_data.h"
#include "rttr/detail/enumeration/enumeration_helper.h"
#include "rttr/detail/enumeration/enumeration_wrapper.h"
#include "rttr/detail/enumeration/enumeration_wrapper_base.h"
#include "rttr/detail/filter/filter_item_funcs.h"
#include "rttr/detail/impl/argument_impl.h"
#include "rttr/detail/impl/array_range_impl.h"
#include "rttr/detail/impl/associative_mapper_impl.h"
#include "rttr/detail/impl/enum_flags_impl.h"
#include "rttr/detail/impl/instance_impl.h"
#include "rttr/detail/impl/rttr_cast_impl.h"
#include "rttr/detail/impl/sequential_mapper_impl.h"
#include "rttr/detail/impl/string_view_impl.h"
#include "rttr/detail/impl/wrapper_mapper_impl.h"
#include "rttr/detail/metadata/metadata.h"
#include "rttr/detail/metadata/metadata_handler.h"
#include "rttr/detail/method/method_accessor.h"
#include "rttr/detail/method/method_invoker.h"
#include "rttr/detail/method/method_wrapper.h"
#include "rttr/detail/method/method_wrapper_base.h"
#include "rttr/detail/misc/argument_extractor.h"
#include "rttr/detail/misc/argument_wrapper.h"
#include "rttr/detail/misc/class_item_mapper.h"
#include "rttr/detail/misc/data_address_container.h"
#include "rttr/detail/misc/flat_map.h"
#include "rttr/detail/misc/flat_multimap.h"
#include "rttr/detail/misc/function_traits.h"
#include "rttr/detail/misc/iterator_wrapper.h"
#include "rttr/detail/misc/misc_type_traits.h"
#include "rttr/detail/misc/register_wrapper_mapper_conversion.h"
#include "rttr/detail/misc/sequential_container_type_traits.h"
#include "rttr/detail/misc/std_type_traits.h"
#include "rttr/detail/misc/template_type_trait.h"
#include "rttr/detail/misc/template_type_trait_impl.h"
#include "rttr/detail/misc/utility.h"
#include "rttr/detail/parameter_info/parameter_info_wrapper.h"
#include "rttr/detail/parameter_info/parameter_info_wrapper_base.h"
#include "rttr/detail/parameter_info/parameter_infos.h"
#include "rttr/detail/parameter_info/parameter_infos_compare.h"
#include "rttr/detail/parameter_info/parameter_names.h"
#include "rttr/detail/policies/ctor_policies.h"
#include "rttr/detail/policies/meth_policies.h"
#include "rttr/detail/policies/prop_policies.h"
#include "rttr/detail/property/property_accessor.h"
#include "rttr/detail/property/property_wrapper.h"
#include "rttr/detail/property/property_wrapper_base.h"
#include "rttr/detail/property/property_wrapper_func.h"
#include "rttr/detail/property/property_wrapper_member_func.h"
#include "rttr/detail/property/property_wrapper_member_object.h"
#include "rttr/detail/property/property_wrapper_object.h"
#include "rttr/detail/registration/bind_impl.h"
#include "rttr/detail/registration/bind_types.h"
#include "rttr/detail/registration/register_base_class_from_accessor.h"
#include "rttr/detail/registration/registration_executer.h"
#include "rttr/detail/registration/registration_impl.h"
#include "rttr/detail/registration/registration_manager.h"
#include "rttr/detail/registration/registration_state_saver.h"
#include "rttr/detail/type/accessor_type.h"
#include "rttr/detail/type/base_classes.h"
#include "rttr/detail/type/get_create_variant_func.h"
#include "rttr/detail/type/get_derived_info_func.h"
#include "rttr/detail/type/type_comparator.h"
#include "rttr/detail/type/type_converter.h"
#include "rttr/detail/type/type_data.h"
#include "rttr/detail/type/type_impl.h"
#include "rttr/detail/type/type_name.h"
#include "rttr/detail/type/type_register.h"
#include "rttr/detail/type/type_string_utils.h"
#include "rttr/detail/variant/variant_compare.h"
#include "rttr/detail/variant/variant_data.h"
#include "rttr/detail/variant/variant_data_converter.h"
#include "rttr/detail/variant/variant_data_policy.h"
#include "rttr/detail/variant/variant_impl.h"
#include "rttr/detail/variant_associative_view/variant_associative_view_creator.h"
#include "rttr/detail/variant_associative_view/variant_associative_view_creator_impl.h"
#include "rttr/detail/variant_associative_view/variant_associative_view_private.h"
#include "rttr/detail/variant_sequential_view/variant_sequential_view_creator.h"
#include "rttr/detail/variant_sequential_view/variant_sequential_view_creator_impl.h"
#include "rttr/detail/variant_sequential_view/variant_sequential_view_private.h"
#include "rttr/enum_flags.h"
#include "rttr/enumeration.h"
#include "rttr/filter_item.h"
#include "rttr/instance.h"
#include "rttr/library.h"
#include "rttr/method.h"
#include "rttr/parameter_info.h"
#include "rttr/policy.h"
#include "rttr/property.h"
#include "rttr/registration"
#include "rttr/registration.h"
#include "rttr/registration_friend"
#include "rttr/registration_friend.h"
#include "rttr/rttr_cast.h"
#include "rttr/rttr_enable.h"
#include "rttr/sequential_mapper.h"
#include "rttr/string_view.h"
#include "rttr/type"
#include "rttr/type.h"
#include "rttr/variant.h"
#include "rttr/variant_associative_view.h"
#include "rttr/variant_sequential_view.h"
#include "rttr/wrapper_mapper.h"