|
| components () |
| constructor
|
|
| components (components const &other) |
|
| components (components &other) |
|
| components (components &&)=default |
|
components & | operator= (components const &other) |
|
components & | operator= (components &other) |
|
components & | operator= (components &&)=default |
|
template<typename T , typename... TypesPrefix> |
| components (T &&t, TypesPrefix &&...types) |
| constructor takes some number of arguments, This arguments has to be convertible to the same number of the first components in components class. Arguments can be both rvalue and lvalue references More...
|
|
template<typename Comps > |
| components (const Comps &comps, copy_tag) |
|
template<typename Comps > |
| components (Comps &&comps, copy_tag) |
|
template<typename ComponentName , typename = is_my_name<ComponentName>> |
Type & | get (wrap_to_constructable< Name > dummy=wrap_to_constructable< Name >()) |
| This fucntion returns Component for name Name, nonconst version. More...
|
|
template<typename ComponentName , typename = is_my_name<ComponentName>> |
const Type & | get (wrap_to_constructable< Name > dummy=wrap_to_constructable< Name >()) const |
| This fucntion returns Component for name Name, const version. More...
|
|
template<typename ComponentName , typename... Args> |
auto | call (Args &&...args) -> decltype(std::declval< typename type_for_name< ComponentName, Names, Types >::type >()(std::forward< Args >(args)...)) |
| This function directly calls component. m_component(args) has to be valid expresion nonconst version. More...
|
|
template<typename ComponentName , typename... Args> |
auto | call (Args &&...args) const -> decltype(std::declval< const typename type_for_name< ComponentName, Names, Types >::type >()(std::forward< Args >(args)...)) |
| This function directly calls component. m_component(args) has to be valid expresion const version. More...
|
|
template<typename ComponentName > |
void | set (const typename type_for_name< ComponentName, Names, Types >::type comp) |
| setter for component assigned to Name. More...
|
|
|
template<bool move, typename A > |
A | move_or_pass_reference (const A &a) |
|
template<bool move, typename A , typename = typename std::enable_if<!move>::type> |
const A & | move_or_pass_reference (const A &a) |
|
template<bool move, typename A , typename = typename std::enable_if<!move>::type> |
A & | move_or_pass_reference (A &a) |
|
template<typename Comps , typename dummy = typename std::enable_if< has_template_get<Comps, Name>::value, int>::type> |
| components (Comps &&comps, movable_tag m, dummy d=dummy()) |
|
template<typename Comps , typename dummy = typename std::enable_if< !has_template_get<Comps, Name>::value>::type> |
| components (Comps &&comps, movable_tag m) |
|
template<typename Comps , typename dummy = typename std::enable_if< has_template_get<Comps, Name>::value, int>::type> |
| components (Comps &&comps, Notmovable_tag m, dummy d=dummy()) |
|
template<typename Comps , typename dummy = typename std::enable_if< !has_template_get<Comps, Name>::value>::type> |
| components (Comps &&comps, Notmovable_tag m) |
|
template<typename Name, typename Type, typename... NamesRest, typename... TypesRest>
class paal::data_structures::detail::components< TypesVector< Name, NamesRest...>, TypesVector< Type, TypesRest...> >
Definition at line 126 of file components.hpp.
template<typename Name , typename Type , typename... NamesRest, typename... TypesRest>
template<typename T , typename... TypesPrefix>
constructor takes some number of arguments, This arguments has to be convertible to the same number of the first components in components class. Arguments can be both rvalue and lvalue references
- Template Parameters
-
T,first | component, it must be convertible to Type. |
TypesPrefix,rest | of the components |
- Parameters
-
Definition at line 191 of file components.hpp.
template<typename Name , typename Type , typename... NamesRest, typename... TypesRest>
template<typename ComponentName , typename... Args>
This function directly calls component. m_component(args) has to be valid expresion nonconst version.
- Template Parameters
-
- Parameters
-
- Returns
Definition at line 253 of file components.hpp.
template<typename Name , typename Type , typename... NamesRest, typename... TypesRest>
template<typename ComponentName , typename... Args>
This function directly calls component. m_component(args) has to be valid expresion const version.
- Template Parameters
-
ComponentName | |
ComponentName | |
Args | |
- Parameters
-
- Returns
- the same as m_component return type
Definition at line 272 of file components.hpp.
template<typename Name , typename Type , typename... NamesRest, typename... TypesRest>
template<typename... NamesSubset, typename... SomeTypes>
function creating components class, takes arguments only for assigned Names
- Template Parameters
-
- Parameters
-
- Returns
Definition at line 308 of file components.hpp.