Back to index

See source file

PdbBankID.hh

 
//----------------------------------------------------------------------------- 
//  $Header: /afs/rhic/phenix/PHENIX_CVS/offline/database/pdbcal/PdbBankID.hh,v 1.7 1999/11/17 15:25:29 messer Exp $ 
// 
//  The pdbcal package 
//  Copyright (C) PHENIX collaboration, 1999 
// 
//  Declaration of class PdbBankID 
// 
//  Purpose: id number for a bank, derived from a string 
// 
//  Description: The string should follow the ONCS naming convention 
// 
//  Author: Matthias Messer 
//----------------------------------------------------------------------------- 
#ifndef __PDBBANKID_HH__ 
#define __PDBBANKID_HH__ 
 
class PHString; 
 
class PdbBankID { 
public: 
   PdbBankID(); 
   PdbBankID(int); 
   PdbBankID(const PHString &); 
   PdbBankID(const PdbBankID &); 
   virtual ~PdbBankID(); 
 
   void print() const; 
   void set(const PHString &); 
 
   int  getInternalValue() const { return bankID; } 
   void setInternalValue(int val) { bankID = val; } 
    
   PdbBankID & operator = (const PdbBankID &); 
    
   friend int operator == (const PdbBankID &, const PdbBankID &); 
    
private: 
  int bankID; 
}; 
 
#endif /* __PDBBANKID_HH__ */ 

Back to index

See source file