All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CommandProperty.cpp
Go to the documentation of this file.
1 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/src/Lib/CommandProperty.cpp,v 1.2 2001/02/23 16:12:58 dquarrie Exp $
2 
4 
6 : StringProperty( ) {
7 }
8 
9 CommandProperty::CommandProperty( const std::string& name )
10 : StringProperty( name ) {
11 }
12 
13 CommandProperty::CommandProperty( const std::string& name,
14  const std::string& value )
15 : StringProperty( name, value ) {
16 }
17 
19 }
20 
21 bool CommandProperty::set( const std::string& value )
22 {
23  bool result = StringProperty::set( value );
24  handler( value );
25  return result;
26 }
virtual bool set(const std::string &value)
Set value method.
CommandProperty()
Constructors and destructors.
virtual ~CommandProperty()
bool set(const std::string &value)
update the value of the property/check the verifier
virtual void handler(const std::string &value)=0
User call back function.