1 #ifndef __JLANG__JUUID__
2 #define __JLANG__JUUID__
15 namespace JPP {
using namespace JLANG; }
56 uuid_generate_random(this->
uuid);
82 return uuid_is_null(this->
uuid) == 0;
91 return uuid_clear(this->
uuid);
103 return uuid_compare(this->
uuid,
object.
uuid) < 0;
117 uuid_parse(buffer.c_str(),
object.uuid);
138 uuid_parse(buffer,
object.
uuid);
156 uuid_unparse_lower(
object.
uuid, buffer);
void clear()
Check validity.
const JUUID & operator()()
Randomizde this UUID.
static const JUUID & rndm()
Generate random UUID.
JUUID()
Default constructor.
Template definition of auxiliary base class for comparison of data structures.
friend std::istream & operator>>(std::istream &in, JUUID &object)
Read object identifier from input.
bool is_valid() const
Clear UUID.
JUUID(const JUUID &object)
Copy constructor.
static const int BUFFER_SIZE
number of characters of uuid_t without trailing '\0'
static JUUID valueOf(const std::string &buffer)
Extract UUID.
bool less(const JUUID &object) const
Less than method.
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
friend std::ostream & operator<<(std::ostream &out, const JUUID &object)
Write object identifier to output.