19   static const std::string set_t       = 
"set";               
 
   20   static const std::string add_t       = 
"add";               
 
   21   static const std::string sub_t       = 
"sub";               
 
   33     bool apply(
JTripod& tripod)
 const 
   37       else if (action == add_t)
 
   39       else if (action == sub_t)
 
   55     friend inline std::istream& 
operator>>(std::istream& 
in, JModifier& modifier)
 
   57       return in >> modifier.id >> modifier.action >> modifier.pos;
 
   68     friend inline std::ostream& 
operator<<(std::ostream& out, 
const JModifier& modifier)
 
   72       out << modifier.action;
 
   98 int main(
int argc, 
char **argv)
 
  111     JParser<> zap(
"Auxiliary program to modify tripod configuration.");
 
  113     zap[
'f'] = 
make_field(file_name,   
"tripod file");
 
  119   catch(
const exception &error) {
 
  120     FATAL(error.what() << endl);
 
  125   data.load(file_name.c_str());
 
  127   data.comment.add(
JMeta(argc, argv));
 
  131     for (container_type::iterator 
target = data.begin(); 
target != data.end(); ++
target) {
 
  133       if (
target->getID() == i->id) {
 
  135         DEBUG(
"Modifier"                                                << 
' ' 
  137               << 
"action" << 
' ' << i->pos << endl);
 
  140           ERROR(
"No valid action: " << *i << endl);
 
  146   data.store(file_name.c_str());
 
Utility class to parse command line options. 
 
int main(int argc, char *argv[])
 
JUTMPosition & sub(const JUTMPosition &pos)
Subtract UTM position. 
 
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
 
void setUTMPosition(const JUTMPosition &position)
Set UTM position. 
 
Data structure for UTM position. 
 
I/O formatting auxiliaries. 
 
Auxiliary wrapper for I/O of container with optional comment (see JComment). 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
General purpose messaging. 
 
Auxiliary data structure for sequence of same character. 
 
std::istream & operator>>(std::istream &in, JAANET::JHead &header)
Read header from input. 
 
Utility class to parse command line options. 
 
Data structure for tripod. 
 
JUTMPosition & add(const JUTMPosition &pos)
Add UTM position. 
 
Data structure for tripod. 
 
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 source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
#define DEBUG(A)
Message macros.