summaryrefslogtreecommitdiff
path: root/inc/Interface_JaggedArray.gxx
blob: 3024e241c85ccfa011c1ca78bd0014bf50874c0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//#include <Interface_JaggedArray.ixx>

    Interface_JaggedArray::Interface_JaggedArray
  (const Standard_Integer low, const Standard_Integer up)
: thelist (low,up)  {  Handle(Standard_Transient) nulo; thelist.Init(nulo);  }

    Standard_Integer  Interface_JaggedArray::Lower () const
      {  return thelist.Lower();  }

    Standard_Integer  Interface_JaggedArray::Upper () const
      {  return thelist.Upper();  }

    Standard_Integer  Interface_JaggedArray::Length () const
      {  return thelist.Length();  }

    void Interface_JaggedArray::SetValue
  (const Standard_Integer num, const Handle(TheKey)& val)
      {  thelist.SetValue(num,val);  }

    Handle(TheKey)  Interface_JaggedArray::Value
  (const Standard_Integer num) const
      {  return Handle(TheKey)::DownCast(thelist.Value(num));  }

//    Handle(TheKey)&  Interface_JaggedArray::ChangeValue
//  (const Standard_Integer num)
//      {  return thelist.ChangeValue(num);  }