mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-15 11:44:07 +03:00
Redundant keyword 'mutable' removed in CDL files. In IGESConvGeom_GeomBuilder, unused methods MakeXY() and MakeXYZ() removed. Method StepAP214_AutoDesignGroupAssignment::Init() replicating same method of the base class is removed as it causes CDL extraction error after above (seemingly irrelevant) changes.
126 lines
3.3 KiB
Plaintext
126 lines
3.3 KiB
Plaintext
-- Created by: DAUTRY Philippe
|
|
-- Copyright (c) 1997-1999 Matra Datavision
|
|
-- Copyright (c) 1999-2014 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.
|
|
|
|
-- ---------------
|
|
|
|
---Version: 0.0
|
|
--Version Date Purpose
|
|
-- 0.0 Mar 11 1997 Creation
|
|
|
|
|
|
class DataSet from TDF
|
|
inherits TShared from MMgt
|
|
|
|
---Purpose: This class is a set of TDF informations like
|
|
-- labels and attributes.
|
|
|
|
uses
|
|
|
|
OStream from Standard,
|
|
Label from TDF,
|
|
Attribute from TDF,
|
|
LabelList from TDF,
|
|
LabelMap from TDF,
|
|
AttributeMap from TDF
|
|
|
|
-- raises
|
|
|
|
is
|
|
|
|
Create
|
|
returns DataSet from TDF;
|
|
---Purpose: Creates an empty DataSet object.
|
|
|
|
Clear(me : mutable);
|
|
---Purpose: Clears all information.
|
|
|
|
IsEmpty(me) returns Boolean from Standard;
|
|
---Purpose: Returns true if there is at least one label or one
|
|
-- attribute.
|
|
---C++: inline
|
|
|
|
-- Label set informations
|
|
|
|
AddLabel(me : mutable;
|
|
aLabel : Label from TDF);
|
|
---Purpose: Adds <aLabel> in the current data set.
|
|
---C++: inline
|
|
|
|
ContainsLabel(me; aLabel : Label from TDF)
|
|
returns Boolean from Standard;
|
|
---Purpose: Returns true if the label <alabel> is in the data set.
|
|
---C++: inline
|
|
|
|
Labels(me : mutable)
|
|
returns LabelMap from TDF;
|
|
---Purpose: Returns the map of labels in this data set.
|
|
-- This map can be used directly, or updated.
|
|
--
|
|
---C++: inline
|
|
---C++: return &
|
|
|
|
|
|
-- Attribute set informations
|
|
|
|
AddAttribute(me : mutable;
|
|
anAttribute : Attribute from TDF);
|
|
---Purpose: Adds <anAttribute> into the current data set.
|
|
---C++: inline
|
|
|
|
ContainsAttribute(me; anAttribute : Attribute from TDF)
|
|
returns Boolean from Standard;
|
|
---Purpose: Returns true if <anAttribute> is in the data set.
|
|
---C++: inline
|
|
|
|
Attributes(me : mutable)
|
|
returns AttributeMap from TDF;
|
|
---Purpose: Returns the map of attributes in the current data set.
|
|
-- This map can be used directly, or updated.
|
|
--
|
|
---C++: inline
|
|
---C++: return &
|
|
|
|
-- Root informations
|
|
|
|
AddRoot(me : mutable; aLabel : Label from TDF);
|
|
---Purpose: Adds a root label to <myRootLabels>.
|
|
--
|
|
---C++: inline
|
|
|
|
Roots(me : mutable)
|
|
returns LabelList from TDF;
|
|
---Purpose: Returns <myRootLabels> to be used or updated.
|
|
--
|
|
---C++: inline
|
|
---C++: return &
|
|
|
|
-- Miscellaneous
|
|
|
|
Dump(me; anOS : in out OStream from Standard)
|
|
returns OStream from Standard;
|
|
---Purpose: Dumps the minimum information about <me> on
|
|
-- <aStream>.
|
|
--
|
|
---C++: return &
|
|
---C++: alias operator<<
|
|
|
|
fields
|
|
|
|
myRootLabels : LabelList from TDF;
|
|
myLabelMap : LabelMap from TDF;
|
|
myAttributeMap : AttributeMap from TDF;
|
|
|
|
end DataSet;
|