csl::SHARCInstrument Class Reference

#include <SHARC.h>

List of all members.

Public Member Functions

 SHARCInstrument (char *folder, char *name)
 ~SHARCInstrument ()
char ** spectrum_names ()
unsigned * spectrum_keys ()
float * spectrum_frequencies ()
SHARCSpectrumspectrum_named (char *name)
SHARCSpectrumspectrum_with_key (unsigned key)
SHARCSpectrumspectrum_with_frequency (float freq)
unsigned count_spectra ()
unsigned count_partials ()
void dump_example ()

Public Attributes

char * _name
unsigned _num_spectra
SHARCSpectrum ** _spectra

Private Member Functions

bool read_from_TOC (char *folder, char *name)


Detailed Description

SHARC instrument class

Constructor & Destructor Documentation

SHARCInstrument::SHARCInstrument ( char *  folder,
char *  name 
)

SHARCInstrument::~SHARCInstrument (  ) 

References _spectra.


Member Function Documentation

char ** SHARCInstrument::spectrum_names (  ) 

unsigned * SHARCInstrument::spectrum_keys (  ) 

float * SHARCInstrument::spectrum_frequencies (  ) 

SHARCSpectrum * SHARCInstrument::spectrum_named ( char *  name  ) 

SHARCSpectrum * SHARCInstrument::spectrum_with_key ( unsigned  key  ) 

References _num_spectra, and _spectra.

SHARCSpectrum * SHARCInstrument::spectrum_with_frequency ( float  freq  ) 

References _num_spectra, and _spectra.

unsigned SHARCInstrument::count_spectra (  ) 

References _num_spectra.

Referenced by csl::SHARCLibrary::dump_stats().

unsigned SHARCInstrument::count_partials (  ) 

void SHARCInstrument::dump_example (  ) 

bool SHARCInstrument::read_from_TOC ( char *  folder,
char *  name 
) [private]

References _name, _num_spectra, and _spectra.

Referenced by SHARCInstrument().


Member Data Documentation


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

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8