Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Types | Public Member Functions | Static Public Attributes
BinaryPredicate< T > Struct Template Reference

#include <rw_value.h>

Inheritance diagram for BinaryPredicate< T >:
Inheritance graph
[legend]

Public Types

enum  binary_op {
  op_equals , op_not_equals , op_less , op_less_equal ,
  op_greater , op_greater_equal
}
 

Public Member Functions

 BinaryPredicate (binary_op)
 
virtual ~BinaryPredicate ()
 
virtual conv_to_bool operator() (const UserClass &, const UserClass &)
 
bool operator() (const T &, const T &) const
 

Static Public Attributes

static _RWSTD_SIZE_T n_total_op_fcall_
 

Detailed Description

template<class T>
struct BinaryPredicate< T >

Definition at line 285 of file rw_value.h.

Member Enumeration Documentation

◆ binary_op

template<class T >
enum BinaryPredicate::binary_op
Enumerator
op_equals 
op_not_equals 
op_less 
op_less_equal 
op_greater 
op_greater_equal 

Definition at line 290 of file rw_value.h.

Constructor & Destructor Documentation

◆ BinaryPredicate()

template<class T >
BinaryPredicate< T >::BinaryPredicate ( binary_op  op)

Definition at line 651 of file value.cpp.

◆ ~BinaryPredicate()

template<class T >
BinaryPredicate< T >::~BinaryPredicate ( )
virtual

Definition at line 658 of file value.cpp.

Member Function Documentation

◆ operator()() [1/2]

template<class T >
bool BinaryPredicate< T >::operator() ( const T &  ,
const T &   
) const
inline

Definition at line 163 of file 20.operators.cpp.

◆ operator()() [2/2]

template<class T >
conv_to_bool BinaryPredicate< T >::operator() ( const UserClass &  lhs,
const UserClass &  rhs 
)
virtual

Definition at line 664 of file value.cpp.

Field Documentation

◆ n_total_op_fcall_

template<class T >
size_t BinaryPredicate< T >::n_total_op_fcall_
static

Definition at line 288 of file rw_value.h.


The documentation for this struct was generated from the following files: