rttr  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
Public Member Functions | List of all members
rttr::metadata Class Reference

This class gives access to a constructor of a rttr::type. More...

#include <metadata.h>

Public Member Functions

 metadata (const metadata &other)
 
 metadata (std::string key, variant value)
 
 metadata (int key, variant value)
 
 metadata (metadata &&data)
 
variant get_key () const
 
variant get_value () const
 
metadataoperator= (metadata other)
 

Detailed Description

This class gives access to a constructor of a rttr::type.

Discovers the attributes of a class constructor and provides access to constructor metadata.

Calling constructor::invoke will create an instance of the type.

Constructor & Destructor Documentation

rttr::metadata::metadata ( const metadata other)
inline
rttr::metadata::metadata ( std::string  key,
variant  value 
)
inline
rttr::metadata::metadata ( int  key,
variant  value 
)
inline
rttr::metadata::metadata ( metadata &&  data)
inline

Member Function Documentation

variant rttr::metadata::get_key ( ) const
inline
variant rttr::metadata::get_value ( ) const
inline
metadata& rttr::metadata::operator= ( metadata  other)
inline

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