CPP-TOOLBOX
Loading...
Searching...
No Matches
meta_utils::MetaClass Class Reference

#include <meta_utils.hpp>

Public Member Functions

 MetaClass (std::string name, std::string name_space="", bool is_final=false)
 
void add_attribute (const MetaAttribute &attr)
 
void add_method (const MetaMethod &method)
 
std::string to_string () const
 

Public Attributes

std::string name
 
std::string name_space
 
bool is_final = false
 
std::vector< MetaAttributeattributes
 
std::vector< MetaConstructorconstructors
 
std::vector< MetaMethodmethods
 

Constructor & Destructor Documentation

◆ MetaClass()

meta_utils::MetaClass::MetaClass ( std::string name,
std::string name_space = "",
bool is_final = false )
inline

Member Function Documentation

◆ add_attribute()

void meta_utils::MetaClass::add_attribute ( const MetaAttribute & attr)
inline

◆ add_method()

void meta_utils::MetaClass::add_method ( const MetaMethod & method)
inline

◆ to_string()

std::string meta_utils::MetaClass::to_string ( ) const
inline

Member Data Documentation

◆ attributes

std::vector<MetaAttribute> meta_utils::MetaClass::attributes

◆ constructors

std::vector<MetaConstructor> meta_utils::MetaClass::constructors

◆ is_final

bool meta_utils::MetaClass::is_final = false

◆ methods

std::vector<MetaMethod> meta_utils::MetaClass::methods

◆ name

std::string meta_utils::MetaClass::name

◆ name_space

std::string meta_utils::MetaClass::name_space

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