sipxtacklib  Version 3.3
Public Member Functions | Static Protected Attributes | List of all members
NameValuePairInsensitive Class Reference

#include <NameValuePairInsensitive.h>

Inheritance diagram for NameValuePairInsensitive:
Inheritance graph
[legend]
Collaboration diagram for NameValuePairInsensitive:
Collaboration graph
[legend]

Public Member Functions

 NameValuePairInsensitive (const char *name, const char *value=NULL)
 
virtual ~NameValuePairInsensitive ()
 param: name - the key for this object, null terminated string param: value - the data or value for this object, null param: terminated string More...
 
NameValuePairInsensitiveoperator= (const NameValuePairInsensitive &rhs)
 
 NameValuePairInsensitive (const NameValuePairInsensitive &rNameValuePairInsensitive)
 
const char * getValue ()
 
void setValue (const char *)
 returns: the null terminated string containing the value
Note: this should not be freed as it is part of this object More...
 
virtual unsigned hash () const
 Calculate a hash over the string contents. More...
 
virtual UtlContainableType getContainableType () const
 Return the unique type value for this class. More...
 
virtual int compareTo (UtlContainable const *other) const
 Compare to any other UtlContainable. More...
 
virtual UtlBoolean isEqual (UtlContainable const *) const
 Test this object to another like-object for equality. More...
 
virtual UtlBoolean isInstanceOf (const UtlContainableType type) const
 
- Public Member Functions inherited from NameValuePair
 NameValuePair (const char *name, const char *value=NULL)
 
virtual ~NameValuePair ()
 param: name - the key for this object, null terminated string param: value - the data or value for this object, null param: terminated string More...
 
NameValuePairoperator= (const NameValuePair &rhs)
 
 NameValuePair (const NameValuePair &rNameValuePair)
 
const char * getValue ()
 
void setValue (const char *)
 returns: the null terminated string containing the value
Note: this should not be freed as it is part of this object More...
 
UtlBoolean isInstanceOf (const UtlContainableType type) const
 

Static Protected Attributes

static UtlContainableType TYPE
 

Additional Inherited Members

- Static Public Attributes inherited from NameValuePair
static int count = 0
 

Constructor & Destructor Documentation

NameValuePairInsensitive ( const char *  name,
const char *  value = NULL 
)

param: name - the key for this object, null terminated string param: value - the data or value for this object, null param: terminated string

NameValuePairInsensitive ( const NameValuePairInsensitive rNameValuePairInsensitive)

Member Function Documentation

NameValuePairInsensitive & operator= ( const NameValuePairInsensitive rhs)
const char * getValue ( )
void setValue ( const char *  newValue)

returns: the null terminated string containing the value
Note: this should not be freed as it is part of this object

unsigned hash ( ) const
virtual

Calculate a hash over the string contents.

If the equals operator returns true for another object, then both objects must return the same hashcode.

UtlContainableType getContainableType ( ) const
virtual

Return the unique type value for this class.

int compareTo ( UtlContainable const *  other) const
virtual

Compare to any other UtlContainable.

Compare this object to another containable object. If the UtlContainableType of the other object is not the UtlString type, this will return unequal.

Returns
0 if equal, < 0 if less than, and > 0 if greater.
UtlBoolean isEqual ( UtlContainable const *  compareContainable) const
virtual

Test this object to another like-object for equality.

This method returns false if unlike-objects are specified.

UtlBoolean isInstanceOf ( const UtlContainableType  type) const
virtual

Member Data Documentation

const UtlContainableType TYPE
staticprotected
Initial value:
=
"NameValuePairInsensitive"

sipXtackLib home page