Simple wrapper for UUID.  
 More...
#include <JUUID.hh>
|  | 
| static const int | BUFFER_SIZE = 36 | 
|  | number of characters for I/O of uuid_t without trailing '\0', see e.g. man uuid_parse  More... 
 | 
|  | 
Simple wrapper for UUID. 
Definition at line 22 of file JUUID.hh.
Default constructor. 
Definition at line 32 of file JUUID.hh.
 
 
  
  | 
        
          | JLANG::JUUID::JUUID | ( | const uuid_t & | object | ) |  |  | inline | 
 
Copy constructor. 
- Parameters
- 
  
  
Definition at line 43 of file JUUID.hh.
   45       uuid_copy(this->
uuid, 
object);
 
 
 
 
  
  | 
        
          | JLANG::JUUID::JUUID | ( | const JUUID & | object | ) |  |  | inline | 
 
Copy constructor. 
- Parameters
- 
  
  
Definition at line 54 of file JUUID.hh.
 
 
  
  | 
        
          | const JUUID& JLANG::JUUID::operator() | ( |  | ) |  |  | inline | 
 
Randomizde this UUID. 
- Returns
- this UUID 
Definition at line 65 of file JUUID.hh.
   67       uuid_generate_random(this->
uuid);
 
 
 
 
  
  | 
        
          | static const JUUID& JLANG::JUUID::rndm | ( |  | ) |  |  | inlinestatic | 
 
Generate random UUID. 
- Returns
- UUID 
Definition at line 78 of file JUUID.hh.
 
 
  
  | 
        
          | bool JLANG::JUUID::is_valid | ( |  | ) | const |  | inline | 
 
Check validity. 
- Returns
- true if valid; else false 
Definition at line 91 of file JUUID.hh.
   93       return uuid_is_null(this->
uuid) == 0;
 
 
 
 
  
  | 
        
          | void JLANG::JUUID::clear | ( |  | ) |  |  | inline | 
 
Clear UUID. 
Definition at line 100 of file JUUID.hh.
  102       return uuid_clear(this->
uuid);
 
 
 
 
  
  | 
        
          | bool JLANG::JUUID::less | ( | const JUUID & | object | ) | const |  | inline | 
 
Less than method. 
- Parameters
- 
  
  
- Returns
- true if this UUID less than given UUID; else false 
Definition at line 112 of file JUUID.hh.
  114       return uuid_compare(this->
uuid, 
object.
uuid) < 0;
 
 
 
 
Extract UUID. 
- Parameters
- 
  
  
- Returns
- UUID 
Definition at line 124 of file JUUID.hh.
  128       uuid_parse(buffer.c_str(), 
object.uuid);
 
 
 
 
  
  | 
        
          | std::istream& operator>> | ( | std::istream & | in, |  
          |  |  | JUUID & | object |  
          |  | ) |  |  |  | friend | 
 
Read object identifier from input. 
- Parameters
- 
  
    | in | input stream |  | object | object identifier |  
 
- Returns
- input stream 
Definition at line 141 of file JUUID.hh.
  149         uuid_parse(buffer, 
object.
uuid);
 
static const int BUFFER_SIZE
number of characters for I/O of uuid_t without trailing '\0', see e.g. man uuid_parse ...
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
 
 
 
  
  | 
        
          | std::ostream& operator<< | ( | std::ostream & | out, |  
          |  |  | const JUUID & | object |  
          |  | ) |  |  |  | friend | 
 
Write object identifier to output. 
- Parameters
- 
  
    | out | output stream |  | object | object identifier |  
 
- Returns
- output stream 
Definition at line 163 of file JUUID.hh.
  167       uuid_unparse_lower(
object.
uuid, buffer);
 
static const int BUFFER_SIZE
number of characters for I/O of uuid_t without trailing '\0', see e.g. man uuid_parse ...
 
 
 
  
  | 
        
          | const int JLANG::JUUID::BUFFER_SIZE = 36 |  | static | 
 
number of characters for I/O of uuid_t without trailing '\0', see e.g. man uuid_parse 
Definition at line 26 of file JUUID.hh.
 
 
      
        
          | uuid_t JLANG::JUUID::uuid | 
      
 
 
The documentation for this struct was generated from the following file: