An accessor to return the variable dimension of the distribution. More...
#include <vpdt_distribution_accessors.h>
Classes | |
struct | rebind |
rebind this functor to another distribution type. More... | |
Public Types | |
typedef unsigned int | return_type |
the functor return type. | |
typedef dist_type | distribution_type |
the distribution operated on by the functor. | |
Public Member Functions | |
bool | operator() (const dist_type &d, return_type &retval) const |
The main function. | |
Static Public Attributes | |
static const bool | valid_functor = true |
is this functor valid for its distribution type. |
An accessor to return the variable dimension of the distribution.
Definition at line 20 of file vpdt_distribution_accessors.h.
typedef dist_type vpdt_dimension_accessor< dist_type >::distribution_type |
the distribution operated on by the functor.
Definition at line 26 of file vpdt_distribution_accessors.h.
typedef unsigned int vpdt_dimension_accessor< dist_type >::return_type |
the functor return type.
Definition at line 24 of file vpdt_distribution_accessors.h.
bool vpdt_dimension_accessor< dist_type >::operator() | ( | const dist_type & | d, |
return_type & | retval | ||
) | const [inline] |
The main function.
Definition at line 37 of file vpdt_distribution_accessors.h.
const bool vpdt_dimension_accessor< dist_type >::valid_functor = true [static] |
is this functor valid for its distribution type.
Definition at line 28 of file vpdt_distribution_accessors.h.