Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

com::SafeIfaceArray< I > Class Template Reference

#include <array.h>

Inheritance diagram for com::SafeIfaceArray< I >:

com::SafeArray< T, Traits >

List of all members.


Detailed Description

template<class I>
class com::SafeIfaceArray< I >

Version of com::SafeArray for arrays of interface pointers.

Except that it manages arrays of interface pointers, the usage of this class is identical to com::SafeArray.

Parameters:
I Interface class (no asterisk).

Definition at line 1429 of file array.h.


Public Types

typedef SafeArray< I
*, SafeIfaceArrayTraits< I > > 
Base

Public Member Functions

SAFEARRAY ** __asInParam ()
OutSafeArrayDipper __asOutParam ()
T * appendedRaw ()
virtual const SafeArraycloneTo (ComSafeArrayOut(T, aArg)) const
virtual SafeArraydetachTo (ComSafeArrayOut(T, aArg))
bool isNull () const
bool isWeak () const
T & operator[] (size_t aIdx)
const T operator[] (size_t aIdx) const
T & operator[] (size_t aIdx)
bool push_back (const T &aElement)
T * raw ()
const T * raw () const
T * raw ()
bool reset (size_t aNewSize)
bool resize (size_t aNewSize)
template<template< typename, typename, typename, typename > class C, class L, class A, class K, class OI>
 SafeIfaceArray (const C< K, ComObjPtr< OI >, L, A > &aMap)
template<template< typename, typename, typename, typename > class C, class L, class A, class K, class OI>
 SafeIfaceArray (const C< K, ComPtr< OI >, L, A > &aMap)
template<template< typename, typename > class C, class A, class OI>
 SafeIfaceArray (const C< ComObjPtr< OI >, A > &aCntr)
template<template< typename, typename > class C, class A, class OI>
 SafeIfaceArray (const C< ComPtr< OI >, A > &aCntr)
 SafeIfaceArray (ComSafeArrayIn(I *, aArg))
 SafeIfaceArray (size_t aSize)
 SafeIfaceArray ()
virtual void setNull ()
size_t size () const
size_t size () const

Static Public Attributes

static const SafeArray Null

Protected Member Functions

bool ensureCapacity (size_t aNewSize)

Protected Attributes

Data m

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

Generated by  Doxygen 1.6.0   Back to index