cmpi
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
CmpiString Class Reference

#include <cmpi/CmpiString.h>

List of all members.

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::CmpiString ( CMPIString c)
protected

Constructor - Internal use only

References enc.

CmpiString::CmpiString ( )

Constructor - Empty string

References enc.

CmpiString::CmpiString ( const char *  s)

Constructor - from const char*

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

CmpiString::CmpiString ( const CmpiString s)

Constructor - Copy constructor

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


Member Function Documentation

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

charPtr - Case sensitive compare

References charPtr().

CmpiBoolean CmpiString::equals ( const CmpiString str) const

References charPtr().

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

charPtr - Case insensitive compare

References charPtr().

CmpiBoolean CmpiString::equalsIgnoreCase ( const CmpiString str) const

References charPtr().

CMPIString * CmpiString::getEnc ( ) const
protected

Gets the encapsulated CMPIString.

References enc.

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


Friends And Related Function Documentation

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

Member Data Documentation

void* CmpiString::enc
protected

Referenced by CmpiString(), and getEnc().


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