Mod: redundant void 2
This commit is contained in:
@@ -177,7 +177,7 @@ public:
|
||||
virtual ~PropertyDistanceList();
|
||||
|
||||
virtual void setSize(int newSize);
|
||||
virtual int getSize(void) const;
|
||||
virtual int getSize() const;
|
||||
|
||||
/** Sets the property
|
||||
*/
|
||||
@@ -189,9 +189,9 @@ public:
|
||||
void set1Value (const int idx, float value){_lValueList.operator[] (idx) = value;}
|
||||
void setValues (const std::vector<float>& values);
|
||||
|
||||
const std::vector<float> &getValues(void) const{return _lValueList;}
|
||||
const std::vector<float> &getValues() const{return _lValueList;}
|
||||
|
||||
virtual PyObject *getPyObject(void);
|
||||
virtual PyObject *getPyObject();
|
||||
virtual void setPyObject(PyObject *);
|
||||
|
||||
virtual void Save (Base::Writer &writer) const;
|
||||
@@ -200,9 +200,9 @@ public:
|
||||
virtual void SaveDocFile (Base::Writer &writer) const;
|
||||
virtual void RestoreDocFile(Base::Reader &reader);
|
||||
|
||||
virtual Property *Copy(void) const;
|
||||
virtual Property *Copy() const;
|
||||
virtual void Paste(const Property &from);
|
||||
virtual unsigned int getMemSize (void) const;
|
||||
virtual unsigned int getMemSize () const;
|
||||
|
||||
private:
|
||||
std::vector<float> _lValueList;
|
||||
@@ -219,7 +219,7 @@ class InspectionExport Feature : public App::DocumentObject
|
||||
|
||||
public:
|
||||
/// Constructor
|
||||
Feature(void);
|
||||
Feature();
|
||||
virtual ~Feature();
|
||||
|
||||
/** @name Properties */
|
||||
@@ -235,11 +235,11 @@ public:
|
||||
//@{
|
||||
short mustExecute() const;
|
||||
/// recalculate the Feature
|
||||
App::DocumentObjectExecReturn* execute(void);
|
||||
App::DocumentObjectExecReturn* execute();
|
||||
//@}
|
||||
|
||||
/// returns the type name of the ViewProvider
|
||||
const char* getViewProviderName(void) const
|
||||
const char* getViewProviderName() const
|
||||
{ return "InspectionGui::ViewProviderInspection"; }
|
||||
};
|
||||
|
||||
@@ -249,11 +249,11 @@ class InspectionExport Group : public App::DocumentObjectGroup
|
||||
|
||||
public:
|
||||
/// Constructor
|
||||
Group(void);
|
||||
Group();
|
||||
virtual ~Group();
|
||||
|
||||
/// returns the type name of the ViewProvider
|
||||
const char* getViewProviderName(void) const
|
||||
const char* getViewProviderName() const
|
||||
{ return "InspectionGui::ViewProviderInspectionGroup"; }
|
||||
};
|
||||
|
||||
|
||||
@@ -128,13 +128,13 @@ void ViewProviderInspection::onChanged(const App::Property* prop)
|
||||
}
|
||||
}
|
||||
|
||||
void ViewProviderInspection::hide(void)
|
||||
void ViewProviderInspection::hide()
|
||||
{
|
||||
inherited::hide();
|
||||
pcColorStyle->style = SoDrawStyle::INVISIBLE;
|
||||
}
|
||||
|
||||
void ViewProviderInspection::show(void)
|
||||
void ViewProviderInspection::show()
|
||||
{
|
||||
inherited::show();
|
||||
pcColorStyle->style = SoDrawStyle::FILLED;
|
||||
@@ -296,7 +296,7 @@ void ViewProviderInspection::updateData(const App::Property* prop)
|
||||
}
|
||||
}
|
||||
|
||||
SoSeparator* ViewProviderInspection::getFrontRoot(void) const
|
||||
SoSeparator* ViewProviderInspection::getFrontRoot() const
|
||||
{
|
||||
return pcColorRoot;
|
||||
}
|
||||
@@ -376,7 +376,7 @@ void ViewProviderInspection::setDisplayMode(const char* ModeName)
|
||||
inherited::setDisplayMode(ModeName);
|
||||
}
|
||||
|
||||
std::vector<std::string> ViewProviderInspection::getDisplayModes(void) const
|
||||
std::vector<std::string> ViewProviderInspection::getDisplayModes() const
|
||||
{
|
||||
// add modes
|
||||
std::vector<std::string> StrList;
|
||||
|
||||
@@ -62,18 +62,18 @@ public:
|
||||
/// Sets the viewing mode
|
||||
void setDisplayMode(const char* ModeName);
|
||||
/// Returns a list of all possible modes
|
||||
std::vector<std::string> getDisplayModes(void) const;
|
||||
std::vector<std::string> getDisplayModes() const;
|
||||
/// Update colorbar after recomputation of distances.
|
||||
void updateData(const App::Property*);
|
||||
/// Once the color bar settings has been changed this method gets called to update the feature's representation
|
||||
void OnChange(Base::Subject<int> &rCaller,int rcReason);
|
||||
QIcon getIcon() const;
|
||||
/// Returns a color bar
|
||||
SoSeparator* getFrontRoot(void) const;
|
||||
SoSeparator* getFrontRoot() const;
|
||||
/// Hide the object in the view
|
||||
virtual void hide(void);
|
||||
virtual void hide();
|
||||
/// Show the object in the view
|
||||
virtual void show(void);
|
||||
virtual void show();
|
||||
|
||||
static void inspectCallback(void * ud, SoEventCallback * n);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user