neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::i_any Class Referenceabstract

#include <i_any.hpp>

Inheritance diagram for neolib::i_any:
neolib::any

Public Types

typedef i_any abstract_type
 

Public Member Functions

virtual ~i_any ()=default
 
virtual void reset ()=0
 
virtual bool has_value () const =0
 
virtual std::type_info consttype () const =0
 
virtual bool operator== (const i_any &aOther) const =0
 
virtual bool operator!= (const i_any &aOther) const =0
 
virtual bool operator< (const i_any &aOther) const =0
 

Friends

template<class T >
T any_cast (const i_any &operand)
 
template<class T >
T any_cast (i_any &operand)
 
template<class T >
T any_cast (i_any &&operand)
 
template<class T >
const Tany_cast (const i_any *operand) noexcept
 
template<class T >
Tany_cast (i_any *operand) noexcept
 
template<class T >
T unsafe_any_cast (const i_any &operand) noexcept
 
template<class T >
T unsafe_any_cast (i_any &operand) noexcept
 

Detailed Description

Definition at line 43 of file i_any.hpp.

Member Typedef Documentation

◆ abstract_type

Definition at line 46 of file i_any.hpp.

Constructor & Destructor Documentation

◆ ~i_any()

virtual neolib::i_any::~i_any ( )
virtualdefault

Member Function Documentation

◆ has_value()

virtual bool neolib::i_any::has_value ( ) const
pure virtual

Implemented in neolib::any.

◆ operator!=()

virtual bool neolib::i_any::operator!= ( const i_any aOther) const
pure virtual

Implemented in neolib::any.

◆ operator<()

virtual bool neolib::i_any::operator< ( const i_any aOther) const
pure virtual

Implemented in neolib::any.

◆ operator==()

virtual bool neolib::i_any::operator== ( const i_any aOther) const
pure virtual

Implemented in neolib::any.

◆ reset()

virtual void neolib::i_any::reset ( )
pure virtual

Implemented in neolib::any.

◆ type()

virtual std::type_info const & neolib::i_any::type ( ) const
pure virtual

Implemented in neolib::any.

Friends And Related Symbol Documentation

◆ any_cast [1/5]

template<class T >
T any_cast ( const i_any operand)
friend

Definition at line 81 of file i_any.hpp.

◆ any_cast [2/5]

template<class T >
const T * any_cast ( const i_any operand)
friend

Definition at line 96 of file i_any.hpp.

◆ any_cast [3/5]

template<class T >
T any_cast ( i_any &&  operand)
friend

Definition at line 91 of file i_any.hpp.

◆ any_cast [4/5]

template<class T >
T any_cast ( i_any operand)
friend

Definition at line 86 of file i_any.hpp.

◆ any_cast [5/5]

template<class T >
T * any_cast ( i_any operand)
friend

Definition at line 101 of file i_any.hpp.

◆ unsafe_any_cast [1/2]

template<class T >
T unsafe_any_cast ( const i_any operand)
friend

Definition at line 106 of file i_any.hpp.

◆ unsafe_any_cast [2/2]

template<class T >
T unsafe_any_cast ( i_any operand)
friend

Definition at line 111 of file i_any.hpp.


The documentation for this class was generated from the following file: