cmpi
CmpiString Class Reference

#include <cmpi/CmpiString.h>

Public Member Functions

 CmpiString ()
 CmpiString (const char *s)
 CmpiString (const CmpiString &s)
const char * charPtr () const
CmpiBoolean equals (const char *str) const
CmpiBoolean equals (const CmpiString &str) const
CmpiBoolean equalsIgnoreCase (const char *str) const
CmpiBoolean equalsIgnoreCase (const CmpiString &str) const

Protected Member Functions

 CmpiString (CMPIString *c)
CMPIStringgetEnc () const

Protected Attributes

void * enc

Friends

class CmpiBroker
class CmpiData
class CmpiObjectPath
class CmpiInstance
class CmpiObject
class CmpiArgs
class CmpiArrayIdx

Detailed Description

This class wraps a CIMOM specific string representation.

Constructor & Destructor Documentation

◆ CmpiString() [1/4]

CmpiString::CmpiString ( CMPIString * c)
protected

Constructor - Internal use only

References enc.

Referenced by CmpiString(), equals(), and equalsIgnoreCase().

◆ CmpiString() [2/4]

CmpiString::CmpiString ( )

Constructor - Empty string

References enc.

◆ CmpiString() [3/4]

CmpiString::CmpiString ( const char * s)

Constructor - char *

References CMNewString, enc, and CmpiProviderBase::getBroker().

◆ CmpiString() [4/4]

CmpiString::CmpiString ( const CmpiString & s)

Constructor - Copy constructor

References charPtr(), CMNewString, CmpiString(), enc, and CmpiProviderBase::getBroker().

Member Function Documentation

◆ charPtr()

◆ equals() [1/2]

CmpiBoolean CmpiString::equals ( const char * str) const

charPtr - Case sensitive compare

References charPtr(), and CmpiBoolean.

◆ equals() [2/2]

CmpiBoolean CmpiString::equals ( const CmpiString & str) const

References charPtr(), CmpiBoolean, and CmpiString().

◆ equalsIgnoreCase() [1/2]

CmpiBoolean CmpiString::equalsIgnoreCase ( const char * str) const

charPtr - Case insensitive compare

References charPtr(), and CmpiBoolean.

◆ equalsIgnoreCase() [2/2]

CmpiBoolean CmpiString::equalsIgnoreCase ( const CmpiString & str) const

References charPtr(), CmpiBoolean, and CmpiString().

◆ getEnc()

CMPIString * CmpiString::getEnc ( ) const
protected

Gets the encapsulated CMPIString.

References enc.

Referenced by charPtr(), CmpiData::CmpiData(), and CmpiObjectPath::makeObjectPath().

◆ CmpiArgs

friend class CmpiArgs
friend

References CmpiArgs.

Referenced by CmpiArgs.

◆ CmpiArrayIdx

friend class CmpiArrayIdx
friend

References CmpiArrayIdx.

Referenced by CmpiArrayIdx.

◆ CmpiBroker

friend class CmpiBroker
friend

References CmpiBroker.

Referenced by CmpiBroker.

◆ CmpiData

friend class CmpiData
friend

References CmpiData.

Referenced by CmpiData.

◆ CmpiInstance

friend class CmpiInstance
friend

References CmpiInstance.

Referenced by CmpiInstance.

◆ CmpiObject

friend class CmpiObject
friend

References CmpiObject.

Referenced by CmpiObject.

◆ CmpiObjectPath

friend class CmpiObjectPath
friend

References CmpiObjectPath.

Referenced by CmpiObjectPath.

Member Data Documentation

◆ enc

void* CmpiString::enc
protected

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