| # Gaudi Framework, version v21r10p1 |

Home |  | Generated: 29 Jul 2010

# IProperty.h

Go to the documentation of this file.

    00001 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/IProperty.h,v 1.6 2006/06/06 16:16:23 hmd Exp $
    00002 #ifndef GAUDIKERNEL_IPROPERTY_H
    00003 #define GAUDIKERNEL_IPROPERTY_H
    00004
    00005 // Include Files
    00006 #include "GaudiKernel/IInterface.h"
    00007 #include <iostream>
    00008 #include <string>
    00009 #include <vector>
    00010
    00020 class Property;
    00021
    00022 class GAUDI_API IProperty: virtual public IInterface  {
    00023 public:
    00025   DeclareInterfaceID(IProperty,2,0);
    00026
    00028   virtual StatusCode setProperty( const Property& p // Reference to the input property
    00029                                 ) = 0;
    00031   virtual StatusCode setProperty( const std::string& s ) = 0;
    00033   virtual StatusCode setProperty( const std::string& n, const std::string& v ) = 0;
    00035   virtual StatusCode getProperty( Property* p       // Pointer to property to be set
    00036                                 ) const = 0;
    00038   virtual const Property& getProperty( const std::string& name  // Property name
    00039                                 ) const = 0;
    00041   virtual StatusCode getProperty( const std::string& n, std::string& v ) const = 0;
    00043   virtual const std::vector<Property*>& getProperties( ) const = 0;
    00044 };
    00045 #endif  // GAUDIKERNEL_IPROPERTY_H
    00046
    00047