//----------------------------------------------------------------------------- // // File and Version Information: // $Id: BdbConfigTestXTCTransient.cc,v 1.1 1999/11/29 23:31:24 giorgos Exp $ // // Description: // Class BdbConfigTestXTCTransient -- a sample transient object // based on odfTestXTC for Configuration database. // // Environment: // Software developed for the BaBar Detector at the SLAC B-Factory. // // Author List: // George Zioulas // // Copyright Information: // Copyright (C) 1999 SLAC // //----------------------------------------------------------------------------- //----------------- // BaBar Headers -- //----------------- #include "BaBar/BaBar.hh" //----------------------- // This Class's Header -- //----------------------- #include "BdbConfigTests/BdbConfigTestXTCTransient.hh" //------------- // C Headers -- //------------- //--------------- // C++ Headers -- //--------------- #include //------------------------------- // Collaborating Class Headers -- //------------------------------- //----------------------------------------------------------------------- // Local Macros, Typedefs, Structures, Unions and Forward Declarations -- //----------------------------------------------------------------------- // ----------------------------------------------- // -- Static Data & Function Member Definitions -- // ----------------------------------------------- // ---------------------------------------- // -- Public Function Member Definitions -- // ---------------------------------------- //---------------- // Constructors -- //---------------- BdbConfigTestXTCTransient::BdbConfigTestXTCTransient(d_ULong a, d_ULong b, d_ULong c) : _a(a), _b(b), _c(c) { } //-------------- // Destructor -- //-------------- BdbConfigTestXTCTransient::~BdbConfigTestXTCTransient( ) { } //------------- // Selectors -- //------------- // print method void BdbConfigTestXTCTransient::print(ostream& os, const char* margin) const { os << margin << "a : " << _a << endl; os << margin << "b : " << _b << endl; os << margin << "c : " << _c << endl; os << endl; } //------------- // Accessors -- //------------- d_ULong BdbConfigTestXTCTransient::a() const { return _a; } d_ULong BdbConfigTestXTCTransient::b() const { return _b; } d_ULong BdbConfigTestXTCTransient::c() const { return _c; }