#ifndef AVERAGE_EXTENT_04_17_08 #define AVERAGE_EXTENT_04_17_08 /** @file AvgExtentForRefrac.h @author Brian Magill @datecreated 04/17/2008 $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: Finds average value for exoatmospheric solar extent */ //---------------------------------------------------------------------- // #include class AvgExtentForRefrac { private: long sampleSize; public: AvgExtentForRefrac():sampleSize(0) { } AvgExtentForRefrac(long size): sampleSize(size) { } AvgExtentForRefrac(AvgExtentForRefrac const &rhs): sampleSize(rhs.sampleSize) { } AvgExtentForRefrac& operator = (AvgExtentForRefrac const& rhs ) { if (this == &rhs) return *this; sampleSize = sampleSize; return *this; }; ~AvgExtentForRefrac() { }; double operator()(std::valarray const &in) const; }; #endif