ParameterGrp Class Reference

The parameter container class This is the base class of all classes handle parameter. More...

#include <Parameter.h>

Public Member Functions

copy and insertation
void copyTo (Base::Reference< ParameterGrp >)
 make a deep copy to the other group More...
 
void insertTo (Base::Reference< ParameterGrp >)
 overwrite everything similar, leave the others alone More...
 
void exportTo (const char *FileName)
 export this group to a file More...
 
void importFrom (const char *FileName)
 import from a file to this group More...
 
void insert (const char *FileName)
 insert from a file to this group, overwrite only the similar More...
 
methods for bool handling
bool GetBool (const char *Name, bool bPreset=false) const
 read bool values or give default More...
 
void SetBool (const char *Name, bool bValue)
 set a bool value More...
 
std::vector< boolGetBools (const char *sFilter=nullptr) const
 get a vector of all bool values in this group More...
 
std::vector< std::pair< std::string, bool > > GetBoolMap (const char *sFilter=nullptr) const
 get a map with all bool values and the keys of this group More...
 
void RemoveBool (const char *Name)
 remove a bool value from this group More...
 
methods for Int handling
long GetInt (const char *Name, long lPreset=0) const
 read bool values or give default More...
 
void SetInt (const char *Name, long lValue)
 set a int value More...
 
std::vector< long > GetInts (const char *sFilter=nullptr) const
 get a vector of all int values in this group More...
 
std::vector< std::pair< std::string, long > > GetIntMap (const char *sFilter=nullptr) const
 get a map with all int values and the keys of this group More...
 
void RemoveInt (const char *Name)
 remove a int value from this group More...
 
methods for Unsigned Int handling
unsigned long GetUnsigned (const char *Name, unsigned long lPreset=0) const
 read uint values or give default More...
 
void SetUnsigned (const char *Name, unsigned long lValue)
 set a uint value More...
 
std::vector< unsigned long > GetUnsigneds (const char *sFilter=nullptr) const
 get a vector of all uint values in this group More...
 
std::vector< std::pair< std::string, unsigned long > > GetUnsignedMap (const char *sFilter=nullptr) const
 get a map with all uint values and the keys of this group More...
 
void RemoveUnsigned (const char *Name)
 remove a uint value from this group More...
 
methods for Float handling
double GetFloat (const char *Name, double dPreset=0.0) const
 set a float value More...
 
void SetFloat (const char *Name, double dValue)
 read float values or give default More...
 
std::vector< double > GetFloats (const char *sFilter=nullptr) const
 get a vector of all float values in this group More...
 
std::vector< std::pair< std::string, double > > GetFloatMap (const char *sFilter=nullptr) const
 get a map with all float values and the keys of this group More...
 
void RemoveFloat (const char *Name)
 remove a float value from this group More...
 
methods for Blob handling (not implemented yet)
void SetBlob (const char *Name, void *pValue, long lLength)
 set a blob value More...
 
void GetBlob (const char *Name, void *pBuf, long lMaxLength, void *pPreset=nullptr) const
 read blob values or give default More...
 
void RemoveBlob (const char *Name)
 remove a blob value from this group More...
 
- Public Member Functions inherited from Base::Handled
int getRefCount () const
 
 Handled ()
 
const Handledoperator= (const Handled &)
 
void ref () const
 
void unref () const
 
virtual ~Handled ()
 
- Public Member Functions inherited from Base::Subject< const char * >
void Attach (Observer< const char * > *ToObserv)
 Attach an Observer Attach an Observer to the list of Observers which get called when Notify is called. More...
 
void ClearObserver ()
 Clears the list of all registered observers. More...
 
void Detach (Observer< const char * > *ToObserv)
 Detach an Observer Detach an Observer from the list of Observers which get called when Notify is called. More...
 
Observer< const char * > * Get (const char *Name)
 Get an Observer by name Get a observer by name if the observer reimplements the Name() mthode. More...
 
void Notify (const char * rcReason)
 Notify all Observers Send a message to all Observers attached to this subject. More...
 
 Subject ()
 A constructor. More...
 
virtual ~Subject ()
 A destructor. More...
 

methods for group handling

typedef Base::Reference< ParameterGrphandle
 type of the handle More...
 
Base::Reference< ParameterGrpGetGroup (const char *Name)
 get a handle to a sub group or create one More...
 
std::vector< Base::Reference< ParameterGrp > > GetGroups ()
 get a vector of all sub groups in this group More...
 
bool IsEmpty () const
 test if this group is empty More...
 
bool HasGroup (const char *Name) const
 test if a special sub group is in this group More...
 
void RemoveGrp (const char *Name)
 remove a sub group from this group More...
 
bool RenameGrp (const char *OldName, const char *NewName)
 rename a sub group from this group More...
 
void Clear ()
 clears everything in this group (all types) More...
 

methods for String handling

class ParameterManager
 
void SetASCII (const char *Name, const char *sValue)
 set a string value More...
 
std::string GetASCII (const char *Name, const char *pPreset=nullptr) const
 read a string values More...
 
void RemoveASCII (const char *Name)
 remove a string value from this group More...
 
std::vector< std::string > GetASCIIs (const char *sFilter=nullptr) const
 Return all string elements in this group as a vector of strings Its also possible to set a filter criteria. More...
 
std::vector< std::pair< std::string, std::string > > GetASCIIMap (const char *sFilter=nullptr) const
 Same as GetASCIIs() but with key,value map. More...
 
const char * GetGroupName () const
 returns the name More...
 
void NotifyAll ()
 Notifies all observers for all entries except of sub-groups. More...
 
 ParameterGrp (XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *GroupNode=nullptr, const char *sName=nullptr)
 constructor is protected (handle concept) More...
 
 ~ParameterGrp ()
 destructor is protected (handle concept) More...
 
bool ShouldRemove () const
 
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * FindNextElement (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *Prev, const char *Type) const
 
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * FindElement (XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *Start, const char *Type, const char *Name=nullptr) const
 Find an element specified by Type and Name Search in the parent element Start for the first occurrence of an element of Type and with the attribute Name=Name. More...
 
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * FindOrCreateElement (XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *Start, const char *Type, const char *Name) const
 Find an element specified by Type and Name or create it if not found Search in the parent element Start for the first occurrence of an element of Type and with the attribute Name=Name. More...
 
XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * FindAttribute (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *Node, const char *Name) const
 Find an attribute specified by Name. More...
 

Additional Inherited Members

- Public Types inherited from Base::Subject< const char * >
typedef const char * MessageType
 
typedef Observer< const char * > ObserverType
 
typedef Subject< const char * > SubjectType
 

Detailed Description

The parameter container class This is the base class of all classes handle parameter.

The class contains a map of key-value pairs in a grouping structure, not unlike the windows registry. It allows the user to set and retrieve values of the type float, long and string. Also it handles importing and exporting groups of parameters and enables streaming to a persistent medium via XML.

Its main task is making user parameter persistent, saving last used values in dialog boxes, setting and retrieving all kind of preferences and so on.
See also
ParameterManager

Member Typedef Documentation

◆ handle

type of the handle

Constructor & Destructor Documentation

◆ ParameterGrp()

ParameterGrp::ParameterGrp ( XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *  GroupNode = nullptr,
const char *  sName = nullptr 
)
protected

constructor is protected (handle concept)

Default construction.

Referenced by GetGroups().

◆ ~ParameterGrp()

ParameterGrp::~ParameterGrp ( )
protected

destructor is protected (handle concept)

Destruction complete destruction of the object.

Member Function Documentation

◆ Clear()

◆ copyTo()

void ParameterGrp::copyTo ( Base::Reference< ParameterGrp Grp)

make a deep copy to the other group

References Clear(), and insertTo().

Referenced by Gui::Dialog::DlgRevertToBackupConfigImp::accept(), and importFrom().

◆ exportTo()

void ParameterGrp::exportTo ( const char *  FileName)

◆ FindAttribute()

XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * ParameterGrp::FindAttribute ( XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *  Node,
const char *  Name 
) const
protected

Find an attribute specified by Name.

Referenced by FindElement().

◆ FindElement()

XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * ParameterGrp::FindElement ( XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *  Start,
const char *  Type,
const char *  Name = nullptr 
) const
protected

Find an element specified by Type and Name Search in the parent element Start for the first occurrence of an element of Type and with the attribute Name=Name.

On success it returns the pointer to that element, otherwise NULL If the names not given it returns the first occurrence of Type.

References StrX::c_str(), Base::Console(), FindAttribute(), and Base::ConsoleSingleton::Warning().

Referenced by FindOrCreateElement(), GetASCII(), GetASCIIMap(), GetASCIIs(), GetBool(), GetBoolMap(), GetBools(), GetFloat(), GetFloatMap(), GetFloats(), GetGroups(), GetInt(), GetIntMap(), GetInts(), GetUnsigned(), GetUnsignedMap(), GetUnsigneds(), HasGroup(), ParameterManager::LoadDocument(), RemoveASCII(), RemoveBool(), RemoveFloat(), RemoveGrp(), RemoveInt(), RemoveUnsigned(), and RenameGrp().

◆ FindNextElement()

XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * ParameterGrp::FindNextElement ( XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *  Prev,
const char *  Type 
) const
protected

◆ FindOrCreateElement()

XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * ParameterGrp::FindOrCreateElement ( XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *  Start,
const char *  Type,
const char *  Name 
) const
protected

Find an element specified by Type and Name or create it if not found Search in the parent element Start for the first occurrence of an element of Type and with the attribute Name=Name.

On success it returns the pointer to that element, otherwise it creates the element and returns the pointer.

References StrX::c_str(), Base::Console(), FindElement(), and Base::ConsoleSingleton::Warning().

Referenced by SetASCII(), SetBool(), SetFloat(), SetInt(), and SetUnsigned().

◆ GetASCII()

std::string ParameterGrp::GetASCII ( const char *  Name,
const char *  pPreset = nullptr 
) const

read a string values

References StrXUTF8::c_str(), and FindElement().

Referenced by Gui::MacroCommand::activated(), StdCmdImport::activated(), StdCmdExport::activated(), StdCmdOnlineHelpWebsite::activated(), StdCmdFreeCADDonation::activated(), StdCmdFreeCADWebsite::activated(), StdCmdFreeCADUserHub::activated(), StdCmdFreeCADPowerUserHub::activated(), StdCmdFreeCADForum::activated(), StdCmdFreeCADFAQ::activated(), StdCmdReportBug::activated(), StdCmdViewHome::activated(), StdViewScreenShot::activated(), Gui::StdCmdDownloadOnlineHelp::activated(), Gui::Application::Application(), TechDraw::Preferences::bitmapFill(), Cloud::Module::cloudSave(), TechDraw::Preferences::defaultTemplate(), TechDraw::Preferences::defaultTemplateDir(), Gui::Dialog::DlgMacroExecuteImp::DlgMacroExecuteImp(), App::Document::Document(), Gui::MainWindow::event(), Gui::GraphvizView::exportGraph(), TechDraw::Preferences::formatSpec(), Gui::View3DInventorViewer::getInternalTextureFormat(), TechDrawGui::QGVPage::getNavStyleParameter(), TechDraw::DrawViewDimension::getPrefix(), TechDraw::Preferences::labelFont(), TechDraw::Preferences::lineGroupFile(), Gui::Dialog::DlgWorkbenchesImp::load_disabled_workbenches(), Gui::Dialog::DlgWorkbenchesImp::load_enabled_workbenches(), Gui::Dialog::DlgSettingsEditorImp::loadSettings(), Gui::Dialog::DlgGeneralImp::loadSettings(), Gui::Dialog::DlgSettingsMacroImp::loadSettings(), Gui::Dialog::DlgSettingsNavigation::loadSettings(), MeshGui::DlgSettingsImportExport::loadSettings(), PartGui::DlgImportExportIges::loadSettings(), PartGui::DlgImportExportStep::loadSettings(), SpreadsheetGui::DlgSettingsImp::loadSettings(), Gui::TextEditor::OnChange(), Gui::DockWnd::ReportOutput::OnChange(), Gui::AbstractSplitView::OnChange(), Gui::View3DInventor::OnChange(), Gui::GraphicsView3D::OnChange(), TechDrawGui::QGVPage::Private::OnChange(), Gui::Dialog::DlgParameterImp::onChangeParameterSet(), Gui::GestureNavigationStyle::onRollGesture(), TechDraw::Preferences::patFile(), TechDraw::DrawGeomHatch::prefGeomHatchName(), Gui::FileDialog::restoreLocation(), Gui::PrefFontBox::restorePreferences(), Gui::Application::runApplication(), App::Document::save(), Gui::View3DInventorViewer::savePicture(), App::Document::saveToFile(), SpreadsheetGui::SheetModel::SheetModel(), Gui::Dialog::DlgParameterImp::showEvent(), TechDraw::Preferences::svgFile(), SketcherGui::TaskSketcherSolverAdvanced::updateDefaultMethodParameters(), SketcherGui::TaskSketcherSolverAdvanced::updateRedundantMethodParameters(), Gui::View3DInventorPy::viewDefaultOrientation(), and TechDrawGui::PreferencesGui::weldingDirectory().

◆ GetASCIIMap()

std::vector< std::pair< std::string, std::string > > ParameterGrp::GetASCIIMap ( const char *  sFilter = nullptr) const

◆ GetASCIIs()

std::vector< std::string > ParameterGrp::GetASCIIs ( const char *  sFilter = nullptr) const

Return all string elements in this group as a vector of strings Its also possible to set a filter criteria.

Parameters
sFilteronly strings which name includes sFilter are put in the vector
Returns
std::vector of std::strings

References StrXUTF8::c_str(), FindElement(), and FindNextElement().

Referenced by Gui::PrefQuantitySpinBoxPrivate::clearHistory(), and Gui::PrefQuantitySpinBoxPrivate::restoreHistory().

◆ GetBlob()

void ParameterGrp::GetBlob ( const char *  Name,
void *  pBuf,
long  lMaxLength,
void *  pPreset = nullptr 
) const

read blob values or give default

◆ GetBool()

bool ParameterGrp::GetBool ( const char *  Name,
bool  bPreset = false 
) const

read bool values or give default

References FindElement().

