7 #ifndef __FWRUNTIME_CONFIGURATIONELEMENTCONTAINER_HPP__ 8 #define __FWRUNTIME_CONFIGURATIONELEMENTCONTAINER_HPP__ 10 #include "fwRuntime/config.hpp" 21 struct BundleDescriptorReader;
24 struct ConfigurationElement;
31 friend struct BundleDescriptorReader;
39 typedef std::vector< std::shared_ptr<ConfigurationElement> >
Container;
52 FWRUNTIME_API Iterator begin();
59 FWRUNTIME_API Iterator end();
66 FWRUNTIME_API
const Container& getElements()
const;
85 FWRUNTIME_API
bool hasConfigurationElement(
const std::string& name )
const;
100 FWRUNTIME_API
size_t size()
const;
109 FWRUNTIME_API
void addConfigurationElement( std::shared_ptr< ConfigurationElement > element );
113 Container m_elements;
119 #endif // __FWRUNTIME_CONFIGURATIONELEMENTCONTAINER_HPP__ FWRUNTIME_API std::shared_ptr< ConfigurationElement > findConfigurationElement(const std::string &identifier, const std::string &pointIdentifier)
Retrieve the configuation element with the given identifier for the given extension point...
std::vector< std::shared_ptr< ConfigurationElement > > Container
Defines the configuration element container type.
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...
Defines the generic configuration element container class.
Container::iterator Iterator
Defines the configuration element container type.