Back to index

See source file

CSetup.h

 
//----------------------------------------------------------------------------- 
//  $Header: /asis/offline/ceres/cool/project/RCS/CSetup.h,v 3.0 1996/10/02 09:40:16 voigt Exp $ 
// 
//  COOL Program Library 
//  Copyright (C) CERES collaboration, 1996 
// 
//  Declarations for CSetup class. 
// 
//----------------------------------------------------------------------------- 
#ifndef CSETUP_H 
#define CSETUP_H 
#include <iostream.h> 
 
const int ListingNameWidth = 30;	// for aligned list() output 
 
class CSetup { 
public: 
   CSetup(); 
    
   void _read(const char*); 
   void _list(ostream& = cout); 
   virtual void read(const char* file)    { _read(file); } 
   virtual void list(ostream& ost = cout) { _list(ost); } 
 
   int getVersionId(void) const {return versionId;} 
    
protected: 
   int versionId; 
}; 
 
#endif /* CSETUP_H */ 

Back to index

See source file