Cleanup, add method getStrValue()
This commit is contained in:
parent
58a02d24ae
commit
2e89e0015d
|
@ -394,9 +394,6 @@ protected:
|
||||||
const Constraints* _ConstStruct;
|
const Constraints* _ConstStruct;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class AppExport PropertyFloatList: public PropertyLists
|
class AppExport PropertyFloatList: public PropertyLists
|
||||||
{
|
{
|
||||||
TYPESYSTEM_HEADER();
|
TYPESYSTEM_HEADER();
|
||||||
|
@ -470,10 +467,11 @@ public:
|
||||||
*/
|
*/
|
||||||
virtual ~PropertyString();
|
virtual ~PropertyString();
|
||||||
|
|
||||||
|
|
||||||
void setValue(const char* sString);
|
void setValue(const char* sString);
|
||||||
void setValue(const std::string &sString);
|
void setValue(const std::string &sString);
|
||||||
const char* getValue(void) const;
|
const char* getValue(void) const;
|
||||||
|
const std::string& getStrValue(void) const
|
||||||
|
{ return _cValue; }
|
||||||
bool isEmpty(void){return _cValue.empty();}
|
bool isEmpty(void){return _cValue.empty();}
|
||||||
|
|
||||||
virtual const char* getEditorName(void) const { return "Gui::PropertyEditor::PropertyStringItem"; }
|
virtual const char* getEditorName(void) const { return "Gui::PropertyEditor::PropertyStringItem"; }
|
||||||
|
|
|
@ -23,15 +23,12 @@
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
#include "PreCompiled.h"
|
||||||
#ifndef _PreComp_
|
#ifndef _PreComp_
|
||||||
//# include <Bnd_Box.hxx>
|
|
||||||
//# include <gp_Pln.hxx>
|
|
||||||
# include <BRep_Builder.hxx>
|
# include <BRep_Builder.hxx>
|
||||||
# include <BRep_Tool.hxx>
|
# include <BRep_Tool.hxx>
|
||||||
# include <BRepBndLib.hxx>
|
# include <BRepBndLib.hxx>
|
||||||
# include <BRepPrimAPI_MakePrism.hxx>
|
# include <BRepPrimAPI_MakePrism.hxx>
|
||||||
# include <BRepBuilderAPI_Copy.hxx>
|
# include <BRepBuilderAPI_Copy.hxx>
|
||||||
# include <BRepBuilderAPI_MakeFace.hxx>
|
# include <BRepBuilderAPI_MakeFace.hxx>
|
||||||
//# include <Geom_Plane.hxx>
|
|
||||||
# include <Handle_Geom_Surface.hxx>
|
# include <Handle_Geom_Surface.hxx>
|
||||||
# include <TopoDS.hxx>
|
# include <TopoDS.hxx>
|
||||||
# include <TopoDS_Solid.hxx>
|
# include <TopoDS_Solid.hxx>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user