# DataExchange
TKIGES
IGESData

# IGESData_GeneralModule Class Reference

Definition of General Services adapted to IGES.
This Services comprise : Shared & Implied Lists, Copy, Check
They are adapted according to the organisation of IGES
Entities : Directory Part, Lists of Associativities and
Properties are specifically processed
.

`#include <IGESData_GeneralModule.hxx>`

Inheritance diagram for IGESData_GeneralModule:

[legend]

## Public Member Functions

Standard_EXPORT void | FillSharedCase (const Standard_Integer CN, const Handle(Standard_Transient)&ent, Interface_EntityIterator &iter) const
| Fills the list of Entities shared by an IGESEntity <ent>, according a Case Number <cn> (formerly computed by CaseNum). Considers Properties and Directory Part, and calls OwnSharedCase (which is adapted to each Type of Entity) .
virtual Standard_EXPORT void | OwnSharedCase (const Standard_Integer CN, const Handle(IGESData_IGESEntity)&ent, Interface_EntityIterator &iter) const =0
| Lists the Entities shared by a given IGESEntity <ent>, from its specific parameters : specific for each type .
virtual Standard_EXPORT void | ListImpliedCase (const Standard_Integer CN, const Handle(Standard_Transient)&ent, Interface_EntityIterator &iter) const
| Lists the Implied References of <ent>. Here, these are the Associativities, plus the Entities defined by OwnSharedCase .
virtual Standard_EXPORT void | OwnImpliedCase (const Standard_Integer CN, const Handle(IGESData_IGESEntity)&ent, Interface_EntityIterator &iter) const
| Specific list of Entities implied by a given IGESEntity <ent> (in addition to Associativities). By default, there are none, but this method can be redefined as required .
Standard_EXPORT void | CheckCase (const Standard_Integer CN, const Handle(Standard_Transient)&ent, const Interface_ShareTool &shares, Handle(Interface_Check)&ach) const
| Semantic Checking of an IGESEntity. Performs general Checks, which use DirChecker, then call OwnCheck which does a check specific for each type of Entity .
virtual Standard_EXPORT IGESData_DirChecker | DirChecker (const Standard_Integer CN, const Handle(IGESData_IGESEntity)&ent) const =0
| Returns a DirChecker, specific for each type of Entity (identified by its Case Number) : this DirChecker defines constraints which must be respected by the DirectoryPart .
virtual Standard_EXPORT void | OwnCheckCase (const Standard_Integer CN, const Handle(IGESData_IGESEntity)&ent, const Interface_ShareTool &shares, Handle(Interface_Check)&ach) const =0
| Performs Specific Semantic Check for each type of Entity .
virtual Standard_EXPORT Standard_Boolean | CanCopy (const Standard_Integer CN, const Handle(Standard_Transient)&ent) const
| Specific answer to the question "is Copy properly implemented" For IGES, answer is always True .
virtual Standard_EXPORT Standard_Boolean | NewVoid (const Standard_Integer CN, Handle(Standard_Transient)&entto) const =0
| Specific creation of a new void entity .
Standard_EXPORT void | CopyCase (const Standard_Integer CN, const Handle(Standard_Transient)&entfrom, const Handle(Standard_Transient)&entto, Interface_CopyTool &TC) const
| Copy ("Deep") from <entfrom> to <entto> (same type) by using a CopyTool which provides its working Map. For IGESEntities, Copies general data (Directory Part, List of Properties) and call OwnCopyCase .
virtual Standard_EXPORT void | OwnCopyCase (const Standard_Integer CN, const Handle(IGESData_IGESEntity)&entfrom, const Handle(IGESData_IGESEntity)&entto, Interface_CopyTool &TC) const =0
| Copies parameters which are specific of each Type of Entity .
virtual Standard_EXPORT void | RenewImpliedCase (const Standard_Integer CN, const Handle(Standard_Transient)&entfrom, const Handle(Standard_Transient)&entto, const Interface_CopyTool &TC) const
| Renewing of Implied References. For IGESEntities, Copies general data(List of Associativities) and calls OwnRenewCase .
virtual Standard_EXPORT void | OwnRenewCase (const Standard_Integer CN, const Handle(IGESData_IGESEntity)&entfrom, const Handle(IGESData_IGESEntity)&entto, const Interface_CopyTool &TC) const
| Renews parameters which are specific of each Type of Entity : the provided default does nothing, but this method may be redefined as required .
virtual Standard_EXPORT void | WhenDeleteCase (const Standard_Integer CN, const Handle(Standard_Transient)&ent, const Standard_Boolean dispatched) const
| Prepares an IGES Entity for delete : works on directory part then calls OwnDeleteCase While dispatch requires to copy the entities, <dispatched> is ignored, entities are cleared in any case .
virtual Standard_EXPORT void | OwnDeleteCase (const Standard_Integer CN, const Handle(IGESData_IGESEntity)&ent) const
| Specific preparation for delete, acts on own parameters Default does nothing, to be redefined as required .
virtual Standard_EXPORT Handle_TCollection_HAsciiString | Name (const Standard_Integer CN, const Handle(Standard_Transient)&ent, const Interface_ShareTool &shares) const
| Returns the name of an IGES Entity (its NameValue) Can be redefined for an even more specific case ... .
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const

