27 #ifndef __GEOM_BaseDriver_HXX__
28 #define __GEOM_BaseDriver_HXX__
32 #include <TFunction_Driver.hxx>
33 #include <TFunction_Logbook.hxx>
34 #include <TopAbs_ShapeEnum.hxx>
35 #include <TopAbs_State.hxx>
36 #include <TColStd_HSequenceOfTransient.hxx>
37 #include <TColStd_HArray1OfInteger.hxx>
39 #include <Basics_OCCTVersion.hxx>
45 #if OCC_VERSION_MAJOR < 7
46 #define LOGBOOK TFunction_Logbook
48 #define LOGBOOK Handle(TFunction_Logbook)
56 Standard_EXPORT
void Set(
const char* nm) {
name = nm; }
62 std::ostringstream str;
80 Standard_EXPORT
int GetDocID()
const;
85 Standard_EXPORT
virtual
87 std::vector<GEOM_Param>& params) = 0;
100 const char* dfltValue = 0)
103 p.
Set( name, value );
104 if ( dfltValue && p.
value.empty() )
106 params.push_back( p );
107 return params.back();