Generated on Sat Feb 7 2015 02:01:44 for Gecode by doxygen 1.8.9.1
Gecode::Int::Offset Class Reference

Converter with fixed offset. More...

#include <view.hpp>

Public Types

typedef OffsetView ViewType
 The view type. More...
 

Public Member Functions

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

Public Attributes

int c
 The offset. More...
 

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

int Gecode::Int::Offset::c

The offset.

Definition at line 622 of file view.hpp.


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