Referenced by StdCmdNew::activated(), CmdViewMeasureToggleAll::activated(), Gui::StdCmdDownloadOnlineHelp::activated(), CmdSketcherConstrainHorizontal::activated(), CmdSketcherConstrainVertical::activated(), CmdSketcherConstrainLock::activated(), CmdSketcherConstrainBlock::activated(), CmdSketcherConstrainCoincident::activated(), CmdSketcherConstrainDistance::activated(), CmdSketcherConstrainPointOnObject::activated(), CmdSketcherConstrainDistanceX::activated(), CmdSketcherConstrainDistanceY::activated(), CmdSketcherConstrainParallel::activated(), CmdSketcherConstrainPerpendicular::activated(), CmdSketcherConstrainTangent::activated(), CmdSketcherConstrainRadius::activated(), CmdSketcherConstrainDiameter::activated(), CmdSketcherConstrainRadiam::activated(), CmdSketcherConstrainAngle::activated(), CmdSketcherConstrainEqual::activated(), CmdSketcherConstrainSymmetric::activated(), Gui::MainWindow::activateWorkbench(), App::DynamicProperty::addDynamicProperty(), TechDraw::DrawPage::AllowPageOverride(), Gui::RecentFilesAction::appendFile(), Gui::RecentMacrosAction::appendFile(), Gui::Application::Application(), PartGui::DlgExtrusion::apply(), CmdSketcherConstrainLock::applyConstraint(), Gui::SoFCSelection::applySettings(), Gui::SoFCUnifiedSelection::applySettings(), MeshGui::ViewProviderMeshNode::attach(), Part::Boolean::Boolean(), PartDesign::Boolean::Boolean(), Cloud::Module::cloudSave(), Gui::MainWindow::confirmSave(), Gui::PythonConsole::contextMenuEvent(), Gui::ViewProviderBuilder::createSelection(), Gui::View3DInventor::customEvent(), Gui::DockWnd::ReportOutput::customEvent(), ConstraintItem::data(), TechDraw::DrawViewDetail::debugDetail(), TechDraw::DrawViewSection::debugSection(), MeshGui::DlgEvaluateMeshImp::DlgEvaluateMeshImp(), Gui::Dialog::DlgExpressionInput::DlgExpressionInput(), Gui::Document::Document(), Gui::DialogOptions::dontUseNativeColorDialog(), FemGui::ViewProviderFemPostObject::doubleClicked(), DraftUtils::DraftDxfRead::DraftDxfRead(), DrawingGui::DrawingView::DrawingView(), NaviCubeImplementation::drawNaviCube(), TechDraw::DrawProjGroup::DrawProjGroup(), Gui::ElementColors::ElementColors(), PartGui::ensure3dDimensionVisible(), PartGui::ensureSomeDimensionVisible(), Part::Boolean::execute(), Part::MultiCommon::execute(), Part::MultiFuse::execute(), Gui::GraphvizView::exportGraph(), App::Document::exportGraphviz(), Gui::Application::exportTo(), MeshGui::ViewProviderMesh::faceInfoCallback(), PartDesign::FeatureAddSub::FeatureAddSub(), Gui::GestureNavigationStyle::GestureNavigationStyle(), Gui::NS::GestureState::GestureState(), Path::Toolpath::getCycleTime(), TechDraw::DrawLeaderLine::getDefAuto(), TechDraw::DrawViewSection::getParameters(), TechDrawGui::QGIFace::getParameters(), FemGui::FemSettings::getPostAutoRecompute(), Part::Feature::getSubObject(), Gui::TreeParams::getTreeViewStretchDescription(), TechDraw::DrawPage::GlobalUpdateDrawings(), PartGui::TaskCheckGeometryResults::goCheck(), Gui::GraphvizView::GraphvizView(), TechDraw::DrawViewPart::handleFaces(), ImageGui::ImageView::ImageView(), Gui::Application::importFrom(), TechDrawGui::QGVPage::Private::init(), Gui::NavigationStyle::initialize(), TechDrawGui::QGVNavStyle::initialize(), TechDraw::DrawUtil::isCrazy(), PartDesignGui::TaskFeaturePick::isSingleSelectionEnabled(), TechDraw::Preferences::keepPagesUpToDate(), Gui::TextEditor::keyPressEvent(), PartGui::ViewProviderPartExt::loadParameter(), Gui::Dialog::DlgGeneralImp::loadSettings(), Gui::Dialog::DlgSettingsNavigation::loadSettings(), MeshGui::DlgSettingsMeshView::loadSettings(), PartGui::DlgImportExportIges::loadSettings(), Gui::DockWindowManager::loadState(), Gui::MainWindow::MainWindow(), Part::MultiCommon::MultiCommon(), Part::MultiFuse::MultiFuse(), Gui::Dialog::DlgMacroExecuteImp::on_createButton_clicked(), Gui::Dialog::DlgMacroExecuteImp::on_duplicateButton_clicked(), Gui::Dialog::DlgMacroExecuteImp::on_renameButton_clicked(), Gui::Dialog::DlgMacroExecuteImp::on_toolbarButton_clicked(), SketcherGui::TaskSketcherConstraints::on_visibilityButton_trackingaction_changed(), Gui::PythonConsole::OnChange(), Gui::TextEditor::OnChange(), Gui::DockWnd::ReportOutput::OnChange(), Gui::AbstractSplitView::OnChange(), Gui::View3DInventor::OnChange(), Gui::GraphicsView3D::OnChange(), TechDrawGui::QGVPage::Private::OnChange(), Gui::Application::open(), App::Application::openDocuments(), TechDraw::ShapeExtractor::prefAdd2d(), TechDrawGui::QGIViewPart::prefFaceEdges(), TechDraw::DrawViewPart::prefHardHid(), TechDraw::DrawViewPart::prefHardViz(), TechDraw::DrawViewPart::prefIsoCount(), TechDraw::DrawViewPart::prefIsoHid(), TechDraw::DrawViewPart::prefIsoViz(), TechDrawGui::QGIViewBalloon::prefOrthoPyramid(), TechDrawGui::QGIViewPart::prefPrintCenters(), TechDraw::DrawViewPart::prefSeamHid(), TechDraw::DrawViewPart::prefSeamViz(), TechDraw::DrawViewPart::prefSmoothHid(), TechDraw::DrawViewPart::prefSmoothViz(), SketcherGui::DrawSketchHandlerLineSet::pressButton(), SketcherGui::DrawSketchHandlerBSpline::quit(), SketcherGui::DrawSketchHandlerLineSet::quit(), App::Document::recompute(), DrawSketchHandlerBSplineInsertKnot::releaseButton(), SketcherGui::DrawSketchHandlerArc::releaseButton(), SketcherGui::DrawSketchHandler3PointArc::releaseButton(), SketcherGui::DrawSketchHandlerArcOfEllipse::releaseButton(), SketcherGui::DrawSketchHandlerCircle::releaseButton(), SketcherGui::DrawSketchHandler3PointCircle::releaseButton(), SketcherGui::DrawSketchHandlerEllipse::releaseButton(), SketcherGui::DrawSketchHandlerExtend::releaseButton(), SketcherGui::DrawSketchHandlerLine::releaseButton(), SketcherGui::DrawSketchHandlerLineSet::releaseButton(), SketcherGui::DrawSketchHandlerPoint::releaseButton(), SketcherGui::DrawSketchHandlerRegularPolygon::releaseButton(), SketcherGui::DrawSketchHandlerBox::releaseButton(), SketcherGui::DrawSketchHandlerOblong::releaseButton(), SketcherGui::DrawSketchHandlerSlot::releaseButton(), SketcherGui::DrawSketchHandlerArcOfHyperbola::releaseButton(), SketcherGui::DrawSketchHandlerArcOfParabola::releaseButton(), TechDraw::CosmeticVertex::restoreCosmetic(), Part::PropertyPartShape::RestoreDocFile(), Gui::PrefCheckBox::restorePreferences(), Gui::PrefRadioButton::restorePreferences(), Gui::ToolBarManager::restoreState(), Gui::GraphvizWorker::run(), Gui::MacroManager::run(), Gui::Application::runApplication(), Gui::Document::Save(), App::Document::save(), Part::PropertyPartShape::SaveDocFile(), Gui::AutoSaver::saveDocument(), Gui::Dialog::DlgGeneralImp::saveSettings(), App::Document::saveToFile(), Gui::DocumentObjectItem::setHighlight(), Import::ImpExpDxfRead::setOptions(), Import::ImpExpDxfWrite::setOptions(), Gui::Dialog::DlgCheckableMessageBox::setPrefEntry(), Gui::DockWindowManager::setup(), Gui::ToolBarManager::setup(), Gui::StdWorkbench::setupDockWindows(), PartDesign::SubShapeBinder::setupObject(), App::PropertyString::setValue(), TechDrawGui::PreferencesGui::showGrid(), Gui::Dialog::DlgCheckableMessageBox::showMessage(), PartDesignGui::TaskHelixParameters::showPreview(), TechDraw::DrawViewSection::showSectionEdges(), TechDraw::DrawViewDimension::showUnits(), Gui::MainWindow::startSplasher(), StdCmdRefresh::StdCmdRefresh(), PartGui::TaskCheckGeometryDialog::TaskCheckGeometryDialog(), SketcherGui::TaskDlgEditSketch::TaskDlgEditSketch(), SketcherGui::TaskSketcherElements::TaskSketcherElements(), PartGui::toggle3d(), PartGui::toggleDelta(), PartDesign::Transformed::Transformed(), SketcherGui::tryAutoRecompute(), TechDraw::Preferences::useGlobalDecimals(), Gui::ViewProviderGeometryObject::ViewProviderGeometryObject(), MeshGui::ViewProviderMesh::ViewProviderMesh(), PartGui::ViewProviderPartExt::ViewProviderPartExt(), TechDrawGui::ViewProviderViewPart::ViewProviderViewPart(), and Fem::FemMesh::write().

