siplasplas
Public Types | List of all members
cpp::static_reflection::meta::Class< SourceInfo_, Class_, Methods_, Fields_, Constructors_, Classes_, Enums_ > Class Template Reference

Public Types

using class_type = Class_
 
using type = class_type
 
using SourceInfo = SourceInfo_
 Returns the source information of the class. More...
 
using Methods = Methods_
 Returns a list with the information of the public non-static methods of the class. More...
 
using Fields = Fields_
 Returns a list with the information of the public non-static member objects of the class. More...
 
using Constructors = Constructors_
 Returns information about the public constructors of the class. More...
 
using Classes = Classes_
 Returns the list of member classes of the class. More...
 
using Enums = Enums_
 Returns the list of member enums of the class. More...
 

Member Typedef Documentation

§ Classes

template<typename SourceInfo_, typename Class_, typename Methods_, typename Fields_, typename Constructors_, typename Classes_, typename Enums_>
using cpp::static_reflection::meta::Class< SourceInfo_, Class_, Methods_, Fields_, Constructors_, Classes_, Enums_ >::Classes = Classes_

Returns the list of member classes of the class.

Classes is implemented as an alias to a cpp::meta::list<> instance with the member class types of the class

§ Constructors

template<typename SourceInfo_, typename Class_, typename Methods_, typename Fields_, typename Constructors_, typename Classes_, typename Enums_>
using cpp::static_reflection::meta::Class< SourceInfo_, Class_, Methods_, Fields_, Constructors_, Classes_, Enums_ >::Constructors = Constructors_

Returns information about the public constructors of the class.

Returns an empty cpp::meta::list<>, constructor information is not currently collected by the reflection parser

§ Enums

template<typename SourceInfo_, typename Class_, typename Methods_, typename Fields_, typename Constructors_, typename Classes_, typename Enums_>
using cpp::static_reflection::meta::Class< SourceInfo_, Class_, Methods_, Fields_, Constructors_, Classes_, Enums_ >::Enums = Enums_

Returns the list of member enums of the class.

Classes is implemented as an alias to a cpp::meta::list<> instance with the member enumeration types of the class

§ Fields

template<typename SourceInfo_, typename Class_, typename Methods_, typename Fields_, typename Constructors_, typename Classes_, typename Enums_>
using cpp::static_reflection::meta::Class< SourceInfo_, Class_, Methods_, Fields_, Constructors_, Classes_, Enums_ >::Fields = Fields_

Returns a list with the information of the public non-static member objects of the class.

Fields is implemented as an alias to a cpp::meta::list<> with one cpp::static_reflection::Field instance for each public non-static member object of the class.

§ Methods

template<typename SourceInfo_, typename Class_, typename Methods_, typename Fields_, typename Constructors_, typename Classes_, typename Enums_>
using cpp::static_reflection::meta::Class< SourceInfo_, Class_, Methods_, Fields_, Constructors_, Classes_, Enums_ >::Methods = Methods_

Returns a list with the information of the public non-static methods of the class.

Methods is implemented as an alias to a cpp::meta::list<> with one cpp::static_reflection::Function instance for each public non-static member function of the class.

§ SourceInfo

template<typename SourceInfo_, typename Class_, typename Methods_, typename Fields_, typename Constructors_, typename Classes_, typename Enums_>
using cpp::static_reflection::meta::Class< SourceInfo_, Class_, Methods_, Fields_, Constructors_, Classes_, Enums_ >::SourceInfo = SourceInfo_

Returns the source information of the class.

Returns a cpp::static_reflection::meta::SourceInfo instance with the source information of the declaration of the class. This information includes:

  • Class name, e.g. "MyClass". See cpp::static_reflection::SourceInfo::spelling()
  • Full qualified class name, e.g. "MyNamespace::MyClass". See cpp::static_reflection::SourceInfo::fullName()
  • Full path to the file where the class is declared, e.g. "/home/user/myproject/include/MyLib/MyLib.h". See cpp::static_reflection::SourceInfo::file()
  • Line of the file where the class is declared, e.g. 42. See cpp::static_reflection::SourceInfo::line()

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