# 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.

## 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). | |

VarImpBase * | var (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]` |

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

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

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

- gecode/kernel/view.icc (Revision: 7290)