Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Opietooth2::OTUUID Class Reference

#include </home/clem/local/src/opie/noncore/settings/networksettings2/opietooth2/OTUUID.h>

List of all members.

Public Member Functions

 OTUUID (QString s)
 OTUUID (uint64_t l=0, uint64_t h=0)
 OTUUID (const OTUUID &O)
bool fromString (QString s)
void setUUID128 (uint64_t hi, uint64_t lo)
void setUUID32 (uint32_t v)
uint16_t toShort ()
uint32_t toLong ()
uint64_t toLongLong ()
QString toString () const
 operator QString () const
 operator::uuid_t () const
OTUUIDoperator= (const OTUUID &other)
bool operator< (const OTUUID &other) const
bool operator== (const OTUUID &uuid) const

Public Attributes

uint64_t hi
uint64_t lo


Constructor & Destructor Documentation

OTUUID::OTUUID QString  s  ) 
 

Definition at line 20 of file OTUUID.cpp.

References fromString().

OTUUID::OTUUID uint64_t  l = 0,
uint64_t  h = 0
 

Definition at line 24 of file OTUUID.cpp.

References hi, and lo.

OTUUID::OTUUID const OTUUID O  ) 
 

Definition at line 29 of file OTUUID.cpp.

References hi, and lo.


Member Function Documentation

bool OTUUID::fromString QString  s  ) 
 

Definition at line 40 of file OTUUID.cpp.

References hi, QString::left(), QString::length(), lo, QString::replace(), QString::right(), setUUID32(), QString::startsWith(), QString::toUInt(), and u32.

Referenced by OTUUID().

OTUUID::operator QString  )  const
 

Definition at line 111 of file OTUUID.cpp.

References toString().

OTUUID::operator::uuid_t  )  const
 

Definition at line 115 of file OTUUID.cpp.

References hi, and lo.

bool OTUUID::operator< const OTUUID other  )  const
 

Definition at line 153 of file OTUUID.cpp.

References hi, and lo.

OTUUID & OTUUID::operator= const OTUUID other  ) 
 

Definition at line 34 of file OTUUID.cpp.

References hi, and lo.

bool OTUUID::operator== const OTUUID uuid  )  const
 

Definition at line 160 of file OTUUID.cpp.

References hi, and lo.

void OTUUID::setUUID128 uint64_t  hi,
uint64_t  lo
 

Definition at line 93 of file OTUUID.cpp.

References hi, and lo.

Referenced by Opietooth2::OTSDPAttribute::OTSDPAttribute().

void OTUUID::setUUID32 uint32_t  v  ) 
 

Definition at line 85 of file OTUUID.cpp.

References hi, and lo.

Referenced by fromString(), and Opietooth2::OTSDPAttribute::OTSDPAttribute().

uint32_t Opietooth2::OTUUID::toLong  )  [inline]
 

Definition at line 41 of file OTUUID.h.

uint64_t Opietooth2::OTUUID::toLongLong  )  [inline]
 

Definition at line 43 of file OTUUID.h.

uint16_t Opietooth2::OTUUID::toShort  )  [inline]
 

Definition at line 39 of file OTUUID.h.

QString OTUUID::toString  )  const
 

Definition at line 98 of file OTUUID.cpp.

References hi, lo, and QString::sprintf().

Referenced by operator QString().


Member Data Documentation

uint64_t Opietooth2::OTUUID::hi
 

Definition at line 54 of file OTUUID.h.

Referenced by fromString(), operator::uuid_t(), operator<(), operator=(), operator==(), OTUUID(), setUUID128(), setUUID32(), and toString().

uint64_t Opietooth2::OTUUID::lo
 

Definition at line 55 of file OTUUID.h.

Referenced by fromString(), operator::uuid_t(), operator<(), operator=(), operator==(), OTUUID(), setUUID128(), setUUID32(), and toString().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:03:09 2005 for OPIE by  doxygen 1.4.2