susy_cfa  b611ccad937ea179f86a1f5663960264616c0a20
Public Types | Public Member Functions | Public Attributes | List of all members
Cut< T > Struct Template Reference

#include <cut.hpp>

Inheritance diagram for Cut< T >:
CutBase

Public Types

typedef T ReturnType
 
typedef const ReturnType &(small_tree::* FunctionPtrType) () const
 

Public Member Functions

 Cut ()
 
 Cut (small_tree const *tree, FunctionPtrType func, const ReturnType &cut_val, InequalityType compare=kGreaterEqual)
 
bool Pass () const
 
- Public Member Functions inherited from CutBase
 CutBase ()
 
 CutBase (small_tree const *tree, InequalityType compare=kGreaterEqual)
 
 operator bool ()
 
virtual ~CutBase ()
 

Public Attributes

ReturnType cut_val_
 
FunctionPtrType func_
 
- Public Attributes inherited from CutBase
small_tree const * tree_
 
InequalityType compare_
 

Detailed Description

template<typename T>
struct Cut< T >

Definition at line 33 of file cut.hpp.

Member Typedef Documentation

template<typename T>
typedef const ReturnType&(small_tree::* Cut< T >::FunctionPtrType) () const

Definition at line 35 of file cut.hpp.

template<typename T>
typedef T Cut< T >::ReturnType

Definition at line 34 of file cut.hpp.

Constructor & Destructor Documentation

template<typename T >
Cut< T >::Cut ( )

Definition at line 9 of file cut_impl.hpp.

template<typename T >
Cut< T >::Cut ( small_tree const *  tree,
FunctionPtrType  func,
const ReturnType cut_val,
InequalityType  compare = kGreaterEqual 
)

Definition at line 15 of file cut_impl.hpp.

Member Function Documentation

template<typename T >
bool Cut< T >::Pass ( ) const
virtual

Member Data Documentation

template<typename T>
ReturnType Cut< T >::cut_val_

Definition at line 45 of file cut.hpp.

Referenced by Cut< T >::Pass().

template<typename T>
FunctionPtrType Cut< T >::func_

Definition at line 46 of file cut.hpp.

Referenced by Cut< T >::Pass().


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