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

const Bstr& com::Bstr::cloneTo ( BSTR *  pstr  )  const [inline]

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

Definition at line 194 of file string.h.

References NULL.

Referenced by Address(), SessionMachine::BeginSavingState(), SessionMachine::BeginTakingSnapshot(), Manufacturer(), Product(), and SerialNumber().

        if (pstr)
            *pstr = NULL;
            raw_copy (*pstr, bstr);
        return *this;

Generated by  Doxygen 1.6.0   Back to index