Generated on Mon Aug 25 11:35:49 2008 for Gecode by doxygen 1.5.6

Gecode::ConstViewBase Class Reference
[Programming views for variables]

Inherited by Gecode::Int::ConstIntView, Gecode::Int::Linear::NoView, Gecode::Int::ZeroIntView, Gecode::Set::ConstantView, Gecode::Set::EmptyView, and Gecode::Set::UniverseView.

List of all members.


Detailed Description

Base-class for constant views.

Definition at line 44 of file view.icc.


Generic view information

unsigned int degree (void) const
 Return degree (number of subscribed propagators and advisors).
VarImpBasevar (void) const
 Return dummy variable implementation of view.
static bool varderived (void)
 Return whether this view is derived from a VarViewBase.

Member Function Documentation

unsigned int Gecode::ConstViewBase::degree ( void   )  const [inline]

Return degree (number of subscribed propagators and advisors).

Definition at line 219 of file view.icc.

bool Gecode::ConstViewBase::varderived ( void   )  [inline, static]

Return whether this view is derived from a VarViewBase.

Definition at line 223 of file view.icc.

VarImpBase * Gecode::ConstViewBase::var ( void   )  const [inline]

Return dummy variable implementation of view.

Definition at line 227 of file view.icc.


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