STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
msclr::interop::context_node< BSTR, System::String^> Class Template Reference

#include <msclr/marshal_windows.h>

Inheritance diagram for msclr::interop::context_node< BSTR, System::String^>:
msclr::interop::context_node_base

Public Member Functions

 context_node (BSTR &_to_object, System::String^from)
 
 ~context_node ()
 

Protected Member Functions

 !context_node ()
 

Private Attributes

System::IntPtr _ip
 

Additional Inherited Members

- Static Public Attributes inherited from msclr::interop::context_node_base
static const bool _Needs_Context = true
 

Constructor & Destructor Documentation

msclr::interop::context_node< BSTR, System::String^>::context_node ( BSTR &  _to_object,
System::String^  from 
)
inline
89  {
90  _ip = System::Runtime::InteropServices::Marshal::StringToBSTR (from);
91  _to_object = static_cast<BSTR>(_ip.ToPointer());
92  }
System::IntPtr _ip
Definition: marshal_windows.h:86
msclr::interop::context_node< BSTR, System::String^>::~context_node ( )
inline
95  {
96  this->!context_node();
97  }
context_node(BSTR &_to_object, System::String^from)
Definition: marshal_windows.h:88
msclr::interop::context_node< BSTR, System::String^>::!context_node ( )
inlineprotected
101  {
102  if(_ip != System::IntPtr::Zero)
103  System::Runtime::InteropServices::Marshal::FreeBSTR(_ip);
104  }
System::IntPtr _ip
Definition: marshal_windows.h:86

Member Data Documentation

System::IntPtr msclr::interop::context_node< BSTR, System::String^>::_ip
private

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