// // File: L1CPSStereoData.cpp // Purpose: C++ source file for IOgen generated class // Created: IOgen Script 2.1 11-May-2000 // IMPORTANT: *DO NOT EDIT* This is automatically generated code // and modifications will be overwritten and lost! // // General include files // Include Data class header #include "l2io/online/L1CPSStereoData.hpp" namespace l2io_online { // Assignment operator L1CPSStereoData &L1CPSStereoData::operator=(const L1CPSStereoData &data) { setVersion(data.version()); setSpare1(data.spare1()); setErrorCode(data.errorCode()); setNorthSouth(data.northSouth()); setStripOrientation(data.stripOrientation()); setClusterWidth(data.clusterWidth()); setLowPSthresh(data.lowPSthresh()); setHighPSthresh(data.highPSthresh()); setClusterSector(data.clusterSector()); setClusterAddress(data.clusterAddress()); return *this; } // Function which prints L1CPSStereoData to a stream void L1CPSStereoData::print(std::ostream &ostr, char *name,bool base) const { if(base) { ostr << "|---------------------------------------------------------------------------|" << std::endl; ostr << "| From base class : " << std::setw(20) << "L1CPSStereo" << std::setw(1) << " Version : " << std::setw(3) << (int32)L1CPSStereoData::version() << std::setw(1) << " |" << std::endl; } else { ostr << "=============================================================================" << std::endl; ostr << "| I/Ogen class : " << std::setw(20) << name << std::setw(1); ostr << " Type : " << std::setw(24) << "L1CPSStereoData"; ostr << std::setw(1) << " V:" << std::setw(3); ostr << (int32)version() << std::setw(1) << " |" << std::endl; ostr << "=============================================================================" << std::endl; } ostr << "| " << " spare1 =" << std::setw(11) << spare1() << std::setw(1)<< " " << " errorCode =" << std::setw(11) << errorCode() << std::setw(1)<< " |" << std::endl; ostr << "| " << " northSouth =" << std::setw(11) << northSouth() << std::setw(1)<< " " << " stripOrientation =" << std::setw(11) << stripOrientation() << std::setw(1)<< " |" << std::endl; ostr << "| " << " clusterWidth =" << std::setw(11) << clusterWidth() << std::setw(1)<< " " << " lowPSthresh =" << std::setw(11) << lowPSthresh() << std::setw(1)<< " |" << std::endl; ostr << "| " << " highPSthresh =" << std::setw(11) << highPSthresh() << std::setw(1)<< " " << " clusterSector =" << std::setw(11) << clusterSector() << std::setw(1)<< " |" << std::endl; ostr << "| " << " clusterAddress =" << std::setw(11) << clusterAddress() << std::setw(1)<< " " << " |" << std::endl; if(!base) { ostr << "=============================================================================" << std::endl; } } } // end namespace l2io_online