Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

const Utf8Str& com::Utf8Str::cloneTo ( BSTR *  pstr  )  const [inline, inherited]

Intended to assign instances to |BSTR| out parameters from within the interface method. Transfers the ownership of the duplicated string to the caller.

Definition at line 412 of file string.h.

References iprt::MiniString::m_psz, and NULL.

        if (pstr)
            *pstr = NULL;
            Bstr::raw_copy(*pstr, m_psz);
        return *this;

Generated by  Doxygen 1.6.0   Back to index