|
Open CASCADE Technology 6.5.2
|
A driver table is an object building links between
object types and object drivers. In the
translation process, a driver table is asked to
give a translation driver for each current object
to be translated.
#include <BinMDF_ADriverTable.hxx>

Public Member Functions | |
| BinMDF_ADriverTable () | |
| Constructor | |
| void | AddDriver (const Handle< BinMDF_ADriver > &theDriver) |
| Adds a translation driver <theDriver>. | |
| 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. | |
| 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 | |
| BinMDF_ADriverTable::BinMDF_ADriverTable | ( | ) |
| void BinMDF_ADriverTable::AddDriver | ( | const Handle< BinMDF_ADriver > & | theDriver | ) |
| void BinMDF_ADriverTable::AssignIds | ( | const TColStd_IndexedMapOfTransient & | theTypes | ) |
| void BinMDF_ADriverTable::AssignIds | ( | const TColStd_SequenceOfAsciiString & | theTypeNames | ) |
| Standard_Integer BinMDF_ADriverTable::GetDriver | ( | const Handle< Standard_Type > & | theType, |
| Handle< BinMDF_ADriver > & | theDriver | ||
| ) | const |
| Handle_BinMDF_ADriver BinMDF_ADriverTable::GetDriver | ( | const Standard_Integer | theTypeId | ) | const |
1.7.4