Graphite  Version 3
An experimental 3D geometry processing program
meta.h File Reference

The meta-information used by the reflection API. More...

#include <OGF/gom/common/common.h>
#include <OGF/gom/reflection/meta_type.h>
#include <OGF/gom/reflection/meta_class.h>
#include <typeinfo>
#include <string>
#include <map>
#include <vector>
#include <sstream>

Go to the source code of this file.

Classes

class  OGF::Meta
 Stores all the meta information of the system, used by the reflection API. More...
 
class  OGF::ogf_meta< T >
 Provides easy access to meta information from C++ types. More...
 

Namespaces

 OGF
 Global Graphite namespace.
 

Functions

template<class T >
MetaType * OGF::ogf_dynamic_type (const T &x)
 Gets the MetaType associated with a variable. More...
 
template<class T >
MetaType * OGF::ogf_static_type (const T &x)
 Gets the MetaType associated with a variable. More...
 
template<class T >
bool OGF::ogf_is_a (const T &x, const MetaType *type)
 Tests whether the type of a variable derives from another type. More...
 
template<class T >
bool OGF::ogf_convert_to_string (const T &value, std::string &string)
 Converts a variable to a string using the reflection API. More...
 
template<class T >
bool OGF::ogf_convert_from_string (const std::string &string, T &value)
 Converts a string to a variable using the reflection API. More...
 

Detailed Description

The meta-information used by the reflection API.

Definition in file meta.h.