#ifndef TRANSLATE_FILTER_TEMPERATURES_2007_03_21 #define TRANSLATE_FILTER_TEMPERATURES_2007_03_21 /** @file TranslateFilterTemp.h @author Brian Magill @date 3/21/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 Translates a list of temperatures to the corresponding filter temperature values. */ #include #include #include "Event.h" class TranslateFilterTemp { private: EventVarVect *tempVect; std::vector transIndex; public: TranslateFilterTemp():tempVect(0), transIndex(0) {}; TranslateFilterTemp(EventVarVect &in, std::vector const & tr):tempVect(&in), transIndex(tr) {}; ~TranslateFilterTemp() {}; TranslateFilterTemp(TranslateFilterTemp const &rhs):tempVect(rhs.tempVect), transIndex(rhs.transIndex) {}; TranslateFilterTemp & operator=(TranslateFilterTemp const &rhs) { if (&rhs == this) return *this; tempVect = rhs.tempVect; transIndex = rhs.transIndex; return *this; } unsigned long size() const {return transIndex.size(); }; EventVar operator()(std::string const &name) const; }; #endif