Generated on Fri Mar 20 15:56:56 2015 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 617 of file view.hpp.


Member Typedef Documentation

The view type.

Definition at line 620 of file view.hpp.


Constructor & Destructor Documentation

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

Constructor with offset off.

Definition at line 634 of file view.hpp.


Member Function Documentation

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

Return OffsetRefView for x.

Definition at line 643 of file view.hpp.

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

Update during cloning.

Definition at line 637 of file view.hpp.

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

Access offset.

Definition at line 640 of file view.hpp.


Member Data Documentation

The offset.

Definition at line 622 of file view.hpp.


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