OWBI1::CIMQualifierType Class Reference

The CIMQualifierType class encapsulates the data and functionality associated with a CIM qualifier type. More...

#include <OWBI1_CIMQualifierType.hpp>

Inheritance diagram for OWBI1::CIMQualifierType:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef detail::CIMQualifierTypeRepRef
CIMQualifierType::* 
safe_bool

Public Member Functions

 CIMQualifierType ()
 Create a new CIMQualifierType object.
 CIMQualifierType (CIMNULL_t)
 Create a NULL CIMQualifierType object.
 CIMQualifierType (const CIMName &name)
 Create an CIMQualifierType with a given name.
 CIMQualifierType (const char *name)
 Create an CIMQualifierType with a given name.
 CIMQualifierType (const CIMQualifierType &arg)
 Copy ctor.
 CIMQualifierType (const detail::CIMQualifierTypeRepRef &rep)
 ~CIMQualifierType ()
 Destroy this CIMQualifierType object.
virtual void setNull ()
 Set this to a null object.
CIMQualifierTypeoperator= (const CIMQualifierType &arg)
 Assignment operator.
CIMScopeArray getScopes () const
CIMDataType getDataType () const
Int32 getDataSize () const
CIMValue getDefaultValue () const
CIMQualifierTypesetDataType (const CIMDataType &dataType)
 Set the data type for this CIMQualifierType object.
CIMQualifierTypesetDataType (const CIMDataType::Type &dataType)
 Set the data type for this CIMQualifierType object.
CIMQualifierTypesetDefaultValue (const CIMValue &defValue)
 Set the default value for this CIMQualifierType object.
CIMQualifierTypeaddScope (const CIMScope &newScope)
 Add a scope to this CIMQualifierType object.
bool hasScope (const CIMScope &scopeArg) const
 Determine if this CIMQualifierType has a specified scope.
bool hasFlavor (const CIMFlavor &flavorArg) const
 Determine if this CIMQualifierType has a specified flavor.
CIMQualifierTypeaddFlavor (const CIMFlavor &newFlavor)
 Add a flavor to this CIMQualifierType object.
CIMQualifierTyperemoveFlavor (const Int32 flavor)
 Remove a flavor from this CIMQualifierType.
CIMFlavorArray getFlavors () const
bool hasDefaultValue () const
bool isDefaultValueArray () const
virtual void writeObject (std::ostream &ostrm) const
 Write this CIMQualifierType object to the given output stream.
virtual void readObject (std::istream &istrm)
 Read this CIMQualifierType object from the given input stream.
virtual String toString () const
virtual String toMOF () const
virtual CIMName getName () const
virtual void setName (const CIMName &name)
 Set the name of this qualifier type.
 operator safe_bool () const
bool operator! () const
detail::CIMQualifierTypeRepRef getRep () const

Private Attributes

detail::CIMQualifierTypeRepRef m_rep

Detailed Description

The CIMQualifierType class encapsulates the data and functionality associated with a CIM qualifier type.

Definition at line 53 of file OWBI1_CIMQualifierType.hpp.


Member Typedef Documentation

typedef detail::CIMQualifierTypeRepRef CIMQualifierType::* OWBI1::CIMQualifierType::safe_bool
 

Definition at line 207 of file OWBI1_CIMQualifierType.hpp.


Constructor & Destructor Documentation

OWBI1::CIMQualifierType::CIMQualifierType  ) 
 

Create a new CIMQualifierType object.

Definition at line 65 of file OWBI1_CIMQualifierType.cpp.

OWBI1::CIMQualifierType::CIMQualifierType CIMNULL_t   )  [explicit]
 

Create a NULL CIMQualifierType object.

Definition at line 70 of file OWBI1_CIMQualifierType.cpp.

OWBI1::CIMQualifierType::CIMQualifierType const CIMName name  ) 
 

Create an CIMQualifierType with a given name.

Parameters:
name The name for this CIMQualifierType object.

Definition at line 75 of file OWBI1_CIMQualifierType.cpp.

OWBI1::CIMQualifierType::CIMQualifierType const char *  name  ) 
 

Create an CIMQualifierType with a given name.

Parameters:
name The name for this CIMQualifierType object as a NULL terminated string.

Definition at line 80 of file OWBI1_CIMQualifierType.cpp.

OWBI1::CIMQualifierType::CIMQualifierType const CIMQualifierType arg  ) 
 

Copy ctor.

Parameters:
arg The CIMQualifierType to make this object a copy of.

Definition at line 92 of file OWBI1_CIMQualifierType.cpp.

OWBI1::CIMQualifierType::CIMQualifierType const detail::CIMQualifierTypeRepRef rep  )  [explicit]
 

Definition at line 86 of file OWBI1_CIMQualifierType.cpp.

OWBI1::CIMQualifierType::~CIMQualifierType  ) 
 

Destroy this CIMQualifierType object.

Definition at line 98 of file OWBI1_CIMQualifierType.cpp.


Member Function Documentation

CIMQualifierType & OWBI1::CIMQualifierType::addFlavor const CIMFlavor newFlavor  ) 
 

Add a flavor to this CIMQualifierType object.

Parameters:
newFlavor The flavor to add to this CIMQualifierType object.
Returns:
a reference to *this

Definition at line 179 of file OWBI1_CIMQualifierType.cpp.

References OWBI1::CIMFlavor::getRep(), and m_rep.

CIMQualifierType & OWBI1::CIMQualifierType::addScope const CIMScope newScope  ) 
 

Add a scope to this CIMQualifierType object.

Parameters:
newScope The scope to add to this CIMQualifierType.
Returns:
a reference to *this

Definition at line 160 of file OWBI1_CIMQualifierType.cpp.

References OWBI1::CIMScope::getRep(), and m_rep.

Int32 OWBI1::CIMQualifierType::getDataSize  )  const
 

Returns:
The size of the data for CIMQualifierType object.

Definition at line 128 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

CIMDataType OWBI1::CIMQualifierType::getDataType  )  const
 

Returns:
The data type for this CIMQualifierType object.

Definition at line 122 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

CIMValue OWBI1::CIMQualifierType::getDefaultValue  )  const
 

Returns:
The default value for this CIMQualifierType object.

Definition at line 134 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

CIMFlavorArray OWBI1::CIMQualifierType::getFlavors  )  const
 

Returns:
The flavors for this CIMQualifierType object.

Definition at line 193 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

CIMName OWBI1::CIMQualifierType::getName  )  const [virtual]
 

Returns:
The name of this qualifier type.

Implements OWBI1::CIMElement.

Definition at line 211 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

detail::CIMQualifierTypeRepRef OWBI1::CIMQualifierType::getRep  )  const
 

Definition at line 261 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

Referenced by OWBI1::operator<(), and OWBI1::CIMQualifier::setDefaults().

CIMScopeArray OWBI1::CIMQualifierType::getScopes  )  const
 

Returns:
the Scopes for this CIMQualifierType object

Definition at line 116 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

bool OWBI1::CIMQualifierType::hasDefaultValue  )  const
 

Returns:
true this CIMQualifierType has a default value. Otherwise false.

Definition at line 199 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

bool OWBI1::CIMQualifierType::hasFlavor const CIMFlavor flavorArg  )  const
 

Determine if this CIMQualifierType has a specified flavor.

Parameters:
flavorArg The flavor to check for.
Returns:
true if this CIMQualifierType has the given flavor. Otherwise false.

Definition at line 173 of file OWBI1_CIMQualifierType.cpp.

References OWBI1::CIMFlavor::getRep(), and m_rep.

bool OWBI1::CIMQualifierType::hasScope const CIMScope scopeArg  )  const
 

Determine if this CIMQualifierType has a specified scope.

