TAO_CosNotification 4.0.0
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
TAO_Notify::NVPList Class Reference

Collection of Name/Value Pairs. More...

#include <Name_Value_Pair.h>

Collaboration diagram for TAO_Notify::NVPList:
Collaboration graph
[legend]

Public Member Functions

void load (TAO_Notify_Property_Short &p) const
 Find the NVP with the same name as the property, copy the value.
 
void load (TAO_Notify_Property_Long &p) const
 Find the NVP with the same name as the property, copy the value.
 
void load (TAO_Notify_Property_Time &p) const
 Find the NVP with the same name as the property, copy the value.
 
void load (TAO_Notify_Property_Boolean &p) const
 Find the NVP with the same name as the property, copy the value.
 
bool load (const char *n, CORBA::Long &v) const
 Find the NVP with specified name, copy the value to a string.
 
bool load (const char *n, ACE_CString &v) const
 Find the NVP with specified name, copy the value to a long.
 
void push_back (const NVP &v)
 add a new name/value pair.
 
size_t size () const
 size of the collection.
 
const NVPoperator[] (size_t ndx) const
 access NVP via numeric index.
 
bool find (const char *name, ACE_CString &val) const
 low level access: find
 
bool find (const char *name, const char *&val) const
 low level access: use this when you don't need a CString
 

Private Attributes

ACE_Vector< NVPlist_
 

Detailed Description

Collection of Name/Value Pairs.

Member Function Documentation

◆ find() [1/2]

bool TAO_Notify::NVPList::find ( const char * name,
ACE_CString & val ) const

low level access: find

◆ find() [2/2]

bool TAO_Notify::NVPList::find ( const char * name,
const char *& val ) const

low level access: use this when you don't need a CString

◆ load() [1/6]

bool TAO_Notify::NVPList::load ( const char * n,
ACE_CString & v ) const

Find the NVP with specified name, copy the value to a long.

◆ load() [2/6]

bool TAO_Notify::NVPList::load ( const char * n,
CORBA::Long & v ) const

Find the NVP with specified name, copy the value to a string.

◆ load() [3/6]

void TAO_Notify::NVPList::load ( TAO_Notify_Property_Boolean & p) const

Find the NVP with the same name as the property, copy the value.

◆ load() [4/6]

void TAO_Notify::NVPList::load ( TAO_Notify_Property_Long & p) const

Find the NVP with the same name as the property, copy the value.

◆ load() [5/6]

void TAO_Notify::NVPList::load ( TAO_Notify_Property_Short & p) const

Find the NVP with the same name as the property, copy the value.

◆ load() [6/6]

void TAO_Notify::NVPList::load ( TAO_Notify_Property_Time & p) const

Find the NVP with the same name as the property, copy the value.

◆ operator[]()

const NVP & TAO_Notify::NVPList::operator[] ( size_t ndx) const

access NVP via numeric index.

◆ push_back()

void TAO_Notify::NVPList::push_back ( const NVP & v)

add a new name/value pair.

◆ size()

size_t TAO_Notify::NVPList::size ( ) const

size of the collection.

Member Data Documentation

◆ list_

ACE_Vector<NVP> TAO_Notify::NVPList::list_
private

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