Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions
TFunction_DriverTable Class Reference

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>

Inheritance diagram for TFunction_DriverTable:
Inheritance graph
[legend]

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_OStreamDump (Standard_OStream &anOS) const
Standard_OStreamoperator<< (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.


Constructor & Destructor Documentation


Member Function Documentation

static Handle_TFunction_DriverTable TFunction_DriverTable::Get ( ) [static]
Standard_OStream& TFunction_DriverTable::operator<< ( Standard_OStream anOS) const [inline]

The documentation for this class was generated from the following file: