DCMTK Version 3.7.1
OFFIS DICOM Toolkit
Loading...
Searching...
No Matches
OFUUIDGenerator::Uint32_32 Class Reference

Helper type for internal use in OFUUIDGenerator. More...

Public Member Functions

OFBool operator== (Uint32_32 const &rhs) const
 Equality operator.
OFBool operator!= (Uint32_32 const &rhs) const
 Inequality operator.
OFBool operator< (Uint32_32 const &rhs) const
 Less than operator.
OFBool operator<= (Uint32_32 const &rhs) const
 Less than or equal to operator.
OFBool operator> (Uint32_32 const &rhs) const
 Greater than operator.
OFBool operator>= (Uint32_32 const &rhs) const
 Greater than or equal to operator.
 Uint32_32 ()
 Default constructor.
virtual ~Uint32_32 ()
 Destructor.
 Uint32_32 (Uint32_32 const &other)
 Copy constructor.
 Uint32_32 (Uint32 const value)
 Custom constructor.
Uint32_32 & operator= (Uint32 const value)
 Custom assignment operator.
Uint32_32 & hadd (Uint32 const value)
 Adds a value to high_.
Uint32_32 & ladd (Uint32 const value)
 Adds a value to low_.

Public Attributes

Uint32 high_
 Most significant member.
Uint32 low_
 Least significant member.

Detailed Description

Helper type for internal use in OFUUIDGenerator.

Encapsulating two Uint32 members to mimic an Uint64. These members are referred to as high, i.e. most significant, and low, i.e. least significant, respectively.

Constructor & Destructor Documentation

◆ Uint32_32()

OFUUIDGenerator::Uint32_32::Uint32_32 ( Uint32 const value)

Custom constructor.

Creates a Uint32_32 with low_ set to value and high_ set to 0.

Parameters
valueValue to be assigned to low_.

Member Function Documentation

◆ hadd()

Uint32_32 & OFUUIDGenerator::Uint32_32::hadd ( Uint32 const value)

Adds a value to high_.

Parameters
valueValue to be added to high_.
Returns
A reference to *this.

References Uint32_32().

◆ ladd()

Uint32_32 & OFUUIDGenerator::Uint32_32::ladd ( Uint32 const value)

Adds a value to low_.

Parameters
valueValue to be added to low_.
Returns
A reference to *this.

References Uint32_32().

◆ operator!=()

OFBool OFUUIDGenerator::Uint32_32::operator!= ( Uint32_32 const & rhs) const

Inequality operator.

Interpret Uint32_32 as Uint64.

Parameters
rhsThe object to compare with.
Returns
OFTrue iff this and rhs are unequal.

References Uint32_32().

◆ operator<()

OFBool OFUUIDGenerator::Uint32_32::operator< ( Uint32_32 const & rhs) const

Less than operator.

Interpret Uint32_32 as Uint64.

Parameters
rhsThe object to compare with.
Returns
OFTrue iff this is smaller than rhs.

References Uint32_32().

◆ operator<=()

OFBool OFUUIDGenerator::Uint32_32::operator<= ( Uint32_32 const & rhs) const

Less than or equal to operator.

Interpret Uint32_32 as Uint64.

Parameters
rhsThe object to compare with.
Returns
OFTrue iff this is smaller than or equal to rhs.

References Uint32_32().

◆ operator=()

Uint32_32 & OFUUIDGenerator::Uint32_32::operator= ( Uint32 const value)

Custom assignment operator.

Assigns a value to low_ and resets high_ to 0.

Parameters
valueValue to be assigned to low_.
Returns
A reference to *this.

References Uint32_32().

◆ operator==()

OFBool OFUUIDGenerator::Uint32_32::operator== ( Uint32_32 const & rhs) const

Equality operator.

Interpret Uint32_32 as Uint64.

Parameters
rhsThe object to compare with.
Returns
OFTrue iff this and rhs are equal.

References Uint32_32().

◆ operator>()

OFBool OFUUIDGenerator::Uint32_32::operator> ( Uint32_32 const & rhs) const

Greater than operator.

Interpret Uint32_32 as Uint64.

Parameters
rhsThe object to compare with.
Returns
OFTrue iff this is bigger than rhs.

References Uint32_32().

◆ operator>=()

OFBool OFUUIDGenerator::Uint32_32::operator>= ( Uint32_32 const & rhs) const

Greater than or equal to operator.

Interpret Uint32_32 as Uint64.

Parameters
rhsThe object to compare with.
Returns
OFTrue iff this is bigger than or equal to rhs.

References Uint32_32().


The documentation for this class was generated from the following file:


Generated on for DCMTK Version 3.7.1 by Doxygen 1.18.0