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

#include <any_iterator.hpp>

Classes

struct  bad_cast
 
struct  is_empty
 

Public Member Functions

 any_iterator ()
 
template<typename T >
 any_iterator (const T &aObject)
 
 any_iterator (const any_iterator &aOther)
 
 ~any_iterator ()
 
any_iteratoroperator= (const any_iterator &aOther)
 
any_iteratoroperator++ ()
 
any_iterator operator++ (int)
 
any_iteratoroperator-- ()
 
any_iterator operator-- (int)
 
template<typename T >
 operator const T & () const
 
template<typename T >
 operator T& ()
 
template<typename T >
bool is () const
 
bool something () const
 
bool empty () const
 
void reset ()
 

Friends

bool operator== (const any_iterator &aLeft, const any_iterator &aRight)
 
bool operator!= (const any_iterator &aLeft, const any_iterator &aRight)
 

Detailed Description

Definition at line 203 of file any_iterator.hpp.

Constructor & Destructor Documentation

◆ any_iterator() [1/3]

neolib::any_iterator::any_iterator ( )
inline

Definition at line 267 of file any_iterator.hpp.

◆ any_iterator() [2/3]

template<typename T >
neolib::any_iterator::any_iterator ( const T aObject)
inline

Definition at line 269 of file any_iterator.hpp.

◆ any_iterator() [3/3]

neolib::any_iterator::any_iterator ( const any_iterator aOther)
inline

Definition at line 270 of file any_iterator.hpp.

◆ ~any_iterator()

neolib::any_iterator::~any_iterator ( )
inline

Definition at line 271 of file any_iterator.hpp.

Member Function Documentation

◆ empty()

bool neolib::any_iterator::empty ( ) const
inline

Definition at line 328 of file any_iterator.hpp.

◆ is()

template<typename T >
bool neolib::any_iterator::is ( ) const
inline

Definition at line 326 of file any_iterator.hpp.

◆ operator const T &()

template<typename T >
neolib::any_iterator::operator const T & ( ) const
inline

Definition at line 322 of file any_iterator.hpp.

◆ operator T&()

template<typename T >
neolib::any_iterator::operator T& ( )
inline

Definition at line 324 of file any_iterator.hpp.

◆ operator++() [1/2]

any_iterator & neolib::any_iterator::operator++ ( )
inline

Definition at line 281 of file any_iterator.hpp.

◆ operator++() [2/2]

any_iterator neolib::any_iterator::operator++ ( int  )
inline

Definition at line 288 of file any_iterator.hpp.

◆ operator--() [1/2]

any_iterator & neolib::any_iterator::operator-- ( )
inline

Definition at line 296 of file any_iterator.hpp.

◆ operator--() [2/2]

any_iterator neolib::any_iterator::operator-- ( int  )
inline

Definition at line 303 of file any_iterator.hpp.

◆ operator=()

any_iterator & neolib::any_iterator::operator= ( const any_iterator aOther)
inline

Definition at line 272 of file any_iterator.hpp.

◆ reset()

void neolib::any_iterator::reset ( )
inline

Definition at line 329 of file any_iterator.hpp.

◆ something()

bool neolib::any_iterator::something ( ) const
inline

Definition at line 327 of file any_iterator.hpp.

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const any_iterator aLeft,
const any_iterator aRight 
)
friend

Definition at line 317 of file any_iterator.hpp.

◆ operator==

bool operator== ( const any_iterator aLeft,
const any_iterator aRight 
)
friend

Definition at line 311 of file any_iterator.hpp.

Member Data Documentation

◆ alignTo

std::max_align_t neolib::any_iterator::alignTo

Definition at line 354 of file any_iterator.hpp.

◆ iBytes

char neolib::any_iterator::iBytes[64]

Definition at line 355 of file any_iterator.hpp.


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