// 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 _RWStepAP214_GeneralModule_HeaderFile
#define _RWStepAP214_GeneralModule_HeaderFile

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

#include <StepData_GeneralModule.hxx>
#include <Standard_Integer.hxx>
#include <Handle_Standard_Transient.hxx>
#include <Handle_Interface_Check.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_TCollection_HAsciiString.hxx>
class Standard_Transient;
class Interface_EntityIterator;
class Interface_ShareTool;
class Interface_Check;
class Interface_CopyTool;
class TCollection_HAsciiString;


//! Defines General Services for StepAP214 Entities
//! (Share,Check,Copy; Trace already inherited)
//! Depends (for case numbers) of Protocol from StepAP214
class RWStepAP214_GeneralModule : public StepData_GeneralModule
{

public:

  
  //! Creates a GeneralModule
  Standard_EXPORT RWStepAP214_GeneralModule();
  
  //! Specific filling of the list of Entities shared by an Entity
  //! <ent>, according to a Case Number <CN> (provided by StepAP214
  //! Protocol).
  Standard_EXPORT   void FillSharedCase (const Standard_Integer CN, const Handle(Standard_Transient)& ent, Interface_EntityIterator& iter)  const;
  
  //! Specific Checking of an Entity <ent>
  Standard_EXPORT   void CheckCase (const Standard_Integer CN, const Handle(Standard_Transient)& ent, const Interface_ShareTool& shares, Handle(Interface_Check)& ach)  const;
  
  //! Specific Copy ("Deep") from <entfrom> to <entto> (same type)
  //! by using a CopyTool which provides its working Map.
  //! Use method Transferred from CopyTool to work
  Standard_EXPORT   void CopyCase (const Standard_Integer CN, const Handle(Standard_Transient)& entfrom, const Handle(Standard_Transient)& entto, Interface_CopyTool& TC)  const;
  
  Standard_EXPORT   Standard_Boolean NewVoid (const Standard_Integer CN, Handle(Standard_Transient)& ent)  const;
  
  Standard_EXPORT virtual   Standard_Integer CategoryNumber (const Standard_Integer CN, const Handle(Standard_Transient)& ent, const Interface_ShareTool& shares)  const;
  
  //! Returns the name of a STEP Entity according to its type
  Standard_EXPORT virtual   Handle(TCollection_HAsciiString) Name (const Standard_Integer CN, const Handle(Standard_Transient)& ent, const Interface_ShareTool& shares)  const;




  DEFINE_STANDARD_RTTI(RWStepAP214_GeneralModule)

protected:




private: 




};







#endif // _RWStepAP214_GeneralModule_HeaderFile
