GME  13
Classes | Typedefs | Functions
CommonStl.h File Reference

Go to the source code of this file.

Classes

struct  ptr_compare< T >
class  CComObjPtrVector< INTERFACE >
class  PutOutCollObj< ELEM >

Typedefs

typedef wchar_t * bstr_iterator
typedef const wchar_t * bstr_const_iterator
typedef std::vector< unsigned
char > 
bindata

Functions

void CopyTo (const std::string &s, BSTR *b)
void CopyTo (const std::string &s, VARIANT *v)
void CopyTo (const std::string &s, CComBstrObj &a)
void CopyTo (const std::string &s, CComVariant &a)
void CopyTo (BSTR b, std::string &s)
void CopyTo (VARIANT &v, std::string &s)
void vFormat (std::string &s, const char *format, va_list args)
void vFormat (std::wstring &s, const wchar_t *format, va_list args)
void Format (std::string &s, const char *format,...)
void Format (std::wstring &s, const wchar_t *format,...)
bstr_const_iterator begin (BSTR p)
bstr_const_iterator end (BSTR p)
void CopyTo (bstr_const_iterator i, bstr_const_iterator e, CComBstrObj &b)
void CopyTo (const bindata &b, VARIANT *p)
void CopyTo (const bindata &b, CComVariant &a)
void CopyTo (VARIANT &v, bindata &b)
void MoveTo (SAFEARRAY *p, std::vector< CComBstrObj > &bstrobjs)
void MoveTo (std::vector< CComBstrObj > &bstrobjs, SAFEARRAY **p)
void CopyTo (const std::vector< CComBstrObj > &bstrobjs, SAFEARRAY **p)
void CopyTo (const std::vector< GUID > &guids, SAFEARRAY **p)
template<class CONTAINER >
int limited_size (const CONTAINER &container, int limit)
template<class ELEM >
void CopyTo (TYPENAME_ELEM2COLL(ELEM)*p, std::vector< CComObjPtr< ELEM > > &q)
template<class ELEM >
PutOutCollObj< ELEM > PutOut (std::vector< CComObjPtr< ELEM > > &coll_vector)

Typedef Documentation

typedef std::vector<unsigned char> bindata

Definition at line 91 of file CommonStl.h.

typedef const wchar_t* bstr_const_iterator

Definition at line 74 of file CommonStl.h.

typedef wchar_t* bstr_iterator

Definition at line 73 of file CommonStl.h.


Function Documentation

bstr_const_iterator begin ( BSTR  p) [inline]

Definition at line 76 of file CommonStl.h.

void CopyTo ( const std::string s,
BSTR *  b 
) [inline]

Definition at line 27 of file CommonStl.h.

void CopyTo ( const std::string s,
VARIANT *  v 
) [inline]

Definition at line 28 of file CommonStl.h.

void CopyTo ( const std::string s,
CComBstrObj a 
) [inline]

Definition at line 29 of file CommonStl.h.

void CopyTo ( const std::string s,
CComVariant &  a 
) [inline]

Definition at line 30 of file CommonStl.h.

void CopyTo ( BSTR  b,
std::string s 
) [inline]

Definition at line 32 of file CommonStl.h.

void CopyTo ( VARIANT &  v,
std::string s 
) [inline]

Definition at line 43 of file CommonStl.h.

void CopyTo ( bstr_const_iterator  i,
bstr_const_iterator  e,
CComBstrObj b 
) [inline]

Definition at line 79 of file CommonStl.h.

void CopyTo ( const bindata b,
VARIANT *  p 
) [inline]

Definition at line 93 of file CommonStl.h.

void CopyTo ( const bindata b,
CComVariant &  a 
) [inline]

Definition at line 105 of file CommonStl.h.

void CopyTo ( VARIANT &  v,
bindata b 
) [inline]

Definition at line 107 of file CommonStl.h.

void CopyTo ( const std::vector< CComBstrObj > &  bstrobjs,
SAFEARRAY **  p 
) [inline]

Definition at line 143 of file CommonStl.h.

void CopyTo ( const std::vector< GUID > &  guids,
SAFEARRAY **  p 
) [inline]

Definition at line 150 of file CommonStl.h.

template<class ELEM >
void CopyTo ( TYPENAME_ELEM2COLL(ELEM)*  p,
std::vector< CComObjPtr< ELEM > > &  q 
)

Definition at line 221 of file CommonStl.h.

bstr_const_iterator end ( BSTR  p) [inline]

Definition at line 77 of file CommonStl.h.

void Format ( std::string s,
const char *  format,
  ... 
) [inline]

Definition at line 57 of file CommonStl.h.

void Format ( std::wstring &  s,
const wchar_t *  format,
  ... 
) [inline]

Definition at line 65 of file CommonStl.h.

template<class CONTAINER >
int limited_size ( const CONTAINER &  container,
int  limit 
) [inline]

Definition at line 199 of file CommonStl.h.

void MoveTo ( SAFEARRAY *  p,
std::vector< CComBstrObj > &  bstrobjs 
) [inline]

Definition at line 128 of file CommonStl.h.

void MoveTo ( std::vector< CComBstrObj > &  bstrobjs,
SAFEARRAY **  p 
) [inline]

Definition at line 136 of file CommonStl.h.

template<class ELEM >
PutOutCollObj< ELEM > PutOut ( std::vector< CComObjPtr< ELEM > > &  coll_vector)

Definition at line 286 of file CommonStl.h.

void vFormat ( std::string s,
const char *  format,
va_list  args 
)

Definition at line 8 of file CommonStl.cpp.

void vFormat ( std::wstring &  s,
const wchar_t *  format,
va_list  args 
)

Definition at line 25 of file CommonStl.cpp.