CSetup.C
//-----------------------------------------------------------------------------
// $Header: /asis/offline/ceres/cool/project/RCS/CSetup.C,v 3.0 1996/10/02 09:40:17 voigt Exp $
//
// COOL Program Library
// Copyright (C) CERES collaboration, 1996
//
// Implementation of class CSetup.
//
//-----------------------------------------------------------------------------
#include "CSetup.h"
#include <iomanip.h>
#include "cool.h"
CSetup::CSetup()
{
versionId = 0;
}
void CSetup::_read(const char* filename)
{
versionId = CGetDefaultValue(filename, "versionId", versionId);
}
void CSetup::_list(ostream& ost)
{
ost.setf(ios::left);
ost << setw(ListingNameWidth) << "versionId:" << dec << versionId << endl;
ost.unsetf(ios::left);
}