cmpi
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
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.

◆ 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, enc, and CmpiProviderBase::getBroker().

Member Function Documentation

◆ charPtr()

const char * CmpiString::charPtr ( ) const

◆ equals() [1/2]

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

charPtr - Case sensitive compare

References charPtr().

◆ equals() [2/2]

CmpiBoolean CmpiString::equals ( const CmpiString str) const

References charPtr().

◆ equalsIgnoreCase() [1/2]

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

charPtr - Case insensitive compare

References charPtr().

◆ equalsIgnoreCase() [2/2]

CmpiBoolean CmpiString::equalsIgnoreCase ( const CmpiString str) const

References charPtr().

◆ getEnc()

CMPIString * CmpiString::getEnc ( ) const
protected

Gets the encapsulated CMPIString.

References enc.

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

Friends And Related Function Documentation

◆ CmpiArgs

friend class CmpiArgs
friend

◆ CmpiArrayIdx

friend class CmpiArrayIdx
friend

◆ CmpiBroker

friend class CmpiBroker
friend

◆ CmpiData

friend class CmpiData
friend

◆ CmpiInstance

friend class CmpiInstance
friend

◆ CmpiObject

friend class CmpiObject
friend

◆ CmpiObjectPath

friend class CmpiObjectPath
friend

Member Data Documentation

◆ enc

void* CmpiString::enc
protected

Referenced by CmpiString(), and getEnc().


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