◆ GetBoolMap()

std::vector< std::pair< std::string, bool > > ParameterGrp::GetBoolMap ( const char *  sFilter = nullptr) const

get a map with all bool values and the keys of this group

References StrX::c_str(), FindElement(), and FindNextElement().

Referenced by insertTo(), NotifyAll(), and Gui::Dialog::DlgParameterImp::onGroupSelected().

◆ GetBools()

std::vector< bool > ParameterGrp::GetBools ( const char *  sFilter = nullptr) const

get a vector of all bool values in this group

References StrX::c_str(), FindElement(), and FindNextElement().

◆ GetFloat()

double ParameterGrp::GetFloat ( const char *  Name,
double  dPreset = 0.0 
) const

set a float value

References FindElement().

Referenced by TechDraw::Preferences::ASMEGap(), TechDrawGui::QGISVGTemplate::createClickHandles(), Gui::ViewProviderOrigin::defaultSize(), TechDrawGui::PreferencesGui::dimArrowSize(), TechDraw::Preferences::dimFontSizeMM(), PartGui::DlgSettings3DViewPart::DlgSettings3DViewPart(), DraftUtils::DraftDxfRead::DraftDxfRead(), TechDraw::DrawPage::DrawPage(), TechDrawGui::QGIViewPart::drawViewPart(), TechDrawGui::PreferencesGui::edgeFuzz(), TechDrawGui::TaskCenterLine::getExtendBy(), TechDrawGui::QGICMark::getMarkFuzz(), TechDrawGui::Rez::getParameter(), TechDrawGui::ViewProviderViewSection::getParameters(), TechDrawGui::QGITile::getSymbolFactor(), TechDrawGui::QGITile::getSymbolHeight(), TechDrawGui::QGITile::getSymbolWidth(), TechDrawGui::QGIDatumLabel::getTolAdjust(), TechDrawGui::QGTracker::getTrackerWeight(), TechDrawGui::PreferencesGui::gridSpacing(), TechDrawGui::QGVPage::Private::init(), Gui::NavigationStyle::initialize(), TechDrawGui::QGVNavStyle::initialize(), Inspection::InspectActualShape::InspectActualShape(), TechDraw::Preferences::ISOGap(), TechDraw::Preferences::labelFontSizeMM(), PartGui::ViewProviderPartExt::loadParameter(), Gui::Dialog::DlgSettingsNavigation::loadSettings(), Gui::AbstractSplitView::OnChange(), Gui::View3DInventor::OnChange(), Gui::GraphicsView3D::OnChange(), TechDrawGui::QGVPage::Private::OnChange(), Gui::TaskCSysDragger::open(), TechDraw::DrawViewBalloon::prefKinkLength(), TechDraw::DrawView::prefScale(), TechDrawGui::ViewProviderWeld::prefTileTextAdjust(), Gui::PrefDoubleSpinBox::restorePreferences(), Gui::PrefUnitSpinBox::restorePreferences(), Import::ImpExpDxfRead::setOptions(), Import::ImpExpDxfWrite::setOptions(), InspectionGui::ViewProviderInspection::updateData(), TechDraw::Preferences::vertexScale(), Gui::View3DInventorPy::viewDefaultOrientation(), MeshGui::ViewProviderMesh::ViewProviderMesh(), PartGui::ViewProviderPartExt::ViewProviderPartExt(), TechDrawGui::ViewProviderViewPart::ViewProviderViewPart(), and Path::PathSegmentWalker::walk().

◆ GetFloatMap()

std::vector< std::pair< std::string, double > > ParameterGrp::GetFloatMap ( const char *  sFilter = nullptr) const

get a map with all float values and the keys of this group

References StrX::c_str(), FindElement(), and FindNextElement().

Referenced by insertTo(), NotifyAll(), and Gui::Dialog::DlgParameterImp::onGroupSelected().

◆ GetFloats()

std::vector< double > ParameterGrp::GetFloats ( const char *  sFilter = nullptr) const

get a vector of all float values in this group

References StrX::c_str(), FindElement(), and FindNextElement().

◆ GetGroup()

Base::Reference< ParameterGrp > ParameterGrp::GetGroup ( const char *  Name)

get a handle to a sub group or create one

