VirtualBox

Ignore:
Timestamp:
Sep 23, 2018 3:41:48 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/rest: Missed RT_NOEXCEPT in two place. Went wild adding RT_NOEXCEPT everywhere possible. bugref:9167

File:
1 edited

Legend:

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

    r74414 r74425  
    4646public:
    4747    /** Default constructor. */
    48     RTCRestBinaryParameter();
     48    RTCRestBinaryParameter() RT_NOEXCEPT;
    4949
    5050    /** Safe copy assignment method. */
    51     virtual int assignCopy(RTCRestBinaryParameter const &a_rThat);
     51    virtual int assignCopy(RTCRestBinaryParameter const &a_rThat) RT_NOEXCEPT;
    5252    /** Safe copy assignment method.
    5353      * @note Resets callbacks and ASSUMES that @a a_cbData is the content length. */
    54     virtual int assignCopy(RTCRestBinary const &a_rThat) RT_OVERRIDE;
     54    virtual int assignCopy(RTCRestBinary const &a_rThat) RT_NOEXCEPT RT_OVERRIDE;
    5555    /** Safe copy assignment method.
    5656     * @note Resets callbacks and ASSUMES that @a a_cbData is the content length. */
    57     virtual int assignCopy(void const *a_pvData, size_t a_cbData) RT_OVERRIDE;
     57    virtual int assignCopy(void const *a_pvData, size_t a_cbData) RT_NOEXCEPT RT_OVERRIDE;
    5858
    5959    /**
    6060     * Use the specified data buffer directly.
    6161     * @note Resets callbacks and ASSUMES that @a a_cbData is the content length. */
    62     virtual int assignReadOnly(void const *a_pvData, size_t a_cbData) RT_OVERRIDE;
     62    virtual int assignReadOnly(void const *a_pvData, size_t a_cbData) RT_NOEXCEPT RT_OVERRIDE;
    6363    /**
    6464     * Use the specified data buffer directly.
    6565     * @note This will assert and work like assignReadOnly. */
    66     virtual int assignWriteable(void *a_pvBuf, size_t a_cbBuf) RT_OVERRIDE;
     66    virtual int assignWriteable(void *a_pvBuf, size_t a_cbBuf) RT_NOEXCEPT RT_OVERRIDE;
    6767
    6868    /** Make a clone of this object. */
    69     inline RTCRestBinaryParameter *clone() const { return (RTCRestBinaryParameter *)baseClone(); }
     69    inline RTCRestBinaryParameter *clone() const RT_NOEXCEPT { return (RTCRestBinaryParameter *)baseClone(); }
    7070
    7171    /* Overridden methods: */
    72     virtual RTCRestObjectBase *baseClone() const RT_OVERRIDE;
    73     virtual int resetToDefault() RT_OVERRIDE;
    74     virtual const char *typeName(void) const RT_OVERRIDE;
     72    virtual RTCRestObjectBase *baseClone() const RT_NOEXCEPT RT_OVERRIDE;
     73    virtual int resetToDefault() RT_NOEXCEPT RT_OVERRIDE;
     74    virtual const char *typeName(void) const RT_NOEXCEPT RT_OVERRIDE;
    7575
    7676    /** Factory method. */
    77     static DECLCALLBACK(RTCRestObjectBase *) createInstance(void);
     77    static DECLCALLBACK(RTCRestObjectBase *) createInstance(void) RT_NOEXCEPT;
    7878
    7979    /**
    8080     * Retrieves the callback data.
    8181     */
    82     inline void *getCallbackData() const { return m_pvCallbackData; }
     82    inline void *getCallbackData() const RT_NOEXCEPT { return m_pvCallbackData; }
    8383
    8484    /**
     
    8989     *                              If NULL, no content type is set.
    9090     */
    91     int setContentType(const char *a_pszContentType);
     91    int setContentType(const char *a_pszContentType) RT_NOEXCEPT;
    9292
    9393    /**
    9494     * Gets the content type that was set.
    9595     */
    96     inline RTCString const &getContentType() const { return m_strContentType; }
     96    inline RTCString const &getContentType() const RT_NOEXCEPT { return m_strContentType; }
    9797
    9898    /**
    9999     * Gets the content-length value (UINT64_MAX if not available).
    100100     */
    101     inline uint64_t getContentLength() const { return m_cbContentLength; }
     101    inline uint64_t getContentLength() const RT_NOEXCEPT { return m_cbContentLength; }
    102102
    103103    /**
     
    118118     */
    119119    typedef DECLCALLBACK(int) FNPRODUCER(RTCRestBinaryParameter *a_pThis, void *a_pvDst, size_t a_cbDst,
    120                                          uint64_t a_offContent, size_t *a_pcbActual);
     120                                         uint64_t a_offContent, size_t *a_pcbActual) /*RT_NOEXCEPT*/;
    121121    /** Pointer to a byte producer callback. */
    122122    typedef FNPRODUCER *PFNPRODUCER;
     
    134134     * @note    This will drop any buffer previously registered using setUploadData().
    135135     */
    136     void setProducerCallback(PFNPRODUCER a_pfnProducer, void *a_pvCallbackData = NULL, uint64_t a_cbContentLength = UINT64_MAX);
     136    void setProducerCallback(PFNPRODUCER a_pfnProducer, void *a_pvCallbackData = NULL, uint64_t a_cbContentLength = UINT64_MAX) RT_NOEXCEPT;
    137137
    138138    /**
     
    143143     * @internal
    144144     */
    145     virtual int xmitPrepare(RTHTTP a_hHttp) const;
     145    virtual int xmitPrepare(RTHTTP a_hHttp) const RT_NOEXCEPT;
    146146
    147147    /**
     
    151151     * @internal
    152152     */
    153     virtual void xmitComplete(RTHTTP a_hHttp) const;
     153    virtual void xmitComplete(RTHTTP a_hHttp) const RT_NOEXCEPT;
    154154
    155155protected:
     
    164164    void       *m_pvCallbackData;
    165165
    166     /** Callback for use with RTHttpSetUploadCallback. */
    167     static FNRTHTTPUPLOADCALLBACK   xmitHttpCallback;
     166    /** @copydoc FNRTHTTPUPLOADCALLBACK */
     167    static DECLCALLBACK(int) xmitHttpCallback(RTHTTP hHttp, void *pvBuf, size_t cbBuf, uint64_t offContent,
     168                                              size_t *pcbActual, void *pvUser) RT_NOEXCEPT;
    168169
    169170private:
     
    183184public:
    184185    /** Default constructor. */
    185     RTCRestBinaryResponse();
     186    RTCRestBinaryResponse() RT_NOEXCEPT;
    186187
    187188    /** Safe copy assignment method. */
    188     virtual int assignCopy(RTCRestBinaryResponse const &a_rThat);
     189    virtual int assignCopy(RTCRestBinaryResponse const &a_rThat) RT_NOEXCEPT;
    189190    /** Safe copy assignment method. */
    190     virtual int assignCopy(RTCRestBinary const &a_rThat) RT_OVERRIDE;
     191    virtual int assignCopy(RTCRestBinary const &a_rThat) RT_NOEXCEPT RT_OVERRIDE;
    191192    /** Safe copy assignment method.
    192193     * @note This will assert and fail as it makes no sense for a download.  */
    193     virtual int assignCopy(void const *a_pvData, size_t a_cbData) RT_OVERRIDE;
     194    virtual int assignCopy(void const *a_pvData, size_t a_cbData) RT_NOEXCEPT RT_OVERRIDE;
    194195
    195196    /**
     
    197198     * @note This will assert and fail as it makes no sense for a download.
    198199     */
    199     virtual int assignReadOnly(void const *a_pvData, size_t a_cbData) RT_OVERRIDE;
     200    virtual int assignReadOnly(void const *a_pvData, size_t a_cbData) RT_NOEXCEPT RT_OVERRIDE;
    200201    /**
    201202     * Use the specified data buffer directly.
    202203     * @note This will drop any previously registered producer callback and user data.
    203204     */
    204     virtual int assignWriteable(void *a_pvBuf, size_t a_cbBuf) RT_OVERRIDE;
     205    virtual int assignWriteable(void *a_pvBuf, size_t a_cbBuf) RT_NOEXCEPT RT_OVERRIDE;
    205206
    206207    /** Make a clone of this object. */
    207     inline RTCRestBinaryResponse *clone() const { return (RTCRestBinaryResponse *)baseClone(); }
     208    inline RTCRestBinaryResponse *clone() const RT_NOEXCEPT { return (RTCRestBinaryResponse *)baseClone(); }
    208209
    209210    /* Overridden methods: */
    210     virtual RTCRestObjectBase *baseClone() const RT_OVERRIDE;
    211     virtual int resetToDefault() RT_OVERRIDE;
    212     virtual const char *typeName(void) const RT_OVERRIDE;
     211    virtual RTCRestObjectBase *baseClone() const RT_NOEXCEPT RT_OVERRIDE;
     212    virtual int resetToDefault() RT_NOEXCEPT RT_OVERRIDE;
     213    virtual const char *typeName(void) const RT_NOEXCEPT RT_OVERRIDE;
    213214
    214215    /** Factory method. */
    215     static DECLCALLBACK(RTCRestObjectBase *) createInstance(void);
     216    static DECLCALLBACK(RTCRestObjectBase *) createInstance(void) RT_NOEXCEPT;
    216217
    217218    /**
    218219     * Retrieves the callback data.
    219220     */
    220     inline void *getCallbackData() const { return m_pvCallbackData; }
     221    inline void *getCallbackData() const RT_NOEXCEPT { return m_pvCallbackData; }
    221222
    222223    /**
     
    230231     *                          32-bit hosts and 128MiB for 64-bit).
    231232     */
    232     void setMaxDownloadSize(size_t a_cbMaxDownload);
     233    void setMaxDownloadSize(size_t a_cbMaxDownload) RT_NOEXCEPT;
    233234
    234235    /**
    235236     * Gets the content-length value (UINT64_MAX if not available).
    236237     */
    237     inline uint64_t getContentLength() const { return m_cbContentLength; }
     238    inline uint64_t getContentLength() const RT_NOEXCEPT { return m_cbContentLength; }
    238239
    239240    /**
     
    255256     */
    256257    typedef DECLCALLBACK(int) FNCONSUMER(RTCRestBinaryResponse *a_pThis, const void *a_pvSrc, size_t a_cbSrc,
    257                                          uint32_t a_uHttpStatus, uint64_t a_offContent, uint64_t a_cbContent);
     258                                         uint32_t a_uHttpStatus, uint64_t a_offContent, uint64_t a_cbContent) /*RT_NOEXCEPT*/;
    258259    /** Pointer to a byte consumer callback. */
    259260    typedef FNCONSUMER *PFNCONSUMER;
     
    267268     *                              using getCallbackData().
    268269     */
    269     void setConsumerCallback(PFNCONSUMER a_pfnConsumer, void *a_pvCallbackData = NULL);
     270    void setConsumerCallback(PFNCONSUMER a_pfnConsumer, void *a_pvCallbackData = NULL) RT_NOEXCEPT;
    270271
    271272    /**
     
    277278     * @internal
    278279     */
    279     virtual int receivePrepare(RTHTTP a_hHttp, uint32_t a_fCallbackFlags);
     280    virtual int receivePrepare(RTHTTP a_hHttp, uint32_t a_fCallbackFlags) RT_NOEXCEPT;
    280281
    281282    /**
     
    285286     * @internal
    286287     */
    287     virtual void receiveComplete(RTHTTP a_hHttp);
     288    virtual void receiveComplete(RTHTTP a_hHttp) RT_NOEXCEPT;
    288289
    289290protected:
     
    300301    size_t      m_cbMaxDownload;
    301302
    302     /** Callback for use with RTHttpSetDownloadCallback. */
    303     static FNRTHTTPDOWNLOADCALLBACK receiveHttpCallback;
     303    /** @copydoc FNRTHTTPDOWNLOADCALLBACK. */
     304    static DECLCALLBACK(int) receiveHttpCallback(RTHTTP hHttp, void const *pvBuf, size_t cbBuf, uint32_t uHttpStatus,
     305                                                 uint64_t offContent, uint64_t cbContent, void *pvUser) RT_NOEXCEPT;
    304306
    305307private:
     
    331333{
    332334public:
    333     RTCRestClientRequestBase();
     335    RTCRestClientRequestBase() RT_NOEXCEPT;
    334336    virtual ~RTCRestClientRequestBase();
    335     RTCRestClientRequestBase(RTCRestClientRequestBase const &a_rThat);
    336     RTCRestClientRequestBase &operator=(RTCRestClientRequestBase const &a_rThat);
     337    RTCRestClientRequestBase(RTCRestClientRequestBase const &a_rThat) RT_NOEXCEPT;
     338    RTCRestClientRequestBase &operator=(RTCRestClientRequestBase const &a_rThat) RT_NOEXCEPT;
    337339
    338340    /**
     
    340342     * @returns IPRT status code.
    341343     */
    342     virtual int resetToDefault() = 0;
     344    virtual int resetToDefault() RT_NOEXCEPT = 0;
    343345
    344346    /**
     
    351353     * @param   a_pStrBody  Where to set body parameters.
    352354     */
    353     virtual int xmitPrepare(RTCString *a_pStrPath, RTCString *a_pStrQuery, RTHTTP a_hHttp, RTCString *a_pStrBody) const = 0;
     355    virtual int xmitPrepare(RTCString *a_pStrPath, RTCString *a_pStrQuery, RTHTTP a_hHttp, RTCString *a_pStrBody) const RT_NOEXCEPT = 0;
    354356
    355357    /**
     
    359361     * @param   a_hHttp     The HTTP handle the request was performed on.
    360362     */
    361     virtual void xmitComplete(int a_rcStatus, RTHTTP a_hHttp) const = 0;
     363    virtual void xmitComplete(int a_rcStatus, RTHTTP a_hHttp) const RT_NOEXCEPT = 0;
    362364
    363365    /**
    364366     * Checks if there are were any assignment errors.
    365367     */
    366     inline bool hasAssignmentErrors() const { return m_fErrorSet != 0; }
     368    inline bool hasAssignmentErrors() const RT_NOEXCEPT { return m_fErrorSet != 0; }
    367369
    368370protected:
     
    400402     */
    401403    int doPathParameters(RTCString *a_pStrPath, const char *a_pszPathTemplate, size_t a_cchPathTemplate,
    402                          PATHPARAMDESC const *a_paPathParams, PATHPARAMSTATE *a_paPathParamStates, size_t a_cPathParams) const;
     404                         PATHPARAMDESC const *a_paPathParams, PATHPARAMSTATE *a_paPathParamStates, size_t a_cPathParams) const RT_NOEXCEPT;
    403405
    404406    /** Query parameter descriptor. */
     
    421423     */
    422424    int doQueryParameters(RTCString *a_pStrQuery, QUERYPARAMDESC const *a_paQueryParams,
    423                           RTCRestObjectBase const **a_papQueryParamObjs, size_t a_cQueryParams) const;
     425                          RTCRestObjectBase const **a_papQueryParamObjs, size_t a_cQueryParams) const RT_NOEXCEPT;
    424426
    425427    /** Header parameter descriptor. */
     
    443445     */
    444446    int doHeaderParameters(RTHTTP a_hHttp, HEADERPARAMDESC const *a_paHeaderParams,
    445                            RTCRestObjectBase const **a_papHeaderParamObjs, size_t a_cHeaderParams) const;
     447                           RTCRestObjectBase const **a_papHeaderParamObjs, size_t a_cHeaderParams) const RT_NOEXCEPT;
    446448};
    447449
     
    454456public:
    455457    /** Default constructor. */
    456     RTCRestClientResponseBase();
     458    RTCRestClientResponseBase() RT_NOEXCEPT;
    457459    /** Destructor. */
    458460    virtual ~RTCRestClientResponseBase();
     
    465467     * Resets the object state.
    466468     */
    467     virtual void reset(void);
     469    virtual void reset(void) RT_NOEXCEPT;
    468470
    469471    /**
     
    477479     * @param   a_hHttp     The HTTP handle to prepare for receiving.
    478480     */
    479     virtual int receivePrepare(RTHTTP a_hHttp);
     481    virtual int receivePrepare(RTHTTP a_hHttp) RT_NOEXCEPT;
    480482
    481483    /**
     
    489491     * @note    Called before consumeBody() but after consumeHeader().
    490492     */
    491     virtual void receiveComplete(int a_rcStatus, RTHTTP a_hHttp);
     493    virtual void receiveComplete(int a_rcStatus, RTHTTP a_hHttp) RT_NOEXCEPT;
    492494
    493495    /**
     
    499501     * @note    Called after consumeHeader().
    500502     */
    501     virtual void consumeBody(const char *a_pchData, size_t a_cbData);
     503    virtual void consumeBody(const char *a_pchData, size_t a_cbData) RT_NOEXCEPT;
    502504
    503505    /**
     
    506508     * @returns IPRT status code.
    507509     */
    508     virtual void receiveFinal();
     510    virtual void receiveFinal() RT_NOEXCEPT;
    509511
    510512    /**
     
    512514     * @returns Negative numbers are IPRT errors, positive are HTTP status codes.
    513515     */
    514     inline int getStatus() { return m_rcStatus; }
     516    inline int getStatus() const RT_NOEXCEPT { return m_rcStatus; }
    515517
    516518    /**
     
    518520     * @returns HTTP status code or VERR_NOT_AVAILABLE.
    519521     */
    520     inline int getHttpStatus() { return m_rcHttp; }
     522    inline int getHttpStatus() const RT_NOEXCEPT { return m_rcHttp; }
    521523
    522524    /**
    523525     * Getter for m_pErrInfo.
    524526     */
    525     inline PCRTERRINFO getErrInfo(void) const { return m_pErrInfo; }
     527    inline PCRTERRINFO getErrInfo(void) const RT_NOEXCEPT { return m_pErrInfo; }
    526528
    527529    /**
    528530     * Getter for m_strContentType.
    529531     */
    530     inline RTCString const &getContentType(void) const { return m_strContentType; }
     532    inline RTCString const &getContentType(void) const RT_NOEXCEPT { return m_strContentType; }
    531533
    532534
     
    541543    RTCString   m_strContentType;
    542544
    543     PRTERRINFO  getErrInfoInternal(void);
    544     void        deleteErrInfo(void);
    545     void        copyErrInfo(PCRTERRINFO pErrInfo);
     545    PRTERRINFO  getErrInfoInternal(void) RT_NOEXCEPT;
     546    void        deleteErrInfo(void) RT_NOEXCEPT;
     547    void        copyErrInfo(PCRTERRINFO pErrInfo) RT_NOEXCEPT;
    546548
    547549    /**
     
    556558     * @param   ...         Message arguments.
    557559     */
    558     int addError(int a_rc, const char *a_pszFormat, ...);
     560    int addError(int a_rc, const char *a_pszFormat, ...) RT_NOEXCEPT;
    559561
    560562    /**
     
    570572     */
    571573    int deserializeHeader(RTCRestObjectBase *a_pObj, const char *a_pchValue, size_t a_cchValue,
    572                           uint32_t a_fFlags, const char *a_pszErrorTag);
     574                          uint32_t a_fFlags, const char *a_pszErrorTag) RT_NOEXCEPT;
    573575
    574576    /**
     
    587589     */
    588590    int deserializeHeaderIntoMap(RTCRestStringMapBase *a_pMap, const char *a_pchField, size_t a_cchField,
    589                                  const char *a_pchValue, size_t a_cchValue, uint32_t a_fFlags, const char *a_pszErrorTag);
     591                                 const char *a_pchValue, size_t a_cchValue, uint32_t a_fFlags, const char *a_pszErrorTag) RT_NOEXCEPT;
    590592
    591593    /**
     
    597599     * @param   a_pszBodyName   The name of the body parameter.
    598600     */
    599     void deserializeBody(const char *a_pchData, size_t a_cbData, const char *a_pszBodyName);
     601    void deserializeBody(const char *a_pchData, size_t a_cbData, const char *a_pszBodyName) RT_NOEXCEPT;
    600602
    601603    /**
     
    604606     * @param   a_rCursor       The JSON cursor.
    605607     */
    606     virtual void deserializeBodyFromJsonCursor(RTCRestJsonCursor const &a_rCursor);
     608    virtual void deserializeBodyFromJsonCursor(RTCRestJsonCursor const &a_rCursor) RT_NOEXCEPT;
    607609
    608610    /**
     
    613615    public:
    614616        RTCRestClientResponseBase *m_pThat; /**< Pointer to response object. */
    615         PrimaryJsonCursorForBody(RTJSONVAL hValue, const char *pszName, RTCRestClientResponseBase *a_pThat);
    616         virtual int addError(RTCRestJsonCursor const &a_rCursor, int a_rc, const char *a_pszFormat, ...) RT_OVERRIDE;
    617         virtual int unknownField(RTCRestJsonCursor const &a_rCursor) RT_OVERRIDE;
     617        PrimaryJsonCursorForBody(RTJSONVAL hValue, const char *pszName, RTCRestClientResponseBase *a_pThat) RT_NOEXCEPT;
     618        virtual int addError(RTCRestJsonCursor const &a_rCursor, int a_rc, const char *a_pszFormat, ...) RT_NOEXCEPT RT_OVERRIDE;
     619        virtual int unknownField(RTCRestJsonCursor const &a_rCursor) RT_NOEXCEPT RT_OVERRIDE;
    618620    };
    619621
     
    634636     */
    635637    virtual int consumeHeader(uint32_t a_uMatchWord, const char *a_pchField, size_t a_cchField,
    636                               const char *a_pchValue, size_t a_cchValue);
     638                              const char *a_pchValue, size_t a_cchValue) RT_NOEXCEPT;
    637639
    638640private:
    639641    /** Callback for use with RTHttpSetHeaderCallback. */
    640     static FNRTHTTPHEADERCALLBACK receiveHttpHeaderCallback;
     642    static DECLCALLBACK(int) receiveHttpHeaderCallback(RTHTTP hHttp, uint32_t uMatchWord, const char *pchField, size_t cchField,
     643                                                       const char *pchValue, size_t cchValue, void *pvUser) RT_NOEXCEPT;
    641644};
    642645
     
    648651{
    649652public:
    650     RTCRestClientApiBase();
     653    RTCRestClientApiBase() RT_NOEXCEPT;
    651654    virtual ~RTCRestClientApiBase();
    652655
     
    656659     * Gets the server URL.
    657660     */
    658     const char *getServerUrl(void) const;
     661    const char *getServerUrl(void) const RT_NOEXCEPT;
    659662
    660663    /**
     
    663666     * @param   a_pszUrl        The new server URL.  NULL/empty to reset to default.
    664667     */
    665     int setServerUrl(const char *a_pszUrl);
     668    int setServerUrl(const char *a_pszUrl) RT_NOEXCEPT;
    666669
    667670    /**
     
    670673     * @param   a_pszScheme     The new scheme.  Does not accept NULL or empty string.
    671674     */
    672     int setServerScheme(const char *a_pszScheme);
     675    int setServerScheme(const char *a_pszScheme) RT_NOEXCEPT;
    673676
    674677    /**
     
    677680     * @param   a_pszAuthority  The new authority.  Does not accept NULL or empty string.
    678681     */
    679     int setServerAuthority(const char *a_pszAuthority);
     682    int setServerAuthority(const char *a_pszAuthority) RT_NOEXCEPT;
    680683
    681684    /**
     
    684687     * @param   a_pszBasePath   The new base path.  Does not accept NULL or empty string.
    685688     */
    686     int setServerBasePath(const char *a_pszBasePath);
     689    int setServerBasePath(const char *a_pszBasePath) RT_NOEXCEPT;
    687690
    688691    /**
     
    690693     * @returns Server URL.
    691694     */
    692     virtual const char *getDefaultServerUrl() const = 0;
     695    virtual const char *getDefaultServerUrl() const RT_NOEXCEPT = 0;
    693696
    694697    /**
     
    696699     * @returns Host string (start of URL).
    697700     */
    698     virtual const char *getDefaultServerBasePath() const = 0;
     701    virtual const char *getDefaultServerBasePath() const RT_NOEXCEPT = 0;
    699702    /** @} */
    700703
     
    720723     * @returns IPRT status code.
    721724     */
    722     virtual int reinitHttpInstance();
     725    virtual int reinitHttpInstance() RT_NOEXCEPT;
    723726
    724727    /**
     
    735738     */
    736739    virtual int xmitReady(RTHTTP a_hHttp, RTCString const &a_rStrFullUrl, RTHTTPMETHOD a_enmHttpMethod,
    737                           RTCString const &a_rStrXmitBody, uint32_t a_fFlags);
     740                          RTCString const &a_rStrXmitBody, uint32_t a_fFlags) RT_NOEXCEPT;
    738741
    739742    /**
     
    748751     */
    749752    virtual int doCall(RTCRestClientRequestBase const &a_rRequest, RTHTTPMETHOD a_enmHttpMethod,
    750                        RTCRestClientResponseBase *a_pResponse, const char *a_pszMethod, uint32_t a_fFlags);
     753                       RTCRestClientResponseBase *a_pResponse, const char *a_pszMethod, uint32_t a_fFlags) RT_NOEXCEPT;
    751754
    752755    /**
     
    766769     */
    767770    int ociSignRequest(RTHTTP a_hHttp, RTCString const &a_rStrFullUrl, RTHTTPMETHOD a_enmHttpMethod,
    768                        RTCString const &a_rStrXmitBody, uint32_t a_fFlags, RTCRKEY a_hKey, RTCString const &a_rStrKeyId);
     771                       RTCString const &a_rStrXmitBody, uint32_t a_fFlags, RTCRKEY a_hKey, RTCString const &a_rStrKeyId) RT_NOEXCEPT;
    769772
    770773    /**
     
    778781     * @param   a_cchSrc        The length of the new component.
    779782     */
    780     int setServerUrlPart(const char *a_pszServerUrl, size_t a_offDst, size_t a_cchDst, const char *a_pszSrc, size_t a_cchSrc);
     783    int setServerUrlPart(const char *a_pszServerUrl, size_t a_offDst, size_t a_cchDst, const char *a_pszSrc, size_t a_cchSrc) RT_NOEXCEPT;
    781784};
    782785
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