#ifndef OUTPUT_QUALITY_2007_07_11 #define OUTPUT_QUALITY_2007_07_11 /** @file OutputQuality.h @author Brian Magill @date 7/11/2007 $Date:$ $Revision:$ @copyright (©) Copyright 2006 by GATS Inc. 11864 Canon Blvd., Suite 101, Newport News, VA 23606 All Rights Reserved. No part of this software or publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise without the prior written permission of GATS Inc. @brief Class writes out quality information */ //---------------------------------------------------------------------- // #include #include #include "Event.h" #include "GATS_DB.h" #include "GATS_DB_Exception.h" #include "GATS_Utilities.hpp" class OutputQuality { private: Event *L1_Output; gatsDBpp::GATS_DB *dbConn; std::string metaSumTable; std::string metaQualityTable; std::string metaStructTable; public: OutputQuality():L1_Output(0), dbConn(0), metaSumTable(0), metaQualityTable(""), metaStructTable("") { }; OutputQuality(Event &out, gatsDBpp::GATS_DB &conn, std::string sum, std::string param, std::string st): L1_Output(&out), dbConn(&conn), metaSumTable(sum), metaQualityTable(param), metaStructTable(st) { }; OutputQuality(OutputQuality const&rhs):L1_Output(rhs.L1_Output), dbConn(rhs.dbConn), metaSumTable(rhs.metaSumTable), metaQualityTable(rhs.metaQualityTable), metaStructTable(rhs.metaStructTable) { }; OutputQuality& operator = (OutputQuality const& rhs ) { if (this == &rhs) return *this; L1_Output = rhs.L1_Output; dbConn = rhs.dbConn; metaSumTable = metaSumTable; metaQualityTable = rhs.metaQualityTable; metaStructTable = rhs.metaStructTable;; return *this; }; ~OutputQuality() { }; void operator() (std::string TableName) const; }; #endif