|
| AnyPoly ()=default |
|
| AnyPoly (AnyPoly &&other) noexcept=default |
|
| AnyPoly (const AnyInterface &impl) |
|
| AnyPoly (const AnyPoly &other) |
|
template<typename T , typename std::enable_if_t<!std::is_base_of_v< AnyInterface, T > &&!std::is_same_v< std::decay_t< T >, AnyPoly >, bool > = true> |
| AnyPoly (const T &value) |
|
template<typename T , typename std::enable_if_t<!std::is_base_of_v< AnyInterface, T > &&!std::is_same_v< std::decay_t< T >, AnyPoly >, bool > = true> |
| AnyPoly (T &&value) |
|
template<typename T , typename std::enable_if_t< std::is_base_of_v< AnyInterface, T >, bool > = true> |
T & | as () |
|
template<typename T , typename std::enable_if_t<!std::is_base_of_v< AnyInterface, T >, bool > = true> |
T & | as () |
|
template<typename T , typename std::enable_if_t< std::is_base_of_v< AnyInterface, T >, bool > = true> |
const T & | as () const |
|
template<typename T , typename std::enable_if_t<!std::is_base_of_v< AnyInterface, T >, bool > = true> |
const T & | as () const |
|
AnyInterface & | get () |
| Get the instruction being stored. More...
|
|
const AnyInterface & | get () const |
|
std::type_index | getType () const |
| Get the stored derived type. More...
|
|
bool | isNull () const |
| Check if the poly type is null. More...
|
|
bool | operator!= (const AnyPoly &rhs) const |
|
AnyPoly & | operator= (AnyPoly &&other) noexcept=default |
|
AnyPoly & | operator= (const AnyPoly &other) |
|
template<typename T , typename std::enable_if_t<!std::is_base_of_v< AnyInterface, T > &&!std::is_same_v< std::decay_t< T >, AnyPoly >, bool > = true> |
AnyPoly & | operator= (const T &value) |
|
template<typename T , typename std::enable_if_t<!std::is_base_of_v< AnyInterface, T > &&!std::is_same_v< std::decay_t< T >, AnyPoly >, bool > = true> |
AnyPoly & | operator= (T &&value) |
|
bool | operator== (const AnyPoly &rhs) const |
|
| ~AnyPoly ()=default |
|
Definition at line 113 of file any_poly.h.
template<typename T , typename std::enable_if_t<!std::is_base_of_v< AnyInterface, T > &&!std::is_same_v< std::decay_t< T >, AnyPoly >, bool > = true>
tesseract_common::AnyPoly::AnyPoly |
( |
T && |
value | ) |
|
|
inline |
Template Constructor for Moving Arbitrary Values
Definition at line 128 of file any_poly.h.
template<typename T , typename std::enable_if_t<!std::is_base_of_v< AnyInterface, T > &&!std::is_same_v< std::decay_t< T >, AnyPoly >, bool > = true>
tesseract_common::AnyPoly::AnyPoly |
( |
const T & |
value | ) |
|
|
inline |
Template Constructor for Copying Arbitrary Values
Definition at line 145 of file any_poly.h.
template<typename T , typename std::enable_if_t<!std::is_base_of_v< AnyInterface, T > &&!std::is_same_v< std::decay_t< T >, AnyPoly >, bool > = true>
AnyPoly& tesseract_common::AnyPoly::operator= |
( |
const T & |
value | ) |
|
|
inline |
Templated Copy Assignment Operator
Definition at line 153 of file any_poly.h.