VirtualBox

Changeset 60876 in vbox


Ignore:
Timestamp:
May 7, 2016 6:24:45 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107088
Message:

CInterface: added isNotNull method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/COMDefs.h

    r60500 r60876  
    738738    }
    739739
     740    /** Returns @c true if attached to an interface pointer. */
     741    bool isNotNull() const
     742    {
     743#ifdef DEBUG
     744       Assert(!mDead);
     745#endif
     746       return mIface != NULL;
     747    }
     748
    740749    /**
    741750     * Returns @c true if the result code represents success (with or without
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette