Get()

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

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

template<std::size_t> auto System::Get(const SharedPtr<Object> &object)

Template parameters

ParameterDescription
Nelement index.

Arguments

ParameterTypeDescription
objectconst SharedPtr<Object>&object to inspect.

Return Value

value of N-th tuple element casted to object.

System::Get(const T&) function

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)

Template parameters

ParameterDescription
Nelement index.
Ttype of inspected object.

Arguments

ParameterTypeDescription
objectconst T&object to inspect.

Return Value

value of N-th tuple element.

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

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)

Template parameters

ParameterDescription
Nelement index.
Ttype of inspected object.

Arguments

ParameterTypeDescription
objectconst SharedPtr<T>&object to inspect.

Return Value

value of N-th tuple element.

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

Gets N-th element of value tuple.

template<std::size_t,typename...> auto System::Get(const ValueTuple<Args...> &tuple)

Template parameters

ParameterDescription
Nelement index.
Argstuple elements.

Arguments

ParameterTypeDescription
tupleconst ValueTuple<Args…>&tuple to get element from.

Return Value

value of N-th tuple element.

See Also