Bdb packages | Design docs | Source docs | Guidelines | Recent releases

Search | Site Map .

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/BdbClusteringServer/BdbOneContInfoT.cc

Go to the documentation of this file.
00001 //------------------------------------------------------------------------------
00002 // File and Version Information:
00003 //      $Id: BdbOneContInfoT.cc,v 1.1 2000/10/31 22:58:12 becla Exp $
00004 //
00005 // Description:
00006 //      Transient class
00007 //      Each instance of the class represents current status of one container:
00008 //        - part of its oid (page-slot)
00009 //        - is it full/empty
00010 //        - it might contain info about number of pages in container
00011 //
00012 // Environment:
00013 //      Software developed for the BaBar Detector at the SLAC B-Factory
00014 //
00015 // Author List:
00016 //      Jacek Becla                Original Author
00017 //
00018 // Copyright Information:
00019 //      Copyright (C) 2000      Stanford Linear Accelerator Center
00020 //
00021 //------------------------------------------------------------------------------
00022 
00023 
00024 
00025 #include "BdbClusteringServer/BdbOneContInfoT.hh"
00026 
00027 #include <iostream.h>
00028 
00029     
00030 BdbOneContInfoT::BdbOneContInfoT()
00031     : _numPages(0)
00032 {}
00033 
00034 
00035 BdbOneContInfoT::BdbOneContInfoT(d_ULong pg, d_ULong sl)
00036     : BdbOneContInfoP(pg, sl),
00037       _numPages(0)
00038 {}
00039 
00040 
00041 
00042 BdbOneContInfoT::BdbOneContInfoT(const BdbOneContInfoP& obj)
00043     : BdbOneContInfoP(obj),
00044       _numPages(0)
00045 {}
00046 
00047 
00048 
00049 BdbOneContInfoT::~BdbOneContInfoT()
00050 {}
00051 
00052 void 
00053 BdbOneContInfoT::setNumPages(d_ULong numPages)
00054 {
00055     _numPages = numPages;
00056 }
00057 
00058 
00059 void 
00060 BdbOneContInfoT::print(ostream& o) const
00061 {
00062     BdbOneContInfoP::print(o);
00063     o << ", nPg=" << _numPages;
00064 };

 


BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us

Page Owner: Jacek Becla
Last Update: October 04, 2002