1 #ifndef __JNET__JHOSTNAME__ 
    2 #define __JNET__JHOSTNAME__ 
   17 namespace JPP { 
using namespace JNET; }
 
   89       return (this->hostname == hostname.
hostname  &&
 
  104     void set(
const std::string& buffer)
 
  108       const string::size_type pos = buffer.find(
SEPARATOR);
 
  110       if (pos != string::npos) {
 
  112         this->
hostname = buffer.substr(0, pos);
 
  114         istringstream(buffer.substr(pos + 1)) >> this->
port;
 
  118         bool is_number = 
true;
 
  120         for (string::const_iterator 
i = buffer.begin(); is_number && 
i != buffer.end(); ++
i) {
 
  121           is_number &= isdigit(*
i);
 
  128           istringstream(buffer) >> this->
port;
 
  167       return out << 
object.hostname << 
SEPARATOR << 
object.port;
 
JHostname(const std::string &buffer)
Constructor. 
 
static const int DISPATCH_PORT
Default ControlHost port. 
 
void set(const std::string &buffer)
Set hostname and port number. 
 
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison nIn this
 
Auxiliary data structure for hostname and port number. 
 
JHostname(const std::string &hostname, const int port)
Constructor. 
 
Template definition of auxiliary base class for comparison of data structures. 
 
static const char SEPARATOR
Separation character between hostname and port number. 
 
friend std::ostream & operator<<(std::ostream &out, const JHostname &object)
Write hostname to output stream. 
 
bool equals(const JHostname &hostname) const 
Equal method. 
 
then fatal The output file must have the wildcard in the e g root fi 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
 
JHostname()
Default constructor. 
 
friend std::istream & operator>>(std::istream &in, JHostname &object)
Read hostname from input stream.