42cf5bc1 |
1 | // Created on: 1997-03-27 |
2 | // Created by: Denis PASCAL |
3 | // Copyright (c) 1997-1999 Matra Datavision |
4 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
5 | // |
6 | // This file is part of Open CASCADE Technology software library. |
7 | // |
8 | // This library is free software; you can redistribute it and/or modify it under |
9 | // the terms of the GNU Lesser General Public License version 2.1 as published |
10 | // by the Free Software Foundation, with special exception defined in the file |
11 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | // distribution for complete text of the license and disclaimer of any warranty. |
13 | // |
14 | // Alternatively, this file may be used under the terms of Open CASCADE |
15 | // commercial license or contractual agreement. |
16 | |
17 | #ifndef _DDataStd_HeaderFile |
18 | #define _DDataStd_HeaderFile |
19 | |
20 | #include <Standard.hxx> |
21 | #include <Standard_DefineAlloc.hxx> |
22 | #include <Standard_Handle.hxx> |
23 | |
24 | #include <Draw_Interpretor.hxx> |
25 | #include <Standard_OStream.hxx> |
26 | class TDataXtd_Constraint; |
42cf5bc1 |
27 | |
28 | |
29 | //! commands for Standard Attributes. |
30 | //! ================================= |
31 | class DDataStd |
32 | { |
33 | public: |
34 | |
35 | DEFINE_STANDARD_ALLOC |
36 | |
37 | |
38 | //! Used to browse tree nodes. |
39 | //! commands |
40 | //! ======== |
41 | //! command to set and get modeling attributes |
42 | Standard_EXPORT static void AllCommands (Draw_Interpretor& I); |
43 | |
44 | //! to set and get NamedShape |
45 | Standard_EXPORT static void NamedShapeCommands (Draw_Interpretor& I); |
46 | |
47 | //! to set and get Integer, Real, Reference, Geometry |
48 | Standard_EXPORT static void BasicCommands (Draw_Interpretor& I); |
49 | |
50 | //! to set and get Datum attributes |
51 | Standard_EXPORT static void DatumCommands (Draw_Interpretor& I); |
52 | |
53 | //! to set and get Constraint and Constraint attributes |
54 | Standard_EXPORT static void ConstraintCommands (Draw_Interpretor& I); |
55 | |
56 | //! to set and get Objects attributes |
57 | Standard_EXPORT static void ObjectCommands (Draw_Interpretor& I); |
58 | |
59 | //! to display standard attributes |
60 | Standard_EXPORT static void DrawDisplayCommands (Draw_Interpretor& I); |
61 | |
62 | //! to set and get Name attribute |
63 | Standard_EXPORT static void NameCommands (Draw_Interpretor& I); |
64 | |
65 | //! to build, edit and browse an explicit tree of labels |
66 | //! package methods |
67 | //! =============== |
68 | Standard_EXPORT static void TreeCommands (Draw_Interpretor& I); |
69 | |
70 | Standard_EXPORT static void DumpConstraint (const Handle(TDataXtd_Constraint)& C, Standard_OStream& S); |
71 | |
42cf5bc1 |
72 | }; |
73 | |
42cf5bc1 |
74 | #endif // _DDataStd_HeaderFile |