cloudy
trunk
|
#include <physconst.h>
Public Member Functions | |
void | add_constant (const string &s, double v) |
void | prt_constants (FILE *io) const |
double | get_constant (const string &s) const |
Protected Member Functions | |
t_physconst () | |
Private Attributes | |
map< string, double > | p_constant |
Friends | |
class | Singleton< t_physconst > |
Additional Inherited Members | |
Static Public Member Functions inherited from Singleton< t_physconst > | |
static t_physconst & | Inst () |
Definition at line 9 of file physconst.h.
|
protected |
Definition at line 22 of file physconst.cpp.
References fp_equal(), fprintf(), and pow3().
|
inline |
Definition at line 17 of file physconst.h.
References p_constant.
Referenced by register_physconst().
|
inline |
Definition at line 27 of file physconst.h.
References p_constant.
|
inline |
Definition at line 21 of file physconst.h.
References fprintf(), and p_constant.
Referenced by prt_phys_constants().
|
friend |
Definition at line 11 of file physconst.h.
|
private |
Definition at line 13 of file physconst.h.
Referenced by add_constant(), get_constant(), and prt_constants().