Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bands_file Class Reference

Public Member Functions

void setup (const string &fname)
 
string bandFilename () const
 
bool load ()
 
long get_nBands () const
 
realnum getWl (const long iband) const
 
realnum getWlLo (const long iband) const
 
realnum getWlHi (const long iband) const
 

Private Attributes

string fileBands
 
vector< realnumprt_wl
 
vector< realnumwlLo
 
vector< realnumwlHi
 
long nBands
 

Member Function Documentation

string bands_file::bandFilename ( ) const
inline

References fileBands.

long bands_file::get_nBands ( ) const
inline

References nBands.

realnum bands_file::getWl ( const long  iband) const
inline

References prt_wl.

realnum bands_file::getWlHi ( const long  iband) const
inline

References wlHi.

realnum bands_file::getWlLo ( const long  iband) const
inline

References wlLo.

bool bands_file::load ( )

References DEBUG_ENTRY, FFmtRead(), fileBands, fprintf(), ioQQQ, t_trace::lgTrace, nBands, open_data(), prt_wl, read_whole_line(), trace, wlHi, and wlLo.

Referenced by addBandsFile().

Here is the call graph for this function:

void bands_file::setup ( const string &  fname)
inline

References fileBands.

Referenced by addBandsFile().

Member Data Documentation

string bands_file::fileBands
private

Referenced by bandFilename(), load(), and setup().

long bands_file::nBands
private

Referenced by get_nBands(), and load().

vector<realnum> bands_file::prt_wl
private

Referenced by getWl(), and load().

vector<realnum> bands_file::wlHi
private

Referenced by getWlHi(), and load().

vector<realnum> bands_file::wlLo
private

Referenced by getWlLo(), and load().


The documentation for this class was generated from the following file: