TuttleOFX  1
TuttleOFX/libraries/tuttle/tests/internalGraph/dummy/DummyAttribute.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_DUMMYATTRIBUTE_HPP_
00002 #define _TUTTLE_DUMMYATTRIBUTE_HPP_
00003 
00004 #include <string>
00005 
00006 class DummyAttribute
00007 {
00008 public:
00009         DummyAttribute() {}
00010 
00011         DummyAttribute( const std::string& name )
00012                 : _name( name ) {}
00013 
00014         DummyAttribute( const DummyAttribute& e )
00015                 : _name( e.name() ) {}
00016 
00017         virtual ~DummyAttribute()
00018         {}
00019 
00020         const std::string& name() const                   { return _name; }
00021         void               setName( const std::string s ) { _name = s; }
00022 
00023         friend std::ostream& operator<<( std::ostream& os, const DummyAttribute& v );
00024 
00025 private:
00026         std::string _name;
00027 };
00028 
00029 #endif
00030