- Aldebaran documentation |
- C++ Libraries |
- index

libqi-api 2.8.7.4

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Functions
stringtypeinterface.hxx File Reference
`#include <algorithm>`
`#include <qi/os.hpp>`
`#include <qi/type/detail/structtypeinterface.hxx>`

Go to the source code of this file.

## Classes
class | qi::StringTypeInterfaceImpl
class | qi::TypeImpl< std::string >
class | qi::TypeCStringImpl
class | qi::TypeImpl< char * >
class | qi::TypeImpl< char[I]>
class | qi::TypeEquivalentString< T, F >

## Namespaces
| qi
| Deprecated in 2.5. Use int8_t from <cstdint>.

## Macros
#define | _QITYPE_DETAIL_TYPESTRING_HXX_
#define | QI_EQUIVALENT_STRING_REGISTER(type, func)

## Functions
template<class Func , class... Args>
auto | qi::callWithInstance (Func &&f, Args &&...args) -> decltype(std::forward< Func >(f)(std::forward< Args >(args)...))
template<class Func , class Obj , class... Args>
auto | qi::callWithInstance (Func &&f, Obj &&o, Args &&...args) -> decltype((std::forward< Obj >(o).*std::forward< Func >(f))(std::forward< Args >(args)...))
StringTypeInterface::ManagedRawString | qi::makeManagedString (const std::string &s)
StringTypeInterface::ManagedRawString | qi::makeManagedString (std::string &&s)
template<typename T , typename F >
StringTypeInterface * | qi::makeTypeEquivalentString (T *, F f)

## Macro Definition Documentation

#define _QITYPE_DETAIL_TYPESTRING_HXX_

Definition at line 8 of file stringtypeinterface.hxx.

#define QI_EQUIVALENT_STRING_REGISTER | ( |  | type,
|  |  | func
| ) |  |

Value:
static bool BOOST_PP_CAT(__qi_registration, __COUNTER__) QI_ATTR_UNUSED \
= qi::registerType(qi::typeId<type>(), qi::makeTypeEquivalentString((type*)0, func))
qi::typeId
TypeIndex typeId()
Definition: typeinterface.hpp:33
qi::makeTypeEquivalentString
StringTypeInterface * makeTypeEquivalentString(T *, F f)
Definition: stringtypeinterface.hxx:170
qi::registerType
bool registerType(const TypeIndex &typeId, TypeInterface *type)
Runtime Type factory setter.
QI_ATTR_UNUSED
#define QI_ATTR_UNUSED
This macro tags a attribute as unused.
Definition: macro.hpp:262

Register type `type` in the type system as string kind, using constructor for setter, and function `func` for getter

Definition at line 179 of file stringtypeinterface.hxx.