0024981: IntTools_FaceFace enters to infinite loop on the attached case
[occt.git] / src / SelectMgr / SelectMgr_DataMapOfObjectOwners.hxx
CommitLineData
b311480e 1// Created on: 2003-10-16
2// Created by: Alexander Solovyov
973c2be1 3// Copyright (c) 2003-2014 OPEN CASCADE SAS
b311480e 4//
973c2be1 5// This file is part of Open CASCADE Technology software library.
b311480e 6//
d5f74e42 7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
b311480e 12//
973c2be1 13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
7fd59977 15
16#ifndef _SelectMgr_DataMapOfObjectOwners_HeaderFile
17#define _SelectMgr_DataMapOfObjectOwners_HeaderFile
18
ddf2fe8e 19#include <NCollection_DataMap.hxx>
cb389a77 20#include <SelectMgr_SelectableObject.hxx>
7fd59977 21#include <SelectMgr_SequenceOfOwner.hxx>
22
857ffd5e 23inline Standard_Boolean IsEqual (const Handle(SelectMgr_SelectableObject)& theH1,
24 const Handle(SelectMgr_SelectableObject)& theH2)
7fd59977 25{
26 return (theH1 == theH2);
27}
28
ddf2fe8e 29typedef NCollection_DataMap<Handle(SelectMgr_SelectableObject), SelectMgr_SequenceOfOwner> SelectMgr_DataMapOfObjectOwners;
30typedef SelectMgr_DataMapOfObjectOwners::Iterator SelectMgr_DataMapIteratorOfMapOfObjectOwners;
7fd59977 31
32#endif