1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/src/StepShape/StepShape_QualifiedRepresentationItem.hxx
abv 92efcf78a6 0026936: Drawbacks of inlining in new type system in OCCT 7.0 -- automatic
Automatic restore of IMPLEMENT_STANDARD_RTTIEXT macro (upgrade -rtti)
2015-12-04 14:15:06 +03:00

78 lines
2.2 KiB
C++

// Created on: 2001-04-24
// Created by: Christian CAILLET
// Copyright (c) 2001-2014 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.
#ifndef _StepShape_QualifiedRepresentationItem_HeaderFile
#define _StepShape_QualifiedRepresentationItem_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <StepShape_HArray1OfValueQualifier.hxx>
#include <StepRepr_RepresentationItem.hxx>
#include <Standard_Integer.hxx>
class TCollection_HAsciiString;
class StepShape_ValueQualifier;
class StepShape_QualifiedRepresentationItem;
DEFINE_STANDARD_HANDLE(StepShape_QualifiedRepresentationItem, StepRepr_RepresentationItem)
//! Added for Dimensional Tolerances
class StepShape_QualifiedRepresentationItem : public StepRepr_RepresentationItem
{
public:
Standard_EXPORT StepShape_QualifiedRepresentationItem();
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(StepShape_HArray1OfValueQualifier)& qualifiers);
Standard_EXPORT Handle(StepShape_HArray1OfValueQualifier) Qualifiers() const;
Standard_EXPORT Standard_Integer NbQualifiers() const;
Standard_EXPORT void SetQualifiers (const Handle(StepShape_HArray1OfValueQualifier)& qualifiers);
Standard_EXPORT StepShape_ValueQualifier QualifiersValue (const Standard_Integer num) const;
Standard_EXPORT void SetQualifiersValue (const Standard_Integer num, const StepShape_ValueQualifier& aqualifier);
DEFINE_STANDARD_RTTIEXT(StepShape_QualifiedRepresentationItem,StepRepr_RepresentationItem)
protected:
private:
Handle(StepShape_HArray1OfValueQualifier) theQualifiers;
};
#endif // _StepShape_QualifiedRepresentationItem_HeaderFile