1 #ifndef __JACOUSTICS__JEMITTERID__
2 #define __JACOUSTICS__JEMITTERID__
23 namespace JACOUSTICS {}
24 namespace JPP {
using namespace JACOUSTICS; }
26 namespace JACOUSTICS {
50 const_iterator p = this->find(
id);
83 while (is >> waveform >> emitter) {
84 object[waveform] = emitter;
102 out <<
object.comment;
104 for (JEmitterID::const_iterator i =
object.begin(); i !=
object.end(); ++i) {
105 out << setw(3) << i->first <<
' ' << setw(2) << i->second << endl;
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Auxiliary class for emitter identification.
friend std::ostream & operator<<(std::ostream &out, const JEmitterID &object)
Write emitter data to output.
int operator()(const int id) const
Get emitter identifier for given waveform identifier.
static JStat getFileStatus
Function object for file status.
friend std::istream & operator>>(std::istream &in, JEmitterID &object)
Read emitter data from input.
Exception for accessing a value in a collection that is outside of its range.
static JEmitterID getEmitterID
Function object for emitter identification.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in