TAO_CosNotification  2.0.8
Public Member Functions | Public Attributes
TAO_Notify::NVP Class Reference

Name/Value Pair. More...

#include <Name_Value_Pair.h>

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

List of all members.

Public Member Functions

 NVP ()
 Construct an undefined name/value (to allow use in collections)
 NVP (const TAO_Notify_Property_Short &p)
 Construct from a property containing a short value.
 NVP (const TAO_Notify_Property_Long &p)
 Construct from a property containing a long value.
 NVP (const TAO_Notify_Property_Time &p)
 Construct from a property containing a time value.
 NVP (const TAO_Notify_Property_Boolean &p)
 Construct from a property containing a boolean value.
 NVP (const char *n, CORBA::Long v)
 Construct from name and long value.
 NVP (const char *n, const char *v)
 Construct from name and string value.
 NVP (const char *n, const ACE_CString &v)
 Construct from name and string value.
bool operator== (const NVP &rhs) const
 Assignment operator.
bool operator!= (const NVP &rhs) const
 Comparison operator compares only name (not value)

Public Attributes

ACE_CString name
ACE_CString value

Detailed Description

Name/Value Pair.

Associates a name (character string) with a value (encoded into a character string) For use in managing properties.


Constructor & Destructor Documentation

TAO_Notify::NVP::NVP ( )

Construct an undefined name/value (to allow use in collections)

TAO_Notify::NVP::NVP ( const TAO_Notify_Property_Short p) [explicit]

Construct from a property containing a short value.

TAO_Notify::NVP::NVP ( const TAO_Notify_Property_Long p) [explicit]

Construct from a property containing a long value.

TAO_Notify::NVP::NVP ( const TAO_Notify_Property_Time p) [explicit]

Construct from a property containing a time value.

TAO_Notify::NVP::NVP ( const TAO_Notify_Property_Boolean p) [explicit]

Construct from a property containing a boolean value.

TAO_Notify::NVP::NVP ( const char *  n,
CORBA::Long  v 
)

Construct from name and long value.

TAO_Notify::NVP::NVP ( const char *  n,
const char *  v 
)

Construct from name and string value.

TAO_Notify::NVP::NVP ( const char *  n,
const ACE_CString v 
)

Construct from name and string value.


Member Function Documentation

bool TAO_Notify::NVP::operator!= ( const NVP rhs) const

Comparison operator compares only name (not value)

bool TAO_Notify::NVP::operator== ( const NVP rhs) const

Assignment operator.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines