17 typedef typename std::remove_const< Grd >::type::Traits Traits;
20 static const int codimension = codim;
21 static const int dimension = Traits::dimension;
22 static const int mydimension = dimension - codimension;
23 static const int dimensionworld = Traits::dimensionworld;
26 typedef typename Traits::Grid Grid;
27 typedef typename Traits::template Codim< codim >::Entity Entity;
28 typedef typename Traits :: Index Index ;
30 static const Index defaultIndex = -1;
37 : index_( defaultIndex )
40 int index ()
const {
return index_ ; }
44 bool isValid()
const {
return index_ > defaultIndex; }
47 {
return index_ == other.index_; }