OWBI1::CIMPropertyList Class Reference

#include <OWBI1_CIMPropertyList.hpp>

Inheritance diagram for OWBI1::CIMPropertyList:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef SortedVectorSet< CIMName
>::const_iterator 
const_iterator

Public Member Functions

 CIMPropertyList ()
 Create an "All Properties" PropertyList, referred to as a NULL PropertyList in the WBEM specification.
 CIMPropertyList (const StringArray &properties)
 Create a property list which for the property names in properties.
 CIMPropertyList (const CIMNameArray &properties)
 Create a property list which for the property names in properties.
 ~CIMPropertyList ()
 CIMPropertyList (const CIMPropertyList &other)
CIMPropertyListoperator= (const CIMPropertyList &other)
const_iterator begin () const
 Get the begin iterator to the set of property names.
const_iterator end () const
 Get the end iterator to the set of property names.
bool isAllProperties () const
 Test if this object represents a request for all properties (aka a NULL PropertyList).
bool hasProperty (const CIMName &propertyName) const
 Test if this CIMPropertyList contains property propertyName.
virtual void readObject (std::istream &istrm)
 Read this CIMPropertyList object from an input stream.
virtual void writeObject (std::ostream &ostrm) const
 Write this CIMPropertyList object to an output stream.

Private Attributes

COWIntrusiveReference< Repm_pdata

Classes

struct  Rep

Detailed Description

Definition at line 46 of file OWBI1_CIMPropertyList.hpp.


Member Typedef Documentation

typedef SortedVectorSet<CIMName>::const_iterator OWBI1::CIMPropertyList::const_iterator
 

Definition at line 49 of file OWBI1_CIMPropertyList.hpp.


Constructor & Destructor Documentation

OWBI1::CIMPropertyList::CIMPropertyList  ) 
 

Create an "All Properties" PropertyList, referred to as a NULL PropertyList in the WBEM specification.

Definition at line 67 of file OWBI1_CIMPropertyList.cpp.

OWBI1::CIMPropertyList::CIMPropertyList const StringArray properties  ) 
 

Create a property list which for the property names in properties.

Duplicate names are okay.

Definition at line 74 of file OWBI1_CIMPropertyList.cpp.

OWBI1::CIMPropertyList::CIMPropertyList const CIMNameArray properties  ) 
 

Create a property list which for the property names in properties.

Duplicate names are okay.

Definition at line 81 of file OWBI1_CIMPropertyList.cpp.

OWBI1::CIMPropertyList::~CIMPropertyList  ) 
 

Definition at line 88 of file OWBI1_CIMPropertyList.cpp.

OWBI1::CIMPropertyList::CIMPropertyList const CIMPropertyList other  ) 
 

Definition at line 93 of file OWBI1_CIMPropertyList.cpp.


Member Function Documentation

CIMPropertyList::const_iterator OWBI1::CIMPropertyList::begin  )  const
 

Get the begin iterator to the set of property names.

If this is an All Properties PropertyList, the set will be empty.

Definition at line 109 of file OWBI1_CIMPropertyList.cpp.

References m_pdata.

CIMPropertyList::const_iterator OWBI1::CIMPropertyList::end  )  const
 

Get the end iterator to the set of property names.

If this is an All Properties PropertyList, the set will be empty.

Definition at line 116 of file OWBI1_CIMPropertyList.cpp.

References m_pdata.

bool OWBI1::CIMPropertyList::hasProperty const CIMName propertyName  )  const
 

Test if this CIMPropertyList contains property propertyName.

Definition at line 130 of file OWBI1_CIMPropertyList.cpp.

References m_pdata.

bool OWBI1::CIMPropertyList::isAllProperties  )  const
 

Test if this object represents a request for all properties (aka a NULL PropertyList).

Definition at line 123 of file OWBI1_CIMPropertyList.cpp.

References m_pdata.

CIMPropertyList & OWBI1::CIMPropertyList::operator= const CIMPropertyList other  ) 
 

Definition at line 101 of file OWBI1_CIMPropertyList.cpp.

References m_pdata.

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

Read this CIMPropertyList object from an input stream.

Parameters:
istrm The input stream.

Implements OWBI1::SerializableIFC.

Definition at line 141 of file OWBI1_CIMPropertyList.cpp.

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

Write this CIMPropertyList object to an output stream.

Parameters:
ostrm The output stream.

Implements OWBI1::SerializableIFC.

Definition at line 148 of file OWBI1_CIMPropertyList.cpp.


Member Data Documentation

COWIntrusiveReference<Rep> OWBI1::CIMPropertyList::m_pdata [private]
 

Definition at line 103 of file OWBI1_CIMPropertyList.hpp.

Referenced by begin(), end(), hasProperty(), isAllProperties(), and operator=().


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