Nui
Public Member Functions | Protected Attributes | Friends | List of all members
Microsoft::WRL::Wrappers::HStringReference Class Reference

#include <corewrappers.h>

Public Member Functions

 HStringReference (const wchar_t *str, unsigned int len) throw ()
 
template<unsigned int sizeDest>
 HStringReference (wchar_t const (&str)[sizeDest]) throw ()
 
template<size_t sizeDest>
 HStringReference (_In_z_ wchar_t(&strRef)[sizeDest]) throw ()
 
template<typename T >
 HStringReference (_In_ const T &strRef, typename ::Microsoft::WRL::Details::EnableIf< __is_convertible_to(T, const wchar_t *), ::Microsoft::WRL::Details::Dummy >::type=::Microsoft::WRL::Details::Dummy()) throw ()
 
 HStringReference (_In_ const HStringReference &other) throw ()
 
 ~HStringReference () throw ()
 
HStringReferenceoperator= (_In_ const HStringReference &other) throw ()
 
HSTRING Get () const throw ()
 
const wchar_t * GetRawBuffer (_Out_opt_ unsigned int *length) const
 
HRESULT CopyTo (_Outptr_result_maybenull_ _Result_nullonfailure_ HSTRING *str) const throw ()
 

Protected Attributes

HSTRING_HEADER header_
 
HSTRING hstr_
 

Friends

class HString
 

Constructor & Destructor Documentation

◆ HStringReference() [1/5]

Microsoft::WRL::Wrappers::HStringReference::HStringReference ( const wchar_t *  str,
unsigned int  len 
)
throw (
)
inline

◆ HStringReference() [2/5]

template<unsigned int sizeDest>
Microsoft::WRL::Wrappers::HStringReference::HStringReference ( wchar_t const (&)  str[sizeDest])
throw (
)
inlineexplicit

◆ HStringReference() [3/5]

template<size_t sizeDest>
Microsoft::WRL::Wrappers::HStringReference::HStringReference ( _In_z_ wchar_t(&)  strRef[sizeDest])
throw (
)
inlineexplicit

◆ HStringReference() [4/5]

template<typename T >
Microsoft::WRL::Wrappers::HStringReference::HStringReference ( _In_ const T &  strRef,
typename ::Microsoft::WRL::Details::EnableIf< __is_convertible_to(T, const wchar_t *), ::Microsoft::WRL::Details::Dummy >::type  = ::Microsoft::WRL::Details::Dummy() 
)
throw (
)
inlineexplicit

◆ HStringReference() [5/5]

Microsoft::WRL::Wrappers::HStringReference::HStringReference ( _In_ const HStringReference other)
throw (
)
inline

◆ ~HStringReference()

Microsoft::WRL::Wrappers::HStringReference::~HStringReference ( )
throw (
)
inline

Member Function Documentation

◆ CopyTo()

HRESULT Microsoft::WRL::Wrappers::HStringReference::CopyTo ( _Outptr_result_maybenull_ _Result_nullonfailure_ HSTRING *  str) const
throw (
)
inline

◆ Get()

HSTRING Microsoft::WRL::Wrappers::HStringReference::Get ( ) const
throw (
)
inline

◆ GetRawBuffer()

const wchar_t* Microsoft::WRL::Wrappers::HStringReference::GetRawBuffer ( _Out_opt_ unsigned int *  length) const
inline

◆ operator=()

HStringReference& Microsoft::WRL::Wrappers::HStringReference::operator= ( _In_ const HStringReference other)
throw (
)
inline

Friends And Related Function Documentation

◆ HString

friend class HString
friend

Member Data Documentation

◆ header_

HSTRING_HEADER Microsoft::WRL::Wrappers::HStringReference::header_
protected

◆ hstr_

HSTRING Microsoft::WRL::Wrappers::HStringReference::hstr_
protected

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