Referenced by Gui::Dialog::DlgRevertToBackupConfigImp::accept(), StdCmdImport::activated(), StdCmdExport::activated(), StdViewScreenShot::activated(), CmdViewMeasureToggleAll::activated(), Gui::StdCmdDownloadOnlineHelp::activated(), PartGui::addLinearDimensions(), TechDraw::DrawPage::AllowPageOverride(), TechDraw::Preferences::altDecimals(), Gui::Application::Application(), PartGui::DlgExtrusion::apply(), Gui::SoFCSelection::applySettings(), Gui::SoFCUnifiedSelection::applySettings(), TechDraw::Preferences::ASMEGap(), Gui::ViewProviderAnnotation::attach(), MeshGui::ViewProviderIndexedFaceSet::attach(), MeshGui::ViewProviderMeshObject::attach(), MeshGui::ViewProviderMeshFaceSet::attach(), MeshGui::ViewProviderMeshNode::attach(), TechDraw::Preferences::balloonArrow(), TechDraw::Preferences::bitmapFill(), Part::Boolean::Boolean(), PartDesign::Boolean::Boolean(), TechDrawGui::PreferencesGui::centerColor(), Gui::Dialog::DlgParameterImp::closeEvent(), Gui::MainWindow::confirmSave(), TechDrawGui::QGISVGTemplate::createClickHandles(), Gui::ViewProviderBuilder::createSelection(), TechDraw::DrawViewDetail::debugDetail(), TechDraw::DrawViewSection::debugSection(), TechDraw::Preferences::defaultTemplate(), TechDraw::Preferences::defaultTemplateDir(), TechDrawGui::PreferencesGui::dimArrowSize(), TechDrawGui::PreferencesGui::dimArrowStyle(), TechDrawGui::PreferencesGui::dimColor(), TechDraw::Preferences::dimFontSizeMM(), Gui::DialogOptions::dontUseNativeColorDialog(), Gui::DialogOptions::dontUseNativeFileDialog(), TechDraw::DrawPage::DrawPage(), TechDraw::DrawProjGroup::DrawProjGroup(), TechDrawGui::QGIViewPart::drawViewPart(), TechDrawGui::PreferencesGui::edgeFuzz(), PartGui::ensure3dDimensionVisible(), PartGui::ensureSomeDimensionVisible(), Gui::MainWindow::event(), Part::Boolean::execute(), Part::MultiCommon::execute(), Part::MultiFuse::execute(), exportTo(), PartDesign::FeatureAddSub::FeatureAddSub(), MeshGui::ViewProviderMesh::fillHole(), TechDraw::Preferences::formatSpec(), TechDrawGui::QGSPage::getBackgroundColor(), TechDrawGui::QGVPage::getBackgroundColor(), Gui::Dialog::ApplicationCacheSettings::getCacheSizeLimit(), TechDrawGui::QGICenterLine::getCenterStyle(), TechDrawGui::TaskCenterLine::getCenterStyle(), Gui::Dialog::ApplicationCacheSettings::getCheckPeriod(), TechDrawGui::QGICMark::getCMarkColor(), Gui::WindowParameter::getDefaultParameter(), TechDraw::DrawLeaderLine::getDefAuto(), TechDraw::LineFormat::getDefEdgeStyle(), TechDrawGui::TaskCenterLine::getExtendBy(), TechDrawGui::QGIEdge::getHiddenColor(), TechDrawGui::QGIEdge::getHiddenStyle(), TechDrawGui::QGICMark::getMarkFuzz(), TechDrawGui::Rez::getParameter(), TechDraw::DrawViewSection::getParameters(), TechDrawGui::QGIFace::getParameters(), TechDrawGui::ViewProviderViewSection::getParameters(), TechDrawGui::QGCustomText::getParmGroup(), TechDrawGui::QGIPrimPath::getParmGroup(), TechDrawGui::QGIView::getParmGroupCol(), TechDrawGui::QGIDatumLabel::getPrecision(), TechDraw::DrawViewDimension::getPrefix(), TechDrawGui::QGISectionLine::getPrefSectionStandard(), TechDrawGui::QGITile::getSymbolFactor(), TechDrawGui::QGITile::getSymbolHeight(), TechDrawGui::QGITile::getSymbolWidth(), TechDrawGui::QGITile::getTileColor(), TechDrawGui::QGIDatumLabel::getTolAdjust(), TechDrawGui::QGTracker::getTrackerColor(), TechDrawGui::QGTracker::getTrackerWeight(), TechDraw::DrawPage::GlobalUpdateDrawings(), PartGui::TaskCheckGeometryResults::goCheck(), PartGui::goDimensionAngularNoTask(), TechDrawGui::PreferencesGui::gridColor(), TechDrawGui::PreferencesGui::gridSpacing(), TechDraw::DrawViewPart::handleFaces(), importFrom(), TechDrawGui::QGVPage::Private::init(), TechDrawGui::QGVNavStyle::initialize(), insert(), Gui::Dialog::ButtonModel::insertButtonRows(), insertTo(), TechDraw::DrawUtil::isCrazy(), TechDraw::Preferences::ISOGap(), PartDesignGui::TaskFeaturePick::isSingleSelectionEnabled(), TechDraw::Preferences::keepPagesUpToDate(), TechDraw::Preferences::labelFont(), TechDraw::Preferences::labelFontSizeMM(), TechDrawGui::PreferencesGui::leaderColor(), TechDraw::Preferences::lineGroup(), Gui::MacroCommand::load(), Gui::Dialog::DlgSettingsEditorImp::loadSettings(), Gui::Dialog::DlgGeneralImp::loadSettings(), Gui::Dialog::DlgSettingsMacroImp::loadSettings(), Gui::Dialog::DlgSettingsNavigation::loadSettings(), MeshGui::DlgSettingsMeshView::loadSettings(), PartGui::DlgImportExportIges::loadSettings(), PartGui::DlgImportExportStep::loadSettings(), Gui::DockWindowManager::loadState(), Gui::MainWindow::MainWindow(), TechDraw::Preferences::mattingStyle(), Gui::DAG::Model::Model(), Part::MultiCommon::MultiCommon(), Part::MultiFuse::MultiFuse(), TechDraw::Preferences::normalColor(), Gui::Dialog::DlgCustomKeyboardImp::on_buttonReset_clicked(), Gui::Dialog::DlgCustomKeyboardImp::on_editShortcut_textChanged(), Gui::Dialog::DlgParameterImp::onChangeParameterSet(), Gui::Dialog::ParameterGroup::onCreateSubgroup(), TechDraw::Preferences::patFile(), Gui::Dialog::Placement::Placement(), TechDraw::ShapeExtractor::prefAdd2d(), TechDrawGui::QGIPrimPath::prefCapStyle(), TechDraw::DrawViewSection::prefCutSurface(), TechDrawGui::QGIViewPart::prefFaceEdges(), TechDraw::DrawGeomHatch::prefGeomHatchColor(), TechDraw::DrawGeomHatch::prefGeomHatchName(), TechDraw::DrawViewPart::prefHardHid(), TechDraw::DrawViewPart::prefHardViz(), TechDrawGui::ViewProviderViewPart::prefHighlightColor(), TechDrawGui::ViewProviderViewPart::prefHighlightStyle(), TechDraw::DrawViewPart::prefIsoCount(), TechDraw::DrawViewPart::prefIsoHid(), TechDraw::DrawViewPart::prefIsoViz(), TechDraw::DrawViewBalloon::prefKinkLength(), TechDrawGui::QGIViewBalloon::prefOrthoPyramid(), TechDrawGui::QGIViewPart::prefPrintCenters(), TechDraw::DrawView::prefScale(), TechDraw::DrawView::prefScaleType(), TechDraw::DrawViewPart::prefSeamHid(), TechDraw::DrawViewPart::prefSeamViz(), TechDraw::DrawViewBalloon::prefShape(), TechDraw::DrawViewPart::prefSmoothHid(), TechDraw::DrawViewPart::prefSmoothViz(), TechDrawGui::ViewProviderDimension::prefStandardAndStyle(), TechDraw::DrawHatch::prefSvgHatchColor(), TechDrawGui::ViewProviderWeld::prefTileTextAdjust(), TechDraw::Preferences::preselectColor(), TechDraw::Preferences::projectionAngle(), Gui::PythonConsole::PythonConsole(), Gui::DockWnd::ReportOutput::ReportOutput(), Gui::DockWnd::ReportView::ReportView(), TechDraw::CosmeticVertex::restoreCosmetic(), Gui::FileDialog::restoreLocation(), Gui::PrefQuantitySpinBox::restorePreferences(), Gui::MDIView::restorePrinterSettings(), Gui::ToolBarManager::restoreState(), Gui::MacroManager::run(), Gui::Application::runApplication(), Gui::MacroCommand::save(), Gui::FileDialog::saveLocation(), Gui::PrefQuantitySpinBox::savePreferences(), Gui::MDIView::savePrinterSettings(), Gui::Dialog::DlgSettingsEditorImp::saveSettings(), Gui::Dialog::DlgGeneralImp::saveSettings(), Gui::Dialog::DlgSettingsMacroImp::saveSettings(), Gui::Dialog::DlgSettingsNavigation::saveSettings(), PartGui::DlgImportExportIges::saveSettings(), PartGui::DlgImportExportStep::saveSettings(), Gui::DockWindowManager::saveState(), Gui::ToolBarManager::saveState(), TechDrawGui::PreferencesGui::sectionLineColor(), TechDrawGui::PreferencesGui::sectionLineStyle(), TechDraw::Preferences::selectColor(), Gui::Dialog::ApplicationCacheSettings::setCacheSizeLimit(), Gui::Dialog::ApplicationCacheSettings::setCheckPeriod(), Gui::WindowParameter::setGroupName(), Gui::Dialog::DlgCustomKeyboardImp::setShortcutOfCurrentAction(), Gui::DockWindowManager::setup(), Gui::ToolBarManager::setup(), Gui::StdWorkbench::setupDockWindows(), PartDesign::SubShapeBinder::setupObject(), App::PropertyString::setValue(), Gui::Dialog::DlgParameterImp::showEvent(), TechDrawGui::PreferencesGui::showGrid(), TechDraw::DrawViewSection::showSectionEdges(), TechDraw::DrawViewDimension::showUnits(), Gui::MainWindow::startSplasher(), TechDraw::Preferences::svgFile(), PartGui::TaskCheckGeometryDialog::TaskCheckGeometryDialog(), PartGui::toggle3d(), PartGui::toggleDelta(), PartDesign::Transformed::Transformed(), TechDraw::Preferences::vertexColor(), TechDraw::Preferences::vertexScale(), MeshGui::ViewProviderMesh::ViewProviderMesh(), MeshGui::ViewProviderMeshNode::ViewProviderMeshNode(), TechDrawGui::ViewProviderViewPart::ViewProviderViewPart(), TechDrawGui::PreferencesGui::weldingDirectory(), and Gui::WindowParameter::WindowParameter().

