Generated on Fri Oct 19 11:26:04 2018 for Gecode by doxygen 1.6.3

Gecode::Int::Offset Class Reference

Converter with fixed offset. More...

#include <view.hpp>

List of all members.

Public Types

typedef OffsetView ViewType
 The view type.

Public Member Functions

 Offset (int off=0)
 Constructor with offset off.
OffsetView operator() (IntView &x)
 Return OffsetRefView for x.
void update (const Offset &o)
 Update during cloning.
int offset (void) const
 Access offset.

Public Attributes

int c
 The offset.

Detailed Description

Converter with fixed offset.

Definition at line 650 of file view.hpp.


Member Typedef Documentation

The view type.

Definition at line 653 of file view.hpp.


Constructor & Destructor Documentation

Gecode::Int::Offset::Offset ( int  off = 0  )  [inline]

Constructor with offset off.

Definition at line 667 of file view.hpp.


Member Function Documentation

OffsetView Gecode::Int::Offset::operator() ( IntView x  )  [inline]

Return OffsetRefView for x.

Definition at line 676 of file view.hpp.

void Gecode::Int::Offset::update ( const Offset o  )  [inline]

Update during cloning.

Definition at line 670 of file view.hpp.

int Gecode::Int::Offset::offset ( void   )  const [inline]

Access offset.

Definition at line 673 of file view.hpp.


Member Data Documentation

The offset.

Definition at line 655 of file view.hpp.


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