TAO_CosNotification
2.0.8
|
#include <PropertySeq.h>
Public Member Functions | |
TAO_Notify_PropertySeq (void) | |
Constructor. | |
~TAO_Notify_PropertySeq () | |
Destructor. | |
int | init (const CosNotification::PropertySeq &prop_seq) |
Return 0 on success, -1 on error. | |
int | find (const char *name, CosNotification::PropertyValue &value) const |
Find the for property <name>. Returns 0 on success. | |
int | populate (CosNotification::PropertySeq_var &prop_seq) const |
Return -1 on error. | |
size_t | size () const |
return the number of properties available as a sequence | |
Protected Types | |
typedef ACE_Hash_Map_Manager < ACE_CString, CosNotification::PropertyValue, ACE_SYNCH_NULL_MUTEX > | PROPERTY_MAP |
Property Map. | |
Protected Member Functions | |
void | add (const ACE_CString &name, const CORBA::Any &val) |
Protected Attributes | |
PROPERTY_MAP | property_map_ |
typedef ACE_Hash_Map_Manager<ACE_CString, CosNotification::PropertyValue, ACE_SYNCH_NULL_MUTEX> TAO_Notify_PropertySeq::PROPERTY_MAP [protected] |
Property Map.
TAO_Notify_PropertySeq::TAO_Notify_PropertySeq | ( | void | ) |
Constructor.
TAO_Notify_PropertySeq::~TAO_Notify_PropertySeq | ( | ) |
Destructor.
void TAO_Notify_PropertySeq::add | ( | const ACE_CString & | name, |
const CORBA::Any & | val | ||
) | [protected] |
Add the value. Used by subclasses to initialize the property map from their member variables.
int TAO_Notify_PropertySeq::find | ( | const char * | name, |
CosNotification::PropertyValue & | value | ||
) | const |
Find the for property <name>. Returns 0 on success.
int TAO_Notify_PropertySeq::init | ( | const CosNotification::PropertySeq & | prop_seq | ) |
Return 0 on success, -1 on error.
Reimplemented in TAO_Notify_AdminProperties.
int TAO_Notify_PropertySeq::populate | ( | CosNotification::PropertySeq_var & | prop_seq | ) | const |
Return -1 on error.
size_t TAO_Notify_PropertySeq::size | ( | ) | const |
return the number of properties available as a sequence
PROPERTY_MAP TAO_Notify_PropertySeq::property_map_ [protected] |