VirtualBox

Changeset 74396 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Sep 20, 2018 10:39:39 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/rest: Prepped for polymorphic body responses. bugref:9167

Location:
trunk/src/VBox/Runtime
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/VBox/VBoxRTImp-vcc32.def

    r74387 r74396  
    5050    ??_7RTCRestOutputBase@@6B@ DATA                                             ; (const RTCRestOutputBase::`vftable')
    5151    ??_7RTCRestOutputToString@@6B@ DATA                                         ; (const RTCRestOutputToString::`vftable')
     52    ??_7RTCRestPolyDataObject@@6B@ DATA                                         ; (const RTCRestPolyDataObject::`vftable')
    5253    ??_7RTCRestString@@6BRTCRestObjectBase@@@ DATA                              ; (const RTCRestString::`vftable'{for `RTCRestObjectBase'})
    5354    ??_7RTCRestString@@6BRTCString@@@ DATA                                      ; (const RTCRestString::`vftable'{for `RTCString'})
     
    9798    ??0RTCRestOutputBase@@QAE@XZ                                                ; (public: __thiscall RTCRestOutputBase::RTCRestOutputBase(void))
    9899    ??0RTCRestOutputToString@@QAE@PAVRTCString@@_N@Z                            ; (public: __thiscall RTCRestOutputToString::RTCRestOutputToString(class RTCString *,bool))
     100    ??0RTCRestPolyDataObject@@QAE@ABV0@@Z                                       ; (public: __thiscall RTCRestPolyDataObject::RTCRestPolyDataObject(class RTCRestPolyDataObject const &))
     101    ??0RTCRestPolyDataObject@@QAE@XZ                                            ; (public: __thiscall RTCRestPolyDataObject::RTCRestPolyDataObject(void))
    99102    ??0RTCRestString@@QAE@ABV0@@Z                                               ; (public: __thiscall RTCRestString::RTCRestString(class RTCRestString const &))
    100103    ??0RTCRestString@@QAE@ABVRTCString@@@Z                                      ; (public: __thiscall RTCRestString::RTCRestString(class RTCString const &))
     
    131134    ??1RTCRestOutputBase@@UAE@XZ                                                ; (public: virtual __thiscall RTCRestOutputBase::~RTCRestOutputBase(void))
    132135    ??1RTCRestOutputToString@@UAE@XZ                                            ; (public: virtual __thiscall RTCRestOutputToString::~RTCRestOutputToString(void))
     136    ??1RTCRestPolyDataObject@@UAE@XZ                                            ; (public: virtual __thiscall RTCRestPolyDataObject::~RTCRestPolyDataObject(void))
    133137    ??1RTCRestString@@UAE@XZ                                                    ; (public: virtual __thiscall RTCRestString::~RTCRestString(void))
    134138    ??1RTCRestStringEnumBase@@UAE@XZ                                            ; (public: virtual __thiscall RTCRestStringEnumBase::~RTCRestStringEnumBase(void))
     
    150154    ??4RTCRestObjectBase@@QAEAAV0@ABV0@@Z                                       ; (public: class RTCRestObjectBase & __thiscall RTCRestObjectBase::operator=(class RTCRestObjectBase const &))
    151155    ??4RTCRestOutputBase@@QAEAAV0@ABV0@@Z                                       ; (public: class RTCRestOutputBase & __thiscall RTCRestOutputBase::operator=(class RTCRestOutputBase const &))
     156    ??4RTCRestPolyDataObject@@IAEAAV0@ABV0@@Z                                   ; (protected: class RTCRestPolyDataObject & __thiscall RTCRestPolyDataObject::operator=(class RTCRestPolyDataObject const &))
    152157    ??4RTCRestString@@QAEAAV0@ABV0@@Z                                           ; (public: class RTCRestString & __thiscall RTCRestString::operator=(class RTCRestString const &))
    153158    ??4RTCRestString@@QAEAAV0@ABVRTCString@@@Z                                  ; (public: class RTCRestString & __thiscall RTCRestString::operator=(class RTCString const &))
     
    270275    ?atBase@RTCRestArrayBase@@QAEPAVRTCRestObjectBase@@I@Z                      ; (public: class RTCRestObjectBase * __thiscall RTCRestArrayBase::atBase(unsigned int))
    271276    ?atBase@RTCRestArrayBase@@QBEPBVRTCRestObjectBase@@I@Z                      ; (public: class RTCRestObjectBase const * __thiscall RTCRestArrayBase::atBase(unsigned int)const )
     277    ?baseClone@RTCRestAnyObject@@UBEPAVRTCRestObjectBase@@XZ                    ; (public: virtual class RTCRestObjectBase * __thiscall RTCRestAnyObject::baseClone(void)const )
     278    ?baseClone@RTCRestArrayBase@@UBEPAVRTCRestObjectBase@@XZ                    ; (public: virtual class RTCRestObjectBase * __thiscall RTCRestArrayBase::baseClone(void)const )
     279    ?baseClone@RTCRestBinary@@UBEPAVRTCRestObjectBase@@XZ                       ; (public: virtual class RTCRestObjectBase * __thiscall RTCRestBinary::baseClone(void)const )
     280    ?baseClone@RTCRestBinaryParameter@@UBEPAVRTCRestObjectBase@@XZ              ; (public: virtual class RTCRestObjectBase * __thiscall RTCRestBinaryParameter::baseClone(void)const )
     281    ?baseClone@RTCRestBinaryResponse@@UBEPAVRTCRestObjectBase@@XZ               ; (public: virtual class RTCRestObjectBase * __thiscall RTCRestBinaryResponse::baseClone(void)const )
     282    ?baseClone@RTCRestBool@@UBEPAVRTCRestObjectBase@@XZ                         ; (public: virtual class RTCRestObjectBase * __thiscall RTCRestBool::baseClone(void)const )
     283    ?baseClone@RTCRestDate@@UBEPAVRTCRestObjectBase@@XZ                         ; (public: virtual class RTCRestObjectBase * __thiscall RTCRestDate::baseClone(void)const )
     284    ?baseClone@RTCRestDouble@@UBEPAVRTCRestObjectBase@@XZ                       ; (public: virtual class RTCRestObjectBase * __thiscall RTCRestDouble::baseClone(void)const )
     285    ?baseClone@RTCRestInt16@@UBEPAVRTCRestObjectBase@@XZ                        ; (public: virtual class RTCRestObjectBase * __thiscall RTCRestInt16::baseClone(void)const )
     286    ?baseClone@RTCRestInt32@@UBEPAVRTCRestObjectBase@@XZ                        ; (public: virtual class RTCRestObjectBase * __thiscall RTCRestInt32::baseClone(void)const )
     287    ?baseClone@RTCRestInt64@@UBEPAVRTCRestObjectBase@@XZ                        ; (public: virtual class RTCRestObjectBase * __thiscall RTCRestInt64::baseClone(void)const )
     288    ?baseClone@RTCRestString@@UBEPAVRTCRestObjectBase@@XZ                       ; (public: virtual class RTCRestObjectBase * __thiscall RTCRestString::baseClone(void)const )
     289    ?baseClone@RTCRestStringMapBase@@UBEPAVRTCRestObjectBase@@XZ                ; (public: virtual class RTCRestObjectBase * __thiscall RTCRestStringMapBase::baseClone(void)const )
    272290    ?begin@RTCRestStringMapBase@@QBE?AVConstIterator@1@XZ                       ; (public: class RTCRestStringMapBase::ConstIterator __thiscall RTCRestStringMapBase::begin(void)const )
    273291    ?c_str@RTCString@@QBEPBDXZ                                                  ; (public: char const * __thiscall RTCString::c_str(void)const )
     
    276294    ?clear@RTCRestArrayBase@@QAEXXZ                                             ; (public: void __thiscall RTCRestArrayBase::clear(void))
    277295    ?clear@RTCRestStringMapBase@@QAEXXZ                                         ; (public: void __thiscall RTCRestStringMapBase::clear(void))
     296    ?clone@RTCRestAnyObject@@QBEPAV1@XZ                                         ; (public: class RTCRestAnyObject * __thiscall RTCRestAnyObject::clone(void)const )
     297    ?clone@RTCRestBinary@@QBEPAV1@XZ                                            ; (public: class RTCRestBinary * __thiscall RTCRestBinary::clone(void)const )
     298    ?clone@RTCRestBinaryParameter@@QBEPAV1@XZ                                   ; (public: class RTCRestBinaryParameter * __thiscall RTCRestBinaryParameter::clone(void)const )
     299    ?clone@RTCRestBinaryResponse@@QBEPAV1@XZ                                    ; (public: class RTCRestBinaryResponse * __thiscall RTCRestBinaryResponse::clone(void)const )
     300    ?clone@RTCRestBool@@QBEPAV1@XZ                                              ; (public: class RTCRestBool * __thiscall RTCRestBool::clone(void)const )
     301    ?clone@RTCRestDate@@QBEPAV1@XZ                                              ; (public: class RTCRestDate * __thiscall RTCRestDate::clone(void)const )
     302    ?clone@RTCRestDouble@@QBEPAV1@XZ                                            ; (public: class RTCRestDouble * __thiscall RTCRestDouble::clone(void)const )
     303    ?clone@RTCRestInt16@@QBEPAV1@XZ                                             ; (public: class RTCRestInt16 * __thiscall RTCRestInt16::clone(void)const )
     304    ?clone@RTCRestInt32@@QBEPAV1@XZ                                             ; (public: class RTCRestInt32 * __thiscall RTCRestInt32::clone(void)const )
     305    ?clone@RTCRestInt64@@QBEPAV1@XZ                                             ; (public: class RTCRestInt64 * __thiscall RTCRestInt64::clone(void)const )
     306    ?clone@RTCRestString@@QBEPAV1@XZ                                            ; (public: class RTCRestString * __thiscall RTCRestString::clone(void)const )
     307    ?cloneWorker@RTCRestStringEnumBase@@IBEPAVRTCRestObjectBase@@PAV1@@Z        ; (protected: class RTCRestObjectBase * __thiscall RTCRestStringEnumBase::cloneWorker(class RTCRestStringEnumBase *)const )
    278308    ?compare@RTCString@@QBEHABV1@W4CaseSensitivity@1@@Z                         ; (public: int __thiscall RTCString::compare(class RTCString const &,enum RTCString::CaseSensitivity)const )
    279309    ?compare@RTCString@@QBEHPBDW4CaseSensitivity@1@@Z                           ; (public: int __thiscall RTCString::compare(char const *,enum RTCString::CaseSensitivity)const )
     
    302332    ?decodeFormattedString@RTCRestDate@@IAEHW4kFormat@1@@Z                      ; (protected: int __thiscall RTCRestDate::decodeFormattedString(enum RTCRestDate::kFormat))
    303333    ?deleteErrInfo@RTCRestClientResponseBase@@IAEXXZ                            ; (protected: void __thiscall RTCRestClientResponseBase::deleteErrInfo(void))
    304     ?deserializeBody@RTCRestClientResponseBase@@IAEXPAVRTCRestObjectBase@@PBDI@Z  ; (protected: void __thiscall RTCRestClientResponseBase::deserializeBody(class RTCRestObjectBase *,char const *,unsigned int))
     334    ?deserializeBody@RTCRestClientResponseBase@@IAEXPBDI0@Z                     ; (protected: void __thiscall RTCRestClientResponseBase::deserializeBody(char const *,unsigned int,char const *))
     335    ?deserializeBodyFromJsonCursor@RTCRestClientResponseBase@@MAEXABURTCRestJsonCursor@@@Z  ; (protected: virtual void __thiscall RTCRestClientResponseBase::deserializeBodyFromJsonCursor(struct RTCRestJsonCursor const &))
    305336    ?deserializeFromJson@RTCRestAnyObject@@UAEHABURTCRestJsonCursor@@@Z         ; (public: virtual int __thiscall RTCRestAnyObject::deserializeFromJson(struct RTCRestJsonCursor const &))
    306337    ?deserializeFromJson@RTCRestArrayBase@@UAEHABURTCRestJsonCursor@@@Z         ; (public: virtual int __thiscall RTCRestArrayBase::deserializeFromJson(struct RTCRestJsonCursor const &))
     
    384415    ?insertCopyWorker@RTCRestArrayBase@@IAEHIABVRTCRestObjectBase@@_N@Z         ; (protected: int __thiscall RTCRestArrayBase::insertCopyWorker(unsigned int,class RTCRestObjectBase const &,bool))
    385416    ?insertWorker@RTCRestArrayBase@@IAEHIPAVRTCRestObjectBase@@_N@Z             ; (protected: int __thiscall RTCRestArrayBase::insertWorker(unsigned int,class RTCRestObjectBase *,bool))
     417    ?isChild@RTCRestPolyDataObject@@UBE_NXZ                                     ; (public: virtual bool __thiscall RTCRestPolyDataObject::isChild(void)const )
    386418    ?isEmpty@RTCRestArrayBase@@QBE_NXZ                                          ; (public: bool __thiscall RTCRestArrayBase::isEmpty(void)const )
    387419    ?isEmpty@RTCRestStringMapBase@@QBE_NXZ                                      ; (public: bool __thiscall RTCRestStringMapBase::isEmpty(void)const )
     
    453485    ?resetToDefault@RTCRestInt32@@UAEHXZ                                        ; (public: virtual int __thiscall RTCRestInt32::resetToDefault(void))
    454486    ?resetToDefault@RTCRestInt64@@UAEHXZ                                        ; (public: virtual int __thiscall RTCRestInt64::resetToDefault(void))
     487    ?resetToDefault@RTCRestPolyDataObject@@UAEHXZ                               ; (public: virtual int __thiscall RTCRestPolyDataObject::resetToDefault(void))
    455488    ?resetToDefault@RTCRestString@@UAEHXZ                                       ; (public: virtual int __thiscall RTCRestString::resetToDefault(void))
    456489    ?resetToDefault@RTCRestStringEnumBase@@UAEHXZ                               ; (public: virtual int __thiscall RTCRestStringEnumBase::resetToDefault(void))
  • trunk/src/VBox/Runtime/VBox/VBoxRTImp-vcc64.def

    r74387 r74396  
    5050    ??_7RTCRestOutputBase@@6B@ DATA                                             ; (const RTCRestOutputBase::`vftable')
    5151    ??_7RTCRestOutputToString@@6B@ DATA                                         ; (const RTCRestOutputToString::`vftable')
     52    ??_7RTCRestPolyDataObject@@6B@ DATA                                         ; (const RTCRestPolyDataObject::`vftable')
    5253    ??_7RTCRestString@@6BRTCRestObjectBase@@@ DATA                              ; (const RTCRestString::`vftable'{for `RTCRestObjectBase'})
    5354    ??_7RTCRestString@@6BRTCString@@@ DATA                                      ; (const RTCRestString::`vftable'{for `RTCString'})
     
    9798    ??0RTCRestOutputBase@@QEAA@XZ                                               ; (public: __cdecl RTCRestOutputBase::RTCRestOutputBase(void))
    9899    ??0RTCRestOutputToString@@QEAA@PEAVRTCString@@_N@Z                          ; (public: __cdecl RTCRestOutputToString::RTCRestOutputToString(class RTCString *,bool))
     100    ??0RTCRestPolyDataObject@@QEAA@AEBV0@@Z                                     ; (public: __cdecl RTCRestPolyDataObject::RTCRestPolyDataObject(class RTCRestPolyDataObject const &))
     101    ??0RTCRestPolyDataObject@@QEAA@XZ                                           ; (public: __cdecl RTCRestPolyDataObject::RTCRestPolyDataObject(void))
    99102    ??0RTCRestString@@QEAA@AEBV0@@Z                                             ; (public: __cdecl RTCRestString::RTCRestString(class RTCRestString const &))
    100103    ??0RTCRestString@@QEAA@AEBVRTCString@@@Z                                    ; (public: __cdecl RTCRestString::RTCRestString(class RTCString const &))
     
    131134    ??1RTCRestOutputBase@@UEAA@XZ                                               ; (public: virtual __cdecl RTCRestOutputBase::~RTCRestOutputBase(void))
    132135    ??1RTCRestOutputToString@@UEAA@XZ                                           ; (public: virtual __cdecl RTCRestOutputToString::~RTCRestOutputToString(void))
     136    ??1RTCRestPolyDataObject@@UEAA@XZ                                           ; (public: virtual __cdecl RTCRestPolyDataObject::~RTCRestPolyDataObject(void))
    133137    ??1RTCRestString@@UEAA@XZ                                                   ; (public: virtual __cdecl RTCRestString::~RTCRestString(void))
    134138    ??1RTCRestStringEnumBase@@UEAA@XZ                                           ; (public: virtual __cdecl RTCRestStringEnumBase::~RTCRestStringEnumBase(void))
     
    150154    ??4RTCRestObjectBase@@QEAAAEAV0@AEBV0@@Z                                    ; (public: class RTCRestObjectBase & __cdecl RTCRestObjectBase::operator=(class RTCRestObjectBase const &))
    151155    ??4RTCRestOutputBase@@QEAAAEAV0@AEBV0@@Z                                    ; (public: class RTCRestOutputBase & __cdecl RTCRestOutputBase::operator=(class RTCRestOutputBase const &))
     156    ??4RTCRestPolyDataObject@@IEAAAEAV0@AEBV0@@Z                                ; (protected: class RTCRestPolyDataObject & __cdecl RTCRestPolyDataObject::operator=(class RTCRestPolyDataObject const &))
    152157    ??4RTCRestString@@QEAAAEAV0@AEBV0@@Z                                        ; (public: class RTCRestString & __cdecl RTCRestString::operator=(class RTCRestString const &))
    153158    ??4RTCRestString@@QEAAAEAV0@AEBVRTCString@@@Z                               ; (public: class RTCRestString & __cdecl RTCRestString::operator=(class RTCString const &))
     
    270275    ?atBase@RTCRestArrayBase@@QEAAPEAVRTCRestObjectBase@@_K@Z                   ; (public: class RTCRestObjectBase * __cdecl RTCRestArrayBase::atBase(unsigned __int64))
    271276    ?atBase@RTCRestArrayBase@@QEBAPEBVRTCRestObjectBase@@_K@Z                   ; (public: class RTCRestObjectBase const * __cdecl RTCRestArrayBase::atBase(unsigned __int64)const )
     277    ?baseClone@RTCRestAnyObject@@UEBAPEAVRTCRestObjectBase@@XZ                  ; (public: virtual class RTCRestObjectBase * __cdecl RTCRestAnyObject::baseClone(void)const )
     278    ?baseClone@RTCRestArrayBase@@UEBAPEAVRTCRestObjectBase@@XZ                  ; (public: virtual class RTCRestObjectBase * __cdecl RTCRestArrayBase::baseClone(void)const )
     279    ?baseClone@RTCRestBinary@@UEBAPEAVRTCRestObjectBase@@XZ                     ; (public: virtual class RTCRestObjectBase * __cdecl RTCRestBinary::baseClone(void)const )
     280    ?baseClone@RTCRestBinaryParameter@@UEBAPEAVRTCRestObjectBase@@XZ            ; (public: virtual class RTCRestObjectBase * __cdecl RTCRestBinaryParameter::baseClone(void)const )
     281    ?baseClone@RTCRestBinaryResponse@@UEBAPEAVRTCRestObjectBase@@XZ             ; (public: virtual class RTCRestObjectBase * __cdecl RTCRestBinaryResponse::baseClone(void)const )
     282    ?baseClone@RTCRestBool@@UEBAPEAVRTCRestObjectBase@@XZ                       ; (public: virtual class RTCRestObjectBase * __cdecl RTCRestBool::baseClone(void)const )
     283    ?baseClone@RTCRestDate@@UEBAPEAVRTCRestObjectBase@@XZ                       ; (public: virtual class RTCRestObjectBase * __cdecl RTCRestDate::baseClone(void)const )
     284    ?baseClone@RTCRestDouble@@UEBAPEAVRTCRestObjectBase@@XZ                     ; (public: virtual class RTCRestObjectBase * __cdecl RTCRestDouble::baseClone(void)const )
     285    ?baseClone@RTCRestInt16@@UEBAPEAVRTCRestObjectBase@@XZ                      ; (public: virtual class RTCRestObjectBase * __cdecl RTCRestInt16::baseClone(void)const )
     286    ?baseClone@RTCRestInt32@@UEBAPEAVRTCRestObjectBase@@XZ                      ; (public: virtual class RTCRestObjectBase * __cdecl RTCRestInt32::baseClone(void)const )
     287    ?baseClone@RTCRestInt64@@UEBAPEAVRTCRestObjectBase@@XZ                      ; (public: virtual class RTCRestObjectBase * __cdecl RTCRestInt64::baseClone(void)const )
     288    ?baseClone@RTCRestString@@UEBAPEAVRTCRestObjectBase@@XZ                     ; (public: virtual class RTCRestObjectBase * __cdecl RTCRestString::baseClone(void)const )
     289    ?baseClone@RTCRestStringMapBase@@UEBAPEAVRTCRestObjectBase@@XZ              ; (public: virtual class RTCRestObjectBase * __cdecl RTCRestStringMapBase::baseClone(void)const )
    272290    ?begin@RTCRestStringMapBase@@QEBA?AVConstIterator@1@XZ                      ; (public: class RTCRestStringMapBase::ConstIterator __cdecl RTCRestStringMapBase::begin(void)const )
    273291    ?c_str@RTCString@@QEBAPEBDXZ                                                ; (public: char const * __cdecl RTCString::c_str(void)const )
     
    276294    ?clear@RTCRestArrayBase@@QEAAXXZ                                            ; (public: void __cdecl RTCRestArrayBase::clear(void))
    277295    ?clear@RTCRestStringMapBase@@QEAAXXZ                                        ; (public: void __cdecl RTCRestStringMapBase::clear(void))
     296    ?clone@RTCRestAnyObject@@QEBAPEAV1@XZ                                       ; (public: class RTCRestAnyObject * __cdecl RTCRestAnyObject::clone(void)const )
     297    ?clone@RTCRestBinary@@QEBAPEAV1@XZ                                          ; (public: class RTCRestBinary * __cdecl RTCRestBinary::clone(void)const )
     298    ?clone@RTCRestBinaryParameter@@QEBAPEAV1@XZ                                 ; (public: class RTCRestBinaryParameter * __cdecl RTCRestBinaryParameter::clone(void)const )
     299    ?clone@RTCRestBinaryResponse@@QEBAPEAV1@XZ                                  ; (public: class RTCRestBinaryResponse * __cdecl RTCRestBinaryResponse::clone(void)const )
     300    ?clone@RTCRestBool@@QEBAPEAV1@XZ                                            ; (public: class RTCRestBool * __cdecl RTCRestBool::clone(void)const )
     301    ?clone@RTCRestDate@@QEBAPEAV1@XZ                                            ; (public: class RTCRestDate * __cdecl RTCRestDate::clone(void)const )
     302    ?clone@RTCRestDouble@@QEBAPEAV1@XZ                                          ; (public: class RTCRestDouble * __cdecl RTCRestDouble::clone(void)const )
     303    ?clone@RTCRestInt16@@QEBAPEAV1@XZ                                           ; (public: class RTCRestInt16 * __cdecl RTCRestInt16::clone(void)const )
     304    ?clone@RTCRestInt32@@QEBAPEAV1@XZ                                           ; (public: class RTCRestInt32 * __cdecl RTCRestInt32::clone(void)const )
     305    ?clone@RTCRestInt64@@QEBAPEAV1@XZ                                           ; (public: class RTCRestInt64 * __cdecl RTCRestInt64::clone(void)const )
     306    ?clone@RTCRestString@@QEBAPEAV1@XZ                                          ; (public: class RTCRestString * __cdecl RTCRestString::clone(void)const )
     307    ?cloneWorker@RTCRestStringEnumBase@@IEBAPEAVRTCRestObjectBase@@PEAV1@@Z     ; (protected: class RTCRestObjectBase * __cdecl RTCRestStringEnumBase::cloneWorker(class RTCRestStringEnumBase *)const )
    278308    ?compare@RTCString@@QEBAHAEBV1@W4CaseSensitivity@1@@Z                       ; (public: int __cdecl RTCString::compare(class RTCString const &,enum RTCString::CaseSensitivity)const )
    279309    ?compare@RTCString@@QEBAHPEBDW4CaseSensitivity@1@@Z                         ; (public: int __cdecl RTCString::compare(char const *,enum RTCString::CaseSensitivity)const )
     
    302332    ?decodeFormattedString@RTCRestDate@@IEAAHW4kFormat@1@@Z                     ; (protected: int __cdecl RTCRestDate::decodeFormattedString(enum RTCRestDate::kFormat))
    303333    ?deleteErrInfo@RTCRestClientResponseBase@@IEAAXXZ                           ; (protected: void __cdecl RTCRestClientResponseBase::deleteErrInfo(void))
    304     ?deserializeBody@RTCRestClientResponseBase@@IEAAXPEAVRTCRestObjectBase@@PEBD_K@Z  ; (protected: void __cdecl RTCRestClientResponseBase::deserializeBody(class RTCRestObjectBase *,char const *,unsigned __int64))
     334    ?deserializeBody@RTCRestClientResponseBase@@IEAAXPEBD_K0@Z                  ; (protected: void __cdecl RTCRestClientResponseBase::deserializeBody(char const *,unsigned __int64,char const *))
     335    ?deserializeBodyFromJsonCursor@RTCRestClientResponseBase@@MEAAXAEBURTCRestJsonCursor@@@Z  ; (protected: virtual void __cdecl RTCRestClientResponseBase::deserializeBodyFromJsonCursor(struct RTCRestJsonCursor const &))
    305336    ?deserializeFromJson@RTCRestAnyObject@@UEAAHAEBURTCRestJsonCursor@@@Z       ; (public: virtual int __cdecl RTCRestAnyObject::deserializeFromJson(struct RTCRestJsonCursor const &))
    306337    ?deserializeFromJson@RTCRestArrayBase@@UEAAHAEBURTCRestJsonCursor@@@Z       ; (public: virtual int __cdecl RTCRestArrayBase::deserializeFromJson(struct RTCRestJsonCursor const &))
     
    384415    ?insertCopyWorker@RTCRestArrayBase@@IEAAH_KAEBVRTCRestObjectBase@@_N@Z      ; (protected: int __cdecl RTCRestArrayBase::insertCopyWorker(unsigned __int64,class RTCRestObjectBase const &,bool))
    385416    ?insertWorker@RTCRestArrayBase@@IEAAH_KPEAVRTCRestObjectBase@@_N@Z          ; (protected: int __cdecl RTCRestArrayBase::insertWorker(unsigned __int64,class RTCRestObjectBase *,bool))
     417    ?isChild@RTCRestPolyDataObject@@UEBA_NXZ                                    ; (public: virtual bool __cdecl RTCRestPolyDataObject::isChild(void)const )
    386418    ?isEmpty@RTCRestArrayBase@@QEBA_NXZ                                         ; (public: bool __cdecl RTCRestArrayBase::isEmpty(void)const )
    387419    ?isEmpty@RTCRestStringMapBase@@QEBA_NXZ                                     ; (public: bool __cdecl RTCRestStringMapBase::isEmpty(void)const )
     
    453485    ?resetToDefault@RTCRestInt32@@UEAAHXZ                                       ; (public: virtual int __cdecl RTCRestInt32::resetToDefault(void))
    454486    ?resetToDefault@RTCRestInt64@@UEAAHXZ                                       ; (public: virtual int __cdecl RTCRestInt64::resetToDefault(void))
     487    ?resetToDefault@RTCRestPolyDataObject@@UEAAHXZ                              ; (public: virtual int __cdecl RTCRestPolyDataObject::resetToDefault(void))
    455488    ?resetToDefault@RTCRestString@@UEAAHXZ                                      ; (public: virtual int __cdecl RTCRestString::resetToDefault(void))
    456489    ?resetToDefault@RTCRestStringEnumBase@@UEAAHXZ                              ; (public: virtual int __cdecl RTCRestStringEnumBase::resetToDefault(void))
  • trunk/src/VBox/Runtime/common/rest/RTCRestClientResponseBase.cpp

    r74251 r74396  
    336336
    337337
    338 void RTCRestClientResponseBase::deserializeBody(RTCRestObjectBase *a_pDst, const char *a_pchData, size_t a_cbData)
     338void RTCRestClientResponseBase::deserializeBody(const char *a_pchData, size_t a_cbData, const char *a_pszBodyName)
    339339{
    340340    if (m_strContentType.startsWith("application/json"))
     
    348348            if (RT_SUCCESS(rc))
    349349            {
    350                 PrimaryJsonCursorForBody PrimaryCursor(hValue, a_pDst->typeName(), this); /* note: consumes hValue */
    351                 a_pDst->deserializeFromJson(PrimaryCursor.m_Cursor);
     350                PrimaryJsonCursorForBody PrimaryCursor(hValue, a_pszBodyName, this); /* note: consumes hValue */
     351                deserializeBodyFromJsonCursor(PrimaryCursor.m_Cursor);
    352352            }
    353353            else if (RTErrInfoIsSet(&ErrInfo.Core))
    354354                addError(rc, "Error %Rrc parsing server response as JSON (type %s): %s",
    355                          rc, a_pDst->typeName(), ErrInfo.Core.pszMsg);
     355                         rc, a_pszBodyName, ErrInfo.Core.pszMsg);
    356356            else
    357                 addError(rc, "Error %Rrc parsing server response as JSON (type %s)", rc, a_pDst->typeName());
     357                addError(rc, "Error %Rrc parsing server response as JSON (type %s)", rc, a_pszBodyName);
    358358        }
    359359        else if (rc == VERR_INVALID_UTF8_ENCODING)
    360360            addError(VERR_REST_RESPONSE_INVALID_UTF8_ENCODING, "Invalid UTF-8 body encoding (object type %s; Content-Type: %s)",
    361                      a_pDst->typeName(), m_strContentType.c_str());
     361                     a_pszBodyName, m_strContentType.c_str());
    362362        else if (rc == VERR_BUFFER_UNDERFLOW)
    363363            addError(VERR_REST_RESPONSE_EMBEDDED_ZERO_CHAR, "Embedded zero character in response (object type %s; Content-Type: %s)",
    364                      a_pDst->typeName(), m_strContentType.c_str());
     364                     a_pszBodyName, m_strContentType.c_str());
    365365        else
    366366            addError(rc, "Unexpected body validation error (object type %s; Content-Type: %s): %Rrc",
    367                      a_pDst->typeName(), m_strContentType.c_str(), rc);
     367                     a_pszBodyName, m_strContentType.c_str(), rc);
    368368    }
    369369    else
    370370        addError(VERR_REST_RESPONSE_CONTENT_TYPE_NOT_SUPPORTED, "Unsupported content type for '%s': %s",
    371                  a_pDst->typeName(), m_strContentType.c_str());
    372 }
    373 
     371                 a_pszBodyName, m_strContentType.c_str());
     372}
     373
     374
     375void RTCRestClientResponseBase::deserializeBodyFromJsonCursor(RTCRestJsonCursor const &a_rCursor)
     376{
     377    a_rCursor.m_pPrimary->addError(a_rCursor, VERR_REST_INTERNAL_ERROR_8, "deserializeBodyFromJsonCursor must be overridden!");
     378    AssertFailed();
     379}
     380
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