Sierra Toolkit Version of the Day
stk::search::ident::IdentProc< K, P > Struct Template Reference

Class template <class K, class P> IdentProc<K,P>. More...

#include <IdentProc.hpp>

List of all members.

Public Types

typedef K Key
typedef P Proc

Public Member Functions

 IdentProc ()
 Creates a new IdentProc instance.
 ~IdentProc ()
 Destroys a IdentProc instance.
 IdentProc (const IdentProc &rhs)
 Creates a new IdentProc instance.
 IdentProc (Key i, Proc p)
 Creates a new IdentProc instance.
IdentProcoperator= (const IdentProc &rhs)
 Member function = ...
bool operator== (const IdentProc< K, P > &rhs) const
 Member function == ...
bool operator< (const IdentProc< K, P > &rhs) const
 Member function < ...
bool operator!= (const IdentProc< K, P > &rhs) const
 Member function != ...
bool operator> (const IdentProc< K, P > &rhs) const
 Member function > ...
bool operator<= (const IdentProc< K, P > &rhs) const
 Member function <= ...
bool operator>= (const IdentProc< K, P > &rhs) const
 Member function >= ...

Public Attributes

Key ident
 Identifier.
Proc proc
 Processor.

Detailed Description

template<class K = uint64_t, class P = unsigned>
struct stk::search::ident::IdentProc< K, P >

Class template <class K, class P> IdentProc<K,P>.

Template parallel identification used for search, sorts first by identifier and then processor.

K and P need to provide a default constructor, copy constructor, assignment operator, less than operator (<), and stream insertion operator (<<).

Definition at line 28 of file IdentProc.hpp.


Constructor & Destructor Documentation

template<class K = uint64_t, class P = unsigned>
stk::search::ident::IdentProc< K, P >::IdentProc ( const IdentProc< K, P > &  rhs) [inline]

Creates a new IdentProc instance.

Parameters:
rhsan IdentProc const ...

Definition at line 55 of file IdentProc.hpp.

template<class K = uint64_t, class P = unsigned>
stk::search::ident::IdentProc< K, P >::IdentProc ( Key  i,
Proc  p 
) [inline]

Creates a new IdentProc instance.

Parameters:
ian unsigned int ...
pan unsigned int ...

Definition at line 68 of file IdentProc.hpp.


Member Function Documentation

template<class K = uint64_t, class P = unsigned>
IdentProc& stk::search::ident::IdentProc< K, P >::operator= ( const IdentProc< K, P > &  rhs) [inline]

Member function = ...

Parameters:
rhsan IdentProc const ...
Returns:
an IdentProc ...

Definition at line 80 of file IdentProc.hpp.

template<class K = uint64_t, class P = unsigned>
bool stk::search::ident::IdentProc< K, P >::operator== ( const IdentProc< K, P > &  rhs) const [inline]

Member function == ...

Parameters:
rhsan IdentProc const ...
Returns:
a bool ...

Definition at line 92 of file IdentProc.hpp.

template<class K = uint64_t, class P = unsigned>
bool stk::search::ident::IdentProc< K, P >::operator< ( const IdentProc< K, P > &  rhs) const [inline]

Member function < ...

Parameters:
rhsan IdentProc const ...
Returns:
a bool ...

Definition at line 104 of file IdentProc.hpp.

template<class K = uint64_t, class P = unsigned>
bool stk::search::ident::IdentProc< K, P >::operator!= ( const IdentProc< K, P > &  rhs) const [inline]

Member function != ...

Parameters:
rhsan IdentProc const ...
Returns:
a bool ...

Definition at line 115 of file IdentProc.hpp.

template<class K = uint64_t, class P = unsigned>
bool stk::search::ident::IdentProc< K, P >::operator> ( const IdentProc< K, P > &  rhs) const [inline]

Member function > ...

Parameters:
rhsan IdentProc const ...
Returns:
a bool ...

Definition at line 127 of file IdentProc.hpp.

template<class K = uint64_t, class P = unsigned>
bool stk::search::ident::IdentProc< K, P >::operator<= ( const IdentProc< K, P > &  rhs) const [inline]

Member function <= ...

Parameters:
rhsan IdentProc const ...
Returns:
a bool ...

Definition at line 138 of file IdentProc.hpp.

template<class K = uint64_t, class P = unsigned>
bool stk::search::ident::IdentProc< K, P >::operator>= ( const IdentProc< K, P > &  rhs) const [inline]

Member function >= ...

Parameters:
rhsan IdentProc const ...
Returns:
a bool ...

Definition at line 149 of file IdentProc.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends