OWBI1::CIMParamValue Class Reference

#include <OWBI1_CIMParamValue.hpp>

Inheritance diagram for OWBI1::CIMParamValue:

Inheritance graph
[legend]
Collaboration diagram for OWBI1::CIMParamValue:

Collaboration graph
[legend]
List of all members.

Public Types

typedef COWIntrusiveReference<
Data > CIMParamValue::* 
safe_bool

Public Member Functions

 CIMParamValue ()
 Create an CIMParamValue.
 CIMParamValue (CIMNULL_t)
 Create a null CIMParamValue.
 CIMParamValue (const CIMName &name, const CIMValue &val)
 Create a new CIMParamValue object.
 CIMParamValue (const CIMName &name)
 Create a new CIMParamValue object.
 CIMParamValue (const CIMParamValue &arg)
 Copy constructor.
 ~CIMParamValue ()
 Destroy this CIMParamValue object.
CIMParamValueoperator= (const CIMParamValue &arg)
 Assignment operator.
String getName () const
CIMParamValuesetName (const CIMName &name)
CIMValue getValue () const
CIMParamValuesetValue (const CIMValue &val)
 operator safe_bool () const
bool operator! () const
virtual void readObject (std::istream &istrm)
 Read this CIMParamValue from an inputstream.
virtual void writeObject (std::ostream &ostrm) const
 Write this CIMParamValue to an output stream.
virtual void setNull ()
 Set this object to NULL.
virtual String toString () const
virtual String toMOF () const

Private Attributes

COWIntrusiveReference< Datam_pdata

Friends

OWBI1_OWBI1PROVIFC_API bool operator< (const CIMParamValue &x, const CIMParamValue &y)

Classes

struct  Data

Detailed Description

Definition at line 48 of file OWBI1_CIMParamValue.hpp.


Member Typedef Documentation

typedef COWIntrusiveReference<Data> CIMParamValue::* OWBI1::CIMParamValue::safe_bool
 

Definition at line 92 of file OWBI1_CIMParamValue.hpp.


Constructor & Destructor Documentation

OWBI1::CIMParamValue::CIMParamValue  ) 
 

Create an CIMParamValue.

Definition at line 67 of file OWBI1_CIMParamValue.cpp.

OWBI1::CIMParamValue::CIMParamValue CIMNULL_t   )  [explicit]
 

Create a null CIMParamValue.

Definition at line 72 of file OWBI1_CIMParamValue.cpp.

OWBI1::CIMParamValue::CIMParamValue const CIMName name,
const CIMValue val
 

Create a new CIMParamValue object.

Parameters:
name The name of the parameter.
val The value of the parameter.

Definition at line 83 of file OWBI1_CIMParamValue.cpp.

References m_pdata, name, and val.

OWBI1::CIMParamValue::CIMParamValue const CIMName name  )  [explicit]
 

Create a new CIMParamValue object.

The value portion will be null.

Parameters:
name The name of the parameter.

Definition at line 77 of file OWBI1_CIMParamValue.cpp.

References m_pdata, and name.

OWBI1::CIMParamValue::CIMParamValue const CIMParamValue arg  ) 
 

Copy constructor.

Parameters:
arg The CIMParamValue to make a copy of

Definition at line 90 of file OWBI1_CIMParamValue.cpp.

OWBI1::CIMParamValue::~CIMParamValue  ) 
 

Destroy this CIMParamValue object.

Definition at line 95 of file OWBI1_CIMParamValue.cpp.


Member Function Documentation

String OWBI1::CIMParamValue::getName  )  const
 

Definition at line 107 of file OWBI1_CIMParamValue.cpp.

References m_pdata.

CIMValue OWBI1::CIMParamValue::getValue  )  const
 

Definition at line 120 of file OWBI1_CIMParamValue.cpp.

References m_pdata.

OWBI1::CIMParamValue::operator safe_bool  )  const [inline]
 

Returns:
true if this CIMParamValue is a valid CIM data type

Definition at line 96 of file OWBI1_CIMParamValue.hpp.

References m_pdata.

bool OWBI1::CIMParamValue::operator!  )  const [inline]
 

Definition at line 100 of file OWBI1_CIMParamValue.hpp.

CIMParamValue & OWBI1::CIMParamValue::operator= const CIMParamValue arg  ) 
 

Assignment operator.

Parameters:
arg The CIMParamValue to assign to this one.
Returns:
A reference to this CIMParamValue object.

Definition at line 100 of file OWBI1_CIMParamValue.cpp.

References m_pdata.

virtual void OWBI1::CIMParamValue::readObject std::istream &  istrm  )  [virtual]
 

Read this CIMParamValue from an inputstream.

Parameters:
istrm The input stream to read this object from.

Implements OWBI1::SerializableIFC.

CIMParamValue & OWBI1::CIMParamValue::setName const CIMName name  ) 
 

Definition at line 113 of file OWBI1_CIMParamValue.cpp.

References m_pdata, and name.

void OWBI1::CIMParamValue::setNull  )  [virtual]
 

Set this object to NULL.

This should invalidate the CIMBase object, so that subsequent operation will fail.

Implements OWBI1::CIMBase.

Definition at line 133 of file OWBI1_CIMParamValue.cpp.

References m_pdata.

CIMParamValue & OWBI1::CIMParamValue::setValue const CIMValue val  ) 
 

Definition at line 126 of file OWBI1_CIMParamValue.cpp.

References m_pdata, and val.

String OWBI1::CIMParamValue::toMOF  )  const [virtual]
 

Returns:
The MOF representation of this CIMParamValue as an String.

Implements OWBI1::CIMBase.

Definition at line 178 of file OWBI1_CIMParamValue.cpp.

String OWBI1::CIMParamValue::toString  )  const [virtual]
 

Returns:
The string representation of this CIMParamValue object.

Implements OWBI1::CIMBase.

Definition at line 172 of file OWBI1_CIMParamValue.cpp.

References m_pdata.

virtual void OWBI1::CIMParamValue::writeObject std::ostream &  ostrm  )  const [virtual]
 

Write this CIMParamValue to an output stream.

Parameters:
ostrm The output stream to write this object to.

Implements OWBI1::SerializableIFC.


Friends And Related Function Documentation

OWBI1_OWBI1PROVIFC_API bool operator< const CIMParamValue x,
const CIMParamValue y
[friend]
 

Definition at line 183 of file OWBI1_CIMParamValue.cpp.


Member Data Documentation

COWIntrusiveReference<Data> OWBI1::CIMParamValue::m_pdata [private]
 

Definition at line 130 of file OWBI1_CIMParamValue.hpp.

Referenced by CIMParamValue(), getName(), getValue(), operator safe_bool(), OWBI1::operator<(), operator=(), setName(), setNull(), setValue(), and toString().


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:18:12 2006 for openwbem by  doxygen 1.4.6