◆ GetGroupName()

const char * ParameterGrp::GetGroupName ( ) const

returns the name

◆ GetGroups()

◆ GetInt()

long ParameterGrp::GetInt ( const char *  Name,
long  lPreset = 0 
) const

read bool values or give default

References FindElement().

Referenced by StdViewScreenShot::activated(), TechDraw::Preferences::altDecimals(), MeshGui::ViewProviderIndexedFaceSet::attach(), MeshGui::ViewProviderMeshObject::attach(), MeshGui::ViewProviderMeshFaceSet::attach(), Gui::NS::AwaitingMoveState::AwaitingMoveState(), TechDraw::Preferences::balloonArrow(), PartGui::ViewProvider2DObjectGrid::createGrid(), TechDrawGui::PreferencesGui::dimArrowStyle(), Gui::Document::Document(), App::Document::Document(), MeshGui::ViewProviderMesh::fillHole(), TechDrawGui::QGICenterLine::getCenterStyle(), TechDrawGui::TaskCenterLine::getCenterStyle(), Gui::Dialog::ApplicationCacheSettings::getCheckPeriod(), TechDraw::LineFormat::getDefEdgeStyle(), TechDrawGui::QGIEdge::getHiddenStyle(), Gui::View3DInventorViewer::getNumSamples(), TechDrawGui::QGIFace::getParameters(), TechDrawGui::QGIDatumLabel::getPrecision(), TechDrawGui::QGISectionLine::getPrefSectionStandard(), Gui::NavigationStyle::initialize(), TechDrawGui::QGVNavStyle::initialize(), Gui::TextEditor::keyPressEvent(), TechDraw::Preferences::lineGroup(), SketcherGui::SketcherGeneralWidget::loadOrderingOrder(), Gui::Dialog::DlgSettingsEditorImp::loadSettings(), Gui::Dialog::DlgSettings3DViewImp::loadSettings(), Gui::Dialog::DlgSettingsNavigation::loadSettings(), Gui::Dialog::DlgSettingsUnitsImp::loadSettings(), FemGui::DlgSettingsFemCcxImp::loadSettings(), FemGui::DlgSettingsFemExportAbaqusImp::loadSettings(), FemGui::DlgSettingsFemInOutVtkImp::loadSettings(), FemGui::DlgSettingsFemZ88Imp::loadSettings(), PartGui::DlgImportExportIges::loadSettings(), PartGui::DlgImportExportStep::loadSettings(), SketcherGui::SketcherSettingsDisplay::loadSettings(), TechDraw::Preferences::mattingStyle(), Gui::TextEditor::OnChange(), Gui::DockWnd::ReportOutput::OnChange(), Gui::AbstractSplitView::OnChange(), Gui::View3DInventor::OnChange(), Gui::GraphicsView3D::OnChange(), Gui::Dialog::Placement::Placement(), TechDrawGui::QGIPrimPath::prefCapStyle(), TechDraw::DrawViewSection::prefCutSurface(), TechDrawGui::ViewProviderViewPart::prefHighlightStyle(), TechDraw::DrawView::prefScaleType(), TechDraw::DrawViewBalloon::prefShape(), TechDrawGui::ViewProviderDimension::prefStandardAndStyle(), TechDraw::Preferences::projectionAngle(), Gui::PropertyView::PropertyView(), Gui::DockWnd::ReportView::ReportView(), Gui::PrefSpinBox::restorePreferences(), Gui::PrefComboBox::restorePreferences(), Gui::PrefSlider::restorePreferences(), Gui::Application::runApplication(), Gui::Document::Save(), App::Document::saveToFile(), TechDrawGui::PreferencesGui::sectionLineStyle(), Gui::SelectionSingleton::selStackPush(), Import::ImpExpDxfWrite::setOptions(), PartDesignGui::ViewProviderDatumCoordinateSystem::ViewProviderDatumCoordinateSystem(), Gui::ViewProviderGeometryObject::ViewProviderGeometryObject(), MeshGui::ViewProviderMesh::ViewProviderMesh(), PathGui::ViewProviderPath::ViewProviderPath(), Gui::View3DInventor::windowStateChanged(), SandboxGui::Workbench::Workbench(), and Fem::FemMesh::write().

