summaryrefslogtreecommitdiff
path: root/inc/BinTObjDrivers.hxx
blob: 269b7aae2cebd8ea03eae02f832102bbbc9fce56 (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
// File:      BinTObjDrivers.hxx
// Created:   24.11.04 11:23:12
// Author:    Michael SAZONOV
// Copyright:   Open CASCADE  2007
// The original implementation Copyright: (C) RINA S.p.A

#ifndef BinTObjDrivers_HeaderFile
#define BinTObjDrivers_HeaderFile

#include <TObj_Common.hxx>
#include <Standard_GUID.hxx>

class Handle(BinMDF_ADriverTable);
class Handle(CDM_MessageDriver);

// Class for registering storage/retrieval drivers for TObj Bin persistence
//

class BinTObjDrivers 
{
 public:
  // ---------- PUBLIC METHODS ----------

  Standard_EXPORT static Handle(Standard_Transient) Factory
                        (const Standard_GUID& aGUID);
  // Returns a driver corresponding to <aGUID>. Used for plugin.

  Standard_EXPORT static void AddDrivers
                        (const Handle(BinMDF_ADriverTable)& aDriverTable,
                         const Handle(CDM_MessageDriver)&   aMsgDrv);

};

#endif

#ifdef _MSC_VER
#pragma once
#endif