1 #ifndef __JDATABASE__JMACADDRESS__
2 #define __JDATABASE__JMACADDRESS__
17 namespace JDATABASE {}
18 namespace JPP {
using namespace JDATABASE; }
58 for (std::string::const_iterator
i = buffer.begin();
i != buffer.end(); ++
i) {
85 if ((*
this)[
i] != address[
i]) {
109 if (in >> hex >>
c) {
111 object[0] = (
unsigned char)
c;
115 object[
i] = (
unsigned char)
c;
117 in.setstate(ios::failbit);
137 out << setw(2) << setfill(
'0') << hex << (int)
object[0];
141 << setw(2) << setfill(
'0') << hex << (int)
object[
i];
144 return out << setfill(
' ') << dec;
friend std::istream & operator>>(std::istream &in, JMACAddress &object)
Read MAC address from input stream.
JMACAddress()
Default constructor.
Template definition of auxiliary base class for comparison of data structures.
$WORKDIR ev_configure_dqsimulator txt echo process $DQ_SIMULATOR $i $SOURCE_HOST[$index] csh c(setenv ROOTSYS $ROOTSYS &&source $JPP_DIR/setenv.csh $JPP_DIR &&($DQ_SIMULATOR\-u\$NAME\$\-H\$SERVER\$\-M\$LOGGER\$\-d $DEBUG</dev/null > &/dev/null &))'
ClassDefNV(JMACAddress, 1)
static bool is_separator(const int c)
Check if given character is an allowed separator.
bool equal(const JMACAddress &address) const
Equal method.
static const char * get_separator()
Get list of allowed separators.
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
friend std::ostream & operator<<(std::ostream &out, const JMACAddress &object)
Write MAC address to output stream.