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.
void clear()
Check validity. 
 
 
 
 
  
  
      
        
          | JLANG::JUUID::JUUID  | 
          ( | 
          const JUUID &  | 
          object | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Copy constructor. 
- Parameters
 - 
  
  
 
Definition at line 43 of file JUUID.hh.
 
 
  
  
      
        
          | const JUUID& JLANG::JUUID::operator()  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Randomizde this UUID. 
- Returns
 - this UUID 
 
Definition at line 54 of file JUUID.hh.
   56       uuid_generate_random(this->
uuid);
 
 
 
 
  
  
      
        
          | static const JUUID& JLANG::JUUID::rndm  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Generate random UUID. 
- Returns
 - UUID 
 
Definition at line 67 of file JUUID.hh.
 
 
  
  
      
        
          | bool JLANG::JUUID::is_valid  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Clear UUID. 
- Returns
 - true if valid; else false 
 
Definition at line 80 of file JUUID.hh.
   82       return uuid_is_null(this->
uuid) == 0;
 
 
 
 
  
  
      
        
          | void JLANG::JUUID::clear  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Check validity. 
Definition at line 89 of file JUUID.hh.
   91       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 101 of file JUUID.hh.
  103       return uuid_compare(this->
uuid, 
object.
uuid) < 0;
 
 
 
 
  
  
      
        
          | static JUUID JLANG::JUUID::valueOf  | 
          ( | 
          const std::string &  | 
          buffer | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Extract UUID. 
- Parameters
 - 
  
  
 
- Returns
 - UUID 
 
Definition at line 113 of file JUUID.hh.
  117       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 130 of file JUUID.hh.
  138         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 152 of file JUUID.hh.
  156       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: