asdm::Flux Class Reference

#include <Flux.h>

List of all members.


Detailed Description

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.


Public Member Functions

void toBin (EndianOSStream &eoss)
 Flux (const Flux &)
 Flux (const string &s)
 Flux (const IDLFlux &)
 Flux (double value)
Fluxoperator= (const Flux &)
Fluxoperator= (const double)
Fluxoperator+= (const Flux &)
Fluxoperator-= (const Flux &)
Fluxoperator *= (const double)
Fluxoperator/= (const double)
Flux operator+ (const Flux &) const
Flux operator- (const Flux &) const
Flux operator * (const double) const
Flux operator/ (const double) const
bool operator< (const Flux &) const
bool operator> (const Flux &) const
bool operator<= (const Flux &) const
bool operator>= (const Flux &) const
bool operator== (const Flux &) const
bool equals (const Flux &) const
bool operator!= (const Flux &) const
bool isZero () const
Flux operator- () const
Flux operator+ () const
string toString () const
string toStringI () const
 operator string () const
double get () const
IDLFlux toIDLFlux () const

Static Public Member Functions

double fromString (const string &)
string toString (double)
void toBin (const vector< Flux > &flux, EndianOSStream &eoss)
void toBin (const vector< vector< Flux > > &flux, EndianOSStream &eoss)
void toBin (const vector< vector< vector< Flux > > > &flux, EndianOSStream &eoss)
Flux fromBin (EndianISStream &eiss)
vector< Fluxfrom1DBin (EndianISStream &eiss)
vector< vector< Flux > > from2DBin (EndianISStream &eiss)
vector< vector< vector< Flux > > > from3DBin (EndianISStream &eiss)
Flux getFlux (StringTokenizer &t) throw (NumberFormatException)
string unit ()

Friends

Flux operator * (double, const Flux &)
ostream & operator<< (ostream &, const Flux &)
istream & operator>> (istream &, Flux &)


Member Function Documentation

vector<Flux> asdm::Flux::from1DBin EndianISStream &  eiss  )  [static]
 

Read the binary representation of a vector of Flux from an EndianISStream and use the read value to set a vector of Flux.

Parameters:
dis the EndianISStream to be read
Returns:
a vector of Flux

vector<vector<Flux> > asdm::Flux::from2DBin EndianISStream &  eiss  )  [static]
 

Read the binary representation of a vector of vector of Flux from an EndianISStream and use the read value to set a vector of vector of Flux.

Parameters:
eiis the EndianISStream to be read
Returns:
a vector of vector of Flux

vector<vector<vector<Flux> > > asdm::Flux::from3DBin EndianISStream &  eiss  )  [static]
 

Read the binary representation of a vector of vector of vector of Flux from an EndianISStream and use the read value to set a vector of vector of vector of Flux.

Parameters:
eiss the EndianISStream to be read
Returns:
a vector of vector of vector of Flux

Flux asdm::Flux::fromBin EndianISStream &  eiss  )  [static]
 

Read the binary representation of an Flux from a EndianISStream and use the read value to set an Flux.

Parameters:
eiss the EndianStream to be read
Returns:
an Flux

void asdm::Flux::toBin const vector< vector< vector< Flux > > > &  flux,
EndianOSStream &  eoss
[static]
 

Write the binary representation of a vector of vector of vector of Flux to a EndianOSStream.

Parameters:
flux the vector of vector of vector of Flux to be written
eoss the EndianOSStream to be written to

void asdm::Flux::toBin const vector< vector< Flux > > &  flux,
EndianOSStream &  eoss
[static]
 

Write the binary representation of a vector of vector of Flux to a EndianOSStream.

Parameters:
flux the vector of vector of Flux to be written
eoss the EndianOSStream to be written to

void asdm::Flux::toBin const vector< Flux > &  flux,
EndianOSStream &  eoss
[static]
 

Write the binary representation of a vector of Flux to a EndianOSStream.

Parameters:
flux the vector of Flux to be written
eoss the EndianOSStream to be written to

void asdm::Flux::toBin EndianOSStream &  eoss  ) 
 

Write the binary representation of this to a EndianOSStream.


The documentation for this class was generated from the following file:
Generated on Tue Nov 18 17:43:45 2008 for ASDM C++ Implementation by doxygen 1.3.8