STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

atlstl Namespace Reference

The ATLSTL namespace - atlstl (aliased to stlsoft::atlstl_project) - is the namespace for the ATLSTL project. More...


Compounds

class  c_str_ptr_CWindow_proxy
 This class provides an intermediary object that may be returned by the c_str_ptr() function, such that the window text of a given window may be accessed as a null-terminated string. More...

class  c_str_ptr_null_CWindow_proxy
 This class provides an intermediary object that may be returned by the c_str_ptr_null() function, such that the window text of a given window may be accessed as a null-terminated string. More...

class  ccombstr_veneer
 Applies standard string (std::basic_string) interface to the CComBSTR class. More...

class  SupportErrorInfoImpl
 Provides implementation of ISupportErrorInfo for support for errors on one interface. More...

class  SupportErrorInfoImpl2
 Provides implementation of ISupportErrorInfo for support for errors on two interfaces. More...

class  SupportErrorInfoImpl3
 Provides implementation of ISupportErrorInfo for support for errors on three interfaces. More...


Typedefs

typedef ::stlsoft::ss_char_a_t as_char_a_t
 Ansi char type.

typedef ::stlsoft::ss_char_w_t as_char_w_t
 Unicode char type.

typedef ::stlsoft::ss_sint8_t as_sint8_t
 8-bit signed integer

typedef ::stlsoft::ss_uint8_t as_uint8_t
 8-bit unsigned integer

typedef ::stlsoft::ss_int16_t as_int16_t
 16-bit integer

typedef ::stlsoft::ss_sint16_t as_sint16_t
 16-bit signed integer

typedef ::stlsoft::ss_uint16_t as_uint16_t
 16-bit unsigned integer

typedef ::stlsoft::ss_int32_t as_int32_t
 32-bit integer

typedef ::stlsoft::ss_sint32_t as_sint32_t
 32-bit signed integer

typedef ::stlsoft::ss_uint32_t as_uint32_t
 32-bit unsigned integer

typedef ::stlsoft::ss_int_t as_int_t
 integer

typedef ::stlsoft::ss_sint_t as_sint_t
 signed integer

typedef ::stlsoft::ss_uint_t as_uint_t
 unsigned integer

typedef ::stlsoft::ss_long_t as_long_t
 long

typedef ::stlsoft::ss_bool_t as_bool_t
 bool

typedef DWORD as_dword_t
 dword

typedef ::stlsoft::ss_size_t as_size_t
 size

typedef ::stlsoft::ss_ptrdiff_t as_ptrdiff_t
 ptr diff

typedef ::stlsoft::ss_streampos_t as_streampos_t
 streampos

typedef ::stlsoft::ss_streamoff_t as_streamoff_t
 streamoff


Functions

as_bool_t InlineIsEqualGUID (REFGUID rguid1, REFGUID rguid2)
 This function is needed since there are ambiguities between COM headers and ATL headers.

template<typename C, typename T> HRESULT get_MemberValue (C *const cls, T *ret, T C::*mem)
 Inline retrieval of member variable value.

template<typename C, class T> HRESULT get_MemberValue (C *const cls, T **ret, T *C::*mem)
 Ghost overload to prevent use of get_MemberValue with pointer types.

template<typename C> HRESULT get_MemberValue (C *const cls, BSTR *ret, CComBSTR C::*mem)
 Inline retrieval of a CComBSTR member variable value.

template<typename C> HRESULT get_MemberValue (C *const cls, VARIANT *ret, CComVariant C::*mem)
 Inline retrieval of a VARIANT member variable value.

template<typename C, typename T> HRESULT put_MemberValue (C *const cls, T const &newVal, T C::*mem)
 Inline assignment of a member variable value.

template<typename C> HRESULT put_MemberValue (C *const cls, BSTR newVal, CComBSTR C::*mem)
 Inline assignment of a CComBSTR member variable value.

template<typename C> HRESULT put_MemberValue (C *const cls, CComBSTR const &newVal, CComBSTR C::*mem)
 Inline assignment of a CComBSTR member variable value.

template<typename C> HRESULT put_MemberValue (C *const cls, CComVariant const &newVal, CComVariant C::*mem)
 Inline assignment of a CComVariant member variable value.

c_str_ptr_null_CWindow_proxy c_str_ptr_null (::ATL::CWindow const &w)
 Returns the corresponding C-string pointer of the CWindow w, or a null pointer.

LPCOLESTR c_str_ptr_null (::ATL::CComBSTR const &s)
 Returns the corresponding C-string pointer of the CComBSTR s, or a null pointer.

c_str_ptr_CWindow_proxy c_str_ptr (::ATL::CWindow const &w)
 Returns the corresponding C-string pointer of the CWindow w.

LPCOLESTR c_str_ptr (::ATL::CComBSTR const &s)
 Returns the corresponding C-string pointer of the CComBSTR s.

as_size_t c_str_len (::ATL::CWindow const &w)
 Returns the length (in characters) of the contents of the window w, not including the null-terminating character.

as_size_t c_str_len (::ATL::CComBSTR const &s)
 Returns the length (in characters) of the CComBSTR s, not including the null-terminating character.

as_size_t c_str_size (::ATL::CWindow const &w)
 Returns the size (in bytes) of the contents of the window w, not including the null-terminating character.

as_size_t c_str_size (::ATL::CComBSTR const &s)
 Returns the size (in bytes) of the CComBSTR s, not including the null-terminating character.

HWND get_hwnd (CWindow const &w)
 Access the HWND of the given CWindow instance.


Detailed Description

The ATLSTL namespace - atlstl (aliased to stlsoft::atlstl_project) - is the namespace for the ATLSTL project.

Typedef Documentation

typedef ::stlsoft:: ss_bool_t as_bool_t
 

bool

typedef ::stlsoft:: ss_char_a_t as_char_a_t
 

Ansi char type.

typedef ::stlsoft:: ss_char_w_t as_char_w_t
 

Unicode char type.

typedef DWORD as_dword_t
 

dword

typedef ::stlsoft:: ss_int16_t as_int16_t
 

16-bit integer

typedef ::stlsoft:: ss_int32_t as_int32_t
 

32-bit integer

typedef ::stlsoft:: ss_int_t as_int_t
 

integer

typedef ::stlsoft:: ss_long_t as_long_t
 

long

typedef ::stlsoft:: ss_ptrdiff_t as_ptrdiff_t
 

ptr diff

typedef ::stlsoft:: ss_sint16_t as_sint16_t
 

16-bit signed integer

typedef ::stlsoft:: ss_sint32_t as_sint32_t
 

32-bit signed integer

typedef ::stlsoft:: ss_sint8_t as_sint8_t
 

8-bit signed integer

typedef ::stlsoft:: ss_sint_t as_sint_t
 

signed integer

typedef ::stlsoft:: ss_size_t as_size_t
 

size

typedef ::stlsoft:: ss_streamoff_t as_streamoff_t
 

streamoff

typedef ::stlsoft:: ss_streampos_t as_streampos_t
 

streampos

typedef ::stlsoft:: ss_uint16_t as_uint16_t
 

16-bit unsigned integer

typedef ::stlsoft:: ss_uint32_t as_uint32_t
 

32-bit unsigned integer

typedef ::stlsoft:: ss_uint8_t as_uint8_t
 

8-bit unsigned integer

typedef ::stlsoft:: ss_uint_t as_uint_t
 

unsigned integer


Function Documentation

as_bool_t InlineIsEqualGUID REFGUID    rguid1,
REFGUID    rguid2
[inline]
 

This function is needed since there are ambiguities between COM headers and ATL headers.


STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004