|
cloudy trunk
|
#include <flux.h>

Public Member Functions | |
| Flux () | |
| Flux (Energy e, double flux) | |
| Flux (Energy e, double flux, const string &unit) | |
| void | set (Energy e, double flux) |
| void | set (Energy e, double flux, const string &unit) |
| double | get () const |
| double | get (const string &unit) const |
| Energy | E () const |
| string | uu () const |
Private Types | |
| enum | fu_flag { FU_NONE , FU_ERG_S , FU_W , FU_JY , FU_MJY , FU_MJY_SR , FU_CM2 , FU_M2 , FU_A , FU_NM , FU_MU , FU_HZ , FU_SR , FU_SQAS , FU_TOP } |
| typedef bitset< FU_TOP > | fu_bits |
Private Member Functions | |
| fu_bits | p_InternalFluxUnitNoCheck (const string &unit, size_t &len) const |
| fu_bits | p_InternalFluxUnit (const string &unit) const |
| bool | p_ValidFluxUnit (fu_bits) const |
| void | p_set (Energy e, double value, fu_bits bits) |
| double | p_get (fu_bits bits) const |
Private Attributes | |
| Energy | p_energy |
| double | p_flux |
| fu_bits | p_userunits |
Friends | |
| bool | ValidFluxUnit (const string &unit) |
|
private |
|
private |
|
inline |
Definition at line 28 of file flux.h.
References p_userunits, and set().
Referenced by ValidFluxUnit.

|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 55 of file flux.h.
References p_get(), and p_InternalFluxUnit().

|
private |
|
private |
Definition at line 87 of file flux.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, p_InternalFluxUnitNoCheck(), and p_ValidFluxUnit().
Referenced by get(), and set().

|
private |
|
inline |
|
inline |
Definition at line 46 of file flux.h.
References p_InternalFluxUnit(), and p_set().

| string Flux::uu | ( | ) | const |
|
friend |
Definition at line 71 of file flux.h.
References Flux(), p_InternalFluxUnitNoCheck(), and p_ValidFluxUnit().
|
private |
|
private |
|
private |