| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PropertyList.h
Go to the documentation of this file.
1 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/PropertyList.h,v 1.2 2000/12/13 12:57:20 mato Exp $
2 #ifndef GAUDIKERNEL_PROPERTYLIST_H
3 #define GAUDIKERNEL_PROPERTYLIST_H
4
5 // Include Files
6 #include "Property.h"
7 #include "GaudiKernel/IProperty.h"
8 #include <vector>
9
17 class GAUDI_API PropertyList : public Property {
18 public:
20 PropertyList();
22 PropertyList( const std::string& name );
24 virtual ~PropertyList();
25
27 bool isRef() const { return false; }
28
30 void addProperty( const std::string& name, Property& p );
32 void addProperty( Property& p );
34 void removeProperty( const std::string& name );
36 void removeProperty( Property& p );
37
39 bool assign( const Property& p );
41 bool load( Property& p) const;
42
44 bool assign( const std::string& name, const Property& p );
46 bool load( const std::string& name, Property& p) const;
47
49 const Property& getProperty( const std::string& name) const;
51 const std::vector<Property*>& getProperties() const;
52 private:
53 std::vector<Property*> m_propertyList;
54 };
55
56 #endif // GAUDIKERNEL_PROPERTYLIST_H
57