| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

# PoolDbNTupleDescriptor.h

Go to the documentation of this file.

    00001 // $Id: PoolDbNTupleDescriptor.h,v 1.1.1.1 2004/01/16 14:05:03 mato Exp $
    00002 //------------------------------------------------------------------------------
    00003 // Definition of class :  PoolDbNTupleDescriptor, PoolDbTokenWrap
    00004 //
    00005 //  Author     : M.Frank
    00006 //
    00007 //------------------------------------------------------------------------------
    00008 #ifndef POOLDB_POOLDBNTUPLEDESCRIPTOR_H
    00009 #define POOLDB_POOLDBNTUPLEDESCRIPTOR_H
    00010
    00011 // Framework include files
    00012 #include "POOLCore/Token.h"
    00013
    00021 struct PoolDbNTupleDescriptor {
    00023   std::string   description;
    00025   std::string   optional;
    00027   std::string   guid;
    00029   std::string   container;
    00031   unsigned long clid;
    00032
    00034   virtual ~PoolDbNTupleDescriptor() {}
    00035 };
    00036
    00037
    00045 struct PoolDbTokenWrap {
    00047   pool::Token token;
    00048
    00050   PoolDbTokenWrap() {}
    00051
    00053   PoolDbTokenWrap(const PoolDbTokenWrap& wrp)  {
    00054     wrp.token.setData(&token);
    00055   }
    00056
    00058   virtual ~PoolDbTokenWrap() {}
    00059
    00061   bool operator==(const PoolDbTokenWrap& c) const {
    00062     return token == c.token;
    00063   }
    00064
    00066   PoolDbTokenWrap& operator=(const PoolDbTokenWrap& wrp)  {
    00067     wrp.token.setData(&token);
    00068     return *this;
    00069   }
    00070 };
    00071 #endif // POOLDB_POOLDBNTUPLEDESCRIPTOR_H