summaryrefslogtreecommitdiff
path: root/src/XmlTObjDrivers/XmlTObjDrivers_DocumentStorageDriver.cxx
blob: 30b3dcc402e38c205aeabaf0f6e61f00f43e95a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// File:      XmlTObjDrivers_DocumentStorageDriver.cxx
// Created:   24.11.04 19:00:21
// Author:    Michael SAZONOV
// Copyright:   Open CASCADE  2007
// The original implementation Copyright: (C) RINA S.p.A

#include <XmlTObjDrivers_DocumentStorageDriver.hxx>
#include <XmlLDrivers.hxx>
#include <XmlTObjDrivers.hxx>

IMPLEMENT_STANDARD_HANDLE (XmlTObjDrivers_DocumentStorageDriver,
                           XmlLDrivers_DocumentStorageDriver)
IMPLEMENT_STANDARD_RTTIEXT(XmlTObjDrivers_DocumentStorageDriver,
                           XmlLDrivers_DocumentStorageDriver)

//=======================================================================
//function : XmlTObjDrivers_DocumentStorageDriver
//purpose  : 
//=======================================================================

XmlTObjDrivers_DocumentStorageDriver::XmlTObjDrivers_DocumentStorageDriver
                                (const TCollection_ExtendedString& theCopyright)
     : XmlLDrivers_DocumentStorageDriver (theCopyright)
{
}

//=======================================================================
//function : AttributeDrivers
//purpose  : 
//=======================================================================

Handle(XmlMDF_ADriverTable)
        XmlTObjDrivers_DocumentStorageDriver::AttributeDrivers
                        (const Handle(CDM_MessageDriver)& theMsgDrv)
{
  // Standard drivers
  Handle(XmlMDF_ADriverTable) aTable = XmlLDrivers::AttributeDrivers (theMsgDrv);

  // Native drivers
  XmlTObjDrivers::AddDrivers(aTable, theMsgDrv);

  return aTable;
}