refl-cpp
refl::descriptor::type_descriptor< T > Class Template Reference

Represents a reflected type. More...

#include <refl.hpp>

Public Types

typedef T type
 
typedef member_list< T > member_types
 
typedef trait::as_type_list_t< std::remove_cv_t< decltype(type_info::attributes)> > attribute_types
 

Static Public Attributes

static constexpr member_list< T > members { }
 
static constexpr const auto name { type_info::name }
 
static constexpr const auto attributes { type_info::attributes }
 

Detailed Description

template<typename T>
class refl::descriptor::type_descriptor< T >

Represents a reflected type.

Represents a reflected type.

Member Typedef Documentation

◆ attribute_types

template<typename T >
typedef trait::as_type_list_t<std::remove_cv_t<decltype(type_info::attributes)> > refl::descriptor::type_descriptor< T >::attribute_types

An alias specifying the types of the attributes of the member. (Removes CV-qualifiers.)

◆ member_types

template<typename T >
typedef member_list<T> refl::descriptor::type_descriptor< T >::member_types

A synonym for member_list<T>.

◆ type

template<typename T >
typedef T refl::descriptor::type_descriptor< T >::type

The reflected type T.

Member Data Documentation

◆ attributes

template<typename T >
constexpr const auto refl::descriptor::type_descriptor< T >::attributes { type_info::attributes }
staticconstexpr

The attributes of the reflected type.

◆ members

template<typename T >
constexpr member_list<T> refl::descriptor::type_descriptor< T >::members { }
staticconstexpr

The list of member descriptors.

◆ name

template<typename T >
constexpr const auto refl::descriptor::type_descriptor< T >::name { type_info::name }
staticconstexpr

The name of the reflected type.


The documentation for this class was generated from the following file: