-- File: PNaming_NamedShape.cdl -- Created: Fri Apr 11 16:00:04 1997 -- Author: VAUTHIER Jean-Claude ---Copyright: Matra Datavision 1997 class NamedShape from PNaming inherits Attribute from PDF ---Purpose: This is the persistent attribute of the -- topological naming. uses HArray1OfShape1 from PTopoDS, HArray1OfInteger from PColStd is Create returns mutable NamedShape from PNaming; ---Purpose: Creates a mutable NamedShape from PNaming. NbShapes(me) returns Integer; ---Purpose: Returns the number of shapes. OldShapes(me : mutable; theShapes : HArray1OfShape1 from PTopoDS); ---Purpose: Sets the field . OldShapes(me) returns HArray1OfShape1 from PTopoDS; ---Purpose: Returns the field . NewShapes(me : mutable; theShapes : HArray1OfShape1 from PTopoDS); ---Purpose: Sets the field . NewShapes(me) returns HArray1OfShape1 from PTopoDS; ---Purpose: Returns the field . ShapeStatus(me : mutable; theShapeStatus : Integer from Standard); ---Purpose: Sets the field . ShapeStatus(me) returns Integer from Standard; ---Purpose: Returns the field . Version (me : mutable; theVersion : Integer from Standard); ---Purpose: Sets the field . Version (me) returns Integer from Standard; ---Purpose: Returns the field . fields myOldShapes : HArray1OfShape1 from PTopoDS; myNewShapes : HArray1OfShape1 from PTopoDS; myShapeStatus : Integer from Standard; myVersion : Integer from Standard; end NamedShape;