0031642: Visualization - crash in Graphic3d_Structure::SetVisual() on redisplaying...
[occt.git] / src / XmlTObjDrivers / XmlTObjDrivers_DocumentStorageDriver.hxx
1 // Created on: 2004-11-24
2 // Created by: Michael SAZONOV
3 // Copyright (c) 2004-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 // The original implementation Copyright: (C) RINA S.p.A
17
18 #ifndef XmlTObjDrivers_DocumentStorageDriver_HeaderFile
19 #define XmlTObjDrivers_DocumentStorageDriver_HeaderFile
20
21 #include <TObj_Common.hxx>
22 #include <XmlLDrivers_DocumentStorageDriver.hxx>
23 #include <XmlMDF_ADriverTable.hxx>
24
25
26 //  Block of comments describing class XmlTObjDrivers_DocumentStorageDriver
27 //
28
29 class XmlTObjDrivers_DocumentStorageDriver :
30   public XmlLDrivers_DocumentStorageDriver
31 {
32  public:
33   // ---------- PUBLIC METHODS ----------
34
35   Standard_EXPORT XmlTObjDrivers_DocumentStorageDriver
36                         (const TCollection_ExtendedString& theCopyright);
37   // Constructor
38
39   Standard_EXPORT virtual Handle(XmlMDF_ADriverTable) AttributeDrivers
40                         (const Handle(Message_Messenger)& theMsgDriver) Standard_OVERRIDE;
41
42  public:
43   // Declaration of CASCADE RTTI
44   DEFINE_STANDARD_RTTIEXT(XmlTObjDrivers_DocumentStorageDriver,XmlLDrivers_DocumentStorageDriver)
45 };
46
47 // Definition of HANDLE object using Standard_DefineHandle.hxx
48 DEFINE_STANDARD_HANDLE (XmlTObjDrivers_DocumentStorageDriver,
49                         XmlLDrivers_DocumentStorageDriver)
50
51 #endif
52
53 #ifdef _MSC_VER
54 #pragma once
55 #endif