VirtualBox

Changeset 74013 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Aug 31, 2018 8:57:59 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/rest: Added parameter based api methods (constructs Request objects themselves). More on the null subject. Misc. bugref:9167

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cpp/restbase.h

    r74009 r74013  
    404404    /** Safe copy assignment method. */
    405405    int assignCopy(RTCRestBool const &a_rThat);
     406    /** Assign value and clear null indicator. */
     407    void assignValue(bool a_fValue);
    406408
    407409    /* Overridden methods: */
     
    434436    RTCRestInt64(RTCRestInt64 const &a_rThat);
    435437    /** From value constructor. */
    436     RTCRestInt64(int64_t iValue);
     438    RTCRestInt64(int64_t a_iValue);
    437439    /** Destructor. */
    438440    virtual ~RTCRestInt64();
     
    441443    /** Safe copy assignment method. */
    442444    int assignCopy(RTCRestInt64 const &a_rThat);
     445    /** Assign value and clear null indicator. */
     446    void assignValue(int64_t a_iValue);
    443447
    444448    /* Overridden methods: */
     
    478482    /** Safe copy assignment method. */
    479483    int assignCopy(RTCRestInt32 const &a_rThat);
     484    /** Assign value and clear null indicator. */
     485    void assignValue(int32_t a_iValue);
    480486
    481487    /* Overridden methods: */
     
    515521    /** Safe copy assignment method. */
    516522    int assignCopy(RTCRestInt16 const &a_rThat);
     523    /** Assign value and clear null indicator. */
     524    void assignValue(int16_t a_iValue);
    517525
    518526    /* Overridden methods: */
     
    552560    /** Safe copy assignment method. */
    553561    int assignCopy(RTCRestDouble const &a_rThat);
     562    /** Assign value and clear null indicator. */
     563    void assignValue(double a_rdValue);
    554564
    555565    /* Overridden methods: */
Note: See TracChangeset for help on using the changeset viewer.

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