TAO_CosNotification 4.0.0
Loading...
Searching...
No Matches
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)
 
 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

◆ NVP() [1/8]

TAO_Notify::NVP::NVP ( )

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

◆ NVP() [2/8]

TAO_Notify::NVP::NVP ( const TAO_Notify_Property_Short & p)
explicit

Construct from a property containing a short value.

◆ NVP() [3/8]

TAO_Notify::NVP::NVP ( const TAO_Notify_Property_Long & p)
explicit

Construct from a property containing a long value.

◆ NVP() [4/8]

TAO_Notify::NVP::NVP ( const TAO_Notify_Property_Time & p)
explicit

Construct from a property containing a time value.

◆ NVP() [5/8]

TAO_Notify::NVP::NVP ( const TAO_Notify_Property_Boolean & p)
explicit

Construct from a property containing a boolean value.

◆ NVP() [6/8]

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

Construct from name and long value.

◆ NVP() [7/8]

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

Construct from name and string value.

◆ NVP() [8/8]

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

Construct from name and string value.

Member Function Documentation

◆ operator!=()

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

Comparison operator compares only name (not value)

◆ operator==()

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

Assignment operator.

Member Data Documentation

◆ name

ACE_CString TAO_Notify::NVP::name

◆ value

ACE_CString TAO_Notify::NVP::value

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