Gaudi Framework, version v25r2

Home   Generated: Wed Jun 4 2014
 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"
8 #include <vector>
9 
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 

Generated at Wed Jun 4 2014 14:48:57 for Gaudi Framework, version v25r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004