Update::PersistenceUpdater::IdType_ExtId Class Reference

#include <PersistenceUpdater.h>

Collaboration diagram for Update::PersistenceUpdater::IdType_ExtId:

Collaboration graph
[legend]
List of all members.

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 32 of file PersistenceUpdater.h.


Constructor & Destructor Documentation

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

Definition at line 181 of file PersistenceUpdater.cpp.

00182   : id_(OpenDDS::DCPS::GUID_UNKNOWN)
00183 {}

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

Definition at line 185 of file PersistenceUpdater.cpp.

00186   : id_(id)
00187 {}

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

Definition at line 189 of file PersistenceUpdater.cpp.

00190   : id_(ext.id_)
00191 {}


Member Function Documentation

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

Definition at line 206 of file PersistenceUpdater.cpp.

References id_.

00207 {
00208   return OpenDDS::DCPS::RepoIdConverter(id_).checksum();
00209 };

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

Definition at line 194 of file PersistenceUpdater.cpp.

References id_.

00195 {
00196   id_ = ext.id_;
00197 }

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

Definition at line 200 of file PersistenceUpdater.cpp.

References id_.

00201 {
00202   return (id_ == ext.id_);
00203 }


Member Data Documentation

IdType Update::PersistenceUpdater::IdType_ExtId::id_ [private]

Definition at line 47 of file PersistenceUpdater.h.

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


The documentation for this class was generated from the following files:
Generated on Fri Feb 12 20:06:52 2016 for OpenDDS by  doxygen 1.4.7