◆ GetIntMap()

std::vector< std::pair< std::string, long > > ParameterGrp::GetIntMap ( const char *  sFilter = nullptr) const

get a map with all int values and the keys of this group

References StrX::c_str(), FindElement(), and FindNextElement().

Referenced by insertTo(), NotifyAll(), and Gui::Dialog::DlgParameterImp::onGroupSelected().

◆ GetInts()

std::vector< long > ParameterGrp::GetInts ( const char *  sFilter = nullptr) const

get a vector of all int values in this group

References StrX::c_str(), FindElement(), and FindNextElement().

◆ GetUnsigned()

unsigned long ParameterGrp::GetUnsigned ( const char *  Name,
unsigned long  lPreset = 0 
) const

read uint values or give default

References FindElement().

Referenced by Gui::SoFCSelection::applySettings(), Gui::SoFCUnifiedSelection::applySettings(), Gui::ViewProviderAnnotation::attach(), TechDrawGui::PreferencesGui::centerColor(), Gui::DockWnd::ReportOutput::changeEvent(), Gui::PythonConsole::changeEvent(), Gui::ViewProviderBuilder::createSelection(), TechDrawGui::PreferencesGui::dimColor(), TechDrawGui::QGSPage::getBackgroundColor(), TechDrawGui::QGVPage::getBackgroundColor(), Gui::ViewProviderGeometryObject::getBoundColor(), PathGui::ViewProviderPath::getBoundColor(), Gui::Dialog::ApplicationCacheSettings::getCacheSizeLimit(), TechDrawGui::QGICMark::getCMarkColor(), SketcherGui::DrawSketchHandler::getCrosshairColor(), TechDrawGui::QGIEdge::getHiddenColor(), TechDrawGui::QGIFace::getParameters(), TechDrawGui::ViewProviderViewSection::getParameters(), TechDrawGui::QGITile::getTileColor(), TechDrawGui::QGTracker::getTrackerColor(), TechDrawGui::PreferencesGui::gridColor(), TechDrawGui::PreferencesGui::leaderColor(), Gui::Dialog::DlgSettingsEditorImp::loadSettings(), TechDraw::Preferences::normalColor(), Gui::TextEditor::OnChange(), Gui::StatusBarObserver::OnChange(), Gui::DockWnd::ReportOutput::OnChange(), Gui::AbstractSplitView::OnChange(), Gui::View3DInventor::OnChange(), Gui::GraphicsView3D::OnChange(), PathGui::ViewProviderPath::onChanged(), PartDesignGui::ViewProviderSubShapeBinder::onChanged(), TechDraw::DrawGeomHatch::prefGeomHatchColor(), TechDrawGui::ViewProviderViewPart::prefHighlightColor(), TechDraw::DrawHatch::prefSvgHatchColor(), TechDraw::Preferences::preselectColor(), Gui::PrefColorButton::restorePreferences(), TechDrawGui::PreferencesGui::sectionLineColor(), TechDraw::Preferences::selectColor(), Gui::DocumentObjectItem::setHighlight(), Gui::DocumentItem::slotInEdit(), TechDraw::Preferences::vertexColor(), Gui::ViewProviderAnnotation::ViewProviderAnnotation(), PartDesignGui::ViewProviderDatum::ViewProviderDatum(), Gui::ViewProviderGeometryObject::ViewProviderGeometryObject(), MeshGui::ViewProviderMesh::ViewProviderMesh(), MeshGui::ViewProviderMeshNode::ViewProviderMeshNode(), PathGui::ViewProviderPath::ViewProviderPath(), and PartDesignGui::ViewProviderShapeBinder::ViewProviderShapeBinder().

◆ GetUnsignedMap()

std::vector< std::pair< std::string, unsigned long > > ParameterGrp::GetUnsignedMap ( const char *  sFilter = nullptr) const

get a map with all uint values and the keys of this group

References StrX::c_str(), FindElement(), and FindNextElement().

Referenced by insertTo(), NotifyAll(), and Gui::Dialog::DlgParameterImp::onGroupSelected().

◆ GetUnsigneds()

std::vector< unsigned long > ParameterGrp::GetUnsigneds ( const char *  sFilter = nullptr) const

get a vector of all uint values in this group

References StrX::c_str(), FindElement(), and FindNextElement().

◆ HasGroup()

bool ParameterGrp::HasGroup ( const char *  Name) const

◆ importFrom()

void ParameterGrp::importFrom ( const char *  FileName)

import from a file to this group

References copyTo(), GetGroup(), and ParameterManager::LoadDocument().

Referenced by Gui::Dialog::ParameterGroup::onImportFromFile().

◆ insert()

void ParameterGrp::insert ( const char *  FileName)

insert from a file to this group, overwrite only the similar

References GetGroup(), insertTo(), and ParameterManager::LoadDocument().

◆ insertTo()

void ParameterGrp::insertTo ( Base::Reference< ParameterGrp Grp)

overwrite everything similar, leave the others alone

References GetASCIIMap(), GetBoolMap(), GetFloatMap(), GetGroup(), GetGroups(), GetIntMap(), GetUnsignedMap(), SetASCII(), SetBool(), SetFloat(), SetInt(), and SetUnsigned().

Referenced by copyTo(), exportTo(), and insert().

◆ IsEmpty()

bool ParameterGrp::IsEmpty ( ) const

test if this group is empty

◆ NotifyAll()

◆ RemoveASCII()

◆ RemoveBlob()

void ParameterGrp::RemoveBlob ( const char *  Name)

remove a blob value from this group

◆ RemoveBool()

void ParameterGrp::RemoveBool ( const char *  Name)

remove a bool value from this group

References FindElement(), and Base::Subject< const char * >::Notify().

◆ RemoveFloat()

void ParameterGrp::RemoveFloat ( const char *  Name)

remove a float value from this group

References FindElement(), and Base::Subject< const char * >::Notify().

◆ RemoveGrp()

void ParameterGrp::RemoveGrp ( const char *  Name)

◆ RemoveInt()

void ParameterGrp::RemoveInt ( const char *  Name)

remove a int value from this group

References FindElement(), and Base::Subject< const char * >::Notify().

◆ RemoveUnsigned()

void ParameterGrp::RemoveUnsigned ( const char *  Name)

remove a uint value from this group

References FindElement(), and Base::Subject< const char * >::Notify().

◆ RenameGrp()

bool ParameterGrp::RenameGrp ( const char *  OldName,
const char *  NewName 
)

rename a sub group from this group

References FindElement().

◆ SetASCII()

void ParameterGrp::SetASCII ( const char *  Name,
const char *  sValue 
)

set a string value

References FindOrCreateElement(), and Base::Subject< const char * >::Notify().

