#include <BinMDF_ADriverTable.hxx>
Public Member Functions | |
Standard_EXPORT | BinMDF_ADriverTable () |
Constructor . | |
Standard_EXPORT void | AddDriver (const Handle(BinMDF_ADriver)&theDriver) |
Adds a translation driver <thedriver>. . | |
Standard_EXPORT void | AssignIds (const TColStd_IndexedMapOfTransient &theTypes) |
Assigns the IDs to the drivers of the given Types. It uses indices in the map as IDs. Useful in storage procedure. . | |
Standard_EXPORT void | AssignIds (const TColStd_SequenceOfAsciiString &theTypeNames) |
Assigns the IDs to the drivers of the given Type Names; It uses indices in the sequence as IDs. Useful in retrieval procedure. . | |
Standard_Integer | GetDriver (const Handle(Standard_Type)&theType, Handle(BinMDF_ADriver)&theDriver) const |
Gets a driver <thedriver> according to <thetype>. Returns Type ID if the driver was assigned an ID; 0 otherwise. . | |
Handle_BinMDF_ADriver | GetDriver (const Standard_Integer theTypeId) const |
Returns a driver according to <thetypeid>. Returns null handle if a driver is not found . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Member Functions | |
void | AssignId (const Handle(Standard_Type)&theType, const Standard_Integer theId) |
Assigns the ID to the driver of the Type . | |
Private Attributes | |
BinMDF_TypeADriverMap | myMap |
BinMDF_TypeIdMap | myMapId |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|