1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-18 14:27:39 +03:00
Files
occt/src/TDataStd/TDataStd_Directory.cdl
abv 6e33d3ced2 0024830: Remove redundant keyword 'mutable' in CDL declarations
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.
2014-05-29 14:58:25 +04:00

94 lines
2.9 KiB
Plaintext

-- Created on: 1999-06-25
-- Created by: Sergey RUIN
-- Copyright (c) 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.
class Directory from TDataStd inherits Attribute from TDF
---Purpose: Associates a directory in the data framework with
-- a TDataStd_TagSource attribute.
-- You can create a new directory label and add
-- sub-directory or object labels to it,
uses Attribute from TDF,
Label from TDF,
GUID from Standard,
DataSet from TDF,
RelocationTable from TDF
is
---Purpose: class methods
-- =============
Find (myclass; current : Label from TDF; D : in out Directory from TDataStd)
---Purpose: Searches for a directory attribute on the label
-- current, or on one of the father labels of current.
-- If a directory attribute is found, true is returned,
-- and the attribute found is set as D.
returns Boolean from Standard;
New (myclass; label : Label from TDF)
---Purpose: Creates an enpty Directory attribute, located at
-- <label>. Raises if <label> has attribute
returns Directory from TDataStd;
AddDirectory (myclass; dir : Directory from TDataStd)
---Purpose: Creates a new sub-label and sets the
-- sub-directory dir on that label.
returns Directory from TDataStd;
MakeObjectLabel (myclass; dir : Directory from TDataStd)
---Purpose: Makes new label and returns it to insert
-- other object attributes (sketch,part...etc...)
returns Label from TDF;
GetID (myclass)
---C++: return const &
returns GUID from Standard;
---Purpose: Directory methods
-- ===============
Create
returns Directory from TDataStd;
---Category: methodes de TDF_Attribute
-- =========================
ID (me)
---C++: return const &
returns GUID from Standard;
Restore (me: mutable; with : Attribute from TDF);
NewEmpty (me)
returns Attribute from TDF;
Paste (me; into : Attribute from TDF;
RT : RelocationTable from TDF);
References (me; DS : DataSet from TDF) is redefined;
Dump(me; anOS : in out OStream from Standard)
returns OStream from Standard
is redefined;
---C++: return &
end Directory;