Warnings on vc14 were eliminated
[occt.git] / src / DDF / DDF_Data.hxx
CommitLineData
42cf5bc1 1// Created by: DAUTRY Philippe
2// Copyright (c) 1997-1999 Matra Datavision
3// Copyright (c) 1999-2014 OPEN CASCADE SAS
4//
5// This file is part of Open CASCADE Technology software library.
6//
7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
12//
13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
15
16#ifndef _DDF_Data_HeaderFile
17#define _DDF_Data_HeaderFile
18
19#include <Standard.hxx>
20#include <Standard_Type.hxx>
21
22#include <Draw_Drawable3D.hxx>
23#include <Standard_OStream.hxx>
24#include <Draw_Interpretor.hxx>
25class TDF_Data;
26class Draw_Display;
27class Draw_Drawable3D;
28
29
30class DDF_Data;
31DEFINE_STANDARD_HANDLE(DDF_Data, Draw_Drawable3D)
32
33//! Encapsulates a data framework from TDF in a drawable object
34class DDF_Data : public Draw_Drawable3D
35{
36
37public:
38
39
40 Standard_EXPORT DDF_Data(const Handle(TDF_Data)& aDF);
41
79104795 42 Standard_EXPORT void DrawOn (Draw_Display& dis) const Standard_OVERRIDE;
42cf5bc1 43
44 Standard_EXPORT virtual Handle(Draw_Drawable3D) Copy() const Standard_OVERRIDE;
45
46 Standard_EXPORT virtual void Dump (Standard_OStream& S) const Standard_OVERRIDE;
47
48 Standard_EXPORT void DataFramework (const Handle(TDF_Data)& aDF);
49
50 Standard_EXPORT Handle(TDF_Data) DataFramework() const;
51
52 Standard_EXPORT virtual void Whatis (Draw_Interpretor& I) const Standard_OVERRIDE;
53
54
55
56
92efcf78 57 DEFINE_STANDARD_RTTIEXT(DDF_Data,Draw_Drawable3D)
42cf5bc1 58
59protected:
60
61
62
63
64private:
65
66
67 Handle(TDF_Data) myDF;
68
69
70};
71
72
73
74
75
76
77
78#endif // _DDF_Data_HeaderFile