OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TSysStr Class Reference

System string (BSTR) encapsulation. More...

#include <owl/string.h>

Public Member Functions

 TSysStr ()
 
 TSysStr (const BSTR p)
 
 TSysStr (const TSysStr &src)
 
 ~TSysStr ()
 
int operator! () const
 
 operator const BSTR () const
 
 operator BSTR ()
 
TSysStroperator= (BSTR p)
 
 operator BSTR * ()
 
BSTR Relinquish ()
 

Protected Attributes

BSTR P
 

Detailed Description

System string (BSTR) encapsulation.

Also gives BSTRs a unique type Always assumes ownership of the BSTR, use Relinquish to take BSTR away.

Definition at line 33 of file string.h.

Constructor & Destructor Documentation

◆ TSysStr() [1/3]

owl::TSysStr::TSysStr ( )
inline

Definition at line 35 of file string.h.

◆ TSysStr() [2/3]

owl::TSysStr::TSysStr ( const BSTR p)
inline

Definition at line 36 of file string.h.

◆ TSysStr() [3/3]

owl::TSysStr::TSysStr ( const TSysStr & src)
inline

Definition at line 37 of file string.h.

References owl::SysAllocString().

◆ ~TSysStr()

owl::TSysStr::~TSysStr ( )
inline

Definition at line 39 of file string.h.

Member Function Documentation

◆ operator BSTR()

owl::TSysStr::operator BSTR ( )
inline

Definition at line 43 of file string.h.

◆ operator BSTR *()

owl::TSysStr::operator BSTR * ( )
inline

Definition at line 46 of file string.h.

◆ operator const BSTR()

owl::TSysStr::operator const BSTR ( ) const
inline

Definition at line 42 of file string.h.

◆ operator!()

int owl::TSysStr::operator! ( ) const
inline

Definition at line 41 of file string.h.

◆ operator=()

TSysStr & owl::TSysStr::operator= ( BSTR p)
inline

Definition at line 45 of file string.h.

◆ Relinquish()

BSTR owl::TSysStr::Relinquish ( )
inline

Definition at line 48 of file string.h.

Member Data Documentation

◆ P

BSTR owl::TSysStr::P
protected

Definition at line 51 of file string.h.


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