Source
static void toBin(const std::vector<std::vector<std::vector<Flux> > >& angle, EndianOSStream& eoss);
//Flux.h generated on 'Thu Feb 04 10:20:05 CET 2010'. Edit at your own risk.
/*
* ALMA - Atacama Large Millimeter Array
* (c) European Southern Observatory, 2002
* (c) Associated Universities Inc., 2002
* Copyright by ESO (in the framework of the ALMA collaboration),
* Copyright by AUI (in the framework of the ALMA collaboration),
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY, without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
* File Flux.h
*/
namespace asdm {
class Flux;
Flux operator * ( double , const Flux & );
std::ostream & operator << ( std::ostream &, const Flux & );
std::istream & operator >> ( std::istream &, Flux &);
/**
* The Flux class implements a quantity of flux in janskys..
*
* @version 1.00 Jan. 7, 2005
* @author Allen Farris
*
* @version 1.1 Aug 8, 2006
* @author Michel Caillat
* added toBin/fromBin methods.
*/
class Flux {
/**
* Overloading of multiplication operator.
* @param d a value in double precision .
* @param x a const reference to a Flux .
* @return a Flux
*/
friend Flux operator * ( double d, const Flux & x );
/**
* Overloading of << to output the value an Flux on an ostream.
* @param os a reference to the ostream to be written on.