summaryrefslogtreecommitdiff
path: root/src/TColStd/TColStd_HPackedMapOfInteger.cxx
blob: 768af2df9c7c4194e636c56e3ce9a6168351ceb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// File:	TColStd_HPackedMapOfInteger.cxx
// Created:	Tue Dec 05 15:04:47 2006
// Author:	Sergey  KOCHETKOV
// Copyright:   Open Cascade 2006 


#include <TColStd_HPackedMapOfInteger.ixx>

//! Constructor of empty map
TColStd_HPackedMapOfInteger::TColStd_HPackedMapOfInteger (const Standard_Integer NbBuckets)
{
  myMap.ReSize(NbBuckets);
}

//! Constructor from already existing map; performs copying
TColStd_HPackedMapOfInteger::TColStd_HPackedMapOfInteger (const TColStd_PackedMapOfInteger &theOther)
{ 
  myMap.Assign ( theOther ); 
}