## Member Function Documentation

virtual Standard_EXPORT Standard_Boolean IGESData_GeneralModule::CanCopy | ( | const Standard_Integer | CN,
|  | const Handle(Standard_Transient)& | ent
| ) | const`[virtual]`

| Reimplemented from Interface_GeneralModule.

Standard_EXPORT void IGESData_GeneralModule::CheckCase | ( | const Standard_Integer | CN,
|  | const Handle(Standard_Transient)& | ent,
|  | const Interface_ShareTool & | shares,
|  | Handle(Interface_Check)& | ach
| ) | const`[virtual]`

| Implements Interface_GeneralModule.

Standard_EXPORT void IGESData_GeneralModule::CopyCase | ( | const Standard_Integer | CN,
|  | const Handle(Standard_Transient)& | entfrom,
|  | const Handle(Standard_Transient)& | entto,
|  | Interface_CopyTool & | TC
| ) | const`[virtual]`

| Implements Interface_GeneralModule.

virtual Standard_EXPORT IGESData_DirChecker IGESData_GeneralModule::DirChecker | ( | const Standard_Integer | CN,
|  | const Handle(IGESData_IGESEntity)& | ent
| ) | const`[pure virtual]`

| Implemented in IGESAppli_GeneralModule, IGESBasic_GeneralModule, IGESData_DefaultGeneral, IGESDefs_GeneralModule, IGESDimen_GeneralModule, IGESDraw_GeneralModule, IGESGeom_GeneralModule, IGESGraph_GeneralModule, and IGESSolid_GeneralModule.

Standard_EXPORT void IGESData_GeneralModule::FillSharedCase | ( | const Standard_Integer | CN,
|  | const Handle(Standard_Transient)& | ent,
|  | Interface_EntityIterator & | iter
| ) | const`[virtual]`

| Implements Interface_GeneralModule.

Standard_EXPORT const IGESData_GeneralModule::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from Interface_GeneralModule. Reimplemented in IGESAppli_GeneralModule, IGESBasic_GeneralModule, IGESData_DefaultGeneral, IGESDefs_GeneralModule, IGESDimen_GeneralModule, IGESDraw_GeneralModule, IGESGeom_GeneralModule, IGESGraph_GeneralModule, and IGESSolid_GeneralModule.

virtual Standard_EXPORT void IGESData_GeneralModule::ListImpliedCase | ( | const Standard_Integer | CN,
|  | const Handle(Standard_Transient)& | ent,
|  | Interface_EntityIterator & | iter
| ) | const`[virtual]`

| Reimplemented from Interface_GeneralModule.

virtual Standard_EXPORT Handle_TCollection_HAsciiString IGESData_GeneralModule::Name | ( | const Standard_Integer | CN,
|  | const Handle(Standard_Transient)& | ent,
|  | const Interface_ShareTool & | shares
| ) | const`[virtual]`

| Reimplemented from Interface_GeneralModule.

virtual Standard_EXPORT Standard_Boolean IGESData_GeneralModule::NewVoid | ( | const Standard_Integer | CN,
|  | Handle(Standard_Transient)& | entto
| ) | const`[pure virtual]`

