siplasplas
List of all members
cpp::static_reflection::Class< T > Class Template Reference

Returns static reflection information of a given class. More...

#include <class.hpp>

Inheritance diagram for cpp::static_reflection::Class< T >:
cpp::static_reflection::codegen::Class< T > cpp::static_reflection::meta::Class< static_reflection::meta::EmptySourceInfo< T >, T, ::cpp::meta::list<>, ::cpp::meta::list<>, ::cpp::meta::list<>, ::cpp::meta::list<>, ::cpp::meta::list<> >

Additional Inherited Members

- Public Types inherited from cpp::static_reflection::meta::Class< static_reflection::meta::EmptySourceInfo< T >, T, ::cpp::meta::list<>, ::cpp::meta::list<>, ::cpp::meta::list<>, ::cpp::meta::list<>, ::cpp::meta::list<> >
using class_type = T
 
using type = class_type
 
using SourceInfo = static_reflection::meta::EmptySourceInfo< T >
 Returns the source information of the class. More...
 
using Methods = ::cpp::meta::list<>
 Returns a list with the information of the public non-static methods of the class. More...
 
using Fields = ::cpp::meta::list<>
 Returns a list with the information of the public non-static member objects of the class. More...
 
using Constructors = ::cpp::meta::list<>
 Returns information about the public constructors of the class. More...
 
using Classes = ::cpp::meta::list<>
 Returns the list of member classes of the class. More...
 
using Enums = ::cpp::meta::list<>
 Returns the list of member enums of the class. More...
 

Detailed Description

template<typename T>
class cpp::static_reflection::Class< T >

Returns static reflection information of a given class.

This template returns (inherits) a cpp::static_reflection::meta::Class instance with the information of the given class type. If there's no static reflection information of this class in the current translation unit, returns an empty cpp::static_reflection::meta::Class instance (Default "unknown" source info, empty methods, ctors, enums, and classes lists, etc). The behavior is undefined if the given type is not a class type.

See cpp::static_reflection::meta::Class for the returned information.

Template Parameters
TMust be a class type.

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