Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #1351: partition is not done
[modules/shaper.git]
/
src
/
Config
/
Config_PropManager.h
diff --git
a/src/Config/Config_PropManager.h
b/src/Config/Config_PropManager.h
index a875fbf6ffa4a858e07c450ea6e1e8b75d9cbc4a..9b2ced3eafdf41b28ec17b152c9c459eb04d39f8 100644
(file)
--- a/
src/Config/Config_PropManager.h
+++ b/
src/Config/Config_PropManager.h
@@
-14,7
+14,11
@@
#include <string>
#include <vector>
#include <string>
#include <vector>
-//! Class which let to register properties
+/**
+ * \class Config_PropManager
+ * \ingroup Config
+ * \brief Class which let to register properties
+ */
class Config_PropManager
{
public:
class Config_PropManager
{
public:
@@
-23,6
+27,7
@@
class Config_PropManager
* Registers property parameters
* \param theSection - name of section (domain of using) of the property.
* \param theName - name (title) of the value.
* Registers property parameters
* \param theSection - name of section (domain of using) of the property.
* \param theName - name (title) of the value.
+ * \param theTitle - title of the value.
* \param theType - type of the value.
* \param theDefValue - default and initial value of the property
* Returns True if the property succesfully registered
* \param theType - type of the value.
* \param theDefValue - default and initial value of the property
* Returns True if the property succesfully registered
@@
-55,6
+60,10
@@
class Config_PropManager
CONFIG_EXPORT static double real(const std::string& theSection,
const std::string& theName,
const std::string& theDefault);
CONFIG_EXPORT static double real(const std::string& theSection,
const std::string& theName,
const std::string& theDefault);
+ //! Returns boolean by given section and name
+ CONFIG_EXPORT static bool boolean(const std::string& theSection,
+ const std::string& theName,
+ const std::string& theDefault);
private:
CONFIG_EXPORT static Config_Properties myProps; ///< List of all stored properties
private:
CONFIG_EXPORT static Config_Properties myProps; ///< List of all stored properties