Gaudi Framework, version v20r2

Generated: 18 Jul 2008

AIDATuple.h

Go to the documentation of this file.
00001 #ifndef AIDATUPLESVC_AIDATUPLE_H 
00002 #define AIDATUPLESVC_AIDATUPLE_H 1
00003 
00004 // Include files
00005 #include <string>
00006 #include "GaudiKernel/xtoa.h"
00007 #include "GaudiKernel/Kernel.h"
00008 #include "GaudiKernel/StatusCode.h"
00009 #include "GaudiKernel/DataObject.h"
00010 
00011 #include "GaudiPI/AIDA_Proxy/Tuple.h"
00012 #include "GaudiPI/AIDA_Annotation/AIDA_Annotation.h"
00013 
00014 class AIDATuple : public pi_aida::Tuple, public DataObject 
00015 {
00016 public: 
00017   // Standard constructors
00018   AIDATuple() {}
00019   
00020 
00021   AIDATuple( pi_aida::Proxy_Store* store,
00022              const std::string& storeObj,
00023              const std::string& title,
00024              const std::string& description);
00025 
00026   // Copy constructor
00027   AIDATuple( const AIDATuple& tuple );
00028   
00029   // Copy constructor from AIDA interface
00030   AIDATuple( const AIDA::ITuple& tuple );
00031   
00032   // Copy constructor from representation
00033   //AIDATuple( const REP& rep );
00034 
00035   // Destructor
00036   ~AIDATuple();
00037 
00038   // Methods from AIDA:  
00039 
00040   // Get the Tuple's title
00041   virtual std::string title() const {
00042     return annotation().value( "title" );
00043   }
00044   
00045   
00046   // Set the Tuple's title
00047   virtual bool setTitle( const std::string & title ) {
00048     if ( !annotation().addItem( "title", title ) )
00049       annotation().setValue( "title", title );
00050     return true;
00051   }
00052     
00053   // Retrieve pointer to class definition structure
00054   virtual const CLID& clID() const { return AIDATuple::classID(); }
00055   static const CLID& classID()     { return CLID_AIDATuple; }
00056 
00057 };
00058 #endif // AIDATUPLESVC_AIDATUPLE_H

Generated at Fri Jul 18 11:59:23 2008 for Gaudi Framework, version v20r2 by Doxygen version 1.5.1 written by Dimitri van Heesch, © 1997-2004