TAO_CosNotification  2.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
TAO_Notify::NVP Class Reference

Name/Value Pair. More...

#include <Name_Value_Pair.h>

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

Public Member Functions

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

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

ACE_CString TAO_Notify::NVP::name
ACE_CString TAO_Notify::NVP::value

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