OpenDDS::DCPS::RepoIdSetMap Class Reference

#include <RepoIdSetMap.h>

Collaboration diagram for OpenDDS::DCPS::RepoIdSetMap:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::map< RepoId,
RepoIdSet_rch, GUID_tKeyLessThan > 
MapType

Public Member Functions

 RepoIdSetMap ()
virtual ~RepoIdSetMap ()
int insert (RepoId key, RepoId value)
RepoIdSetfind (RepoId key)
int remove (RepoId key, RepoId value)
RepoIdSetremove_set (RepoId key)
int release_publisher (RepoId subscriber_id, RepoId publisher_id)
size_t size () const
MapTypemap ()
 Give access to the underlying map for iteration purposes.
const MapTypemap () const
size_t marshaled_size ()
 The size of the serialized map.
ACE_Message_Block * marshal (bool byte_order)
int demarshal (ACE_Message_Block *acks, bool byte_order)
 Demarshal the serialized data of a RepoIdSetMap.
void get_keys (RepoIdSet &keys)
 List the key of this map.
void operator= (const RepoIdSetMap &)
void clear ()
void dump ()

Private Member Functions

RepoIdSetfind_or_create (RepoId key)

Private Attributes

MapType map_

Member Typedef Documentation

typedef std::map<RepoId, RepoIdSet_rch, GUID_tKeyLessThan> OpenDDS::DCPS::RepoIdSetMap::MapType


Constructor & Destructor Documentation

ACE_INLINE OpenDDS::DCPS::RepoIdSetMap::RepoIdSetMap (  ) 

OpenDDS::DCPS::RepoIdSetMap::~RepoIdSetMap (  )  [virtual]


Member Function Documentation

void OpenDDS::DCPS::RepoIdSetMap::clear (  ) 

int OpenDDS::DCPS::RepoIdSetMap::demarshal ( ACE_Message_Block *  acks,
bool  byte_order 
)

Demarshal the serialized data of a RepoIdSetMap.

void OpenDDS::DCPS::RepoIdSetMap::dump (  ) 

ACE_INLINE OpenDDS::DCPS::RepoIdSet * OpenDDS::DCPS::RepoIdSetMap::find ( RepoId  key  ) 

ACE_INLINE OpenDDS::DCPS::RepoIdSet * OpenDDS::DCPS::RepoIdSetMap::find_or_create ( RepoId  key  )  [private]

void OpenDDS::DCPS::RepoIdSetMap::get_keys ( RepoIdSet keys  ) 

List the key of this map.

int OpenDDS::DCPS::RepoIdSetMap::insert ( RepoId  key,
RepoId  value 
)

ACE_INLINE const OpenDDS::DCPS::RepoIdSetMap::MapType & OpenDDS::DCPS::RepoIdSetMap::map (  )  const

ACE_INLINE OpenDDS::DCPS::RepoIdSetMap::MapType & OpenDDS::DCPS::RepoIdSetMap::map (  ) 

Give access to the underlying map for iteration purposes.

ACE_Message_Block * OpenDDS::DCPS::RepoIdSetMap::marshal ( bool  byte_order  ) 

Serialize this map. The data in the stream: size of this map, list of key(repoid)-value(RepoIdSet).

ACE_INLINE size_t OpenDDS::DCPS::RepoIdSetMap::marshaled_size (  ) 

The size of the serialized map.

void OpenDDS::DCPS::RepoIdSetMap::operator= ( const RepoIdSetMap  ) 

int OpenDDS::DCPS::RepoIdSetMap::release_publisher ( RepoId  subscriber_id,
RepoId  publisher_id 
)

int OpenDDS::DCPS::RepoIdSetMap::remove ( RepoId  key,
RepoId  value 
)

OpenDDS::DCPS::RepoIdSet * OpenDDS::DCPS::RepoIdSetMap::remove_set ( RepoId  key  ) 

ACE_INLINE size_t OpenDDS::DCPS::RepoIdSetMap::size (  )  const


Member Data Documentation

MapType OpenDDS::DCPS::RepoIdSetMap::map_ [private]


The documentation for this class was generated from the following files:
Generated on Fri Nov 7 09:37:43 2008 for OpenDDS by  doxygen 1.4.7