WMI Library
Public Types | Public Member Functions | Static Public Member Functions
WMI::TypedObject< T > Class Template Reference

The base class for all type-specfic WMI objects. More...

#include <TypedObject.hpp>

Inheritance diagram for WMI::TypedObject< T >:
WMI::Object

List of all members.

Public Types

typedef TypedObjectIterator< T > Iterator
 A iterator for the derived type.

Public Member Functions

 TypedObject (IWbemClassObjectPtr object)
 Construction from the underlying COM object.
virtual ~TypedObject ()
 Destructor.

Static Public Member Functions

static Iterator select (Connection &connection)
 Select all objects of the derived type.

Detailed Description

template<typename T>
class WMI::TypedObject< T >

The base class for all type-specfic WMI objects.

Note:
The derived class must have a constant defined called WMI_CLASS_NAME that this class can use to very the WMI object type and use in queries.

Member Typedef Documentation

template<typename T>
typedef TypedObjectIterator<T> WMI::TypedObject< T >::Iterator

A iterator for the derived type.


Constructor & Destructor Documentation

template<typename T >
WMI::TypedObject< T >::TypedObject ( IWbemClassObjectPtr  object) [inline]

Construction from the underlying COM object.

template<typename T >
WMI::TypedObject< T >::~TypedObject ( ) [inline, virtual]

Destructor.


Member Function Documentation

template<typename T >
TypedObject< T >::Iterator WMI::TypedObject< T >::select ( Connection connection) [inline, static]

Select all objects of the derived type.


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