| Implements Interface_GeneralModule. Implemented in IGESAppli_GeneralModule, IGESBasic_GeneralModule, IGESData_DefaultGeneral, IGESDefs_GeneralModule, IGESDimen_GeneralModule, IGESDraw_GeneralModule, IGESGeom_GeneralModule, IGESGraph_GeneralModule, and IGESSolid_GeneralModule.

virtual Standard_EXPORT void IGESData_GeneralModule::OwnCheckCase | ( | const Standard_Integer | CN,
|  | const Handle(IGESData_IGESEntity)& | ent,
|  | const Interface_ShareTool & | shares,
|  | Handle(Interface_Check)& | ach
| ) | const`[pure virtual]`

| Implemented in IGESAppli_GeneralModule, IGESBasic_GeneralModule, IGESData_DefaultGeneral, IGESDefs_GeneralModule, IGESDimen_GeneralModule, IGESDraw_GeneralModule, IGESGeom_GeneralModule, IGESGraph_GeneralModule, and IGESSolid_GeneralModule.

virtual Standard_EXPORT void IGESData_GeneralModule::OwnCopyCase | ( | const Standard_Integer | CN,
|  | const Handle(IGESData_IGESEntity)& | entfrom,
|  | const Handle(IGESData_IGESEntity)& | entto,
|  | Interface_CopyTool & | TC
| ) | const`[pure virtual]`

| Implemented in IGESAppli_GeneralModule, IGESBasic_GeneralModule, IGESData_DefaultGeneral, IGESDefs_GeneralModule, IGESDimen_GeneralModule, IGESDraw_GeneralModule, IGESGeom_GeneralModule, IGESGraph_GeneralModule, and IGESSolid_GeneralModule.

virtual Standard_EXPORT void IGESData_GeneralModule::OwnDeleteCase | ( | const Standard_Integer | CN,
|  | const Handle(IGESData_IGESEntity)& | ent
| ) | const`[virtual]`

| Reimplemented in IGESDraw_GeneralModule.

virtual Standard_EXPORT void IGESData_GeneralModule::OwnImpliedCase | ( | const Standard_Integer | CN,
|  | const Handle(IGESData_IGESEntity)& | ent,
|  | Interface_EntityIterator & | iter
| ) | const`[virtual]`

| Reimplemented in IGESDraw_GeneralModule.

virtual Standard_EXPORT void IGESData_GeneralModule::OwnRenewCase | ( | const Standard_Integer | CN,
|  | const Handle(IGESData_IGESEntity)& | entfrom,
|  | const Handle(IGESData_IGESEntity)& | entto,
|  | const Interface_CopyTool & | TC
| ) | const`[virtual]`

| Reimplemented in IGESDraw_GeneralModule.

virtual Standard_EXPORT void IGESData_GeneralModule::OwnSharedCase | ( | const Standard_Integer | CN,
|  | const Handle(IGESData_IGESEntity)& | ent,
|  | Interface_EntityIterator & | iter
| ) | const`[pure virtual]`

| Implemented in IGESAppli_GeneralModule, IGESBasic_GeneralModule, IGESData_DefaultGeneral, IGESDefs_GeneralModule, IGESDimen_GeneralModule, IGESDraw_GeneralModule, IGESGeom_GeneralModule, IGESGraph_GeneralModule, and IGESSolid_GeneralModule.

virtual Standard_EXPORT void IGESData_GeneralModule::RenewImpliedCase | ( | const Standard_Integer | CN,
|  | const Handle(Standard_Transient)& | entfrom,
|  | const Handle(Standard_Transient)& | entto,
|  | const Interface_CopyTool & | TC
| ) | const`[virtual]`

| Reimplemented from Interface_GeneralModule.

virtual Standard_EXPORT void IGESData_GeneralModule::WhenDeleteCase | ( | const Standard_Integer | CN,
|  | const Handle(Standard_Transient)& | ent,
|  | const Standard_Boolean | dispatched
| ) | const`[virtual]`

| Reimplemented from Interface_GeneralModule.

The documentation for this class was generated from the following file:

- IGESData_GeneralModule.hxx