Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0

Handles for local (space-shared) objects. More...

#include <core.hpp>

Public Member Functions

LocalHandleoperator= (const LocalHandle &lh)
 Assignment operator.
void update (Space &home, LocalHandle &lh)
 Updating during cloning.
 ~LocalHandle (void)
 Destructor.

Protected Member Functions

 LocalHandle (void)
 Create local handle pointing to NULL object.
 LocalHandle (LocalObject *lo)
 Create local handle that points to local object lo.
 LocalHandle (const LocalHandle &lh)
 Copy constructor.
LocalObjectobject (void) const
 Access to the local object.
void object (LocalObject *n)
 Modify local object.

Detailed Description

Handles for local (space-shared) objects.

Definition at line 1560 of file core.hpp.

Constructor & Destructor Documentation

◆ LocalHandle() [1/3]

Gecode::LocalHandle::LocalHandle ( void )
inlineprotected

Create local handle pointing to NULL object.

Definition at line 3746 of file core.hpp.

◆ LocalHandle() [2/3]

Gecode::LocalHandle::LocalHandle ( LocalObject * lo)
inlineprotected

Create local handle that points to local object lo.

Definition at line 3748 of file core.hpp.

◆ LocalHandle() [3/3]

Gecode::LocalHandle::LocalHandle ( const LocalHandle & lh)
inlineprotected

Copy constructor.

Definition at line 3750 of file core.hpp.

◆ ~LocalHandle()

Gecode::LocalHandle::~LocalHandle ( void )
inline

Destructor.

Definition at line 3757 of file core.hpp.

Member Function Documentation

◆ operator=()

LocalHandle & Gecode::LocalHandle::operator= ( const LocalHandle & lh)
inline

Assignment operator.

Definition at line 3752 of file core.hpp.

◆ update()

void Gecode::LocalHandle::update ( Space & home,
LocalHandle & lh )
inline

Updating during cloning.

Definition at line 3763 of file core.hpp.

◆ object() [1/2]

LocalObject * Gecode::LocalHandle::object ( void ) const
inlineprotected

Access to the local object.

Definition at line 3759 of file core.hpp.

◆ object() [2/2]

void Gecode::LocalHandle::object ( LocalObject * n)
inlineprotected

Modify local object.

Definition at line 3761 of file core.hpp.


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