1 -- Created on: 2001-09-26
2 -- Created by: Julia DOROVSKIKH
3 -- Copyright (c) 2001-2014 OPEN CASCADE SAS
5 -- This file is part of Open CASCADE Technology software library.
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.
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
16 class ADriverTable from XmlMDF inherits TShared from MMgt
18 ---Purpose: A driver table is an object building links between
19 -- object types and object drivers. In the
20 -- translation process, a driver table is asked to
21 -- give a translation driver for each current object
26 MapTransientHasher from TColStd,
28 TypeADriverMap from XmlMDF
31 Create returns ADriverTable from XmlMDF;
32 ---Purpose: Creates a mutable ADriverTable from XmlMDF.
34 AddDriver(me : mutable; anHDriver : ADriver from XmlMDF);
35 ---Purpose: Sets a translation driver: <aDriver>.
38 returns TypeADriverMap from XmlMDF;
39 ---Purpose: Gets a map of drivers.
40 ---C++: return const &
42 GetDriver(me; aType : Type from Standard;
43 anHDriver : in out ADriver from XmlMDF)
44 returns Boolean from Standard;
45 ---Purpose: Gets a driver <aDriver> according to <aType>
47 -- Returns True if a driver is found; false otherwise.
50 myMap : TypeADriverMap from XmlMDF;