Viskores  1.0
Classes | Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT > Struct Template Reference

#include <FunctorsOpenMP.h>

Classes

struct  Node
 

Public Types

using ValueType = typename std::iterator_traits< IterT >::value_type
 
using PredicateT = internal::WrappedBinaryOperator< bool, RawPredicateT >
 

Public Member Functions

 UniqueHelper (IterT iter, viskores::Id numValues, RawPredicateT pred)
 
viskores::Id Execute ()
 

Public Attributes

IterT Data
 
viskores::Id NumValues
 
PredicateT Predicate
 
viskores::Id LeafSize
 
std::vector< NodeNodes
 
size_t NextNode
 

Private Member Functions

void Prepare ()
 
NodeAllocNode ()
 
bool IsLeaf (const viskores::Id2 &range)
 
viskores::Id ComputeMidpoint (const viskores::Id2 &range)
 
void Uniquify (Node *node)
 

Member Typedef Documentation

◆ PredicateT

template<typename IterT , typename RawPredicateT >
using viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::PredicateT = internal::WrappedBinaryOperator<bool, RawPredicateT>

◆ ValueType

template<typename IterT , typename RawPredicateT >
using viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::ValueType = typename std::iterator_traits<IterT>::value_type

Constructor & Destructor Documentation

◆ UniqueHelper()

template<typename IterT , typename RawPredicateT >
viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::UniqueHelper ( IterT  iter,
viskores::Id  numValues,
RawPredicateT  pred 
)
inline

Member Function Documentation

◆ AllocNode()

template<typename IterT , typename RawPredicateT >
Node* viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::AllocNode ( )
inlineprivate

◆ ComputeMidpoint()

template<typename IterT , typename RawPredicateT >
viskores::Id viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::ComputeMidpoint ( const viskores::Id2 range)
inlineprivate

◆ Execute()

template<typename IterT , typename RawPredicateT >
viskores::Id viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::Execute ( )
inline

◆ IsLeaf()

template<typename IterT , typename RawPredicateT >
bool viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::IsLeaf ( const viskores::Id2 range)
inlineprivate

◆ Prepare()

template<typename IterT , typename RawPredicateT >
void viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::Prepare ( )
inlineprivate

◆ Uniquify()

template<typename IterT , typename RawPredicateT >
void viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::Uniquify ( Node node)
inlineprivate

Member Data Documentation

◆ Data

template<typename IterT , typename RawPredicateT >
IterT viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::Data

◆ LeafSize

template<typename IterT , typename RawPredicateT >
viskores::Id viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::LeafSize

◆ NextNode

template<typename IterT , typename RawPredicateT >
size_t viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::NextNode

◆ Nodes

template<typename IterT , typename RawPredicateT >
std::vector<Node> viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::Nodes

◆ NumValues

template<typename IterT , typename RawPredicateT >
viskores::Id viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::NumValues

◆ Predicate

template<typename IterT , typename RawPredicateT >
PredicateT viskores::cont::openmp::UniqueHelper< IterT, RawPredicateT >::Predicate

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