0028417: Using PRECOMPILED HEADER to speed up compilation time
[occt.git] / src / DDataStd / DDataStd.hxx
CommitLineData
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>
26class TDataXtd_Constraint;
27class DDataStd_DrawPresentation;
28class DDataStd_DrawDriver;
29class DDataStd_TreeBrowser;
30
31
32//! commands for Standard Attributes.
33//! =================================
34class DDataStd
35{
36public:
37
38 DEFINE_STANDARD_ALLOC
39
40
41 //! Used to browse tree nodes.
42 //! commands
43 //! ========
44 //! command to set and get modeling attributes
45 Standard_EXPORT static void AllCommands (Draw_Interpretor& I);
46
47 //! to set and get NamedShape
48 Standard_EXPORT static void NamedShapeCommands (Draw_Interpretor& I);
49
50 //! to set and get Integer, Real, Reference, Geometry
51 Standard_EXPORT static void BasicCommands (Draw_Interpretor& I);
52
53 //! to set and get Datum attributes
54 Standard_EXPORT static void DatumCommands (Draw_Interpretor& I);
55
56 //! to set and get Constraint and Constraint attributes
57 Standard_EXPORT static void ConstraintCommands (Draw_Interpretor& I);
58
59 //! to set and get Objects attributes
60 Standard_EXPORT static void ObjectCommands (Draw_Interpretor& I);
61
62 //! to display standard attributes
63 Standard_EXPORT static void DrawDisplayCommands (Draw_Interpretor& I);
64
65 //! to set and get Name attribute
66 Standard_EXPORT static void NameCommands (Draw_Interpretor& I);
67
68 //! to build, edit and browse an explicit tree of labels
69 //! package methods
70 //! ===============
71 Standard_EXPORT static void TreeCommands (Draw_Interpretor& I);
72
73 Standard_EXPORT static void DumpConstraint (const Handle(TDataXtd_Constraint)& C, Standard_OStream& S);
74
75
76
77
78protected:
79
80
81
82
83
84private:
85
86
87
88
89friend class DDataStd_DrawPresentation;
90friend class DDataStd_DrawDriver;
91friend class DDataStd_TreeBrowser;
92
93};
94
95
96
97
98
99
100
101#endif // _DDataStd_HeaderFile