Generated on Wed Jan 24 2018 21:22:26 for Gecode by doxygen 1.8.13
Gecode::SharedData< Data >::SDO Class Reference

The object storing the actual data. More...

#include <shared-data.hpp>

Public Member Functions

 SDO (const Data &d0)
 Initialization. More...
 
 SDO (const SDO &sdo)
 Copy constructor. More...
 
virtual Objectcopy (void) const
 Create new non-shared copy. More...
 
virtual ~SDO (void)
 Destructor. More...
 
- Public Member Functions inherited from Gecode::SharedHandle::Object
 Object (void)
 Initialize. More...
 
virtual ~Object (void)
 Delete shared object. More...
 

Public Attributes

const Data d
 Data to be shared. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Gecode::HeapAllocated
static void * operator new (size_t s)
 Memory management. More...
 
static void operator delete (void *p)
 Free memory allocated from heap. More...
 

Detailed Description

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

The object storing the actual data.

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

Constructor & Destructor Documentation

◆ SDO() [1/2]

template<class Data>
Gecode::SharedData< Data >::SDO::SDO ( const Data &  d0)
inline

Initialization.

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

◆ SDO() [2/2]

template<class Data>
Gecode::SharedData< Data >::SDO::SDO ( const SDO sdo)
inline

Copy constructor.

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

◆ ~SDO()

template<class Data >
Gecode::SharedData< Data >::SDO::~SDO ( void  )
inlinevirtual

Destructor.

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

Member Function Documentation

◆ copy()

template<class Data >
SharedHandle::Object * Gecode::SharedData< Data >::SDO::copy ( void  ) const
inlinevirtual

Create new non-shared copy.

Implements Gecode::SharedHandle::Object.

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

Member Data Documentation

◆ d

template<class Data>
const Data Gecode::SharedData< Data >::SDO::d

Data to be shared.

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


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