System::Get method

System::Get(const SharedPtr<Object>&) method

Function to get N-th element of tuple given. Overload for base object.

template<std::size_t> auto System::Get(const SharedPtr<Object> &object)
ParameterDescription
Nelement index.
ParameterTypeDescription
objectconst SharedPtr<Object>&object to inspect.

ReturnValue

value of N-th tuple element casted to object.

See Also

System::Get(const SharedPtr<T>&) method

Function to get N-th element of tuple given. Overload for shared pointers.

template<std::size_t,typename T> auto System::Get(const SharedPtr<T> &pointer)
ParameterDescription
Nelement index.
Ttype of inspected object.
ParameterTypeDescription
objectconst SharedPtr<T>&object to inspect.

ReturnValue

value of N-th tuple element.

See Also

System::Get(const T&) method

Function to get N-th element of tuple given. Overload for objects with Deconstruct method.

template<std::size_t,typename T> auto System::Get(const T &object)
ParameterDescription
Nelement index.
Ttype of inspected object.
ParameterTypeDescription
objectconst T&object to inspect.

ReturnValue

value of N-th tuple element.

See Also

System::Get(const ValueTuple<Args…>&) method

Gets N-th element of value tuple.

template<std::size_t,typename...> auto System::Get(const ValueTuple<Args...> &tuple)
ParameterDescription
Nelement index.
Argstuple elements.
ParameterTypeDescription
tupleconst ValueTuple<Args…>&tuple to get element from.

ReturnValue

value of N-th tuple element.

See Also