fw4spl
EConfigurationElement.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #ifndef __FWRUNTIME_ECONFIGURATIONELEMENT_HPP__
8 #define __FWRUNTIME_ECONFIGURATIONELEMENT_HPP__
9 
10 #include "fwRuntime/ConfigurationElement.hpp"
11 #include "fwRuntime/config.hpp"
12 
13 namespace fwRuntime
14 {
15 
16 
23 class FWRUNTIME_CLASS_API EConfigurationElement : public ::fwRuntime::ConfigurationElement
24 {
25 public:
27  ((( const std::string& ))),
29  );
30 
35  FWRUNTIME_API EConfigurationElement(const std::string& name);
36 
40  FWRUNTIME_API virtual ~EConfigurationElement();
41 
47  FWRUNTIME_API EConfigurationElement::sptr addConfigurationElement( const std::string& name );
48 
53  FWRUNTIME_API void addConfigurationElement( EConfigurationElement::sptr element );
54 
55  FWRUNTIME_API void setAttributeValue(const std::string& name, const std::string& value) noexcept;
56 
57  FWRUNTIME_API void setValue(const std::string& value) noexcept;
58 };
59 
60 }
61 
62 #endif /*__FWRUNTIME_ECONFIGURATIONELEMENT_HPP__*/
Editable configuration element : allow the self configuration element building, which reading XML str...
Defines the configuration element class.
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.