blob: 6ab042910a1479f97e93d959a074cb87a532c98a [file] [edit]
// Created on: 2015-07-16
// Created by: Irina KRYLOVA
// Copyright (c) 2015 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 _StepDimTol_SimpleDatumReferenceModifierMember_HeaderFile
#define _StepDimTol_SimpleDatumReferenceModifierMember_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <StepData_SelectInt.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_CString.hxx>
#include <Standard_Integer.hxx>
#include <StepDimTol_SimpleDatumReferenceModifier.hxx>
//! Defines SimpleDatumReferenceModifier as unique member of DatumReferenceModifier
//! Works with an EnumTool
class StepDimTol_SimpleDatumReferenceModifierMember : public StepData_SelectInt
{
public:
Standard_EXPORT StepDimTol_SimpleDatumReferenceModifierMember();
bool HasName() const override { return true; }
const char* Name() const override { return "SIMPLE_DATUM_REFERENCE_MODIFIER"; }
bool SetName(const char* const /*theName*/) override { return true; }
int Kind() const override { return 4; }
Standard_EXPORT const char* EnumText() const override;
Standard_EXPORT void SetEnumText(const int theValue, const char* const theText) override;
Standard_EXPORT void SetValue(const StepDimTol_SimpleDatumReferenceModifier theValue);
Standard_EXPORT StepDimTol_SimpleDatumReferenceModifier Value() const;
DEFINE_STANDARD_RTTIEXT(StepDimTol_SimpleDatumReferenceModifierMember, StepData_SelectInt)
};
#endif // _StepDimTol_SimpleDatumReferenceModifierMember_HeaderFile