stk::search::ident::IdentProc< K, P > Struct Template Reference

#include <IdentProc.hpp>

List of all members.


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.

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.


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:
rhs an 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:
i an unsigned int ...
p an 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:
rhs an 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:
rhs an 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:
rhs an 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:
rhs an 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:
rhs an 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:
rhs an 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:
rhs an IdentProc const ...
Returns:
a bool ...

Definition at line 149 of file IdentProc.hpp.


The documentation for this struct was generated from the following file:
Generated on Tue Jul 13 09:27:33 2010 for Sierra Toolkit by  doxygen 1.4.7