// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _IGESAppli_RegionRestriction_HeaderFile
#define _IGESAppli_RegionRestriction_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_IGESAppli_RegionRestriction.hxx>

#include <Standard_Integer.hxx>
#include <IGESData_IGESEntity.hxx>


//! defines RegionRestriction, Type <406> Form <2>
//! in package IGESAppli
//! Defines regions to set an application's restriction
//! over a region.
class IGESAppli_RegionRestriction : public IGESData_IGESEntity
{

public:

  
  Standard_EXPORT IGESAppli_RegionRestriction();
  
  //! This method is used to set the fields of the class
  //! RegionRestriction
  //! - nbPropVal  : Number of property values, always = 3
  //! - aViasRest  : Electrical Vias restriction
  //! - aCompoRest : Electrical components restriction
  //! - aCktRest   : Electrical circuitry restriction
  Standard_EXPORT   void Init (const Standard_Integer nbPropVal, const Standard_Integer aViasRest, const Standard_Integer aCompoRest, const Standard_Integer aCktRest) ;
  
  //! is always 3
  Standard_EXPORT   Standard_Integer NbPropertyValues()  const;
  
  //! returns the Electrical vias restriction
  //! is 0, 1 or 2
  Standard_EXPORT   Standard_Integer ElectricalViasRestriction()  const;
  
  //! returns the Electrical components restriction
  //! is 0, 1 or 2
  Standard_EXPORT   Standard_Integer ElectricalComponentRestriction()  const;
  
  //! returns the Electrical circuitry restriction
  //! is 0, 1 or 2
  Standard_EXPORT   Standard_Integer ElectricalCktRestriction()  const;




  DEFINE_STANDARD_RTTI(IGESAppli_RegionRestriction)

protected:




private: 


  Standard_Integer theNbPropertyValues;
  Standard_Integer theElectViasRestrict;
  Standard_Integer theElectCompRestrict;
  Standard_Integer theElectCktRestrict;


};







#endif // _IGESAppli_RegionRestriction_HeaderFile