Parameters:
scopeArg The scope to check for.
Returns:
true if this CIMQualifierType has the given scope. Otherwise false.

Definition at line 167 of file OWBI1_CIMQualifierType.cpp.

References OWBI1::CIMScope::getRep(), and m_rep.

bool OWBI1::CIMQualifierType::isDefaultValueArray  )  const
 

Returns:
true if the default value is an array type. Otherwise false.

Definition at line 205 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

OWBI1::CIMQualifierType::operator safe_bool  )  const
 

Definition at line 247 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

bool OWBI1::CIMQualifierType::operator!  )  const
 

Definition at line 254 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

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

Assignment operator.

Parameters:
arg The CIMQualifierType to assign to this object.
Returns:
A reference to this object after the assignment has been made.

Definition at line 103 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

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

Read this CIMQualifierType object from the given input stream.

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

Implements OWBI1::SerializableIFC.

CIMQualifierType & OWBI1::CIMQualifierType::removeFlavor const Int32  flavor  ) 
 

Remove a flavor from this CIMQualifierType.

Parameters:
flavor The integral value of the flavor to remove.
Returns:
a reference to *this

Definition at line 186 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

CIMQualifierType & OWBI1::CIMQualifierType::setDataType const CIMDataType::Type dataType  ) 
 

Set the data type for this CIMQualifierType object.

Parameters:
dataType The CIMDataType::Type for this CIMQualifierType object.
Returns:
a reference to *this

Definition at line 147 of file OWBI1_CIMQualifierType.cpp.

References setDataType().

CIMQualifierType & OWBI1::CIMQualifierType::setDataType const CIMDataType dataType  ) 
 

Set the data type for this CIMQualifierType object.

Parameters:
dataType The CIMDataType for this CIMQualifierType object.
Returns:
a reference to *this

Definition at line 140 of file OWBI1_CIMQualifierType.cpp.

References OWBI1::CIMDataType::getRep(), and m_rep.

Referenced by setDataType().

CIMQualifierType & OWBI1::CIMQualifierType::setDefaultValue const CIMValue defValue  ) 
 

Set the default value for this CIMQualifierType object.

Parameters:
defValue The default value for this CIMQualifierType.
Returns:
a reference to *this

Definition at line 153 of file OWBI1_CIMQualifierType.cpp.

References OWBI1::CIMValue::getRep(), and m_rep.

void OWBI1::CIMQualifierType::setName const CIMName name  )  [virtual]
 

Set the name of this qualifier type.

Parameters:
name The new name for this qualifier type.

Implements OWBI1::CIMElement.

Definition at line 217 of file OWBI1_CIMQualifierType.cpp.

References m_rep, and name.

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

Set this to a null object.

Implements OWBI1::CIMBase.

Definition at line 110 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

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

Returns:
An String that contains the MOF representation of this CIMQualifierType object.

Implements OWBI1::CIMBase.

Definition at line 241 of file OWBI1_CIMQualifierType.cpp.

References m_rep.

Referenced by toString().

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

Returns:
An String representing this CIMQualifierType.

Implements OWBI1::CIMElement.

Definition at line 235 of file OWBI1_CIMQualifierType.cpp.

References toMOF().

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

Write this CIMQualifierType object to the given output stream.

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

Implements OWBI1::SerializableIFC.


Member Data Documentation

detail::CIMQualifierTypeRepRef OWBI1::CIMQualifierType::m_rep [private]
 

Definition at line 219 of file OWBI1_CIMQualifierType.hpp.

Referenced by addFlavor(), addScope(), getDataSize(), getDataType(), getDefaultValue(), getFlavors(), getName(), getRep(), getScopes(), hasDefaultValue(), hasFlavor(), hasScope(), isDefaultValueArray(), operator safe_bool(), operator!(), operator=(), removeFlavor(), setDataType(), setDefaultValue(), setName(), setNull(), and toMOF().


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