Referenced by Gui::Dialog::DlgAddProperty::accept(), StdCmdImport::activated(), StdCmdExport::activated(), StdCmdOnlineHelpWebsite::activated(), StdCmdFreeCADDonation::activated(), StdCmdFreeCADWebsite::activated(), StdCmdFreeCADUserHub::activated(), StdCmdFreeCADPowerUserHub::activated(), StdCmdFreeCADForum::activated(), StdCmdFreeCADFAQ::activated(), StdCmdReportBug::activated(), StdViewScreenShot::activated(), Gui::Dialog::DlgParameterImp::closeEvent(), Gui::CreateViewStdCommands(), Gui::View3DInventor::customEvent(), Gui::Dialog::ButtonModel::insertButtonRows(), insertTo(), Gui::Dialog::DlgMacroExecuteImp::on_fileChooser_fileNameChanged(), Gui::Dialog::DlgMacroRecordImp::on_pushButtonChooseDir_clicked(), Gui::MacroCommand::save(), Gui::PrefQuantitySpinBoxPrivate::saveHistory(), Gui::FileDialog::saveLocation(), Gui::PrefLineEdit::savePreferences(), Gui::PrefTextEdit::savePreferences(), Gui::PrefFileChooser::savePreferences(), Gui::PrefQuantitySpinBox::savePreferences(), Gui::PrefFontBox::savePreferences(), Gui::Dialog::DlgSettingsEditorImp::saveSettings(), Gui::Dialog::DlgGeneralImp::saveSettings(), Gui::Dialog::DlgSettingsMacroImp::saveSettings(), Gui::Dialog::DlgSettingsNavigation::saveSettings(), MeshGui::DlgSettingsImportExport::saveSettings(), PartGui::DlgImportExportIges::saveSettings(), PartGui::DlgImportExportStep::saveSettings(), SpreadsheetGui::DlgSettingsImp::saveSettings(), Gui::Dialog::DlgCustomKeyboardImp::setShortcutOfCurrentAction(), and Gui::MainWindow::showDocumentation().

◆ SetBlob()

void ParameterGrp::SetBlob ( const char *  Name,
void *  pValue,
long  lLength 
)

set a blob value

◆ SetBool()

void ParameterGrp::SetBool ( const char *  Name,
bool  bValue 
)

set a bool value

References FindOrCreateElement(), and Base::Subject< const char * >::Notify().

Referenced by Gui::Dialog::DlgCheckableMessageBox::accept(), Gui::MainWindow::confirmSave(), Gui::PythonConsole::contextMenuEvent(), MeshGui::ViewProviderMesh::faceInfoCallback(), insertTo(), Gui::Dialog::DlgCustomizeSpNavSettings::on_ButtonCalibrate_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBDominant_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBEnablePanLR_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBEnablePanUD_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBEnableRoll_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBEnableSpin_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBEnableTilt_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBEnableZoom_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBFlipYZ_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBReversePanLR_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBReversePanUD_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBReverseRoll_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBReverseSpin_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBReverseTilt_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBReverseZoom_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBRotations_clicked(), Gui::Dialog::DlgCustomizeSpNavSettings::on_CBTranslations_clicked(), Gui::Dialog::DlgMacroExecuteImp::on_createButton_clicked(), Gui::Dialog::DlgMacroExecuteImp::on_duplicateButton_clicked(), Gui::Dialog::DlgMacroExecuteImp::on_renameButton_clicked(), Gui::Dialog::DlgMacroExecuteImp::on_toolbarButton_clicked(), SketcherGui::TaskSketcherConstraints::on_visibilityButton_trackingaction_changed(), Gui::DockWnd::ReportOutput::onToggleError(), Gui::DockWnd::ReportOutput::onToggleGoToEnd(), Gui::DockWnd::ReportOutput::onToggleLogMessage(), Gui::DockWnd::ReportOutput::onToggleNormalMessage(), Gui::DockWnd::ReportOutput::onToggleRedirectPythonStderr(), Gui::DockWnd::ReportOutput::onToggleRedirectPythonStdout(), Gui::DockWnd::ReportOutput::onToggleWarning(), Gui::Dialog::DlgCheckableMessageBox::reject(), SketcherGui::TaskDlgEditSketch::reject(), Gui::MacroCommand::save(), Gui::AutoSaver::saveDocument(), Gui::PrefCheckBox::savePreferences(), Gui::PrefRadioButton::savePreferences(), Gui::Dialog::DlgGeneralImp::saveSettings(), Gui::Dialog::DlgSettingsNavigation::saveSettings(), PartGui::DlgImportExportIges::saveSettings(), Gui::DockWindowManager::saveState(), Gui::ToolBarManager::saveState(), FemGui::FemSettings::setPostAutoRecompute(), Gui::DockWindowManager::setup(), Gui::ToolBarManager::setup(), MeshGui::DlgEvaluateMeshImp::~DlgEvaluateMeshImp(), and SketcherGui::TaskSketcherElements::~TaskSketcherElements().

◆ SetFloat()

◆ SetInt()

void ParameterGrp::SetInt ( const char *  Name,
long  lValue 
)

set a int value

References FindOrCreateElement(), and Base::Subject< const char * >::Notify().

Referenced by StdViewScreenShot::activated(), insertTo(), Gui::Dialog::DlgCustomizeSpNavSettings::on_SliderGlobal_sliderReleased(), Gui::Dialog::DlgCustomizeSpNavSettings::on_SliderPanLR_sliderReleased(), Gui::Dialog::DlgCustomizeSpNavSettings::on_SliderPanUD_sliderReleased(), Gui::Dialog::DlgCustomizeSpNavSettings::on_SliderRoll_sliderReleased(), Gui::Dialog::DlgCustomizeSpNavSettings::on_SliderSpin_sliderReleased(), Gui::Dialog::DlgCustomizeSpNavSettings::on_SliderTilt_sliderReleased(), Gui::Dialog::DlgCustomizeSpNavSettings::on_SliderZoom_sliderReleased(), SketcherGui::SketcherGeneralWidget::saveOrderingOrder(), Gui::PrefSpinBox::savePreferences(), Gui::PrefComboBox::savePreferences(), Gui::PrefSlider::savePreferences(), Gui::MDIView::savePrinterSettings(), Gui::Dialog::DlgSettingsEditorImp::saveSettings(), Gui::Dialog::DlgGeneralImp::saveSettings(), Gui::Dialog::DlgSettings3DViewImp::saveSettings(), Gui::Dialog::DlgSettingsNavigation::saveSettings(), Gui::Dialog::DlgSettingsUnitsImp::saveSettings(), FemGui::DlgSettingsFemCcxImp::saveSettings(), FemGui::DlgSettingsFemExportAbaqusImp::saveSettings(), FemGui::DlgSettingsFemInOutVtkImp::saveSettings(), FemGui::DlgSettingsFemZ88Imp::saveSettings(), PartGui::DlgImportExportIges::saveSettings(), PartGui::DlgImportExportStep::saveSettings(), SketcherGui::SketcherSettingsDisplay::saveSettings(), Gui::Dialog::ApplicationCacheSettings::setCheckPeriod(), Gui::Dialog::DlgPreferencePackManagementImp::showAddonManager(), and Gui::PropertyView::tabChanged().

◆ SetUnsigned()

◆ ShouldRemove()

bool ParameterGrp::ShouldRemove ( ) const
protected

Friends And Related Function Documentation

◆ ParameterManager

friend class ParameterManager
friend

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