neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::any_predicate< T > Class Template Reference

#include <any_predicate.hpp>

Classes

struct  bad_cast
 
struct  no_predicate
 

Public Types

typedef T value_type
 

Public Member Functions

 any_predicate ()
 
template<typename T >
 any_predicate (const T &aObject)
 
 any_predicate (const any_predicate &aOther)
 
 ~any_predicate ()
 
any_predicateoperator= (const any_predicate &aOther)
 
bool operator() (const value_type &aLeft, const value_type &aRight) const
 
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 ()
 

Detailed Description

template<typename T>
class neolib::any_predicate< T >

Definition at line 45 of file any_predicate.hpp.

Member Typedef Documentation

◆ value_type

template<typename T >
typedef T neolib::any_predicate< T >::value_type

Definition at line 49 of file any_predicate.hpp.

Constructor & Destructor Documentation

◆ any_predicate() [1/3]

template<typename T >
neolib::any_predicate< T >::any_predicate ( )
inline

Definition at line 103 of file any_predicate.hpp.

◆ any_predicate() [2/3]

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

Definition at line 105 of file any_predicate.hpp.

◆ any_predicate() [3/3]

template<typename T >
neolib::any_predicate< T >::any_predicate ( const any_predicate< T > &  aOther)
inline

Definition at line 106 of file any_predicate.hpp.

◆ ~any_predicate()

template<typename T >
neolib::any_predicate< T >::~any_predicate ( )
inline

Definition at line 107 of file any_predicate.hpp.

Member Function Documentation

◆ empty()

template<typename T >
bool neolib::any_predicate< T >::empty ( ) const
inline

Definition at line 130 of file any_predicate.hpp.

◆ is()

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

Definition at line 128 of file any_predicate.hpp.

◆ operator const T &()

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

Definition at line 124 of file any_predicate.hpp.

◆ operator T&()

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

Definition at line 126 of file any_predicate.hpp.

◆ operator()()

template<typename T >
bool neolib::any_predicate< T >::operator() ( const value_type aLeft,
const value_type aRight 
) const
inline

Definition at line 117 of file any_predicate.hpp.

◆ operator=()

template<typename T >
any_predicate & neolib::any_predicate< T >::operator= ( const any_predicate< T > &  aOther)
inline

Definition at line 108 of file any_predicate.hpp.

◆ reset()

template<typename T >
void neolib::any_predicate< T >::reset ( )
inline

Definition at line 131 of file any_predicate.hpp.

◆ something()

template<typename T >
bool neolib::any_predicate< T >::something ( ) const
inline

Definition at line 129 of file any_predicate.hpp.


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