[an error occurred while processing this directive]
[an error occurred while processing this directive] [an error occurred while processing this directive]

Pegasus CIM Object Broker Documentation

[an error occurred while processing this directive]


[an error occurred while processing this directive]

 

Contents

o Introduction
o Objectives
o Overview
o Credits
o Pegasus Architecture
   o Design Goals
   o The Broker
   o Pegasus Providers.
   o Extension Services
   o Pegasus Clients.
   o Functional Flow
o Pegasus Components
   o Component Descriptions
   o Pegasus Directory Structure
o Pegasus Utilization
   o Pegasus Availability
   o Pegasus Installation
   o Pegasus Operation
   o Pegasus CIM Clients
   o Pegasus Providers
   o Pegasus MOF Compiler
o Programming Pegasus
   o CIM Objects in Pegasus
   o CIM Object Table
   o Class Definitions
o Pegasus Interfaces
   o CIM Operations over HTTP
   o Pegasus Client Interfaces
   o Pegasus Provider Interfaces
   o Pegasus Service Extension Interfaces
   o Repository Interfaces
o Writing Providers.
o Glossary
o Pegasus Code Examples
   o Client Examples
   o Client Coding Examples
   o Provider Coding Examples
o Document References
o Pegausus FAQ
o
In file ../../src/Pegasus/Common/String.h:

class PEGASUS_COMMON_LINKAGE CString

The CString class provides access to an 8-bit String representation

Documentation

The CString class provides access to an 8-bit String representation

Inheritance:


Public Methods

[more] CString ()
Constructs a CString object with a null string value
[more] CString (const CString& cstr)
Constructs an independent copy of a CString object.
[more] ~CString ()
Destructs a CString object
[more]CString& operator= (const CString& cstr)
Copies the value of another CString object.
[more] operator const char* () const
Gets the CString's data as a C string pointer.

o CString()
Constructs a CString object with a null string value

o CString(const CString& cstr)
Constructs an independent copy of a CString object.
Parameters:
cstr - The CString instance to copy.

o ~CString()
Destructs a CString object

oCString& operator=(const CString& cstr)
Copies the value of another CString object.
Parameters:
cstr - The CString object from which to copy the value.
Returns:
A reference to the target CString object with its newly assigned value.

o operator const char*() const
Gets the CString's data as a C string pointer. IMPORTANT: The returned pointer refers to memory owned by the CString object. The caller must not free this memory. The returned pointer is valid only until the CString object is destructed or reassigned. Use of this operator on a temporary CString object may result in a memory error. For example, this usage is invalid:

const char* cstr = String("Hello").getCString(); printf(cstr);

Returns:
Returns a const char pointer to the CString's data.


This class has no child classes.
Friends:
class String

Alphabetic index HTML hierarchy of classes or Java


[an error occurred while processing this directive]