Generated on Tue May 22 09:41:20 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 635 of file view.hpp.


Member Typedef Documentation

The view type.

Definition at line 638 of file view.hpp.


Constructor & Destructor Documentation

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

Constructor with offset off.

Definition at line 652 of file view.hpp.


Member Function Documentation

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

Return OffsetRefView for x.

Definition at line 661 of file view.hpp.

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

Update during cloning.

Definition at line 655 of file view.hpp.

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

Access offset.

Definition at line 658 of file view.hpp.


Member Data Documentation

The offset.

Definition at line 640 of file view.hpp.


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