|
Open CASCADE Technology 6.5.2
|
A container for instances of drivers.
You create a new instance of TFunction_Driver
and use the method AddDriver to load it into the driver table.
#include <TFunction_DriverTable.hxx>

Public Member Functions | |
| TFunction_DriverTable () | |
| Default constructor | |
| Standard_Boolean | AddDriver (const Standard_GUID &guid, const Handle< TFunction_Driver > &driver, const Standard_Integer thread=0) |
| Returns true if the driver has been added successfully to the driver table. | |
| Standard_Boolean | HasDriver (const Standard_GUID &guid, const Standard_Integer thread=0) const |
| Returns true if the driver exists in the driver table. | |
| Standard_Boolean | FindDriver (const Standard_GUID &guid, Handle< TFunction_Driver > &driver, const Standard_Integer thread=0) const |
| Returns true if the driver was found. | |
| Standard_OStream & | Dump (Standard_OStream &anOS) const |
| Standard_OStream & | operator<< (Standard_OStream &anOS) const |
| Standard_Boolean | RemoveDriver (const Standard_GUID &guid, const Standard_Integer thread=0) |
| Removes a driver with the given GUID. Returns true if the driver has been removed successfully. | |
| void | Clear () |
| Removes all drivers. Returns true if the driver has been removed successfully. | |
Static Public Member Functions | |
| static Handle_TFunction_DriverTable | Get () |
| Returns the driver table. If a driver does not exist, creates it. | |
| TFunction_DriverTable::TFunction_DriverTable | ( | ) |
| Standard_Boolean TFunction_DriverTable::AddDriver | ( | const Standard_GUID & | guid, |
| const Handle< TFunction_Driver > & | driver, | ||
| const Standard_Integer | thread = 0 |
||
| ) |
| void TFunction_DriverTable::Clear | ( | ) |
| Standard_OStream& TFunction_DriverTable::Dump | ( | Standard_OStream & | anOS | ) | const |
| Standard_Boolean TFunction_DriverTable::FindDriver | ( | const Standard_GUID & | guid, |
| Handle< TFunction_Driver > & | driver, | ||
| const Standard_Integer | thread = 0 |
||
| ) | const |
| static Handle_TFunction_DriverTable TFunction_DriverTable::Get | ( | ) | [static] |
| Standard_Boolean TFunction_DriverTable::HasDriver | ( | const Standard_GUID & | guid, |
| const Standard_Integer | thread = 0 |
||
| ) | const |
| Standard_OStream& TFunction_DriverTable::operator<< | ( | Standard_OStream & | anOS | ) | const [inline] |
| Standard_Boolean TFunction_DriverTable::RemoveDriver | ( | const Standard_GUID & | guid, |
| const Standard_Integer | thread = 0 |
||
| ) |
1.7.4