libqi-api  2.8.7.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Typedefs | Functions
typeinterface.hpp File Reference
#include <boost/optional.hpp>
#include <boost/type_index.hpp>
#include <string>
#include <qi/api.hpp>
#include <qi/signature.hpp>
#include <qi/type/fwd.hpp>

Go to the source code of this file.

Classes

class  qi::TypeInfo
 
class  qi::TypeInterface
 

Namespaces

 qi
 Deprecated in 2.5. Use int8_t from <cstdint>.
 

Macros

#define _QITYPE_DETAIL_TYPEINTERFACE_HPP_
 

Typedefs

using qi::TypeIndex = boost::typeindex::type_index
 

Functions

template<typename T >
TypeIndex qi::typeId ()
 
template<typename T >
TypeIndex qi::typeIdRuntime (const T &val)
 
TypeInterface * qi::getType (const TypeIndex &typeId)
 Runtime Type factory getter. Used by typeOf<T>() More...
 
bool qi::registerType (const TypeIndex &typeId, TypeInterface *type)
 Runtime Type factory setter. More...
 
template<typename T >
TypeInterface * qi::typeOf ()
 
template<typename T >
TypeInterface * qi::typeOf (const T &)
 Get type from a value. No need to delete the result. More...
 
void qi::registerStruct (TypeInterface *type)
 
TypeInterface * qi::getRegisteredStruct (const qi::Signature &s)
 

Macro Definition Documentation

#define _QITYPE_DETAIL_TYPEINTERFACE_HPP_

Definition at line 8 of file typeinterface.hpp.