OpenDDS  Snapshot(2023/04/07-19:43)
Public Member Functions | Private Attributes | List of all members
Update::PersistenceUpdater::IdType_ExtId Class Reference

#include <PersistenceUpdater.h>

Collaboration diagram for Update::PersistenceUpdater::IdType_ExtId:
Collaboration graph
[legend]

Public Member Functions

 IdType_ExtId ()
 
 IdType_ExtId (IdType id)
 
 IdType_ExtId (const IdType_ExtId &ext)
 
void operator= (const IdType_ExtId &ext)
 
bool operator== (const IdType_ExtId &ext) const
 
unsigned long hash () const
 

Private Attributes

IdType id_
 

Detailed Description

Definition at line 35 of file PersistenceUpdater.h.

Constructor & Destructor Documentation

◆ IdType_ExtId() [1/3]

Update::PersistenceUpdater::IdType_ExtId::IdType_ExtId ( )

Definition at line 187 of file PersistenceUpdater.cpp.

189 {}
const GUID_t GUID_UNKNOWN
Nil value for GUID.
Definition: GuidUtils.h:59

◆ IdType_ExtId() [2/3]

Update::PersistenceUpdater::IdType_ExtId::IdType_ExtId ( IdType  id)

Definition at line 191 of file PersistenceUpdater.cpp.

◆ IdType_ExtId() [3/3]

Update::PersistenceUpdater::IdType_ExtId::IdType_ExtId ( const IdType_ExtId ext)

Definition at line 195 of file PersistenceUpdater.cpp.

196  : id_(ext.id_)
197 {}

Member Function Documentation

◆ hash()

unsigned long Update::PersistenceUpdater::IdType_ExtId::hash ( void  ) const

Definition at line 212 of file PersistenceUpdater.cpp.

References OpenDDS::DCPS::GuidConverter::checksum(), and id_.

213 {
215 };
Conversion processing and value testing utilities for DCPS Information Repository identifiers...
long checksum() const
Calculate the CRC32 checksum.

◆ operator=()

void Update::PersistenceUpdater::IdType_ExtId::operator= ( const IdType_ExtId ext)

Definition at line 200 of file PersistenceUpdater.cpp.

References id_.

201 {
202  id_ = ext.id_;
203 }

◆ operator==()

bool Update::PersistenceUpdater::IdType_ExtId::operator== ( const IdType_ExtId ext) const

Definition at line 206 of file PersistenceUpdater.cpp.

References id_.

207 {
208  return (id_ == ext.id_);
209 }

Member Data Documentation

◆ id_

IdType Update::PersistenceUpdater::IdType_ExtId::id_
private

Definition at line 50 of file PersistenceUpdater.h.

Referenced by hash(), operator=(), and operator==().


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