partition  0.1.1
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
partition::Domain< M, V >::Entry Class Reference

A data pair consisting of an integer ID and a user-provided member of type M. More...

#include <partition.hpp>

Public Member Functions

 Entry (int id)
 Constructs an Entry with the given ID and a default member value. More...
 
 Entry (int id, const M &member)
 Constructs an Entry with the given ID and member. More...
 

Public Attributes

const int id
 The integer id field. More...
 
member
 The user-provided member of type M. More...
 

Detailed Description

template<typename M, typename V>
class partition::Domain< M, V >::Entry

A data pair consisting of an integer ID and a user-provided member of type M.

Constructor & Destructor Documentation

template<typename M , typename V >
partition::Domain< M, V >::Entry::Entry ( int  id)
inline

Constructs an Entry with the given ID and a default member value.

template<typename M , typename V >
partition::Domain< M, V >::Entry::Entry ( int  id,
const M &  member 
)
inline

Constructs an Entry with the given ID and member.

Member Data Documentation

template<typename M, typename V>
const int partition::Domain< M, V >::Entry::id

The integer id field.

template<typename M, typename V>
M partition::Domain< M, V >::Entry::member

The user-provided member of type M.


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