Generated on Tue Apr 18 10:23:18 2017 for Gecode by doxygen 1.6.3

Gecode::SharedData< Data > Class Template Reference

Class for sharing data between spaces. More...

#include <shared-data.hpp>

List of all members.

Classes

class  SDO
 The object storing the actual data. More...

Public Member Functions

 SharedData (const Data &d)
 Initialize with data d.
 SharedData (void)
 Create as uninitialized.
 SharedData (const SharedData &sd)
 Copy constructor.
SharedDataoperator= (const SharedData &sd)
 Assignment operator.
const Data & operator() (void) const
 Provide access to data.
void update (Space &home, bool share, SharedHandle &sh)
 Update during cloning.
 ~SharedData (void)
 Destructors.

Detailed Description

template<class Data>
class Gecode::SharedData< Data >

Class for sharing data between spaces.

Definition at line 42 of file shared-data.hpp.


Constructor & Destructor Documentation

template<class Data>
Gecode::SharedData< Data >::SharedData ( const Data &  d  )  [inline]

Initialize with data d.

Definition at line 99 of file shared-data.hpp.

template<class Data>
Gecode::SharedData< Data >::SharedData ( void   )  [inline]

Create as uninitialized.

Definition at line 104 of file shared-data.hpp.

template<class Data>
Gecode::SharedData< Data >::SharedData ( const SharedData< Data > &  sd  )  [inline]

Copy constructor.

Definition at line 108 of file shared-data.hpp.

template<class Data >
Gecode::SharedData< Data >::~SharedData ( void   )  [inline]

Destructors.

Definition at line 131 of file shared-data.hpp.


Member Function Documentation

template<class Data >
SharedData< Data > & Gecode::SharedData< Data >::operator= ( const SharedData< Data > &  sd  )  [inline]

Assignment operator.

Definition at line 113 of file shared-data.hpp.

template<class Data >
const Data & Gecode::SharedData< Data >::operator() ( void   )  const [inline]

Provide access to data.

Definition at line 119 of file shared-data.hpp.

template<class Data >
void Gecode::SharedData< Data >::update ( Space home,
bool  share,
SharedHandle sh 
) [inline]

Update during cloning.

Reimplemented from Gecode::SharedHandle.

Definition at line 125 of file shared-data.hpp.


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