// Copyright (c) 2025 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.

//! @file XCAFDimTolObjects_DataMapOfToleranceDatum.hxx
//! @brief Deprecated typedef for backward compatibility.
//! @deprecated This header is deprecated since OCCT 8.0.0.
//!             Use NCollection_DataMap<opencascade::handle<XCAFDimTolObjects_GeomToleranceObject>,
//!             opencascade::handle<XCAFDimTolObjects_DatumObject>> directly instead.

#ifndef _XCAFDimTolObjects_DataMapOfToleranceDatum_hxx
#define _XCAFDimTolObjects_DataMapOfToleranceDatum_hxx

#include <Standard_Macro.hxx>
#include <NCollection_DataMap.hxx>
#include <XCAFDimTolObjects_GeomToleranceObject.hxx>
#include <XCAFDimTolObjects_DatumObject.hxx>

Standard_HEADER_DEPRECATED(
  "XCAFDimTolObjects_DataMapOfToleranceDatum.hxx is deprecated since OCCT 8.0.0. Use "
  "NCollection_DataMap<opencascade::handle<XCAFDimTolObjects_GeomToleranceObject>, "
  "opencascade::handle<XCAFDimTolObjects_DatumObject>> directly.")

  Standard_DEPRECATED(
    "XCAFDimTolObjects_DataMapOfToleranceDatum is deprecated, use "
    "NCollection_DataMap<opencascade::handle<XCAFDimTolObjects_GeomToleranceObject>, "
    "opencascade::handle<XCAFDimTolObjects_DatumObject>> directly")
typedef NCollection_DataMap<opencascade::handle<XCAFDimTolObjects_GeomToleranceObject>,
                            opencascade::handle<XCAFDimTolObjects_DatumObject>>
  XCAFDimTolObjects_DataMapOfToleranceDatum;

#endif // _XCAFDimTolObjects_DataMapOfToleranceDatum_hxx
