diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 084d8259f..423249d8e 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -1,18 +1,28 @@ name: github-actions on: [push, pull_request] +permissions: + contents: read + pull-requests: write jobs: windows-2022-staticLink-cs: runs-on: windows-2022 steps: - uses: actions/checkout@v5 - name: zlib install + shell: pwsh run: | - Invoke-WebRequest https://zlib.net/current/zlib.tar.gz -OutFile ${{ runner.temp }}\zlib.tar.gz + # Download and extract + curl -L "https://zlib.net/current/zlib.tar.gz" -o "${{ runner.temp }}\zlib.tar.gz" cd ${{ runner.temp }} - tar -xzf ${{ runner.temp }}\zlib.tar.gz + tar -xzf zlib.tar.gz + # Detect extracted folder (handles zlib-1.3.1 or future versions) + $zlibSrc = Get-ChildItem -Directory | Where-Object { $_.Name -like "zlib-*" } | Select-Object -First 1 + Write-Host ("Detected zlib source folder: " + $zlibSrc.FullName) + # Build directory mkdir zlib-build cd zlib-build - cmake -G"Visual Studio 17 2022" -A x64 -T host=x64 -Wno-dev -Wno-deprecated -DCMAKE_INSTALL_PREFIX=${{ runner.temp }}/zlib-install ${{ runner.temp }}/zlib-1.3.1 + # Configure and install + cmake -G"Visual Studio 17 2022" -A x64 -T host=x64 -Wno-dev -Wno-deprecated -DCMAKE_INSTALL_PREFIX=${{ runner.temp }}/zlib-install $zlibSrc.FullName cmake --build . --config Release -j2 cmake --build . --config Release --target INSTALL - name: Minizip static lib install @@ -26,28 +36,28 @@ jobs: cmake --build . --config Release --target INSTALL - name: HDF5 install run: | - Invoke-WebRequest https://support.hdfgroup.org/releases/hdf5/v1_14/v1_14_6/downloads/hdf5-1.14.6.zip -OutFile ${{ runner.temp }}\hdf5-1.14.6.zip + curl -L "https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/hdf5-2.0.0.zip" -o "${{ runner.temp }}\hdf5-2.0.0.zip" cd ${{ runner.temp }} - Expand-Archive ${{ runner.temp }}\hdf5-1.14.6.zip -DestinationPath ${{ runner.temp }} + Expand-Archive ${{ runner.temp }}\hdf5-2.0.0.zip -DestinationPath ${{ runner.temp }} mkdir hdf5-build cd hdf5-build - cmake -G"Visual Studio 17 2022" -A x64 -T host=x64 -Wno-dev -Wno-deprecated -DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=ON -DZLIB_INCLUDE_DIR:PATH=${{ runner.temp }}/zlib-install/include -DZLIB_LIBRARY:PATH=${{ runner.temp }}/zlib-install/lib/zlibstatic.lib -DHDF5_BUILD_FORTRAN:BOOL=OFF -DHDF5_BUILD_JAVA:BOOL=OFF -DHDF5_ENABLE_PARALLEL:BOOL=OFF -DHDF5_BUILD_CPP_LIB:BOOL=OFF -DHDF5_BUILD_HL_LIB:BOOL=OFF -DHDF5_BUILD_EXAMPLES:BOOL=OFF -DHDF5_BUILD_GENERATORS:BOOL=OFF -DHDF5_BUILD_TOOLS:BOOL=OFF -DHDF5_BUILD_UTILS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF -DCMAKE_INSTALL_PREFIX=${{ runner.temp }}/hdf5-install ${{ runner.temp }}/hdf5-1.14.6 + cmake -G"Visual Studio 17 2022" -A x64 -T host=x64 -Wno-dev -Wno-deprecated -DHDF5_ENABLE_ZLIB_SUPPORT:BOOL=ON -DZLIB_ROOT:PATH=${{ runner.temp }}/zlib-install -DZLIB_INCLUDE_DIR:PATH=${{ runner.temp }}/zlib-install/include -DZLIB_LIBRARY:PATH=${{ runner.temp }}/zlib-install/lib/zlibstatic.lib -DBUILD_SHARED_LIBS:BOOL=OFF -DHDF5_BUILD_FORTRAN:BOOL=OFF -DHDF5_BUILD_JAVA:BOOL=OFF -DHDF5_ENABLE_PARALLEL:BOOL=OFF -DHDF5_BUILD_CPP_LIB:BOOL=OFF -DHDF5_BUILD_HL_LIB:BOOL=OFF -DHDF5_BUILD_EXAMPLES:BOOL=OFF -DHDF5_BUILD_GENERATORS:BOOL=OFF -DHDF5_BUILD_TOOLS:BOOL=OFF -DHDF5_BUILD_UTILS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF -DCMAKE_INSTALL_PREFIX=${{ runner.temp }}/hdf5-install ${{ runner.temp }}/hdf5-2.0.0 cmake --build . --config Release -j2 cmake --build . --config Release --target INSTALL - name: Boost install run: | - (New-Object System.Net.WebClient).DownloadFile("https://archives.boost.io/release/1.88.0/binaries/boost_1_88_0-msvc-14.3-64.exe", "${{ runner.temp }}\boost.exe") + curl -L "https://archives.boost.io/release/1.90.0/binaries/boost_1_90_0-msvc-14.2-64.exe" -o "${{ runner.temp }}\boost.exe" Start-Process -Wait -FilePath "${{ runner.temp }}\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=${{ runner.temp }}\boost-install" - name: Swig install run: | - (New-Object System.Net.WebClient).DownloadFile("http://prdownloads.sourceforge.net/swig/swigwin-4.3.1.zip", "${{ runner.temp }}\swigwin-4.3.1.zip") - 7z x ${{ runner.temp }}\swigwin-4.3.1.zip -o${{ runner.temp }} + curl -L "http://prdownloads.sourceforge.net/swig/swigwin-4.4.1.zip" -o "${{ runner.temp }}\swigwin-4.4.1.zip" + 7z x ${{ runner.temp }}\swigwin-4.4.1.zip -o${{ runner.temp }} - name: CMake build and install run: | cd ${{ github.workspace }}/.. mkdir build cd build - cmake -G"Visual Studio 17 2022" -A x64 -T host=x64 -Wno-dev -Wno-deprecated -DHDF5_ROOT=${{ runner.temp }}/hdf5-install -DHDF5_USE_STATIC_LIBRARIES=TRUE -DMINIZIP_ROOT=${{ runner.temp }}/minizip-install -DZLIB_ROOT=${{ runner.temp }}/zlib-install -DZLIB_USE_STATIC_LIBS=TRUE -DBoost_INCLUDE_DIR=${{ runner.temp }}/boost-install -DWITH_EXAMPLE=TRUE -DWITH_RESQML2_2=TRUE -DWITH_DOTNET_WRAPPING=TRUE -DSWIG_EXECUTABLE=${{ runner.temp }}/swigwin-4.3.1/swig.exe -DCMAKE_INSTALL_PREFIX=${{ runner.temp }}/fesapi-install ${{ github.workspace }} + cmake -G"Visual Studio 17 2022" -A x64 -T host=x64 -Wno-dev -Wno-deprecated -DHDF5_ROOT=${{ runner.temp }}/hdf5-install -DHDF5_USE_STATIC_LIBRARIES=TRUE -DMINIZIP_ROOT=${{ runner.temp }}/minizip-install -DZLIB_ROOT=${{ runner.temp }}/zlib-install -DZLIB_USE_STATIC_LIBS=TRUE -DBoost_INCLUDE_DIR=${{ runner.temp }}/boost-install -DWITH_EXAMPLE=TRUE -DWITH_RESQML2_2=TRUE -DWITH_DOTNET_WRAPPING=TRUE -DSWIG_EXECUTABLE=${{ runner.temp }}/swigwin-4.4.1/swig.exe -DCMAKE_INSTALL_PREFIX=${{ runner.temp }}/fesapi-install ${{ github.workspace }} cmake --build . --config Release -j2 cmake --build . --config Release --target INSTALL - name: Add msbuild to PATH @@ -71,11 +81,10 @@ jobs: fail-fast: false # 'false' means Don't stop matrix workflows even if some matrix failed. matrix: include: [ - { xcc_name: 'gcc 9', xcc_pkg: gcc-9, cc: gcc-9, cxx: g++-9 }, { xcc_name: 'gcc 10', xcc_pkg: gcc-10, cc: gcc-10, cxx: g++-10 }, - { xcc_name: 'clang 11', xcc_pkg: clang-11, cc: clang-11, cxx: clang++-11 }, - { xcc_name: 'clang 12', xcc_pkg: clang-12, cc: clang-12, cxx: clang++-12 }, + { xcc_name: 'gcc 12', xcc_pkg: gcc-12, cc: gcc-12, cxx: g++-12 }, { xcc_name: 'clang 13', xcc_pkg: clang-13, cc: clang-13, cxx: clang++-13 }, + { xcc_name: 'clang 15', xcc_pkg: clang-15, cc: clang-15, cxx: clang++-15 }, ] env: XCC: ${{ matrix.xcc_name }} @@ -95,12 +104,12 @@ jobs: - name: HDF5 build and install run: | cd ${{ runner.temp }} - wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-1.12.2/src/hdf5-1.12.2.tar.gz - tar -xzf hdf5-1.12.2.tar.gz - cd hdf5-1.12.2 + wget --no-verbose https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/hdf5-2.0.0.tar.gz + tar -xzf hdf5-2.0.0.tar.gz + cd hdf5-2.0.0 mkdir build cd build - cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF -DHDF5_BUILD_TOOLS:BOOL=OFF -DHDF5_BUILD_EXAMPLES:BOOL=OFF -DHDF5_BUILD_CPP_LIB:BOOL=OFF -DHDF5_BUILD_HL_LIB:BOOL=OFF -DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=ON -DCMAKE_INSTALL_PREFIX:STRING=${{ runner.temp }}/install-hdf5-1.12.2 .. + cmake -G "Unix Makefiles" -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DHDF5_ENABLE_ZLIB_SUPPORT:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=OFF -DHDF5_BUILD_FORTRAN:BOOL=OFF -DHDF5_BUILD_JAVA:BOOL=OFF -DHDF5_ENABLE_PARALLEL:BOOL=OFF -DHDF5_BUILD_CPP_LIB:BOOL=OFF -DHDF5_BUILD_HL_LIB:BOOL=OFF -DHDF5_BUILD_EXAMPLES:BOOL=OFF -DHDF5_BUILD_GENERATORS:BOOL=OFF -DHDF5_BUILD_TOOLS:BOOL=OFF -DHDF5_BUILD_UTILS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF -DCMAKE_INSTALL_PREFIX:STRING=${{ runner.temp }}/install-hdf5 .. cmake --build . --config Release make -j4 make install @@ -109,7 +118,7 @@ jobs: cd .. mkdir build cd build - cmake -DHDF5_ROOT=${{ runner.temp }}/install-hdf5-1.12.2 -DHDF5_USE_STATIC_LIBRARIES=TRUE -DCMAKE_BUILD_TYPE=Release -DWITH_JAVA_WRAPPING=TRUE ${{ github.workspace }} -DCMAKE_C_COMPILER=${{ matrix.cc }} -DCMAKE_CXX_COMPILER=${{ matrix.cxx }} -DCMAKE_INSTALL_PREFIX=${{ runner.temp }}/fesapi-install + cmake -DHDF5_ROOT=${{ runner.temp }}/install-hdf5 -DHDF5_USE_STATIC_LIBRARIES=TRUE -DCMAKE_BUILD_TYPE=Release -DWITH_JAVA_WRAPPING=TRUE ${{ github.workspace }} -DCMAKE_C_COMPILER=${{ matrix.cc }} -DCMAKE_CXX_COMPILER=${{ matrix.cxx }} -DCMAKE_INSTALL_PREFIX=${{ runner.temp }}/fesapi-install cmake --build . -j2 cmake --install . - name: Run java example @@ -164,8 +173,8 @@ jobs: # https://github.com/pypa/cibuildwheel/issues/1139 run: touch python/setup.py - name: Build wheels - # Cannot use a more recent version than v2.22.0 because of fetappi wheel which uses AVRO which cannot be built with GNU 14. - uses: pypa/cibuildwheel@v2.22.0 + uses: pypa/cibuildwheel@v3.2.1 + # RedHat nor Debian maintain security patches for hdf5. We consequently build the latest HDF5 version. env: CIBW_BUILD: cp38-manylinux_* cp39-manylinux_* cp310-manylinux_* cp311-manylinux_* cp312-manylinux_* cp313-manylinux_* CIBW_ARCHS: auto64 @@ -175,10 +184,20 @@ jobs: yum search epel-release && yum info epel-release && yum install -y epel-release && - yum --enablerepo=epel install -y minizip1.2-devel hdf5-devel cmake3 && + yum --enablerepo=epel install -y minizip1.2-devel cmake3 && + wget --no-verbose https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/hdf5-2.0.0.tar.gz && + tar -xzf hdf5-2.0.0.tar.gz && + cd hdf5-2.0.0 && + mkdir build && + cd build && + cmake -G "Unix Makefiles" -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DHDF5_ENABLE_ZLIB_SUPPORT:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=OFF -DHDF5_BUILD_FORTRAN:BOOL=OFF -DHDF5_BUILD_JAVA:BOOL=OFF -DHDF5_ENABLE_PARALLEL:BOOL=OFF -DHDF5_BUILD_CPP_LIB:BOOL=OFF -DHDF5_BUILD_HL_LIB:BOOL=OFF -DHDF5_BUILD_EXAMPLES:BOOL=OFF -DHDF5_BUILD_GENERATORS:BOOL=OFF -DHDF5_BUILD_TOOLS:BOOL=OFF -DHDF5_BUILD_UTILS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF -DCMAKE_INSTALL_PREFIX:STRING=${{ github.workspace }}/../hdf5-install .. && + cmake --build . --config Release && + make -j4 && + make install && + cd ../.. && mkdir build && cd build && - cmake3 -DCMAKE_BUILD_TYPE=Release -DWITH_PYTHON_WRAPPING=TRUE -DCMAKE_INSTALL_PREFIX:STRING=/fesapi-install {project} && + cmake3 -DCMAKE_BUILD_TYPE=Release -DHDF5_ROOT=${{ github.workspace }}/../hdf5-install -DHDF5_USE_STATIC_LIBRARIES=TRUE -DWITH_PYTHON_WRAPPING=TRUE -DCMAKE_INSTALL_PREFIX:STRING=/fesapi-install {project} && cmake3 --build . -j2 --config Release && cmake3 --install . CIBW_REPAIR_WHEEL_COMMAND_LINUX: > @@ -211,26 +230,26 @@ jobs: # Dont use brew for dependencies https://github.com/pypa/cibuildwheel/issues/1251#issuecomment-1234553537 CIBW_BEFORE_ALL: > cd ${{ github.workspace }}/.. && - wget https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.gz && - tar xf boost_1_87_0.tar.gz && + wget --no-verbose https://archives.boost.io/release/1.90.0/source/boost_1_90_0.tar.gz && + tar xf boost_1_90_0.tar.gz && git clone https://github.com/F2I-Consulting/Minizip.git ${{ github.workspace }}/../minizip && mkdir ${{ github.workspace }}/../minizip-build && cd ${{ github.workspace }}/../minizip-build && - cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/../minizip-install ${{ github.workspace }}/../minizip && + cmake -G "Unix Makefiles" -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/../minizip-install ${{ github.workspace }}/../minizip && cmake --build . -j2 --config Release && cmake --install . && cd ${{ github.workspace }}/.. && - wget https://github.com/HDFGroup/hdf5/releases/download/hdf5_1.14.5/hdf5-1.14.5.tar.gz && - tar xf hdf5-1.14.5.tar.gz && + wget --no-verbose https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/hdf5-2.0.0.tar.gz && + tar xf hdf5-2.0.0.tar.gz && mkdir hdf5-build && cd hdf5-build && - cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF -DHDF5_BUILD_TOOLS:BOOL=OFF -DHDF5_BUILD_EXAMPLES:BOOL=OFF -DHDF5_BUILD_CPP_LIB:BOOL=OFF -DHDF5_BUILD_HL_LIB:BOOL=OFF -DCMAKE_INSTALL_PREFIX:STRING=${{ github.workspace }}/../hdf5-install ${{ github.workspace }}/../hdf5-1.14.5 && + cmake -G "Unix Makefiles" -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_SHARED_LIBS:BOOL=OFF -DHDF5_BUILD_FORTRAN:BOOL=OFF -DHDF5_BUILD_JAVA:BOOL=OFF -DHDF5_ENABLE_PARALLEL:BOOL=OFF -DHDF5_BUILD_CPP_LIB:BOOL=OFF -DHDF5_BUILD_HL_LIB:BOOL=OFF -DHDF5_BUILD_EXAMPLES:BOOL=OFF -DHDF5_BUILD_GENERATORS:BOOL=OFF -DHDF5_BUILD_TOOLS:BOOL=OFF -DHDF5_BUILD_UTILS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF -DCMAKE_INSTALL_PREFIX:STRING=${{ github.workspace }}/../hdf5-install ${{ github.workspace }}/../hdf5-2.0.0 && cmake --build . -j2 --config Release && cmake --install . && brew install swig && mkdir ${{ github.workspace }}/../build && cd ${{ github.workspace }}/../build && - cmake -DCMAKE_BUILD_TYPE=Release -DBOOST_ROOT=${{ github.workspace }}/../boost_1_87_0 -DMINIZIP_ROOT=${{ github.workspace }}/../minizip-install -DHDF5_ROOT=${{ github.workspace }}/../hdf5-install -DHDF5_USE_STATIC_LIBRARIES=TRUE -DWITH_PYTHON_WRAPPING=TRUE -DCMAKE_INSTALL_PREFIX:STRING=${{ github.workspace }}/../fesapi-install ${{ github.workspace }} && + cmake -DCMAKE_BUILD_TYPE=Release -DBOOST_ROOT=${{ github.workspace }}/../boost_1_90_0 -DMINIZIP_ROOT=${{ github.workspace }}/../minizip-install -DHDF5_ROOT=${{ github.workspace }}/../hdf5-install -DHDF5_USE_STATIC_LIBRARIES=TRUE -DWITH_PYTHON_WRAPPING=TRUE -DCMAKE_INSTALL_PREFIX:STRING=${{ github.workspace }}/../fesapi-install ${{ github.workspace }} && cmake --build . -j2 --config Release && cmake --install . # See https://cibuildwheel.pypa.io/en/stable/faq/#macos-passing-dyld_library_path-to-delocate @@ -287,95 +306,3 @@ jobs: - name: Run Unit tests run: | ${{ github.workspace }}/../build/test/unitTest - webassembly: - if: false - runs-on: ubuntu-22.04 - steps: - - uses: mymindstorm/setup-emsdk@v11 - - uses: actions/checkout@v5 - - name: Verify - run: emcc -v - - name: "Set environmental variables" - run: | - echo "WASM_INSTALL_DIR=${{ github.workspace }}/install" >> $GITHUB_ENV - echo "WASM_LIB_DIR=${{ github.workspace }}/install/lib" >> $GITHUB_ENV - echo "WASM_INCLUDE_DIR=${{ github.workspace }}/install/include" >> $GITHUB_ENV - - name: HDF5 install - env: - HDF5_DOWNLOAD_URL: https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1_12_1.tar.gz - run: | - wget ${{ env.HDF5_DOWNLOAD_URL }} -O hdf5_src.tgz - tar -xvzf hdf5_src.tgz - mkdir -p hdf5_build - cd hdf5_build - LDFLAGS="-s NODERAWFS=1 -s USE_ZLIB=1" emcmake cmake ../hdf5-hdf5-1_12_1 \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=${{ env.WASM_INSTALL_DIR }} \ - -DH5_HAVE_GETPWUID=0 \ - -DH5_HAVE_SIGNAL=0 \ - -DBUILD_SHARED_LIBS=0 \ - -DBUILD_STATIC_LIBS=1 \ - -DBUILD_TESTING=0 \ - -DHDF5_BUILD_EXAMPLES=0 \ - -DHDF5_BUILD_TOOLS=0 \ - -DHDF5_ENABLE_Z_LIB_SUPPORT=1 - emmake make -j8 install - - name: Minizip install - run: | - git clone https://github.com/F2I-Consulting/Minizip.git - mkdir -p minizip_build - cd minizip_build - LDFLAGS="-s USE_ZLIB=1" emcmake cmake ../Minizip \ - -DCMAKE_INSTALL_PREFIX=${{ env.WASM_INSTALL_DIR }} - emmake make -j8 install - - name: CMake build - env: - FESAPI_BUILD_DIR: fesapi_build - run: | - cd ${{ github.workspace }} - # see https://sourceforge.net/p/gsoap2/bugs/1301/ - #wget https://gist.github.com/untereiner/3af2e52fbd135235457d2a707d5480d4/raw/7f7e0706b3421593c4c617b9703e5a90e30bfa51/gsoap_wasm.patch - #git apply gsoap_wasm.patch - mkdir -p fesapi_build - cd fesapi_build - LDFLAGS="-s USE_ZLIB=1 -s USE_BOOST_HEADERS=1" emcmake cmake ../ \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=${{ env.WASM_INSTALL_DIR }} \ - -DWITH_LOCAL_HDF5=ON \ - -DHDF5_INCLUDE_DIRS=${{ env.WASM_INCLUDE_DIR }} \ - -DHDF5_LIBRARIES=${{ env.WASM_LIB_DIR }}/libhdf5.a \ - -DMINIZIP_INCLUDE_DIR=${{ env.WASM_INCLUDE_DIR }} \ - -DMINIZIP_LIBRARY_RELEASE=${{ env.WASM_LIB_DIR }}/libminizip.a \ - -DWITH_EXAMPLE=0 \ - -DWITH_RESQML2_2=1 \ - -DWITH_TEST=0 \ - -DWITH_WASM_WRAPPING=1 - emmake make -j8 fesapi-wasm - emmake make -j8 fesapi-wasm-node - - name: 'Upload Artifact' - uses: actions/upload-artifact@v4 - with: - name: fesapi-mjs - path: | - ${{ github.workspace }}/webassembly/dist/esm/fesapi.mjs - ${{ github.workspace }}/webassembly/dist/esm/fesapi.wasm - # Setup .npmrc file to publish to npm - #- name: 'Setup node' - # uses: actions/setup-node@v3 - # with: - # node-version: '16.x' - # registry-url: 'https://registry.npmjs.org' - # cache-dependency-path: ${{ github.workspace }}/webassembly/package-lock.json - #- name: Configure NPM - # working-directory: ${{ github.workspace }}/webassembly/ - # run: | - # echo "//npm.pkg.github.com/:_authToken=\${NODE_AUTH_TOKEN}" >> .npmrc - # echo "always-auth: true" >> .npmrc - # env: - # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - #- run: npm ci - # working-directory: ${{ github.workspace }}/webassembly/ - #- run: npm publish --access public - # working-directory: ${{ github.workspace }}/webassembly/ - # env: - # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c48e4469..149ef1720 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ set (FESAPI_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}) # version mechanism set (Fesapi_VERSION_MAJOR 2) set (Fesapi_VERSION_MINOR 14) -set (Fesapi_VERSION_PATCH 0) +set (Fesapi_VERSION_PATCH 1) set (Fesapi_VERSION_TWEAK 0) set (Fesapi_VERSION ${Fesapi_VERSION_MAJOR}.${Fesapi_VERSION_MINOR}.${Fesapi_VERSION_PATCH}.${Fesapi_VERSION_TWEAK}) @@ -63,13 +63,13 @@ ELSE() MESSAGE(FATAL_ERROR "Wrong HDF5_VERSION=${HDF5_VERSION}") ENDIF() IF(HDF5_PREFER_PARALLEL) - if(NOT HDF5_IS_PARALLEL) + if (NOT (HDF5_IS_PARALLEL OR HDF5_PROVIDES_PARALLEL)) message(WARNING "Parallel HDF5 is preferred but only serial version found!" ) ENDIF() ELSE() - IF(HDF5_IS_PARALLEL) + IF(HDF5_IS_PARALLEL OR HDF5_PROVIDES_PARALLEL) message(WARNING "Serial HDF5 is preferred but only parallel version found!" ) diff --git a/README.md b/README.md index 65e6a3b48..0b45db6fa 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ # Prepare the dependencies Download (build and install if necessary) third party libraries: -- HDF5: Versions of 1.8.* (starting from 1.8.18), 1.10.* ([starting from 1.10.2](https://www.hdfgroup.org/2018/04/why-should-i-care-about-the-hdf5-1-10-2-release/)), all 1.12.* and all 1.14.* should be ok. https://support.hdfgroup.org/ftp/HDF5/releases/ +- HDF5: Versions of 1.8.* (starting from 1.8.18), 1.10.* ([starting from 1.10.2](https://www.hdfgroup.org/2018/04/why-should-i-care-about-the-hdf5-1-10-2-release/)), all 1.12.\*, 1.14.\* and 2.0.\* should be ok. https://support.hdfgroup.org/ftp/HDF5/releases/ - MINIZIP : Version 1.1 is needed : it is the official version included in [current zlib distribution](https://www.zlib.net/) (look into "contrib" folder). You can directly install minizip development package on most of Linux distributions (https://packages.ubuntu.com/xenial/libminizip-dev). On Windows (or older Linux distributions), you can copy the CMakeLists.txt file from fesapi/cmake/minizip to the zlib minizip directory to help you to build minizip (we also provide a copy of minizip 1.1 with cmake files on github : https://github.com/F2I-Consulting/Minizip). It is also highly recommended to link minizip to the same zlib library than the one associated to your HDF5 library. - BOOST (uuid) : Starting from version 1.44.0 (and at least 1.67.0 if you don't want to face [valgrid false positives](https://www.boost.org/doc/libs/1_66_0/libs/uuid/doc/uuid.html#Design%20notes)). FYI, on windows, boost uuid depends on bcrypt library. diff --git a/cmake/FesapiJavaExample.java b/cmake/FesapiJavaExample.java index c3397b2c6..8c83976b9 100644 --- a/cmake/FesapiJavaExample.java +++ b/cmake/FesapiJavaExample.java @@ -32,6 +32,7 @@ Licensed to the Apache Software Foundation (ASF) under one import com.f2i_consulting.fesapi.eml23__IndexableElement; import com.f2i_consulting.fesapi.eml23__LengthUom; import com.f2i_consulting.fesapi.eml23__MassPerLengthUom; +import com.f2i_consulting.fesapi.eml23__QuantityClassKind; import com.f2i_consulting.fesapi.eml23__ReferencePointKind; import com.f2i_consulting.fesapi.eml23__WellStatus; import com.f2i_consulting.fesapi.fesapi; @@ -52,6 +53,7 @@ Licensed to the Apache Software Foundation (ASF) under one import com.f2i_consulting.fesapi.common.EpcDocument; import com.f2i_consulting.fesapi.eml2.AbstractHdfProxy; import com.f2i_consulting.fesapi.eml2.AbstractLocal3dCrs; +import com.f2i_consulting.fesapi.eml2.ColumnBasedTable; import com.f2i_consulting.fesapi.eml2.GraphicalInformationSet; import com.f2i_consulting.fesapi.eml2.PropertyKind; import com.f2i_consulting.fesapi.eml2_3.Eml23_LocalEngineeringCompoundCrs; @@ -655,6 +657,84 @@ private static void serializeGraphicalInformationSet(DataObjectRepository repo, graphicalInformationSet.setContinuousColorMap(contColMapContProp, contColMap); } ${COMMENT_END} + private static void serializeColumnBasedTable(DataObjectRepository repo) + { + ColumnBasedTable cbt = repo.createColumnBasedTable("866841eb-0c56-4b7d-96d6-f15f385deaf9", "KrPc"); + + PropertyKind pwls3Saturation = repo.createPropertyKind("cfe9293f-d5a9-486d-815a-a957cace90b6", "saturation", eml23__QuantityClassKind.dimensionless); + PropertyKind pwls3RelPerm = repo.createPropertyKind("8e3c5579-7efd-40d0-ab03-bc79452dd2db", "relative permeability", eml23__QuantityClassKind.unitless); + PropertyKind pwls3CapPressure = repo.createPropertyKind("a816a113-1544-4f58-bc6d-7c030b65627b", "capillary pressure", eml23__QuantityClassKind.pressure); + + cbt.pushBackColumnHeader(true, "Water Saturation", pwls3Saturation); + cbt.pushBackColumnHeader(false, "Water Relative Permeability", pwls3RelPerm); + cbt.pushBackColumnHeader(false, "Oil Relative Permeability", pwls3RelPerm); + cbt.pushBackColumnHeader(false, "Oil Water Capillary Pressure", pwls3CapPressure); + + SWIGTYPE_p_double watSat = fesapi.new_DoubleArray(7); + try { + fesapi.DoubleArray_setitem(watSat, 0, 0); + fesapi.DoubleArray_setitem(watSat, 1, 0.157); + fesapi.DoubleArray_setitem(watSat, 2, 0.173); + fesapi.DoubleArray_setitem(watSat, 3, 0.174325); + fesapi.DoubleArray_setitem(watSat, 4, 0.19); + fesapi.DoubleArray_setitem(watSat, 5, 0.19165); + fesapi.DoubleArray_setitem(watSat, 6, 0.207); + + cbt.setDoubleValues(0, watSat, 7); + } + finally { + fesapi.delete_DoubleArray(watSat); + } + + SWIGTYPE_p_double watRelPerm = fesapi.new_DoubleArray(7); + try { + fesapi.DoubleArray_setitem(watRelPerm, 0, 0); + fesapi.DoubleArray_setitem(watRelPerm, 1, 0); + fesapi.DoubleArray_setitem(watRelPerm, 2, 0.000356); + fesapi.DoubleArray_setitem(watRelPerm, 3, 0.0004392); + fesapi.DoubleArray_setitem(watRelPerm, 4, 0.0014241); + fesapi.DoubleArray_setitem(watRelPerm, 5, 0.0015969); + fesapi.DoubleArray_setitem(watRelPerm, 6, 0.0032041); + + cbt.setDoubleValues(1, watRelPerm, 7); + } + finally { + fesapi.delete_DoubleArray(watRelPerm); + } + + SWIGTYPE_p_double oilRelPerm = fesapi.new_DoubleArray(7); + try { + fesapi.DoubleArray_setitem(oilRelPerm, 0, 1); + fesapi.DoubleArray_setitem(oilRelPerm, 1, 0.99); + fesapi.DoubleArray_setitem(oilRelPerm, 2, 0.886131); + fesapi.DoubleArray_setitem(oilRelPerm, 3, 0.8767012); + fesapi.DoubleArray_setitem(oilRelPerm, 4, 0.7764308); + fesapi.DoubleArray_setitem(oilRelPerm, 5, 0.765876); + fesapi.DoubleArray_setitem(oilRelPerm, 6, 0.6778755); + + cbt.setDoubleValues(2, oilRelPerm, 7); + } + finally { + fesapi.delete_DoubleArray(oilRelPerm); + } + + SWIGTYPE_p_double capPressure = fesapi.new_DoubleArray(7); + try { + fesapi.DoubleArray_setitem(capPressure, 0, 0); + fesapi.DoubleArray_setitem(capPressure, 1, 0); + fesapi.DoubleArray_setitem(capPressure, 2, 0); + fesapi.DoubleArray_setitem(capPressure, 3, 0); + fesapi.DoubleArray_setitem(capPressure, 4, 0); + fesapi.DoubleArray_setitem(capPressure, 5, 0); + fesapi.DoubleArray_setitem(capPressure, 6, 0); + + cbt.setDoubleValues(3, capPressure, 7); + } + finally { + fesapi.delete_DoubleArray(capPressure); + } + } + private static void serialize() { try (DataObjectRepository repo = new DataObjectRepository()) { @@ -672,6 +752,7 @@ private static void serialize() ${COMMENT_START} serializeGraphicalInformationSet(repo, hdfProxy); ${COMMENT_END} + serializeColumnBasedTable(repo); EpcDocument pck = new EpcDocument(storageDirectory + File.separator + epcName + ".epc"); pck.serializeFrom(repo); @@ -800,7 +881,8 @@ private static void deserialize() } } } -${COMMENT_END} +${COMMENT_END} + deserializeColumnBasedTable(repo); } } @@ -921,6 +1003,22 @@ private static void deserializeIjkGrid(DataObjectRepository repo) { } } + private static void deserializeColumnBasedTable(DataObjectRepository repo) { + System.out.println("COLUMN BASED TABLE"); + long cbtCount = repo.getColumnBasedTableCount(); + for (long cbtIdx = 0; cbtIdx < cbtCount; ++cbtIdx) { + ColumnBasedTable cbt = repo.getColumnBasedTable(cbtIdx); + System.out.println("\tCOLUMN BASED TABLE : " + cbt.getTitle()); + for (long columnIdx = 0; columnIdx < cbt.getColumnCount(); ++columnIdx) { + System.out.println("\t\tPropKind : " + cbt.getPropertyKind(columnIdx).getTitle()); + for (double dbl : cbt.getDoubleValues(columnIdx)) { + System.out.print(dbl + " "); + } + System.out.println(); + } + } + } + public static void main(String[] args) { serialize(); deserialize(); diff --git a/cmake/swigCsInclude.i b/cmake/swigCsInclude.i index 77b85dd94..64d759752 100644 --- a/cmake/swigCsInclude.i +++ b/cmake/swigCsInclude.i @@ -33,6 +33,7 @@ Basically this file add methods resqml2_0_instantiate* which will create the rig CHANNEL, CHANNELSET, CMPLINEFEATURE, + COLUMNBASEDTABLE, COMMENTPROPERTY, CONTINUOUSCOLORMAP, CONTINUOUSPROPERTY, @@ -125,11 +126,9 @@ Basically this file add methods resqml2_0_instantiate* which will create the rig if (xmlNs.Equals("resqml20")) { return new F2iConsulting.Fesapi.${FESAPI_RESQML2_0_1_NS}.Activity(cPtr, owner); } -${COMMENT_START} else if (xmlNs.Equals("eml23")) { return new F2iConsulting.Fesapi.${FESAPI_EML2_3_NS}.Activity(cPtr, owner); } -${COMMENT_END} return null; } @@ -140,11 +139,9 @@ ${COMMENT_END} if (xmlNs.Equals("resqml20")) { return new F2iConsulting.Fesapi.${FESAPI_RESQML2_0_1_NS}.ActivityTemplate(cPtr, owner); } -${COMMENT_START} else if (xmlNs.Equals("eml23")) { return new F2iConsulting.Fesapi.${FESAPI_EML2_3_NS}.ActivityTemplate(cPtr, owner); } -${COMMENT_END} return null; } @@ -160,11 +157,9 @@ ${COMMENT_END} if (xmlNs.Equals("resqml20")) { return new F2iConsulting.Fesapi.${FESAPI_RESQML2_0_1_NS}.PropertyKind(cPtr, owner); } -${COMMENT_START} else if (xmlNs.Equals("eml23")) { return new F2iConsulting.Fesapi.${FESAPI_EML2_3_NS}.PropertyKind(cPtr, owner); } -${COMMENT_END} return null; } @@ -175,11 +170,9 @@ ${COMMENT_END} if (xmlNs.Equals("resqml20")) { return new F2iConsulting.Fesapi.${FESAPI_RESQML2_0_1_NS}.TimeSeries(cPtr, owner); } -${COMMENT_START} else if (xmlNs.Equals("eml23")) { return new F2iConsulting.Fesapi.${FESAPI_EML2_3_NS}.TimeSeries(cPtr, owner); } -${COMMENT_END} return null; } @@ -867,6 +860,7 @@ ${COMMENT_END} ${COMMENT_START} case DataObjectName.CMPLINEFEATURE : return new F2iConsulting.Fesapi.${FESAPI_RESQML2_2_NS}.CmpLineFeature(cPtr, owner); ${COMMENT_END} + case DataObjectName.COLUMNBASEDTABLE : return new F2iConsulting.Fesapi.${FESAPI_EML2_3_NS}.ColumnBasedTable(cPtr, owner); case DataObjectName.COMMENTPROPERTY : return resqml2_instantiateCommentProperty(cPtr, owner); ${COMMENT_START} case DataObjectName.CONTINUOUSCOLORMAP : return new F2iConsulting.Fesapi.${FESAPI_RESQML2_2_NS}.ContinuousColorMap(cPtr, owner); @@ -983,8 +977,7 @@ namespace COMMON_NS namespace EML2_NS { - %typemap(csout, excode=SWIGEXCODE) Activity*, ActivityTemplate*, EpcExternalPartReference*, PropertyKind*, TimeSeries*, AbstractLocal3dCrs* - ,GraphicalInformationSet* + %typemap(csout, excode=SWIGEXCODE) Activity*, ActivityTemplate*, EpcExternalPartReference*, PropertyKind*, TimeSeries*, AbstractLocal3dCrs*, GraphicalInformationSet*, ColumnBasedTable* { global::System.IntPtr cPtr = $imcall; $csclassname ret = ($csclassname) $modulePINVOKE.eml2_instantiateConcreteObject(cPtr, $owner);$excode diff --git a/cmake/swigJavaInclude.i b/cmake/swigJavaInclude.i index 84a00c31b..af5b68957 100644 --- a/cmake/swigJavaInclude.i +++ b/cmake/swigJavaInclude.i @@ -33,6 +33,7 @@ Basically this file add methods resqml2_0_instantiate* which will create the rig CHANNEL, CHANNELSET, CMPLINEFEATURE, + COLUMNBASEDTABLE, COMMENTPROPERTY, CONTINUOUSCOLORMAP, CONTINUOUSPROPERTY, @@ -125,11 +126,9 @@ Basically this file add methods resqml2_0_instantiate* which will create the rig if ("resqml20".equals(xmlNs)) { return new com.f2i_consulting.fesapi.${FESAPI_RESQML2_0_1_NS}.Resqml20_Activity(cPtr, owner); } -${COMMENT_START} else if ("eml23".equals(xmlNs)) { return new com.f2i_consulting.fesapi.${FESAPI_EML2_3_NS}.Eml23_Activity(cPtr, owner); } -${COMMENT_END} return null; } @@ -140,11 +139,9 @@ ${COMMENT_END} if ("resqml20".equals(xmlNs)) { return new com.f2i_consulting.fesapi.${FESAPI_RESQML2_0_1_NS}.Resqml20_ActivityTemplate(cPtr, owner); } -${COMMENT_START} else if ("eml23".equals(xmlNs)) { return new com.f2i_consulting.fesapi.${FESAPI_EML2_3_NS}.Eml23_ActivityTemplate(cPtr, owner); } -${COMMENT_END} return null; } @@ -160,11 +157,9 @@ ${COMMENT_END} if ("resqml20".equals(xmlNs)) { return new com.f2i_consulting.fesapi.${FESAPI_RESQML2_0_1_NS}.Resqml20_PropertyKind(cPtr, owner); } -${COMMENT_START} else if ("eml23".equals(xmlNs)) { return new com.f2i_consulting.fesapi.${FESAPI_EML2_3_NS}.Eml23_PropertyKind(cPtr, owner); } -${COMMENT_END} return null; } @@ -175,11 +170,9 @@ ${COMMENT_END} if ("resqml20".equals(xmlNs)) { return new com.f2i_consulting.fesapi.${FESAPI_RESQML2_0_1_NS}.Resqml20_TimeSeries(cPtr, owner); } -${COMMENT_START} else if ("eml23".equals(xmlNs)) { return new com.f2i_consulting.fesapi.${FESAPI_EML2_3_NS}.Eml23_TimeSeries(cPtr, owner); } -${COMMENT_END} return null; } @@ -867,6 +860,7 @@ ${COMMENT_END} ${COMMENT_START} case CMPLINEFEATURE : return new com.f2i_consulting.fesapi.${FESAPI_RESQML2_2_NS}.Resqml22_CmpLineFeature(cPtr, owner); ${COMMENT_END} + case COLUMNBASEDTABLE : return new com.f2i_consulting.fesapi.${FESAPI_EML2_3_NS}.Eml23_ColumnBasedTable(cPtr, owner); case COMMENTPROPERTY : return resqml2_instantiateCommentProperty(cPtr, owner); ${COMMENT_START} case CONTINUOUSCOLORMAP : return new com.f2i_consulting.fesapi.${FESAPI_RESQML2_2_NS}.Resqml22_ContinuousColorMap(cPtr, owner); @@ -987,8 +981,7 @@ namespace COMMON_NS namespace EML2_NS { - %typemap(javaout) Activity*, ActivityTemplate*, EpcExternalPartReference*, PropertyKind*, TimeSeries*, AbstractLocal3dCrs* - ,GraphicalInformationSet* + %typemap(javaout) Activity*, ActivityTemplate*, EpcExternalPartReference*, PropertyKind*, TimeSeries*, AbstractLocal3dCrs*, GraphicalInformationSet*, ColumnBasedTable* { long cPtr = $jnicall; $javaclassname ret = ($javaclassname) fesapiJNI.eml2_instantiateConcreteObject(cPtr, $owner); diff --git a/cmake/swigPythonInclude.i.in b/cmake/swigPythonInclude.i.in index 7bb653a25..e7348bd1b 100644 --- a/cmake/swigPythonInclude.i.in +++ b/cmake/swigPythonInclude.i.in @@ -63,7 +63,7 @@ namespace EML2_NS resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), outtype, 0); } - %typemap(out) Activity*, ActivityTemplate*, PropertyKind*, TimeSeries* + %typemap(out) Activity*, ActivityTemplate*, PropertyKind*, TimeSeries*, ColumnBasedTable* #ifdef WITH_RESQML2_2 ,GraphicalInformationSet* #endif diff --git a/docker/almalinux8/Dockerfile b/docker/almalinux8/Dockerfile deleted file mode 100644 index 6beae8b3b..000000000 --- a/docker/almalinux8/Dockerfile +++ /dev/null @@ -1,95 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"; you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -FROM almalinux:8 - -LABEL maintainer="philippe.verney@f2i-consulting.com" - -ENV CFLAGS="-fPIC -O2" -ENV CXXFLAGS="-fPIC -O2" - -RUN dnf install -y \ - # git is used to clone fesapi repository from GitHub \ - git \ - # C and C++ compilers - gcc-c++ \ - # make is used to process Unix Makefiles - make \ - # cmake is used to generate Makefiles - cmake \ - # boost is used for UUID management - boost-devel \ - # wget is used to download ressources. We use it instead of ADD in order to - # minimize the size of the docker image by limitating the number of layers - wget \ - # zlib is used to build minizip - zlib-devel - -############## -# minizip is a dependency of fesapi -############## -WORKDIR /fesapiEnv -RUN mkdir dependencies && \ - cd dependencies && \ - git clone https://github.com/F2I-Consulting/Minizip.git && \ - mkdir -p minizip-build && \ - cd minizip-build && \ - cmake3 -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX:STRING=/fesapiEnv/dependencies/minizip-install ../Minizip && \ - cmake3 --build . --config Release && \ - cmake3 --install . - -############## -# hdf5 is a dependency of fesapi -############## -WORKDIR /fesapiEnv/dependencies -RUN wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-1.12.3/src/hdf5-1.12.3.tar.gz && \ - tar xf hdf5-1.12.3.tar.gz && \ - cd hdf5-1.12.3 && \ - mkdir build && \ - cd build && \ - cmake3 -G "Unix Makefiles" \ - -DCMAKE_BUILD_TYPE:STRING=Release \ - -DBUILD_SHARED_LIBS:BOOL=OFF \ - -DBUILD_TESTING:BOOL=OFF \ - -DHDF5_BUILD_TOOLS:BOOL=OFF \ - -DHDF5_BUILD_EXAMPLES:BOOL=OFF \ - -DHDF5_BUILD_CPP_LIB:BOOL=OFF \ - -DHDF5_BUILD_HL_LIB:BOOL=OFF \ - -DCMAKE_INSTALL_PREFIX:STRING=/fesapiEnv/dependencies/hdf5-install \ - .. && \ - cmake3 --build . --config Release && \ - cmake3 --install . - -################ -# fesapi install -WORKDIR /fesapiEnv -RUN git clone https://github.com/F2I-Consulting/fesapi.git && \ - cd fesapi && \ - cd .. && \ - mkdir build && \ - cd build && \ - cmake3 \ - -DHDF5_ROOT=/fesapiEnv/dependencies/hdf5-install \ - -DHDF5_USE_STATIC_LIBRARIES=TRUE \ - -DMINIZIP_ROOT=/fesapiEnv/dependencies/minizip-install \ - -DWITH_EXAMPLE=TRUE \ - -DCMAKE_BUILD_TYPE=Release \ - ../fesapi && \ - cmake3 --build . --config Release && \ - cmake3 --install . - -# generate .epc and .h5 files -WORKDIR /fesapiEnv/build/install -RUN ./example diff --git a/docker/trusty/Dockerfile b/docker/trusty/Dockerfile deleted file mode 100644 index 2c7ca7c97..000000000 --- a/docker/trusty/Dockerfile +++ /dev/null @@ -1,71 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"; you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -FROM ubuntu:trusty - -LABEL maintainer="philippe.verney@f2i-consulting.com" - -ENV CFLAGS="-fPIC -O2" -ENV CXXFLAGS="-fPIC -O2" - -RUN apt-get update &&\ - apt-get install -y --no-install-recommends build-essential libboost-dev libboost-regex-dev libhdf5-dev wget git &&\ - apt-get clean &&\ - rm -rf /var/lib/apt/lists/* - -WORKDIR /fesapiEnv - -# CMake install -RUN mkdir dependencies && \ - cd dependencies && \ - wget https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh && \ - sh cmake-3.12.0-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir - -# install -RUN cd dependencies && \ - git clone https://github.com/F2I-Consulting/Minizip.git && \ - cd Minizip && \ - mkdir build && \ - cd build && \ - cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/fesapiEnv/dependencies/Minizip-install .. && \ - cmake --build . && \ - make install - -################ -# fesapi install -RUN git clone https://github.com/F2I-Consulting/fesapi.git && \ - cd fesapi && \ - cd .. && \ - mkdir build && \ - cd build && \ - cmake \ - -DHDF5_1_8=TRUE \ - -DHDF5_C_INCLUDE_DIR=/usr/include \ - -DHDF5_C_LIBRARY_RELEASE=/usr/lib/x86_64-linux-gnu/libhdf5.so \ - -DMINIZIP_INCLUDE_DIR=/fesapiEnv/dependencies/Minizip-install/include \ - -DMINIZIP_LIBRARY_RELEASE=/fesapiEnv/dependencies/Minizip-install/lib/libminizip.a \ - -DZLIB_INCLUDE_DIR=/usr/include \ - -DZLIB_LIBRARY_RELEASE=/usr/lib/x86_64-linux-gnu/libz.so \ - -DCMAKE_BUILD_TYPE=Release \ - -DWITH_EXAMPLE=TRUE \ - -DWITH_RESQML2_2=TRUE \ - -DWITH_TEST=TRUE \ - ../fesapi && \ - make VERBOSE=OFF && \ - make install - -# generate .epc and .h5 files -WORKDIR /fesapiEnv/build/install -RUN ./example diff --git a/docker/ubuntu20.04/Dockerfile b/docker/ubuntu20.04/Dockerfile deleted file mode 100644 index 8f54c0fe8..000000000 --- a/docker/ubuntu20.04/Dockerfile +++ /dev/null @@ -1,40 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"; you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -FROM ubuntu:focal - -LABEL maintainer="philippe.verney@f2i-consulting.com" - -RUN apt update -RUN DEBIAN_FRONTEND=noninteractive apt install -y build-essential libboost-all-dev libminizip-dev libhdf5-dev cmake git - -# fesapi install -WORKDIR /fesapiEnv -RUN git clone https://github.com/F2I-Consulting/fesapi.git - -WORKDIR /fesapiEnv/build -RUN cmake \ - -Wno-dev -Wno-deprecated \ - -DMINIZIP_INCLUDE_DIR=/usr/include/minizip \ - -DMINIZIP_LIBRARY_RELEASE=/usr/lib/x86_64-linux-gnu/libminizip.so \ - -DWITH_EXAMPLE=TRUE \ - -DWITH_RESQML2_2=TRUE \ - -DWITH_TEST=TRUE \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - ../fesapi -RUN make -j4 -RUN make install - -WORKDIR /fesapiEnv/build/install diff --git a/example/example.cpp b/example/example.cpp index 3d20cb2fd..d13d0dae1 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -42,6 +42,8 @@ under the License. #include "eml2/PropertyKind.h" #include "eml2/TimeSeries.h" +#include "eml2_3/ColumnBasedTable.h" +#include "eml2_3/GraphicalInformationSet.h" #include "eml2_3/LocalEngineeringCompoundCrs.h" #include "eml2_3/PropertyKind.h" @@ -106,7 +108,6 @@ under the License. #include "resqml2_0_1/WellboreMarkerFrameRepresentation.h" #if WITH_RESQML2_2 -#include "eml2_3/GraphicalInformationSet.h" #include "resqml2_2/DiscreteColorMap.h" #include "resqml2_2/ContinuousColorMap.h" #include "resqml2_2/FluidBoundaryInterpretation.h" @@ -265,6 +266,29 @@ void serializeWitsmlWells(COMMON_NS::DataObjectRepository * repo) witsmlWellboreMarker->setDipDirection(10, gsoap_eml2_3::eml23__PlaneAngleUom::dega); } +void serializeColumnBasedTable(COMMON_NS::DataObjectRepository* repo, EML2_NS::AbstractHdfProxy* hdfProxy) +{ + auto* cbt = repo->createColumnBasedTable("866841eb-0c56-4b7d-96d6-f15f385deaf9", "KrPc"); + + auto* pwls3Saturation = repo->createPropertyKind("cfe9293f-d5a9-486d-815a-a957cace90b6", "saturation", gsoap_eml2_3::eml23__QuantityClassKind::dimensionless); + auto* pwls3RelPerm = repo->createPropertyKind("8e3c5579-7efd-40d0-ab03-bc79452dd2db", "relative permeability", gsoap_eml2_3::eml23__QuantityClassKind::unitless); + auto* pwls3CapPressure = repo->createPropertyKind("a816a113-1544-4f58-bc6d-7c030b65627b", "capillary pressure", gsoap_eml2_3::eml23__QuantityClassKind::pressure); + + cbt->pushBackColumnHeader(true, "Water Saturation", pwls3Saturation); + cbt->pushBackColumnHeader(false, "Water Relative Permeability", pwls3RelPerm); + cbt->pushBackColumnHeader(false, "Oil Relative Permeability", pwls3RelPerm); + cbt->pushBackColumnHeader(false, "Oil Water Capillary Pressure", pwls3CapPressure); + + double watSat[] = { 0, 0.157, 0.173, 0.174325, 0.19, 0.19165, 0.207 }; + cbt->setDoubleValues(0, watSat, 7); + double watRelPerm[] = { 0, 0, 0.000356, 0.0004392, 0.0014241, 0.0015969, 0.0032041 }; + cbt->setDoubleValues(1, watRelPerm, 7); + double oilRelPerm[] = { 1, 0.99, 0.886131, 0.8767012, 0.7764308, 0.765876, 0.6778755 }; + cbt->setDoubleValues(2, oilRelPerm, 7); + double capPressure[] = { 0, 0, 0, 0, 0, 0, 0 }; + cbt->setDoubleValues(3, capPressure, 7); +} + void serializeWells(COMMON_NS::DataObjectRepository * repo, EML2_NS::AbstractHdfProxy* hdfProxy) { serializeWitsmlWells(repo); @@ -504,7 +528,7 @@ void serializeStratigraphicModel(COMMON_NS::DataObjectRepository * repo, EML2_NS stratiColumnRank0->pushBackStratigraphicBinaryContact(stratiUnitAInterp, gsoap_eml2_3::resqml22__ContactMode::conformable, stratiUnitBInterp, gsoap_eml2_3::resqml22__ContactMode::conformable, horizon2Interp1); // WellboreFeature marker frame - if (wellbore1Interp1 != nullptr) { + if (repo->getDefaultHdfProxy()->getXmlNamespace() == "resqml20" && wellbore1Interp1 != nullptr) { RESQML2_NS::WellboreMarkerFrameRepresentation* wmf = repo->createWellboreMarkerFrameRepresentation(wellbore1Interp1, "657d5e6b-1752-425d-b3e7-237037fa11eb", "Wellbore Marker Frame", w1i1TrajRep); double markerMdValues[2] = { 350, 550 }; wmf->setMdValues(markerMdValues, 2, hdfProxy); @@ -1172,10 +1196,12 @@ void serializeGrid(COMMON_NS::DataObjectRepository * repo, EML2_NS::AbstractHdfP /************** Points Properties ***************/ - RESQML2_NS::PointsProperty* pointsProp = repo->createPointsProperty(twoCellsIjkGrid, "fdf3e92b-1ac2-4589-832d-69ee7c167db7", "Cell center", 1, - gsoap_eml2_3::eml23__IndexableElement::cells, local3dCrs); - double cellCenters[6] = { 185, 75, 400, 560, 75, 450 }; - pointsProp->pushBackArray3dOfXyzPoints(cellCenters, 2, 1, 1, hdfProxy); + if (repo->getDefaultHdfProxy()->getXmlNamespace() == "resqml20") { + RESQML2_NS::PointsProperty* pointsProp = repo->createPointsProperty(twoCellsIjkGrid, "fdf3e92b-1ac2-4589-832d-69ee7c167db7", "Cell center", 1, + gsoap_eml2_3::eml23__IndexableElement::cells, local3dCrs); + double cellCenters[6] = { 185, 75, 400, 560, 75, 450 }; + pointsProp->pushBackArray3dOfXyzPoints(cellCenters, 2, 1, 1, hdfProxy); + } /************** LGR @@ -1229,7 +1255,7 @@ void serializeGrid(COMMON_NS::DataObjectRepository * repo, EML2_NS::AbstractHdfP // The cumulative count of points per face i.e. first face contains 3 points, second face contains 6-3=3 points, third face contains 9-6=3 points etc... uint64_t nodeIndicesCumulativeCountPerFace[8] = { 3, // shared face 6, 9, 12, // faces for tetra - 16, 20, 24, 27 // faces for wedge + 16, 20, 24, 27 // faces for wedge }; // The face indices of each cell. uint64_t faceIndicesPerCell[9] = { 0, 1, 2, 3, // tetra @@ -2539,6 +2565,7 @@ bool serialize(const string& filePath) repo.setDefaultCrs(local3dCrs); // Comment or uncomment below domains/lines you want wether to test or not + serializeColumnBasedTable(&repo, hdfProxy); serializeWells(&repo, hdfProxy); serializePerforations(&repo); serializeBoundaries(&repo, hdfProxy); @@ -2965,7 +2992,24 @@ void deserializeSealedVolumeFramework(const COMMON_NS::DataObjectRepository & re showAllMetadata(svf->getRepOfExternalShellFace(regionIdx, faceIdx)); } } + } +} +void deserializeColumnBasedTable(COMMON_NS::DataObjectRepository* repo) +{ + for (auto const* cbt : repo->getColumnBasedTableSet()) { + cout << "COLUMN BASED TABLE : " << cbt->getTitle() << endl; + for (size_t columnIdx = 0; columnIdx < cbt->getColumnCount(); ++columnIdx) { + cout << "PropKind : " << cbt->getPropertyKind(columnIdx)->getTitle() << endl; + auto datatype = cbt->getDatatype(columnIdx); + cout << "Datatype : " << (int)datatype << endl; + if (datatype == COMMON_NS::AbstractObject::numericalDatatypeEnum::DOUBLE) { + for (double dbl : cbt->getDoubleValues(columnIdx)) { + cout << dbl << " "; + } + cout << endl; + } + } } } @@ -5214,6 +5258,7 @@ void deserialize(const string & inputFile) } cout << endl; + deserializeColumnBasedTable(&repo); deserializeGeobody(&repo); deserializeFluidBoundary(repo); deserializeRockFluidOrganization(repo); diff --git a/python/example/example.py b/python/example/example.py index bf861f763..d4337b9ac 100644 --- a/python/example/example.py +++ b/python/example/example.py @@ -20,7 +20,7 @@ def serialize_grid(repo: fesapi.DataObjectRepository): resqml_points.setitem(i, value) single_cell_ijk_grid.setGeometryAsCoordinateLineNodes( fesapi.resqml20__PillarShape_vertical, fesapi.resqml20__KDirection_down, False, - resqml_points) + resqml_points.cast()) # ONE CONTINUOUS PROPERTY ON A PARTIAL 3 cells I=1 J=1 K=3 GRID partial_ijk_grid = repo.createPartialIjkGridRepresentation("bc92a216-aa17-4a1f-9253-8b3ab094bf84", "partial grid") @@ -33,7 +33,66 @@ def serialize_grid(repo: fesapi.DataObjectRepository): stats = fesapi.FloatArrayStatistics() stats.setMaximum(3.3) stats.setMinimum(1.1) - continuous_prop.pushBackFloatArray3dOfValuesPlusStatistics(resqml_values, 1, 1, 3, stats) + continuous_prop.pushBackFloatArray3dOfValuesPlusStatistics(resqml_values.cast(), 1, 1, 3, stats) + + # A time series definition + time_series = repo.createTimeSeries("1187d8a0-fa3e-11e5-ac3a-0002a5d5c51b", "Testing time series 1") + time_series.pushBackTimestamp(1409753895) + time_series.pushBackTimestamp(1441289895) + + # A continuous property with time series + continuous_prop_time0 = repo.createContinuousProperty(partial_ijk_grid, "18027a00-fa3e-11e5-8255-0002a5d5c51b", "Time Series Property", 1, + fesapi.eml23__IndexableElement_cells, fesapi.resqml20__ResqmlUom_m, fesapi.resqml20__ResqmlPropertyKind_length) + continuous_prop_time0.setTimeSeries(time_series) + continuous_prop_time0.setSingleTimestamp(time_series.getTimestamp(0)) + continuous_prop_time0.pushBackFloatArray3dOfValues(resqml_values.cast(), 1, 1, 3) + + continuous_prop_time1= repo.createContinuousProperty(partial_ijk_grid, "1ba54340-fa3e-11e5-9534-0002a5d5c51b", "Time Series Property", 1, + fesapi.eml23__IndexableElement_cells, fesapi.resqml20__ResqmlUom_m, fesapi.resqml20__ResqmlPropertyKind_length) + continuous_prop_time1.setTimeSeries(time_series) + continuous_prop_time1.setSingleTimestamp(1441289895) + continuous_prop_time1.pushBackFloatArray3dOfValues(resqml_values.cast(), 1, 1, 3) + + # unstructured grid example + unstructured_grid = repo.createUnstructuredGridRepresentation( + "9283cd33-5e52-4110-b7b1-616abde2b303", + "One tetrahedron + prism grid", + 2 + ) + python_points = [0, 0, 300, 375, 0, 300, 0, 150, 300, # points for shared face between tetra and wedge + 0, 0, 500, # point for tetra + 0, 0, 0, 375, 0, 0, 0, 150, 0] + resqml_points = fesapi.DoubleArray(21) + for i, value in enumerate(python_points): + resqml_points.setitem(i, value) + python_node_indices_per_face = [0, 1, 2, # shared face + 1, 2, 3, 0, 1, 3, 0, 2, 3, # faces for tetra + 0, 2, 6, 4, 2, 1, 5, 6, 0, 1, 5, 4, 4, 5, 6] # faces for wedge + resqml_node_indices_per_face = fesapi.UInt64Array(27) + for i, value in enumerate(python_node_indices_per_face): + resqml_node_indices_per_face.setitem(i, value) + python_node_indices_cumulative_count_per_face = [3, # shared face + 6, 9, 12, # faces for tetra + 16, 20, 24, 27] # faces for wedge + resqml_node_indices_cumulative_count_per_face = fesapi.UInt64Array(8) + for i, value in enumerate(python_node_indices_cumulative_count_per_face): + resqml_node_indices_cumulative_count_per_face.setitem(i, value) + python_face_indices_per_cell = [0, 1, 2, 3, # tetra + 0, 4, 5, 6, 7] # wedge + resqml_face_indices_per_cell = fesapi.UInt64Array(9) + for i, value in enumerate(python_face_indices_per_cell): + resqml_face_indices_per_cell.setitem(i, value) + python_face_indices_cumulative_count_per_cell = [ 4, 9 ]; + resqml_face_indices_cumulative_count_per_cell = fesapi.UInt64Array(2) + for i, value in enumerate(python_face_indices_cumulative_count_per_cell): + resqml_face_indices_cumulative_count_per_cell.setitem(i, value) + python_face_right_handness = [ 1, 0, 0, 1, 0, 0, 0, 1, 1 ]; + resqml_face_right_handness = fesapi.UInt8Array(9) + for i, value in enumerate(python_face_right_handness): + resqml_face_right_handness.setitem(i, value) + unstructured_grid.setGeometry(resqml_face_right_handness.cast(), resqml_points.cast(), 7, None, resqml_face_indices_per_cell.cast(), resqml_face_indices_cumulative_count_per_cell.cast(), 8, + resqml_node_indices_per_face.cast(), resqml_node_indices_cumulative_count_per_face.cast(), fesapi.resqml20__CellShape_prism); + def serialize(file_name: str): """ @@ -122,7 +181,7 @@ def show_ijk_grid(ijk_grid: fesapi.Resqml2_AbstractIjkGridRepresentation): for patch_index in range(patch_count): nb_xyz_points_in_patch = ijk_grid.getXyzPointCountOfPatch(patch_index) xyz_points_in_patch = fesapi.DoubleArray(nb_xyz_points_in_patch * 3) - ijk_grid.getXyzPointsOfPatch(patch_index, xyz_points_in_patch) + ijk_grid.getXyzPointsOfPatch(patch_index, xyz_points_in_patch.cast()) for vertex_index in range(nb_xyz_points_in_patch): x = xyz_points_in_patch.getitem(vertex_index * 3) y = xyz_points_in_patch.getitem(vertex_index * 3 + 1) @@ -130,7 +189,7 @@ def show_ijk_grid(ijk_grid: fesapi.Resqml2_AbstractIjkGridRepresentation): print("Vertex ", vertex_index, " : ", x, " ", y, " ", z) xyz_points = fesapi.DoubleArray(nb_xyz_points * 3) - ijk_grid.getXyzPointsOfAllPatches(xyz_points) + ijk_grid.getXyzPointsOfAllPatches(xyz_points.cast()) ijk_grid.loadSplitInformation() for cell_corner in range(8): diff --git a/python/example/fesapi.ipynb b/python/example/fesapi.ipynb index 8d587e020..787a618dc 100644 --- a/python/example/fesapi.ipynb +++ b/python/example/fesapi.ipynb @@ -116,7 +116,7 @@ "resqml_points = fesapi.DoubleArray(24)\n", "for i in range(6):\n", " resqml_points.setitem(i, i*100)\n", - "horizon_grid_2d_representation.setGeometryAsArray2dOfExplicitZ(resqml_points, 2, 3, hdf_proxy,\n", + "horizon_grid_2d_representation.setGeometryAsArray2dOfExplicitZ(resqml_points.cast(), 2, 3, hdf_proxy,\n", " 0.0, 0.0, 0.0,\n", " 1.0, 0.0, 0.0, 25.0,\n", " 0.0, 1.0, 0.0, 50.0)" @@ -132,15 +132,12 @@ }, { "cell_type": "code", - "execution_count": 6, "id": "b5d289e6-c699-4d88-a870-3dae2baf14ee", "metadata": {}, - "outputs": [], "source": [ "# Create an EPC Document in the current folder nad named TestingFesapiWithPython.epc\n", "epc_file = fesapi.EpcDocument(file_name_without_extension + \".epc\")\n", - "epc_file.serializeFrom(repo)\n", - "epc_file.close()" + "epc_file.serializeFrom(repo)" ] }, { @@ -164,7 +161,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": ".venv (3.11.9)", "language": "python", "name": "python3" }, @@ -178,7 +175,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.5" + "version": "3.11.9" } }, "nbformat": 4, diff --git a/src/common/AbstractObject.cpp b/src/common/AbstractObject.cpp index ab9dbcb23..eeb0c7538 100644 --- a/src/common/AbstractObject.cpp +++ b/src/common/AbstractObject.cpp @@ -38,11 +38,7 @@ under the License. #include "../version_config.h" #include "../eml2/Activity.h" -#if WITH_RESQML2_2 #include "../eml2_3/HdfProxy.h" -#else -#include "../eml2/AbstractHdfProxy.h" -#endif using namespace std; using namespace COMMON_NS; @@ -501,11 +497,21 @@ void AbstractObject::initMandatoryMetadata() cannotBePartial(); if (gsoapProxy2_0_1 != nullptr) { + /* From EML2.0 Abstract.xsd, schemaVersion documentation : + * The specific version of a schema from which this object is derived. + * This string should be exactly equivalent to the version attribute of the root element of the associated XSD schema file + */ gsoapProxy2_0_1->schemaVersion = getXmlNamespaceVersion(); gsoapProxy2_0_1->Citation = gsoap_resqml2_0_1::soap_new_eml20__Citation(gsoapProxy2_0_1->soap); } else if (gsoapProxy2_3 != nullptr) { - gsoapProxy2_3->schemaVersion = getXmlNamespaceVersion(); + /* From EML2.3 Abstract.xsd, schemaVersion documentation : + * The version of the Energistics schema used for a data object. The schema version is the first 2 digits of an ML version. EXAMPLES: + * - For WITSML v2.0 the schema version is 20 + * - For RESQML v2.0.1 the schema version is 20 + */ + const std::string& xmlNs = getXmlNamespace(); + gsoapProxy2_3->schemaVersion = xmlNs.substr(xmlNs.size()-2); gsoapProxy2_3->Citation = gsoap_eml2_3::soap_new_eml23__Citation(gsoapProxy2_3->soap); } @@ -1064,7 +1070,7 @@ namespace { if (arrayInput->soap_type() == SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntegerHdf5Array) { auto const* hdfArray = static_cast(arrayInput); if constexpr (std::is_signed_v) { - nullValue = static_cast(std::clamp(hdfArray->NullValue, + nullValue = static_cast(std::clamp(static_cast(hdfArray->NullValue), static_cast((std::numeric_limits::min)()), static_cast((std::numeric_limits::max)()))); } else { @@ -1095,7 +1101,7 @@ namespace { externalDataArrayParts = static_cast(arrayInput)->Values->ExternalDataArrayPart; const int64_t xmlNullValue = static_cast(arrayInput)->NullValue; if constexpr (std::is_signed_v) { - nullValue = static_cast(std::clamp(xmlNullValue, + nullValue = static_cast(std::clamp(static_cast(xmlNullValue), static_cast((std::numeric_limits::min)()), static_cast((std::numeric_limits::max)()))); } else { @@ -1570,13 +1576,11 @@ EML2_NS::AbstractHdfProxy* AbstractObject::getOrCreateHdfProxyFromDataArrayPart( { EML2_NS::AbstractHdfProxy* hdfProxy = getRepository()->getDataObjectByUuid(dataArrayPart->URI); -#if WITH_RESQML2_2 if (hdfProxy == nullptr) { hdfProxy = new EML2_3_NS::HdfProxy(getRepository(), "", "Fake eml23 HDF Proxy", getEpcSourceFolder(), dataArrayPart->URI); hdfProxy->setUriSource(getUriSource()); getRepository()->addDataObject(std::unique_ptr{hdfProxy}); } -#endif return hdfProxy; } diff --git a/src/common/AbstractObject.h b/src/common/AbstractObject.h index ed46f8217..f287fa5f7 100644 --- a/src/common/AbstractObject.h +++ b/src/common/AbstractObject.h @@ -471,7 +471,9 @@ namespace COMMON_NS DLL_IMPORT_OR_EXPORT virtual std::string getXmlNamespaceVersion() const; /** - * Gets the content type of this instance according to EPC recommendation + * Gets the content type of this instance according to Energistics Identifier Specification v4.0 + * https://docs.energistics.org/#EID/EID_TOPICS/EID-000-007-0-C-sv4000.html + * Example here : https://docs.energistics.org/#EID/EID_TOPICS/EID-000-009-0-C-sv4000.html * * @returns The content type of this instance. */ @@ -842,7 +844,7 @@ namespace COMMON_NS gsoap_resqml2_0_1::resqml20__IntegerConstantArray const* constantArray = static_cast(arrayInput); T value; if constexpr (std::is_signed_v) { - value = static_cast(std::clamp(constantArray->Value, + value = static_cast(std::clamp(static_cast(constantArray->Value), static_cast((std::numeric_limits::min)()), static_cast((std::numeric_limits::max)()))); } else { diff --git a/src/common/DataObjectRepository.cpp b/src/common/DataObjectRepository.cpp index 7af33ec8d..2dd889490 100644 --- a/src/common/DataObjectRepository.cpp +++ b/src/common/DataObjectRepository.cpp @@ -36,7 +36,9 @@ under the License. #include "../eml2_3/Activity.h" #include "../eml2_3/ActivityTemplate.h" +#include "../eml2_3/ColumnBasedTable.h" #include "../eml2_3/GraphicalInformationSet.h" +#include "../eml2_3/HdfProxy.h" #include "../eml2_3/LocalEngineeringCompoundCrs.h" #include "../eml2_3/LocalEngineering2dCrs.h" #include "../eml2_3/PropertyKind.h" @@ -393,6 +395,13 @@ void DataObjectRepository::addRelationship(COMMON_NS::AbstractObject * source, C if (source == nullptr || target == nullptr) { throw invalid_argument("Cannot set a relationship with a null pointer"); } + if (dynamic_cast(target) != nullptr) { + const std::string& xmlNs = source->getXmlNamespace(); + if (xmlNs.substr(xmlNs.size() - 2) == "20") { + throw invalid_argument("Cannot associate a 2.0 Energistics dataobject such as " + + source->getXmlTag() + ' ' + source->getTitle() + '(' + source->getUuid() + ") with an EML2.3 Hdf Proxy. Please use an EML2.0 Hdf Proxy instead."); + } + } auto sourceIt = forwardRels.find(source); if (sourceIt == forwardRels.end()) { @@ -953,6 +962,7 @@ COMMON_NS::AbstractObject* DataObjectRepository::createPartial(const std::string else if (ns == "eml23") { if CREATE_FESAPI_PARTIAL_WRAPPER_WITH_VERSION(EML2_3_NS::Activity) else if CREATE_FESAPI_PARTIAL_WRAPPER_WITH_VERSION(EML2_3_NS::ActivityTemplate) + else if CREATE_FESAPI_PARTIAL_WRAPPER_WITH_VERSION(EML2_3_NS::ColumnBasedTable) else if CREATE_FESAPI_PARTIAL_WRAPPER_WITH_VERSION(EML2_3_NS::LocalEngineering2dCrs) else if CREATE_FESAPI_PARTIAL_WRAPPER_WITH_VERSION(EML2_3_NS::LocalEngineeringCompoundCrs) else if CREATE_FESAPI_PARTIAL_WRAPPER_WITH_VERSION(EML2_3_NS::GraphicalInformationSet) @@ -2492,6 +2502,11 @@ RESQML2_NS::StringTableLookup* DataObjectRepository::createStringTableLookup(con return new RESQML2_0_1_NS::StringTableLookup(this, guid, title); } +EML2_NS::ColumnBasedTable* DataObjectRepository::createColumnBasedTable(const std::string& guid, const std::string& title) +{ + return new EML2_3_NS::ColumnBasedTable(this, guid, title); +} + RESQML2_0_1_NS::PropertyKind* DataObjectRepository::createPropertyKind(const std::string & guid, const std::string & title, const std::string & namingSystem, gsoap_resqml2_0_1::resqml20__ResqmlUom uom, bool isAbstract, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind parentEnergisticsPropertyKind) { @@ -2932,6 +2947,7 @@ GETTER_DATAOBJECTS_IMPL(EML2_NS::AbstractHdfProxy, HdfProxy) GETTER_DATAOBJECTS_IMPL(EML2_NS::AbstractLocal3dCrs, Local3dCrs) GETTER_DATAOBJECTS_IMPL(EML2_NS::Activity, Activity) GETTER_DATAOBJECTS_IMPL(EML2_NS::ActivityTemplate, ActivityTemplate) +GETTER_DATAOBJECTS_IMPL(EML2_NS::ColumnBasedTable, ColumnBasedTable) GETTER_DATAOBJECTS_IMPL(EML2_NS::GraphicalInformationSet, GraphicalInformationSet) GETTER_DATAOBJECTS_IMPL(EML2_NS::PropertyKind, PropertyKind) GETTER_DATAOBJECTS_IMPL(EML2_NS::TimeSeries, TimeSeries) @@ -3534,6 +3550,7 @@ std::unique_ptr< COMMON_NS::AbstractObject > DataObjectRepository::getEml2_3Wrap if CHECK_AND_GET_EML_FESAPI_WRAPPER_FROM_GSOAP_CONTEXT(EML2_3_NS, Activity, gsoap_eml2_3, eml23) else if CHECK_AND_GET_EML_FESAPI_WRAPPER_FROM_GSOAP_CONTEXT(EML2_3_NS, ActivityTemplate, gsoap_eml2_3, eml23) + else if CHECK_AND_GET_EML_FESAPI_WRAPPER_FROM_GSOAP_CONTEXT(EML2_3_NS, ColumnBasedTable, gsoap_eml2_3, eml23) else if CHECK_AND_GET_EML_FESAPI_WRAPPER_FROM_GSOAP_CONTEXT(EML2_3_NS, GraphicalInformationSet, gsoap_eml2_3, eml23) else if CHECK_AND_GET_EML_FESAPI_WRAPPER_FROM_GSOAP_CONTEXT(EML2_3_NS, LocalEngineering2dCrs, gsoap_eml2_3, eml23) else if CHECK_AND_GET_EML_FESAPI_WRAPPER_FROM_GSOAP_CONTEXT(EML2_3_NS, LocalEngineeringCompoundCrs, gsoap_eml2_3, eml23) diff --git a/src/common/DataObjectRepository.h b/src/common/DataObjectRepository.h index e14069429..972e3816b 100644 --- a/src/common/DataObjectRepository.h +++ b/src/common/DataObjectRepository.h @@ -32,6 +32,7 @@ namespace EML2_NS class AbstractLocal3dCrs; class Activity; class ActivityTemplate; + class ColumnBasedTable; class GraphicalInformationSet; class PropertyKind; class TimeSeries; @@ -572,6 +573,7 @@ namespace COMMON_NS GETTER_DATAOBJECTS(EML2_NS::AbstractLocal3dCrs, Local3dCrs) GETTER_DATAOBJECTS(EML2_NS::Activity, Activity) GETTER_DATAOBJECTS(EML2_NS::ActivityTemplate, ActivityTemplate) + GETTER_DATAOBJECTS(EML2_NS::ColumnBasedTable, ColumnBasedTable) GETTER_DATAOBJECTS(EML2_NS::GraphicalInformationSet, GraphicalInformationSet) GETTER_DATAOBJECTS(EML2_NS::PropertyKind, PropertyKind) GETTER_DATAOBJECTS(EML2_NS::TimeSeries, TimeSeries) @@ -1131,7 +1133,7 @@ namespace COMMON_NS DLL_IMPORT_OR_EXPORT RESQML2_NS::BoundaryFeature* createBoundaryFeature(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates + * @brief Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates * a horizon into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1144,7 +1146,7 @@ namespace COMMON_NS DLL_IMPORT_OR_EXPORT RESQML2_NS::BoundaryFeature* createHorizon(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates + * @brief Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates * a geobody boundary feature into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1173,7 +1175,7 @@ namespace COMMON_NS DLL_IMPORT_OR_EXPORT RESQML2_NS::RockVolumeFeature* createGeobodyFeature(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates + * @brief Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates * a fault into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1186,7 +1188,7 @@ namespace COMMON_NS DLL_IMPORT_OR_EXPORT RESQML2_NS::BoundaryFeature* createFault(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates + * @brief Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates * a fracture into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1312,7 +1314,7 @@ namespace COMMON_NS gsoap_eml2_3::resqml22__CulturalFeatureKind kind = gsoap_eml2_3::resqml22__CulturalFeatureKind::project_x0020boundaries); /** - * @brief @deprecated Use {@link createRockVolumeFeature()} method for RESQML post v2.0.1 + * @brief Use {@link createRockVolumeFeature()} method for RESQML post v2.0.1 * Creates a stratigraphic unit into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1327,8 +1329,8 @@ namespace COMMON_NS DLL_IMPORT_OR_EXPORT RESQML2_NS::RockVolumeFeature* createStratigraphicUnitFeature(const std::string & guid, const std::string & title); /** - * @deprecated Use {@link createRockVolumeFeature()} method for RESQML post v2.0.1 - * Creates a RockVolume feature into this repository + * @brief Use {@link createRockVolumeFeature()} method for RESQML post v2.0.1 + * Creates a RockVolume feature into this repository * * @param guid The guid to set to the RockVolume feature. If empty then a new guid will be generated. * @param title The title to set to the RockVolume feature. If empty then \"unknown\" title will be set. @@ -1348,7 +1350,7 @@ namespace COMMON_NS DLL_IMPORT_OR_EXPORT RESQML2_NS::Model* createModel(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createModel()} method for RESQML post v2.0.1 Creates a + * @brief Use {@link createModel()} method for RESQML post v2.0.1 Creates a * structural model into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1363,7 +1365,7 @@ namespace COMMON_NS DLL_IMPORT_OR_EXPORT RESQML2_NS::Model* createStructuralModel(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createModel()} method for RESQML post v2.0.1 Creates a + * @brief Use {@link createModel()} method for RESQML post v2.0.1 Creates a * stratigraphic model into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1378,7 +1380,7 @@ namespace COMMON_NS DLL_IMPORT_OR_EXPORT RESQML2_NS::Model* createStratigraphicModel(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createModel()} method for RESQML post v2.0.1 Creates a rock + * @brief Use {@link createModel()} method for RESQML post v2.0.1 Creates a rock * fluid model into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1393,7 +1395,7 @@ namespace COMMON_NS DLL_IMPORT_OR_EXPORT RESQML2_NS::Model* createRockFluidModel(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createModel()} method for RESQML post v2.0.1 Creates an earth + * @brief Use {@link createModel()} method for RESQML post v2.0.1 Creates an earth * model into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1702,8 +1704,7 @@ namespace COMMON_NS DLL_IMPORT_OR_EXPORT RESQML2_NS::StratigraphicColumn* createStratigraphicColumn(const std::string & guid, const std::string & title); /** - * @brief Creates a stratigraphic column rank interpretation ordered by age into this - * repository. + * @brief Creates a stratigraphic column rank interpretation ordered by ascending age into this repository. * * @exception std::invalid_argument If the default RESQML version is unrecognized. * @exception std::invalid_argument If orgFeat == nullptr or if in a RESQML v2.0 @@ -1721,8 +1722,7 @@ namespace COMMON_NS DLL_IMPORT_OR_EXPORT RESQML2_NS::StratigraphicColumnRankInterpretation* createStratigraphicColumnRankInterpretationInAge(RESQML2_NS::Model * orgFeat, const std::string & guid, const std::string & title, uint64_t rank); /** - * @brief Creates a stratigraphic column rank interpretation ordered by apparent depth into - * this repository + * @brief Creates a stratigraphic column rank interpretation ordered by ascending apparent depth into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. * @exception std::invalid_argument If orgFeat == nullptr or if in a RESQML v2.0 @@ -2652,6 +2652,21 @@ namespace COMMON_NS */ DLL_IMPORT_OR_EXPORT RESQML2_NS::StringTableLookup* createStringTableLookup(const std::string & guid, const std::string & title); + /** + * @brief Creates a column based table into this repository + * You need to define the columns and set their values after creation + * + * @exception std::invalid_argument If the default RESQML version is unrecognized. + * + * @param guid The guid to set to the column based table. If empty then a new guid will be + * generated. + * @param title The title to set to the column based table. If empty then \"unknown\" title + * will be set. + * + * @returns A pointer to the new column based table. + */ + DLL_IMPORT_OR_EXPORT EML2_NS::ColumnBasedTable* createColumnBasedTable(const std::string& guid, const std::string& title); + /** * Creates a property kind into this repository * diff --git a/src/common/EpcDocument.cpp b/src/common/EpcDocument.cpp index f1fc9a851..a6a4b0334 100644 --- a/src/common/EpcDocument.cpp +++ b/src/common/EpcDocument.cpp @@ -235,6 +235,19 @@ namespace { } } +namespace { + /** + * The version in the EPC content type is just two digits delimited by a dot : https://docs.energistics.org/#EPC/EPC_TOPICS/EPC-000-023-0-C-sv1000.html + */ + std::string getEpcContentType(const COMMON_NS::AbstractObject& dataobject) { + const std::string& xmlNs = dataobject.getXmlNamespace(); + const size_t xmlNsSize = xmlNs.size(); + const std::string& xmlTag = dataobject.getXmlTag(); + return "application/x-" + xmlNs.substr(0, xmlNsSize - 2) + "+xml;version=" + xmlNs[xmlNsSize - 2] + '.' + xmlNs[xmlNsSize - 1] + + ";type=" + (xmlNs == "resqml20" || xmlNs == "eml20" ? "obj_" + xmlTag : xmlTag); + } +} + void EpcDocument::serializeFrom(DataObjectRepository& repo) { addFakePropertyToEmptyPropertySet(repo); @@ -256,7 +269,7 @@ void EpcDocument::serializeFrom(DataObjectRepository& repo) } // Content Type entry - package->addContentType(epc::ContentType(false, dataobject->getContentType(), dataobject->getPartNameInEpcDocument())); + package->addContentType(epc::ContentType(false, getEpcContentType(*dataobject), dataobject->getPartNameInEpcDocument())); } } } diff --git a/src/eml2/AbstractHdfProxy.h b/src/eml2/AbstractHdfProxy.h index df955607e..509a6b3ff 100644 --- a/src/eml2/AbstractHdfProxy.h +++ b/src/eml2/AbstractHdfProxy.h @@ -27,7 +27,7 @@ namespace EML2_NS * It is possible to derive this class in a custom class in order for the FESAPI user * to get change the FESAPI reads from and writes to HDF5 file. * However, please note that the RESQML standard mandates so far a HDF5 1.8 backward compatibility. - * In ordre to achieve this backward compatibility please use + * In order to achieve this backward compatibility please use * hid_t access_props = H5Pcreate (H5P_FILE_ACCESS); * H5Pset_libver_bounds (access_props, H5F_LIBVER_V18, H5F_LIBVER_V18); * when you create an HDF5 file before to write into it. diff --git a/src/eml2/CMakeLists.txt b/src/eml2/CMakeLists.txt index f64fd152b..e2dbfc558 100644 --- a/src/eml2/CMakeLists.txt +++ b/src/eml2/CMakeLists.txt @@ -2,6 +2,7 @@ set(FESAPI_EML_2_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/AbstractHd ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/AbstractLocal3dCrs.cpp ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/Activity.cpp ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/ActivityTemplate.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/ColumnBasedTable.cpp ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/GraphicalInformationSet.cpp ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/HdfProxy.cpp ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/PropertyKind.cpp @@ -10,6 +11,7 @@ set(FESAPI_EML_2_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/AbstractHd ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/AbstractLocal3dCrs.h ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/Activity.h ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/ActivityTemplate.h + ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/ColumnBasedTable.h ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/EpcExternalPartReference.h ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/GraphicalInformationSet.h ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2}/HdfProxy.h diff --git a/src/eml2/ColumnBasedTable.cpp b/src/eml2/ColumnBasedTable.cpp new file mode 100644 index 000000000..8b4387221 --- /dev/null +++ b/src/eml2/ColumnBasedTable.cpp @@ -0,0 +1,36 @@ +/*----------------------------------------------------------------------- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"; you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +-----------------------------------------------------------------------*/ +#include "ColumnBasedTable.h" + +#include "PropertyKind.h" + +using namespace EML2_NS; + +PropertyKind* ColumnBasedTable::getPropertyKind(uint64_t columnIndex) const +{ + return getRepository()->getDataObjectByUuid(getPropertyKindDor(columnIndex).getUuid()); +} + +gsoap_eml2_3::eml23__UnitOfMeasure ColumnBasedTable::getUom(uint64_t columnIndex) const +{ + gsoap_eml2_3::eml23__UnitOfMeasure result; + return gsoap_eml2_3::soap_s2eml23__UnitOfMeasure(getGsoapContext(), getUomAsString(columnIndex).c_str(), &result) == SOAP_OK + ? result + : gsoap_eml2_3::eml23__UnitOfMeasure::Euc; +} diff --git a/src/eml2/ColumnBasedTable.h b/src/eml2/ColumnBasedTable.h new file mode 100644 index 000000000..dd86c83c1 --- /dev/null +++ b/src/eml2/ColumnBasedTable.h @@ -0,0 +1,212 @@ +/*----------------------------------------------------------------------- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"; you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +-----------------------------------------------------------------------*/ +#pragma once + +#include "../common/AbstractObject.h" + +namespace EML2_NS +{ + class PropertyKind; + + /** A column-based table allows the exchange of tables, where the values are arranged against columns that are defined by PropertyKind, UOM and Facet. */ + class ColumnBasedTable : public COMMON_NS::AbstractObject + { + public: + /** Destructor does nothing since the memory is managed by the gsoap context. */ + virtual ~ColumnBasedTable() = default; + + /** + * Gets the row count of this table + */ + DLL_IMPORT_OR_EXPORT virtual uint64_t getRowCount() const = 0; + + /** + * Gets the column count of this table + */ + DLL_IMPORT_OR_EXPORT virtual uint64_t getColumnCount() const = 0; + + /** + * Gets the property kind DOR associated to a particular column count of this table + * + * @param columnIndex The index of the column which we want the associated property kind DOR from + * + * @return The associated property kind DOR. + */ + virtual COMMON_NS::DataObjectReference getPropertyKindDor(uint64_t columnIndex) const = 0; + + /** + * Gets the property kind associated to a particular column count of this table + * + * @param columnIndex The index of the column which we want the associated property kind from + * + * @return The associated property kind. + */ + DLL_IMPORT_OR_EXPORT class PropertyKind* getPropertyKind(uint64_t columnIndex) const; + + /** + * Gets the uom associated to a particular column count of this table + * + * @param columnIndex The index of the column which we want the associated uom from + * + * @return The associated uom. If no uom is provided or if Euc is provided, this method returns Euc. + */ + DLL_IMPORT_OR_EXPORT gsoap_eml2_3::eml23__UnitOfMeasure getUom(uint64_t columnIndex) const; + + /** + * Gets the uom associated to a particular column count of this table + * + * @param columnIndex The index of the column which we want the associated uom from + * + * @return The associated uom as string. If no uom is provided, this method returns an empty string. + */ + DLL_IMPORT_OR_EXPORT virtual std::string getUomAsString(uint64_t columnIndex) const = 0; + + /** + * Gets the value count per row for a particular column count of this table + * + * @param columnIndex The index of the column which we want the associated uom from + * + * @return The associated uom. If no uom is provided or if Euc is provided, this method returns Euc. + */ + DLL_IMPORT_OR_EXPORT virtual uint64_t getValueCountPerRow(uint64_t columnIndex) const = 0; + + /** + * Gets the datatype of a column + * + * @param columnIndex The index of the column which we want the datatype from + * + * @return The datatype which is used for values in this column + */ + DLL_IMPORT_OR_EXPORT virtual COMMON_NS::AbstractObject::numericalDatatypeEnum getDatatype(uint64_t columnIndex) const = 0; + + /** + * Gets the values of a column as string values + * + * @param columnIndex The index of the column which we want the values from + * + * @return The string values + */ + DLL_IMPORT_OR_EXPORT virtual std::vector getStringValues(uint64_t columnIndex) const = 0; + + /** + * Sets the values of a column as XML string values + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + */ + DLL_IMPORT_OR_EXPORT virtual void setStringValues(uint64_t columnIndex, const std::vector & values) = 0; + + /** + * Gets the values of a column as double values + * + * @param columnIndex The index of the column which we want the values from + * + * @return The double values + */ + DLL_IMPORT_OR_EXPORT virtual std::vector getDoubleValues(uint64_t columnIndex) const = 0; + + /** + * Sets the values of a column as XML double values + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + */ + DLL_IMPORT_OR_EXPORT virtual void setDoubleValues(uint64_t columnIndex, const std::vector & values) = 0; + + /** + * Sets the values of a column as double values into the HDF proxy. + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + * @param valueCount The count of values/rows. + * @param proxy The hdf proxy which indicates the support where the values will be stored. + */ + DLL_IMPORT_OR_EXPORT virtual void setDoubleValues(uint64_t columnIndex, double const* values, uint64_t valueCount, EML2_NS::AbstractHdfProxy * proxy = nullptr) = 0; + + /** + * Gets the values of a column as int64 values + * + * @param columnIndex The index of the column which we want the values from + * + * @return The int64 values + */ + DLL_IMPORT_OR_EXPORT virtual std::vector getInt64Values(uint64_t columnIndex) const = 0; + + /** + * Sets the values of a column as XML int64 values + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + */ + DLL_IMPORT_OR_EXPORT virtual void setInt64Values(uint64_t columnIndex, const std::vector & values) = 0; + + /** + * Sets the values of a column as int64 values into the HDF proxy. + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + * @param valueCount The count of values/rows. + * @param proxy The hdf proxy which indicates the support where the values will be stored. + */ + DLL_IMPORT_OR_EXPORT virtual void setInt64Values(uint64_t columnIndex, int64_t const* values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy = nullptr) = 0; + + /** + * Pushes back a new column in this table and fill in its header + * + * @param isAKeyColumn Indicate if the column to push back is a key one or not + * @param title Indicate the name of the column + * @param propKind The property kind associated to the value of this column + * @param valueCountPerRow The count of values in each row of this column + */ + DLL_IMPORT_OR_EXPORT virtual void pushBackColumnHeader(bool isAKeyColumn, const std::string& title, PropertyKind* propKind, uint64_t valueCountPerRow = 1) = 0; + + protected: + + /** Default constructor does nothing */ + ColumnBasedTable() {} + + /** + * Only to be used in partial transfer context + * + * @param [in,out] partialObject If non-null, the partial object. + */ + DLL_IMPORT_OR_EXPORT ColumnBasedTable(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : COMMON_NS::AbstractObject(partialObject) {} + + /** + * Creates an instance of this class by wrapping a gsoap instance. + * + * @param [in,out] fromGsoap If non-null, from gsoap. + */ + ColumnBasedTable(gsoap_resqml2_0_1::_resqml20__StringTableLookup* fromGsoap) : COMMON_NS::AbstractObject(fromGsoap) {} + + /** + * Creates an instance of this class by wrapping a gsoap instance. + * + * @param [in,out] fromGsoap If non-null, from gsoap. + */ + ColumnBasedTable(gsoap_resqml2_0_1::_resqml20__DoubleTableLookup* fromGsoap) : COMMON_NS::AbstractObject(fromGsoap) {} + + /** + * Creates an instance of this class by wrapping a gsoap instance. + * + * @param [in,out] fromGsoap If non-null, from gsoap. + */ + ColumnBasedTable(gsoap_eml2_3::_eml23__ColumnBasedTable* fromGsoap) : COMMON_NS::AbstractObject(fromGsoap) {} + }; +} diff --git a/src/eml2/HdfProxy.cpp b/src/eml2/HdfProxy.cpp index 5c6aac12e..506a2116b 100644 --- a/src/eml2/HdfProxy.cpp +++ b/src/eml2/HdfProxy.cpp @@ -161,6 +161,30 @@ void HdfProxy::writeUuidAttribute() } } +namespace { + /** + * Create a file access property list restricting HDF5 item creation to the HDF5 1.8.x family of library versions. + */ + hid_t createFileAccessProperyList() { + hid_t access_props; + if ((access_props = H5Pcreate(H5P_FILE_ACCESS)) < 0) { + throw runtime_error("Cannot create a new property list as an instance of a property list class."); + } + +#if H5_VERSION_GE(1, 10, 0) + if (H5Pset_libver_bounds(access_props, H5F_LIBVER_V18, H5F_LIBVER_V18) < 0) { +#elif H5_VERSION_GE(1, 8, 0) + if (H5Pset_libver_bounds(access_props, H5F_LIBVER_LATEST, H5F_LIBVER_LATEST) < 0) { +#else +#error Only HDF5 1.8.x and later supported. +#endif + throw runtime_error("Cannot set the HDF5 library version to 1.8"); + } + + return access_props; + } +} + void HdfProxy::open() { if (hdfFile > -1) { @@ -199,14 +223,9 @@ void HdfProxy::open() } } else if (openingMode == COMMON_NS::DataObjectRepository::openingMode::READ_WRITE) { - hid_t access_props = H5Pcreate (H5P_FILE_ACCESS); -#if H5_VERSION_GE(1,10,0) - H5Pset_libver_bounds (access_props, H5F_LIBVER_V18, H5F_LIBVER_V18); -#endif - - hdfFile = H5Fcreate(fullName.c_str(), H5F_ACC_EXCL, H5P_DEFAULT, access_props); + const hid_t access_props = createFileAccessProperyList(); - if (hdfFile < 0) { + if ((hdfFile = H5Fcreate(fullName.c_str(), H5F_ACC_EXCL, H5P_DEFAULT, access_props)) < 0) { openingMode = COMMON_NS::DataObjectRepository::openingMode::READ_WRITE_DO_NOT_CREATE; open(); openingMode = COMMON_NS::DataObjectRepository::openingMode::READ_WRITE; @@ -216,13 +235,9 @@ void HdfProxy::open() } } else if (openingMode == COMMON_NS::DataObjectRepository::openingMode::OVERWRITE) { - hid_t access_props = H5Pcreate (H5P_FILE_ACCESS); -#if H5_VERSION_GE(1,10,0) - H5Pset_libver_bounds (access_props, H5F_LIBVER_V18, H5F_LIBVER_V18); -#endif + const hid_t access_props = createFileAccessProperyList(); - hdfFile = H5Fcreate(fullName.c_str(), H5F_ACC_TRUNC, H5P_DEFAULT, access_props); - if (hdfFile < 0) { + if ((hdfFile = H5Fcreate(fullName.c_str(), H5F_ACC_TRUNC, H5P_DEFAULT, access_props)) < 0) { throw invalid_argument("Can not create HDF5 file : " + fullName); } diff --git a/src/eml2_3/CMakeLists.txt b/src/eml2_3/CMakeLists.txt index 173d16bd7..7c0637859 100644 --- a/src/eml2_3/CMakeLists.txt +++ b/src/eml2_3/CMakeLists.txt @@ -1,5 +1,6 @@ set(FESAPI_EML_2_3_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2_3}/Activity.cpp ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2_3}/ActivityTemplate.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2_3}/ColumnBasedTable.cpp ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2_3}/GraphicalInformationSet.cpp ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2_3}/HdfProxy.cpp ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2_3}/LocalEngineering2dCrs.cpp @@ -9,6 +10,7 @@ set(FESAPI_EML_2_3_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2_3}/Activi ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2_3}/VerticalCrs.cpp ) set(FESAPI_EML_2_3_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2_3}/Activity.h ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2_3}/ActivityTemplate.h + ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2_3}/ColumnBasedTable.h ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2_3}/GraphicalInformationSet.h ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2_3}/HdfProxy.h ${CMAKE_CURRENT_SOURCE_DIR}/${EML_PREFIX_2_3}/LocalEngineering2dCrs.h diff --git a/src/eml2_3/ColumnBasedTable.cpp b/src/eml2_3/ColumnBasedTable.cpp new file mode 100644 index 000000000..41bb50150 --- /dev/null +++ b/src/eml2_3/ColumnBasedTable.cpp @@ -0,0 +1,312 @@ +/*----------------------------------------------------------------------- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"; you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +-----------------------------------------------------------------------*/ +#include "ColumnBasedTable.h" + +#include +#include + +#include "../eml2/AbstractHdfProxy.h" +#include "../eml2/PropertyKind.h" + +using namespace std; +using namespace EML2_3_NS; +using namespace gsoap_eml2_3; + +ColumnBasedTable::ColumnBasedTable(COMMON_NS::DataObjectRepository* repo, const string & guid, const string & title) +{ + if (repo == nullptr) { + throw invalid_argument("The repo cannot be null."); + } + + gsoapProxy2_3 = soap_new_eml23__ColumnBasedTable(repo->getGsoapContext()); + + initMandatoryMetadata(); + setMetadata(guid, title, "", -1, "", "", -1, ""); + + repo->addDataObject(unique_ptr{this}); +} + +gsoap_eml2_3::eml23__Column* ColumnBasedTable::getColumn(uint64_t columnIndex) const +{ + if (columnIndex >= getColumnCount()) { + throw out_of_range("The column index is out of range."); + } + + auto* cbt = static_cast<_eml23__ColumnBasedTable*>(gsoapProxy2_3); + const size_t keyColumnCount = cbt->KeyColumn.size(); + return columnIndex < keyColumnCount + ? cbt->KeyColumn[columnIndex] + : cbt->Column[columnIndex - keyColumnCount]; +} + +uint64_t ColumnBasedTable::getRowCount() const +{ + if (getColumnCount() == 0) { + return 0; + } + return getCountOfArray(getColumn(0)->Values)/getValueCountPerRow(0); +} + +uint64_t ColumnBasedTable::getColumnCount() const +{ + return static_cast<_eml23__ColumnBasedTable*>(gsoapProxy2_3)->KeyColumn.size() + static_cast<_eml23__ColumnBasedTable*>(gsoapProxy2_3)->Column.size(); +} + +COMMON_NS::DataObjectReference ColumnBasedTable::getPropertyKindDor(uint64_t columnIndex) const +{ + return COMMON_NS::DataObjectReference(getColumn(columnIndex)->PropertyKind); +} + +std::string ColumnBasedTable::getUomAsString(uint64_t columnIndex) const +{ + auto* uom = getColumn(columnIndex)->Uom; + return uom == nullptr ? "" : *uom; +} + +uint64_t ColumnBasedTable::getValueCountPerRow(uint64_t columnIndex) const +{ + return getColumn(columnIndex)->ValueCountPerRow; +} + +COMMON_NS::AbstractObject::numericalDatatypeEnum ColumnBasedTable::getDatatype(uint64_t columnIndex) const +{ + auto const * columnValues = getColumn(columnIndex)->Values; + if (dynamic_cast(columnValues) != nullptr) { + return COMMON_NS::AbstractObject::numericalDatatypeEnum::DOUBLE; + } + else if (dynamic_cast(columnValues) != nullptr) { + return COMMON_NS::AbstractObject::numericalDatatypeEnum::INT64; + } + else if (dynamic_cast(columnValues) != nullptr) { + return COMMON_NS::AbstractObject::numericalDatatypeEnum::UNKNOWN; + } + + throw logic_error("The datatype of the table column index \"" + std::to_string(columnIndex) + "\"is not supported by FESAPI yet."); +} + +std::vector ColumnBasedTable::getStringValues(uint64_t columnIndex) const +{ + auto* column = getColumn(columnIndex); + if (column->Values->soap_type() == SOAP_TYPE_gsoap_eml2_3_eml23__StringXmlArray) { + return static_cast(column->Values)->Values; + } + + return std::vector(); +} + +void ColumnBasedTable::setStringValues(uint64_t columnIndex, const std::vector& values) +{ + auto* column = getColumn(columnIndex); + auto* xmlArray = soap_new_eml23__StringXmlArray(column->soap); + xmlArray->CountPerValue = column->ValueCountPerRow; + xmlArray->Values = values; + + column->Values = xmlArray; +} + +std::vector ColumnBasedTable::getDoubleValues(uint64_t columnIndex) const +{ + std::vector result; + + auto* column = getColumn(columnIndex); + eml23__AbstractFloatingPointArray* fpArray = dynamic_cast(column->Values); + if (fpArray != nullptr) { + result.resize(getCountOfArray(fpArray)); + readArrayNdOfDoubleValues(fpArray, result.data()); + } + + return result; +} + +void ColumnBasedTable::setDoubleValues(uint64_t columnIndex, const std::vector& values) +{ + if (values.empty()) { + throw invalid_argument("You cannot set a column without values"); + } + + auto* column = getColumn(columnIndex); + auto* xmlArray = soap_new_eml23__FloatingPointXmlArray(column->soap); + xmlArray->CountPerValue = column->ValueCountPerRow; + + ostringstream oss; + oss << values[0]; + for (size_t i = 1; i < values.size(); ++i) { + oss << " " << values[i]; + } + xmlArray->Values = oss.str(); + + column->Values = xmlArray; +} + +void ColumnBasedTable::setDoubleValues(uint64_t columnIndex, double const* values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy) +{ + if (proxy == nullptr) { + proxy = getRepository()->getDefaultHdfProxy(); + if (proxy == nullptr) { + throw std::invalid_argument("A (default) HDF Proxy must be provided."); + } + } + getRepository()->addRelationship(this, proxy); + + auto* column = getColumn(columnIndex); + auto* externalArray = soap_new_eml23__FloatingPointExternalArray(column->soap); + externalArray->CountPerValue = column->ValueCountPerRow; + + // Column datatype + int64_t n = 1; // Endianess check https://stackoverflow.com/questions/4181951/how-to-check-whether-a-system-is-big-endian-or-little-endian + externalArray->ArrayFloatingPointType = (*(char*)&n == 1) ? eml23__FloatingPointType::arrayOfFloat32LE : eml23__FloatingPointType::arrayOfFloat32BE; + + // Column Values + externalArray->Values = soap_new_eml23__ExternalDataArray(gsoapProxy2_3->soap); + externalArray->Values->ExternalDataArrayPart.push_back(createExternalDataArrayPart(getHdfGroup() + "/column" + std::to_string(columnIndex), valueCount, proxy)); + + // HDF + proxy->writeArrayNdOfDoubleValues(getHdfGroup(), + "column" + std::to_string(columnIndex), + values, &valueCount, 1); + + column->Values = externalArray; +} + +std::vector ColumnBasedTable::getInt64Values(uint64_t columnIndex) const +{ + std::vector result; + + auto* column = getColumn(columnIndex); + eml23__AbstractIntegerArray* intArray = dynamic_cast(column->Values); + if (intArray != nullptr) { + result.resize(getCountOfArray(intArray)); + readArrayNdOfIntegerValues(intArray, result.data()); + } + + return result; +} + +void ColumnBasedTable::setInt64Values(uint64_t columnIndex, const std::vector& values) +{ + if (values.empty()) { + throw invalid_argument("You cannot set a column without values"); + } + + auto* column = getColumn(columnIndex); + auto* xmlArray = soap_new_eml23__IntegerXmlArray(column->soap); + xmlArray->CountPerValue = column->ValueCountPerRow; + + ostringstream oss; + oss << values[0]; + for (size_t i = 1; i < values.size(); ++i) { + oss << " " << values[i]; + } + xmlArray->Values = oss.str(); + + column->Values = xmlArray; +} + +void ColumnBasedTable::setInt64Values(uint64_t columnIndex, int64_t const* values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy) +{ + if (proxy == nullptr) { + proxy = getRepository()->getDefaultHdfProxy(); + if (proxy == nullptr) { + throw std::invalid_argument("A (default) HDF Proxy must be provided."); + } + } + getRepository()->addRelationship(this, proxy); + + auto* column = getColumn(columnIndex); + auto* externalArray = soap_new_eml23__IntegerExternalArray(column->soap); + externalArray->CountPerValue = column->ValueCountPerRow; + + // Column datatype + int64_t n = 1; // Endianess check https://stackoverflow.com/questions/4181951/how-to-check-whether-a-system-is-big-endian-or-little-endian + externalArray->ArrayIntegerType = (*(char*)&n == 1) ? eml23__IntegerType::arrayOfInt64LE : eml23__IntegerType::arrayOfInt64BE; + + // Column Values + externalArray->Values = soap_new_eml23__ExternalDataArray(gsoapProxy2_3->soap); + externalArray->Values->ExternalDataArrayPart.push_back(createExternalDataArrayPart(getHdfGroup() + "/column" + std::to_string(columnIndex), valueCount, proxy)); + + // HDF + proxy->writeArrayNdOfInt64Values(getHdfGroup(), + "column" + std::to_string(columnIndex), + values, &valueCount, 1); + + column->Values = externalArray; +} + +void ColumnBasedTable::pushBackColumnHeader(bool isAKeyColumn, const std::string& title, EML2_NS::PropertyKind* propKind, uint64_t valueCountPerRow) +{ + if (propKind == nullptr) { + throw std::invalid_argument("The property kind cannot be null."); + } + + auto* cbt = static_cast<_eml23__ColumnBasedTable*>(gsoapProxy2_3); + + gsoap_eml2_3::eml23__Column* column = gsoap_eml2_3::soap_new_eml23__Column(gsoapProxy2_3->soap); + if (isAKeyColumn) { + cbt->KeyColumn.push_back(column); + } + else { + cbt->Column.push_back(column); + } + + if (!title.empty()) { + column->Title = soap_new_std__string(gsoapProxy2_3->soap); + column->Title->assign(title); + } + + column->ValueCountPerRow = valueCountPerRow; + + column->PropertyKind = propKind->newEml23Reference(); + getRepository()->addRelationship(this, propKind); +} + +void ColumnBasedTable::loadTargetRelationships() +{ + const uint64_t columnCount = getColumnCount(); + for (uint64_t i = 0; i < columnCount; ++i) { + + //Prop Kind + auto propKindDor = getPropertyKindDor(i); + if (!propKindDor.isEmpty()) { + convertDorIntoRel(propKindDor); + } + + // HDF proxy + auto* column = getColumn(i); + if (column->Values->soap_type() == SOAP_TYPE_gsoap_eml2_3_eml23__FloatingPointExternalArray) { + for (auto* daPart : static_cast(column->Values)->Values->ExternalDataArrayPart) { + getRepository()->addRelationship(this, getOrCreateHdfProxyFromDataArrayPart(daPart)); + } + } + else if (column->Values->soap_type() == SOAP_TYPE_gsoap_eml2_3_eml23__IntegerExternalArray) { + for (auto* daPart : static_cast(column->Values)->Values->ExternalDataArrayPart) { + getRepository()->addRelationship(this, getOrCreateHdfProxyFromDataArrayPart(daPart)); + } + } + else if (column->Values->soap_type() == SOAP_TYPE_gsoap_eml2_3_eml23__BooleanExternalArray) { + for (auto* daPart : static_cast(column->Values)->Values->ExternalDataArrayPart) { + getRepository()->addRelationship(this, getOrCreateHdfProxyFromDataArrayPart(daPart)); + } + } + else if (column->Values->soap_type() == SOAP_TYPE_gsoap_eml2_3_eml23__StringExternalArray) { + for (auto* daPart : static_cast(column->Values)->Values->ExternalDataArrayPart) { + getRepository()->addRelationship(this, getOrCreateHdfProxyFromDataArrayPart(daPart)); + } + } + } +} diff --git a/src/eml2_3/ColumnBasedTable.h b/src/eml2_3/ColumnBasedTable.h new file mode 100644 index 000000000..ac7b1504d --- /dev/null +++ b/src/eml2_3/ColumnBasedTable.h @@ -0,0 +1,204 @@ +/*----------------------------------------------------------------------- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"; you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +-----------------------------------------------------------------------*/ +#pragma once + +#include "../eml2/ColumnBasedTable.h" + +namespace EML2_3_NS +{ + class ColumnBasedTable final : public EML2_NS::ColumnBasedTable + { + public: + /** + * Only to be used in partial transfer context + * + * @param [in,out] partialObject If non-null, the partial object. + * + * + */ + DLL_IMPORT_OR_EXPORT ColumnBasedTable(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : EML2_NS::ColumnBasedTable(partialObject) {} + + /** + * Creates an instance of this class in a gsoap context. + * + * @param [in,out] repo A repo which will manage the memory of this instance. + * @param guid The guid to set to this instance. If empty then a new guid will be + * generated. + * @param title A title for the instance to create. + */ + ColumnBasedTable(COMMON_NS::DataObjectRepository* repo, const std::string & guid, const std::string & title); + + /** + * Creates an instance of this class by wrapping a gsoap instance. + * + * @param [in,out] fromGsoap If non-null, from gsoap. + */ + ColumnBasedTable(gsoap_eml2_3::_eml23__ColumnBasedTable* fromGsoap) : EML2_NS::ColumnBasedTable(fromGsoap) {} + + /** Destructor does nothing since the memory is managed by the gsoap context. */ + ~ColumnBasedTable() = default; + + /** + * Gets the row count of this table + */ + DLL_IMPORT_OR_EXPORT uint64_t getRowCount() const final; + + /** + * Gets the column count of this table + */ + DLL_IMPORT_OR_EXPORT uint64_t getColumnCount() const final; + + /** + * Gets the property kind DOR associated to a particular column count of this table + * + * @param columnIndex The index of the column which we want the associated property kind DOR from + * + * @return The associated property kind DOR. + */ + COMMON_NS::DataObjectReference getPropertyKindDor(uint64_t columnIndex) const final; + + /** + * Gets the uom associated to a particular column count of this table + * + * @param columnIndex The index of the column which we want the associated uom from + * + * @return The associated uom. If no uom is provided or if Euc is provided, this method returns Euc. + */ + DLL_IMPORT_OR_EXPORT std::string getUomAsString(uint64_t columnIndex) const final; + + /** + * Gets the value count per row for a particular column count of this table + * + * @param columnIndex The index of the column which we want the associated uom from + * + * @return The associated uom. If no uom is provided or if Euc is provided, this method returns Euc. + */ + DLL_IMPORT_OR_EXPORT uint64_t getValueCountPerRow(uint64_t columnIndex) const final; + + /** + * Gets the datatype of a column + * + * @param columnIndex The index of the column which we want the datatype from + * + * @return The datatype which is used for values in this column + */ + DLL_IMPORT_OR_EXPORT COMMON_NS::AbstractObject::numericalDatatypeEnum getDatatype(uint64_t columnIndex) const final; + + /** + * Gets the values of a column as string values + * + * @param columnIndex The index of the column which we want the values from + * + * @return The string values + */ + DLL_IMPORT_OR_EXPORT std::vector getStringValues(uint64_t columnIndex) const final; + + /** + * Sets the values of a column as XML string values + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + */ + DLL_IMPORT_OR_EXPORT void setStringValues(uint64_t columnIndex, const std::vector& values) final; + + /** + * Gets the values of a column as double values + * + * @param columnIndex The index of the column which we want the values from + * + * @return The double values + */ + DLL_IMPORT_OR_EXPORT std::vector getDoubleValues(uint64_t columnIndex) const final; + + /** + * Sets the values of a column as XML double values + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + */ + DLL_IMPORT_OR_EXPORT void setDoubleValues(uint64_t columnIndex, const std::vector& values) final; + + /** + * Sets the values of a column as double values into the HDF proxy. + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + * @param valueCount The count of values/rows. + * @param proxy The hdf proxy which indicates the support where the values will be stored. + */ + DLL_IMPORT_OR_EXPORT void setDoubleValues(uint64_t columnIndex, double const* values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy = nullptr) final; + + /** + * Gets the values of a column as int64 values + * + * @param columnIndex The index of the column which we want the values from + * + * @return The int64 values + */ + DLL_IMPORT_OR_EXPORT std::vector getInt64Values(uint64_t columnIndex) const final; + + /** + * Sets the values of a column as XML int64 values + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + */ + DLL_IMPORT_OR_EXPORT void setInt64Values(uint64_t columnIndex, const std::vector& values) final; + + /** + * Sets the values of a column as int64 values into the HDF proxy. + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + * @param valueCount The count of values/rows. + * @param proxy The hdf proxy which indicates the support where the values will be stored. + */ + DLL_IMPORT_OR_EXPORT void setInt64Values(uint64_t columnIndex, int64_t const* values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy = nullptr) final; + + /** + * Pushes back a new column in this table and fill in its header + * + * @param isAKeyColumn Indicate if the column to push back is a key one or not + * @param title Indicate the name of the column + * @param propKind The property kind associated to the value of this column + * @param valueCountPerRow The count of values in each row of this column + */ + DLL_IMPORT_OR_EXPORT void pushBackColumnHeader(bool isAKeyColumn, const std::string& title, EML2_NS::PropertyKind* propKind, uint64_t valueCountPerRow = 1) final; + + /** The standard XML tag without XML namespace for serializing this data object. */ + DLL_IMPORT_OR_EXPORT static constexpr char const* XML_TAG = "ColumnBasedTable"; + + DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; } + + /** + * The standard XML namespace for serializing this data object. + */ + DLL_IMPORT_OR_EXPORT static constexpr char const* XML_NS = "eml23"; + + /** + * Get the standard XML namespace for serializing this data object. + */ + DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; } + + private: + gsoap_eml2_3::eml23__Column* getColumn(uint64_t columnIndex) const; + + void loadTargetRelationships() final; + }; +} diff --git a/src/proxies/envC.cpp b/src/proxies/envC.cpp index 07e938f88..0dcadccb1 100644 --- a/src/proxies/envC.cpp +++ b/src/proxies/envC.cpp @@ -1,8 +1,8 @@ /* envC.cpp - Generated by gSOAP 2.8.139E for env.h + Generated by gSOAP 2.8.140E for env.h gSOAP XML Web services tools -Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved. +Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved. The soapcpp2 tool is licensed for commercial use and protected by law. ** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED. -------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ Product and source code licensed by Genivia Inc., contact@genivia.com #include "envH.h" -SOAP_SOURCE_STAMP("@(#) envC.cpp ver 2.8.139E 2025-09-19 16:13:39 GMT") +SOAP_SOURCE_STAMP("@(#) envC.cpp ver 2.8.140E 2026-02-16 09:13:49 GMT") #ifndef WITH_NOGLOBAL @@ -727,7 +727,7 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 env_instantiate_SOAP_ENV__Fault(s (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Fault *p; size_t k = sizeof(struct SOAP_ENV__Fault); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Fault, n, env_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_SOAP_ENV__Fault, n, env_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -737,13 +737,9 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 env_instantiate_SOAP_ENV__Fault(s { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Fault, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Fault location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -836,7 +832,7 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 env_instantiate_SOAP_ENV__Reason (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Reason *p; size_t k = sizeof(struct SOAP_ENV__Reason); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Reason, n, env_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_SOAP_ENV__Reason, n, env_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -846,13 +842,9 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 env_instantiate_SOAP_ENV__Reason { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Reason, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Reason location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -954,7 +946,7 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 env_instantiate_SOAP_ENV__Detail (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Detail *p; size_t k = sizeof(struct SOAP_ENV__Detail); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Detail, n, env_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_SOAP_ENV__Detail, n, env_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -964,13 +956,9 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 env_instantiate_SOAP_ENV__Detail { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Detail, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Detail location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -1074,7 +1062,7 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 env_instantiate_SOAP_ENV__Code(str (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Code *p; size_t k = sizeof(struct SOAP_ENV__Code); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Code, n, env_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_SOAP_ENV__Code, n, env_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -1084,13 +1072,9 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 env_instantiate_SOAP_ENV__Code(str { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Code, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Code location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -1170,7 +1154,7 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 env_instantiate_SOAP_ENV__Header (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Header *p; size_t k = sizeof(struct SOAP_ENV__Header); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Header, n, env_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_SOAP_ENV__Header, n, env_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -1180,13 +1164,9 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 env_instantiate_SOAP_ENV__Header { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Header, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Header location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } diff --git a/src/proxies/envH.h b/src/proxies/envH.h index 6e1f9cdd3..490251553 100644 --- a/src/proxies/envH.h +++ b/src/proxies/envH.h @@ -1,8 +1,8 @@ /* envH.h - Generated by gSOAP 2.8.139E for env.h + Generated by gSOAP 2.8.140E for env.h gSOAP XML Web services tools -Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved. +Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved. The soapcpp2 tool is licensed for commercial use and protected by law. ** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED. -------------------------------------------------------------------------------- diff --git a/src/proxies/envStub.h b/src/proxies/envStub.h index 8a7981469..3bd24f9c5 100644 --- a/src/proxies/envStub.h +++ b/src/proxies/envStub.h @@ -1,8 +1,8 @@ /* envStub.h - Generated by gSOAP 2.8.139E for env.h + Generated by gSOAP 2.8.140E for env.h gSOAP XML Web services tools -Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved. +Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved. The soapcpp2 tool is licensed for commercial use and protected by law. ** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED. -------------------------------------------------------------------------------- @@ -14,8 +14,8 @@ Product and source code licensed by Genivia Inc., contact@genivia.com #ifndef envStub_H #define envStub_H #include "stdsoap2.h" -#if GSOAP_VERSION != 208139 -# error "GSOAP VERSION 208139 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE" +#if GSOAP_VERSION != 208140 +# error "GSOAP VERSION 208140 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE" #endif diff --git a/src/proxies/gsoap_eml2_3C.cpp b/src/proxies/gsoap_eml2_3C.cpp index 02fa3f8aa..66355f10d 100644 --- a/src/proxies/gsoap_eml2_3C.cpp +++ b/src/proxies/gsoap_eml2_3C.cpp @@ -1,8 +1,8 @@ /* gsoap_eml2_3C.cpp - Generated by gSOAP 2.8.139E for eml2_3ForGsoap.h + Generated by gSOAP 2.8.140E for eml2_3ForGsoap.h gSOAP XML Web services tools -Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved. +Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved. The soapcpp2 tool is licensed for commercial use and protected by law. ** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED. -------------------------------------------------------------------------------- @@ -27,7 +27,7 @@ Product and source code licensed by Genivia Inc., contact@genivia.com namespace gsoap_eml2_3 { -SOAP_SOURCE_STAMP("@(#) gsoap_eml2_3C.cpp ver 2.8.139E 2025-09-19 16:13:42 GMT") +SOAP_SOURCE_STAMP("@(#) gsoap_eml2_3C.cpp ver 2.8.140E 2026-02-16 09:13:55 GMT") #ifndef WITH_NOGLOBAL @@ -120196,7 +120196,7 @@ SOAP_FMAC1 resqml22__WitsmlWellWellbore * SOAP_FMAC2 soap_instantiate_resqml22__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__WitsmlWellWellbore *p; size_t k = sizeof(resqml22__WitsmlWellWellbore); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__WitsmlWellWellbore, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__WitsmlWellWellbore, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120211,13 +120211,9 @@ SOAP_FMAC1 resqml22__WitsmlWellWellbore * SOAP_FMAC2 soap_instantiate_resqml22__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__WitsmlWellWellbore location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -120502,7 +120498,7 @@ SOAP_FMAC1 resqml22__WellboreTrajectoryRepresentation * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__WellboreTrajectoryRepresentation *p; size_t k = sizeof(resqml22__WellboreTrajectoryRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__WellboreTrajectoryRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__WellboreTrajectoryRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120517,13 +120513,9 @@ SOAP_FMAC1 resqml22__WellboreTrajectoryRepresentation * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__WellboreTrajectoryRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -120667,7 +120659,7 @@ SOAP_FMAC1 resqml22__WellboreTrajectoryParentIntersection * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__WellboreTrajectoryParentIntersection *p; size_t k = sizeof(resqml22__WellboreTrajectoryParentIntersection); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__WellboreTrajectoryParentIntersection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__WellboreTrajectoryParentIntersection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120682,13 +120674,9 @@ SOAP_FMAC1 resqml22__WellboreTrajectoryParentIntersection * SOAP_FMAC2 soap_inst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__WellboreTrajectoryParentIntersection location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -120919,7 +120907,7 @@ SOAP_FMAC1 resqml22__WellboreIntervalSet * SOAP_FMAC2 soap_instantiate_resqml22_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__WellboreIntervalSet *p; size_t k = sizeof(resqml22__WellboreIntervalSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__WellboreIntervalSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__WellboreIntervalSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120934,13 +120922,9 @@ SOAP_FMAC1 resqml22__WellboreIntervalSet * SOAP_FMAC2 soap_instantiate_resqml22_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__WellboreIntervalSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121179,7 +121163,7 @@ SOAP_FMAC1 resqml22__WellboreInterpretation * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__WellboreInterpretation *p; size_t k = sizeof(resqml22__WellboreInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__WellboreInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__WellboreInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121194,13 +121178,9 @@ SOAP_FMAC1 resqml22__WellboreInterpretation * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__WellboreInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121490,7 +121470,7 @@ SOAP_FMAC1 resqml22__WellboreFrameRepresentation * SOAP_FMAC2 soap_instantiate_r return soap_instantiate_resqml22__SeismicWellboreFrameRepresentation(soap, n, NULL, NULL, size); resqml22__WellboreFrameRepresentation *p; size_t k = sizeof(resqml22__WellboreFrameRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__WellboreFrameRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__WellboreFrameRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121505,13 +121485,9 @@ SOAP_FMAC1 resqml22__WellboreFrameRepresentation * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__WellboreFrameRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121728,7 +121704,7 @@ SOAP_FMAC1 resqml22__WellboreFeature * SOAP_FMAC2 soap_instantiate_resqml22__Wel (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__WellboreFeature *p; size_t k = sizeof(resqml22__WellboreFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__WellboreFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__WellboreFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121743,13 +121719,9 @@ SOAP_FMAC1 resqml22__WellboreFeature * SOAP_FMAC2 soap_instantiate_resqml22__Wel for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__WellboreFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121912,7 +121884,7 @@ SOAP_FMAC1 resqml22__TvdInformation * SOAP_FMAC2 soap_instantiate_resqml22__TvdI (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__TvdInformation *p; size_t k = sizeof(resqml22__TvdInformation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__TvdInformation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__TvdInformation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121927,13 +121899,9 @@ SOAP_FMAC1 resqml22__TvdInformation * SOAP_FMAC2 soap_instantiate_resqml22__TvdI for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__TvdInformation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -122127,7 +122095,7 @@ SOAP_FMAC1 resqml22__StratigraphicIntervalBoundary * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__StratigraphicIntervalBoundary *p; size_t k = sizeof(resqml22__StratigraphicIntervalBoundary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StratigraphicIntervalBoundary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StratigraphicIntervalBoundary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -122142,13 +122110,9 @@ SOAP_FMAC1 resqml22__StratigraphicIntervalBoundary * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__StratigraphicIntervalBoundary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -122496,7 +122460,7 @@ SOAP_FMAC1 resqml22__SeismicWellboreFrameRepresentation * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SeismicWellboreFrameRepresentation *p; size_t k = sizeof(resqml22__SeismicWellboreFrameRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SeismicWellboreFrameRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SeismicWellboreFrameRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -122511,13 +122475,9 @@ SOAP_FMAC1 resqml22__SeismicWellboreFrameRepresentation * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SeismicWellboreFrameRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -122635,7 +122595,7 @@ SOAP_FMAC1 resqml22__MarkerInterval * SOAP_FMAC2 soap_instantiate_resqml22__Mark (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__MarkerInterval *p; size_t k = sizeof(resqml22__MarkerInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__MarkerInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__MarkerInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -122650,13 +122610,9 @@ SOAP_FMAC1 resqml22__MarkerInterval * SOAP_FMAC2 soap_instantiate_resqml22__Mark for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__MarkerInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -122843,7 +122799,7 @@ SOAP_FMAC1 resqml22__MarkerBoundary * SOAP_FMAC2 soap_instantiate_resqml22__Mark return soap_instantiate_resqml22__StratigraphicIntervalBoundary(soap, n, NULL, NULL, size); resqml22__MarkerBoundary *p; size_t k = sizeof(resqml22__MarkerBoundary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__MarkerBoundary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__MarkerBoundary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -122858,13 +122814,9 @@ SOAP_FMAC1 resqml22__MarkerBoundary * SOAP_FMAC2 soap_instantiate_resqml22__Mark for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__MarkerBoundary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -123036,7 +122988,7 @@ SOAP_FMAC1 resqml22__FluidIntervalBoundary * SOAP_FMAC2 soap_instantiate_resqml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__FluidIntervalBoundary *p; size_t k = sizeof(resqml22__FluidIntervalBoundary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__FluidIntervalBoundary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__FluidIntervalBoundary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -123051,13 +123003,9 @@ SOAP_FMAC1 resqml22__FluidIntervalBoundary * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__FluidIntervalBoundary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -123168,7 +123116,7 @@ SOAP_FMAC1 resqml22__CorrectionInformation * SOAP_FMAC2 soap_instantiate_resqml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__CorrectionInformation *p; size_t k = sizeof(resqml22__CorrectionInformation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__CorrectionInformation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__CorrectionInformation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -123183,13 +123131,9 @@ SOAP_FMAC1 resqml22__CorrectionInformation * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__CorrectionInformation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -123478,7 +123422,7 @@ SOAP_FMAC1 resqml22__BlockedWellboreRepresentation * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__BlockedWellboreRepresentation *p; size_t k = sizeof(resqml22__BlockedWellboreRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__BlockedWellboreRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__BlockedWellboreRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -123493,13 +123437,9 @@ SOAP_FMAC1 resqml22__BlockedWellboreRepresentation * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__BlockedWellboreRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -123644,7 +123584,7 @@ SOAP_FMAC1 resqml22__StreamlineWellbores * SOAP_FMAC2 soap_instantiate_resqml22_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__StreamlineWellbores *p; size_t k = sizeof(resqml22__StreamlineWellbores); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StreamlineWellbores, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StreamlineWellbores, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -123659,13 +123599,9 @@ SOAP_FMAC1 resqml22__StreamlineWellbores * SOAP_FMAC2 soap_instantiate_resqml22_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__StreamlineWellbores location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -123913,7 +123849,7 @@ SOAP_FMAC1 resqml22__StreamlinesRepresentation * SOAP_FMAC2 soap_instantiate_res (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__StreamlinesRepresentation *p; size_t k = sizeof(resqml22__StreamlinesRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StreamlinesRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StreamlinesRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -123928,13 +123864,9 @@ SOAP_FMAC1 resqml22__StreamlinesRepresentation * SOAP_FMAC2 soap_instantiate_res for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__StreamlinesRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -124166,7 +124098,7 @@ SOAP_FMAC1 resqml22__StreamlinesFeature * SOAP_FMAC2 soap_instantiate_resqml22__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__StreamlinesFeature *p; size_t k = sizeof(resqml22__StreamlinesFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StreamlinesFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StreamlinesFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -124181,13 +124113,9 @@ SOAP_FMAC1 resqml22__StreamlinesFeature * SOAP_FMAC2 soap_instantiate_resqml22__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__StreamlinesFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -124475,7 +124403,7 @@ SOAP_FMAC1 resqml22__PointsProperty * SOAP_FMAC2 soap_instantiate_resqml22__Poin (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__PointsProperty *p; size_t k = sizeof(resqml22__PointsProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PointsProperty, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PointsProperty, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -124490,13 +124418,9 @@ SOAP_FMAC1 resqml22__PointsProperty * SOAP_FMAC2 soap_instantiate_resqml22__Poin for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__PointsProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -124799,7 +124723,7 @@ SOAP_FMAC1 resqml22__DiscreteProperty * SOAP_FMAC2 soap_instantiate_resqml22__Di (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__DiscreteProperty *p; size_t k = sizeof(resqml22__DiscreteProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__DiscreteProperty, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__DiscreteProperty, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -124814,13 +124738,9 @@ SOAP_FMAC1 resqml22__DiscreteProperty * SOAP_FMAC2 soap_instantiate_resqml22__Di for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__DiscreteProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -125135,7 +125055,7 @@ SOAP_FMAC1 resqml22__ContinuousProperty * SOAP_FMAC2 soap_instantiate_resqml22__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ContinuousProperty *p; size_t k = sizeof(resqml22__ContinuousProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContinuousProperty, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContinuousProperty, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -125150,13 +125070,9 @@ SOAP_FMAC1 resqml22__ContinuousProperty * SOAP_FMAC2 soap_instantiate_resqml22__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ContinuousProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -125459,7 +125375,7 @@ SOAP_FMAC1 resqml22__CommentProperty * SOAP_FMAC2 soap_instantiate_resqml22__Com (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__CommentProperty *p; size_t k = sizeof(resqml22__CommentProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__CommentProperty, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__CommentProperty, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -125474,13 +125390,9 @@ SOAP_FMAC1 resqml22__CommentProperty * SOAP_FMAC2 soap_instantiate_resqml22__Com for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__CommentProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -125772,7 +125684,7 @@ SOAP_FMAC1 resqml22__BooleanProperty * SOAP_FMAC2 soap_instantiate_resqml22__Boo (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__BooleanProperty *p; size_t k = sizeof(resqml22__BooleanProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__BooleanProperty, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__BooleanProperty, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -125787,13 +125699,9 @@ SOAP_FMAC1 resqml22__BooleanProperty * SOAP_FMAC2 soap_instantiate_resqml22__Boo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__BooleanProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -125934,7 +125842,7 @@ SOAP_FMAC1 resqml22__BooleanArrayFromDiscretePropertyArray * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__BooleanArrayFromDiscretePropertyArray *p; size_t k = sizeof(resqml22__BooleanArrayFromDiscretePropertyArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__BooleanArrayFromDiscretePropertyArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__BooleanArrayFromDiscretePropertyArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -125949,13 +125857,9 @@ SOAP_FMAC1 resqml22__BooleanArrayFromDiscretePropertyArray * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__BooleanArrayFromDiscretePropertyArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -126259,7 +126163,7 @@ SOAP_FMAC1 resqml22__AbstractValuesProperty * SOAP_FMAC2 soap_instantiate_resqml return soap_instantiate_resqml22__DiscreteProperty(soap, n, NULL, NULL, size); resqml22__AbstractValuesProperty *p; size_t k = sizeof(resqml22__AbstractValuesProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractValuesProperty, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractValuesProperty, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -126274,13 +126178,9 @@ SOAP_FMAC1 resqml22__AbstractValuesProperty * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractValuesProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -126590,7 +126490,7 @@ SOAP_FMAC1 resqml22__AbstractProperty * SOAP_FMAC2 soap_instantiate_resqml22__Ab return soap_instantiate_resqml22__DiscreteProperty(soap, n, NULL, NULL, size); resqml22__AbstractProperty *p; size_t k = sizeof(resqml22__AbstractProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractProperty, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractProperty, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -126605,13 +126505,9 @@ SOAP_FMAC1 resqml22__AbstractProperty * SOAP_FMAC2 soap_instantiate_resqml22__Ab for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -126770,7 +126666,7 @@ SOAP_FMAC1 resqml22__SizeInformation * SOAP_FMAC2 soap_instantiate_resqml22__Siz (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SizeInformation *p; size_t k = sizeof(resqml22__SizeInformation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SizeInformation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SizeInformation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -126785,13 +126681,9 @@ SOAP_FMAC1 resqml22__SizeInformation * SOAP_FMAC2 soap_instantiate_resqml22__Siz for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SizeInformation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -126920,7 +126812,7 @@ SOAP_FMAC1 resqml22__MinMax * SOAP_FMAC2 soap_instantiate_resqml22__MinMax(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__MinMax *p; size_t k = sizeof(resqml22__MinMax); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__MinMax, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__MinMax, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -126935,13 +126827,9 @@ SOAP_FMAC1 resqml22__MinMax * SOAP_FMAC2 soap_instantiate_resqml22__MinMax(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__MinMax location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -127103,7 +126991,7 @@ SOAP_FMAC1 resqml22__HsvColor * SOAP_FMAC2 soap_instantiate_resqml22__HsvColor(s (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__HsvColor *p; size_t k = sizeof(resqml22__HsvColor); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__HsvColor, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__HsvColor, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -127118,13 +127006,9 @@ SOAP_FMAC1 resqml22__HsvColor * SOAP_FMAC2 soap_instantiate_resqml22__HsvColor(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__HsvColor location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -127327,7 +127211,7 @@ SOAP_FMAC1 resqml22__GraphicalInformationForWholeObject * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__GraphicalInformationForWholeObject *p; size_t k = sizeof(resqml22__GraphicalInformationForWholeObject); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GraphicalInformationForWholeObject, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GraphicalInformationForWholeObject, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -127342,13 +127226,9 @@ SOAP_FMAC1 resqml22__GraphicalInformationForWholeObject * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__GraphicalInformationForWholeObject location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -127540,7 +127420,7 @@ SOAP_FMAC1 resqml22__GraphicalInformationForVolumes * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__GraphicalInformationForVolumes *p; size_t k = sizeof(resqml22__GraphicalInformationForVolumes); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GraphicalInformationForVolumes, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GraphicalInformationForVolumes, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -127555,13 +127435,9 @@ SOAP_FMAC1 resqml22__GraphicalInformationForVolumes * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__GraphicalInformationForVolumes location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -127786,7 +127662,7 @@ SOAP_FMAC1 resqml22__GraphicalInformationForNodes * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__GraphicalInformationForNodes *p; size_t k = sizeof(resqml22__GraphicalInformationForNodes); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GraphicalInformationForNodes, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GraphicalInformationForNodes, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -127801,13 +127677,9 @@ SOAP_FMAC1 resqml22__GraphicalInformationForNodes * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__GraphicalInformationForNodes location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -128010,7 +127882,7 @@ SOAP_FMAC1 resqml22__GraphicalInformationForFaces * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__GraphicalInformationForFaces *p; size_t k = sizeof(resqml22__GraphicalInformationForFaces); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GraphicalInformationForFaces, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GraphicalInformationForFaces, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -128025,13 +127897,9 @@ SOAP_FMAC1 resqml22__GraphicalInformationForFaces * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__GraphicalInformationForFaces location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -128256,7 +128124,7 @@ SOAP_FMAC1 resqml22__GraphicalInformationForEdges * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__GraphicalInformationForEdges *p; size_t k = sizeof(resqml22__GraphicalInformationForEdges); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GraphicalInformationForEdges, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GraphicalInformationForEdges, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -128271,13 +128139,9 @@ SOAP_FMAC1 resqml22__GraphicalInformationForEdges * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__GraphicalInformationForEdges location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -128410,7 +128274,7 @@ SOAP_FMAC1 resqml22__DiscreteColorMapEntry * SOAP_FMAC2 soap_instantiate_resqml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__DiscreteColorMapEntry *p; size_t k = sizeof(resqml22__DiscreteColorMapEntry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__DiscreteColorMapEntry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__DiscreteColorMapEntry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -128425,13 +128289,9 @@ SOAP_FMAC1 resqml22__DiscreteColorMapEntry * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__DiscreteColorMapEntry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -128663,7 +128523,7 @@ SOAP_FMAC1 resqml22__DiscreteColorMap * SOAP_FMAC2 soap_instantiate_resqml22__Di (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__DiscreteColorMap *p; size_t k = sizeof(resqml22__DiscreteColorMap); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__DiscreteColorMap, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__DiscreteColorMap, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -128678,13 +128538,9 @@ SOAP_FMAC1 resqml22__DiscreteColorMap * SOAP_FMAC2 soap_instantiate_resqml22__Di for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__DiscreteColorMap location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -128829,7 +128685,7 @@ SOAP_FMAC1 resqml22__DefaultGraphicalInformation * SOAP_FMAC2 soap_instantiate_r (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__DefaultGraphicalInformation *p; size_t k = sizeof(resqml22__DefaultGraphicalInformation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__DefaultGraphicalInformation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__DefaultGraphicalInformation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -128844,13 +128700,9 @@ SOAP_FMAC1 resqml22__DefaultGraphicalInformation * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__DefaultGraphicalInformation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -129042,7 +128894,7 @@ SOAP_FMAC1 resqml22__ContourLineSetInformation * SOAP_FMAC2 soap_instantiate_res (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ContourLineSetInformation *p; size_t k = sizeof(resqml22__ContourLineSetInformation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContourLineSetInformation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContourLineSetInformation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -129057,13 +128909,9 @@ SOAP_FMAC1 resqml22__ContourLineSetInformation * SOAP_FMAC2 soap_instantiate_res for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ContourLineSetInformation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -129196,7 +129044,7 @@ SOAP_FMAC1 resqml22__ContinuousColorMapEntry * SOAP_FMAC2 soap_instantiate_resqm (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ContinuousColorMapEntry *p; size_t k = sizeof(resqml22__ContinuousColorMapEntry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContinuousColorMapEntry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContinuousColorMapEntry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -129211,13 +129059,9 @@ SOAP_FMAC1 resqml22__ContinuousColorMapEntry * SOAP_FMAC2 soap_instantiate_resqm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ContinuousColorMapEntry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -129469,7 +129313,7 @@ SOAP_FMAC1 resqml22__ContinuousColorMap * SOAP_FMAC2 soap_instantiate_resqml22__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ContinuousColorMap *p; size_t k = sizeof(resqml22__ContinuousColorMap); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContinuousColorMap, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContinuousColorMap, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -129484,13 +129328,9 @@ SOAP_FMAC1 resqml22__ContinuousColorMap * SOAP_FMAC2 soap_instantiate_resqml22__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ContinuousColorMap location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -129695,7 +129535,7 @@ SOAP_FMAC1 resqml22__ColorMapDictionary * SOAP_FMAC2 soap_instantiate_resqml22__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ColorMapDictionary *p; size_t k = sizeof(resqml22__ColorMapDictionary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ColorMapDictionary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ColorMapDictionary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -129710,13 +129550,9 @@ SOAP_FMAC1 resqml22__ColorMapDictionary * SOAP_FMAC2 soap_instantiate_resqml22__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ColorMapDictionary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -129886,7 +129722,7 @@ SOAP_FMAC1 resqml22__ColorInformation * SOAP_FMAC2 soap_instantiate_resqml22__Co (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ColorInformation *p; size_t k = sizeof(resqml22__ColorInformation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ColorInformation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ColorInformation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -129901,13 +129737,9 @@ SOAP_FMAC1 resqml22__ColorInformation * SOAP_FMAC2 soap_instantiate_resqml22__Co for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ColorInformation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -130041,7 +129873,7 @@ SOAP_FMAC1 resqml22__AnnotationInformation * SOAP_FMAC2 soap_instantiate_resqml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__AnnotationInformation *p; size_t k = sizeof(resqml22__AnnotationInformation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AnnotationInformation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AnnotationInformation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -130056,13 +129888,9 @@ SOAP_FMAC1 resqml22__AnnotationInformation * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AnnotationInformation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -130248,7 +130076,7 @@ SOAP_FMAC1 resqml22__AlphaInformation * SOAP_FMAC2 soap_instantiate_resqml22__Al (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__AlphaInformation *p; size_t k = sizeof(resqml22__AlphaInformation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AlphaInformation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AlphaInformation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -130263,13 +130091,9 @@ SOAP_FMAC1 resqml22__AlphaInformation * SOAP_FMAC2 soap_instantiate_resqml22__Al for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AlphaInformation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -130474,7 +130298,7 @@ SOAP_FMAC1 resqml22__AbstractGraphicalInformationForIndexableElement * SOAP_FMAC return soap_instantiate_resqml22__GraphicalInformationForWholeObject(soap, n, NULL, NULL, size); resqml22__AbstractGraphicalInformationForIndexableElement *p; size_t k = sizeof(resqml22__AbstractGraphicalInformationForIndexableElement); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractGraphicalInformationForIndexableElement, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractGraphicalInformationForIndexableElement, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -130489,13 +130313,9 @@ SOAP_FMAC1 resqml22__AbstractGraphicalInformationForIndexableElement * SOAP_FMAC for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractGraphicalInformationForIndexableElement location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -130729,7 +130549,7 @@ SOAP_FMAC1 resqml22__AbstractColorMap * SOAP_FMAC2 soap_instantiate_resqml22__Ab return soap_instantiate_resqml22__DiscreteColorMap(soap, n, NULL, NULL, size); resqml22__AbstractColorMap *p; size_t k = sizeof(resqml22__AbstractColorMap); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractColorMap, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractColorMap, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -130744,13 +130564,9 @@ SOAP_FMAC1 resqml22__AbstractColorMap * SOAP_FMAC2 soap_instantiate_resqml22__Ab for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractColorMap location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -130911,7 +130727,7 @@ SOAP_FMAC1 resqml22__VariableSubnodePatch * SOAP_FMAC2 soap_instantiate_resqml22 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__VariableSubnodePatch *p; size_t k = sizeof(resqml22__VariableSubnodePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__VariableSubnodePatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__VariableSubnodePatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -130926,13 +130742,9 @@ SOAP_FMAC1 resqml22__VariableSubnodePatch * SOAP_FMAC2 soap_instantiate_resqml22 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__VariableSubnodePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -131067,7 +130879,7 @@ SOAP_FMAC1 resqml22__UnstructuredSubnodeTopology * SOAP_FMAC2 soap_instantiate_r (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__UnstructuredSubnodeTopology *p; size_t k = sizeof(resqml22__UnstructuredSubnodeTopology); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredSubnodeTopology, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredSubnodeTopology, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -131082,13 +130894,9 @@ SOAP_FMAC1 resqml22__UnstructuredSubnodeTopology * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__UnstructuredSubnodeTopology location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -131363,7 +131171,7 @@ SOAP_FMAC1 resqml22__UnstructuredGridRepresentation * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__UnstructuredGridRepresentation *p; size_t k = sizeof(resqml22__UnstructuredGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredGridRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredGridRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -131378,13 +131186,9 @@ SOAP_FMAC1 resqml22__UnstructuredGridRepresentation * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__UnstructuredGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -131517,7 +131321,7 @@ SOAP_FMAC1 resqml22__UnstructuredGridHingeNodeFaces * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__UnstructuredGridHingeNodeFaces *p; size_t k = sizeof(resqml22__UnstructuredGridHingeNodeFaces); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredGridHingeNodeFaces, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredGridHingeNodeFaces, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -131532,13 +131336,9 @@ SOAP_FMAC1 resqml22__UnstructuredGridHingeNodeFaces * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__UnstructuredGridHingeNodeFaces location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -131796,7 +131596,7 @@ SOAP_FMAC1 resqml22__UnstructuredGridGeometry * SOAP_FMAC2 soap_instantiate_resq (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__UnstructuredGridGeometry *p; size_t k = sizeof(resqml22__UnstructuredGridGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredGridGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredGridGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -131811,13 +131611,9 @@ SOAP_FMAC1 resqml22__UnstructuredGridGeometry * SOAP_FMAC2 soap_instantiate_resq for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__UnstructuredGridGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -131946,7 +131742,7 @@ SOAP_FMAC1 resqml22__UnstructuredGpGridPatch * SOAP_FMAC2 soap_instantiate_resqm (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__UnstructuredGpGridPatch *p; size_t k = sizeof(resqml22__UnstructuredGpGridPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredGpGridPatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredGpGridPatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -131961,13 +131757,9 @@ SOAP_FMAC1 resqml22__UnstructuredGpGridPatch * SOAP_FMAC2 soap_instantiate_resqm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__UnstructuredGpGridPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -132240,7 +132032,7 @@ SOAP_FMAC1 resqml22__UnstructuredColumnLayerGridRepresentation * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__UnstructuredColumnLayerGridRepresentation *p; size_t k = sizeof(resqml22__UnstructuredColumnLayerGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredColumnLayerGridRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredColumnLayerGridRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -132255,13 +132047,9 @@ SOAP_FMAC1 resqml22__UnstructuredColumnLayerGridRepresentation * SOAP_FMAC2 soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__UnstructuredColumnLayerGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -132576,7 +132364,7 @@ SOAP_FMAC1 resqml22__UnstructuredColumnLayerGridGeometry * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__UnstructuredColumnLayerGridGeometry *p; size_t k = sizeof(resqml22__UnstructuredColumnLayerGridGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredColumnLayerGridGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredColumnLayerGridGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -132591,13 +132379,9 @@ SOAP_FMAC1 resqml22__UnstructuredColumnLayerGridGeometry * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__UnstructuredColumnLayerGridGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -132737,7 +132521,7 @@ SOAP_FMAC1 resqml22__UnstructuredColumnLayerGpGridPatch * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__UnstructuredColumnLayerGpGridPatch *p; size_t k = sizeof(resqml22__UnstructuredColumnLayerGpGridPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredColumnLayerGpGridPatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredColumnLayerGpGridPatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -132752,13 +132536,9 @@ SOAP_FMAC1 resqml22__UnstructuredColumnLayerGpGridPatch * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__UnstructuredColumnLayerGpGridPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -132891,7 +132671,7 @@ SOAP_FMAC1 resqml22__UnstructuredColumnEdges * SOAP_FMAC2 soap_instantiate_resqm (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__UnstructuredColumnEdges *p; size_t k = sizeof(resqml22__UnstructuredColumnEdges); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredColumnEdges, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UnstructuredColumnEdges, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -132906,13 +132686,9 @@ SOAP_FMAC1 resqml22__UnstructuredColumnEdges * SOAP_FMAC2 soap_instantiate_resqm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__UnstructuredColumnEdges location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -133054,7 +132830,7 @@ SOAP_FMAC1 resqml22__UniformSubnodePatch * SOAP_FMAC2 soap_instantiate_resqml22_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__UniformSubnodePatch *p; size_t k = sizeof(resqml22__UniformSubnodePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UniformSubnodePatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__UniformSubnodePatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -133069,13 +132845,9 @@ SOAP_FMAC1 resqml22__UniformSubnodePatch * SOAP_FMAC2 soap_instantiate_resqml22_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__UniformSubnodePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -133290,7 +133062,7 @@ SOAP_FMAC1 resqml22__TruncationCellPatch * SOAP_FMAC2 soap_instantiate_resqml22_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__TruncationCellPatch *p; size_t k = sizeof(resqml22__TruncationCellPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__TruncationCellPatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__TruncationCellPatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -133305,13 +133077,9 @@ SOAP_FMAC1 resqml22__TruncationCellPatch * SOAP_FMAC2 soap_instantiate_resqml22_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__TruncationCellPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -133601,7 +133369,7 @@ SOAP_FMAC1 resqml22__TruncatedUnstructuredColumnLayerGridRepresentation * SOAP_F (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__TruncatedUnstructuredColumnLayerGridRepresentation *p; size_t k = sizeof(resqml22__TruncatedUnstructuredColumnLayerGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__TruncatedUnstructuredColumnLayerGridRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__TruncatedUnstructuredColumnLayerGridRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -133616,13 +133384,9 @@ SOAP_FMAC1 resqml22__TruncatedUnstructuredColumnLayerGridRepresentation * SOAP_F for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__TruncatedUnstructuredColumnLayerGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -133923,7 +133687,7 @@ SOAP_FMAC1 resqml22__TruncatedIjkGridRepresentation * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__TruncatedIjkGridRepresentation *p; size_t k = sizeof(resqml22__TruncatedIjkGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__TruncatedIjkGridRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__TruncatedIjkGridRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -133938,13 +133702,9 @@ SOAP_FMAC1 resqml22__TruncatedIjkGridRepresentation * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__TruncatedIjkGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -134063,7 +133823,7 @@ SOAP_FMAC1 resqml22__SubnodeTopology * SOAP_FMAC2 soap_instantiate_resqml22__Sub return soap_instantiate_resqml22__UnstructuredSubnodeTopology(soap, n, NULL, NULL, size); resqml22__SubnodeTopology *p; size_t k = sizeof(resqml22__SubnodeTopology); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SubnodeTopology, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SubnodeTopology, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -134078,13 +133838,9 @@ SOAP_FMAC1 resqml22__SubnodeTopology * SOAP_FMAC2 soap_instantiate_resqml22__Sub for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SubnodeTopology location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -134222,7 +133978,7 @@ SOAP_FMAC1 resqml22__SubnodePatch * SOAP_FMAC2 soap_instantiate_resqml22__Subnod return soap_instantiate_resqml22__VariableSubnodePatch(soap, n, NULL, NULL, size); resqml22__SubnodePatch *p; size_t k = sizeof(resqml22__SubnodePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SubnodePatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SubnodePatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -134237,13 +133993,9 @@ SOAP_FMAC1 resqml22__SubnodePatch * SOAP_FMAC2 soap_instantiate_resqml22__Subnod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SubnodePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -134402,7 +134154,7 @@ SOAP_FMAC1 resqml22__SplitNodePatch * SOAP_FMAC2 soap_instantiate_resqml22__Spli (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SplitNodePatch *p; size_t k = sizeof(resqml22__SplitNodePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SplitNodePatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SplitNodePatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -134417,13 +134169,9 @@ SOAP_FMAC1 resqml22__SplitNodePatch * SOAP_FMAC2 soap_instantiate_resqml22__Spli for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SplitNodePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -134582,7 +134330,7 @@ SOAP_FMAC1 resqml22__SplitFaces * SOAP_FMAC2 soap_instantiate_resqml22__SplitFac (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SplitFaces *p; size_t k = sizeof(resqml22__SplitFaces); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SplitFaces, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SplitFaces, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -134597,13 +134345,9 @@ SOAP_FMAC1 resqml22__SplitFaces * SOAP_FMAC2 soap_instantiate_resqml22__SplitFac for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SplitFaces location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -134751,7 +134495,7 @@ SOAP_FMAC1 resqml22__SplitEdges * SOAP_FMAC2 soap_instantiate_resqml22__SplitEdg (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SplitEdges *p; size_t k = sizeof(resqml22__SplitEdges); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SplitEdges, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SplitEdges, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -134766,13 +134510,9 @@ SOAP_FMAC1 resqml22__SplitEdges * SOAP_FMAC2 soap_instantiate_resqml22__SplitEdg for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SplitEdges location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -134920,7 +134660,7 @@ SOAP_FMAC1 resqml22__SplitColumnEdges * SOAP_FMAC2 soap_instantiate_resqml22__Sp (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SplitColumnEdges *p; size_t k = sizeof(resqml22__SplitColumnEdges); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SplitColumnEdges, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SplitColumnEdges, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -134935,13 +134675,9 @@ SOAP_FMAC1 resqml22__SplitColumnEdges * SOAP_FMAC2 soap_instantiate_resqml22__Sp for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SplitColumnEdges location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -135070,7 +134806,7 @@ SOAP_FMAC1 resqml22__Regrid * SOAP_FMAC2 soap_instantiate_resqml22__Regrid(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Regrid *p; size_t k = sizeof(resqml22__Regrid); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Regrid, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Regrid, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -135085,13 +134821,9 @@ SOAP_FMAC1 resqml22__Regrid * SOAP_FMAC2 soap_instantiate_resqml22__Regrid(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Regrid location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -135223,7 +134955,7 @@ SOAP_FMAC1 resqml22__OverlapVolume * SOAP_FMAC2 soap_instantiate_resqml22__Overl (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__OverlapVolume *p; size_t k = sizeof(resqml22__OverlapVolume); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__OverlapVolume, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__OverlapVolume, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -135238,13 +134970,9 @@ SOAP_FMAC1 resqml22__OverlapVolume * SOAP_FMAC2 soap_instantiate_resqml22__Overl for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__OverlapVolume location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -135460,7 +135188,7 @@ SOAP_FMAC1 resqml22__LocalGridSet * SOAP_FMAC2 soap_instantiate_resqml22__LocalG (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__LocalGridSet *p; size_t k = sizeof(resqml22__LocalGridSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__LocalGridSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__LocalGridSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -135475,13 +135203,9 @@ SOAP_FMAC1 resqml22__LocalGridSet * SOAP_FMAC2 soap_instantiate_resqml22__LocalG for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__LocalGridSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -135614,7 +135338,7 @@ SOAP_FMAC1 resqml22__KGaps * SOAP_FMAC2 soap_instantiate_resqml22__KGaps(struct (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__KGaps *p; size_t k = sizeof(resqml22__KGaps); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__KGaps, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__KGaps, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -135629,13 +135353,9 @@ SOAP_FMAC1 resqml22__KGaps * SOAP_FMAC2 soap_instantiate_resqml22__KGaps(struct for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__KGaps location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -135772,7 +135492,7 @@ SOAP_FMAC1 resqml22__IntervalStratigraphicUnits * SOAP_FMAC2 soap_instantiate_re (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__IntervalStratigraphicUnits *p; size_t k = sizeof(resqml22__IntervalStratigraphicUnits); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__IntervalStratigraphicUnits, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__IntervalStratigraphicUnits, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -135787,13 +135507,9 @@ SOAP_FMAC1 resqml22__IntervalStratigraphicUnits * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__IntervalStratigraphicUnits location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -135952,7 +135668,7 @@ SOAP_FMAC1 resqml22__Intervals * SOAP_FMAC2 soap_instantiate_resqml22__Intervals (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Intervals *p; size_t k = sizeof(resqml22__Intervals); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Intervals, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Intervals, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -135967,13 +135683,9 @@ SOAP_FMAC1 resqml22__Intervals * SOAP_FMAC2 soap_instantiate_resqml22__Intervals for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Intervals location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -136144,7 +135856,7 @@ SOAP_FMAC1 resqml22__IntervalGridCells * SOAP_FMAC2 soap_instantiate_resqml22__I (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__IntervalGridCells *p; size_t k = sizeof(resqml22__IntervalGridCells); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__IntervalGridCells, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__IntervalGridCells, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -136159,13 +135871,9 @@ SOAP_FMAC1 resqml22__IntervalGridCells * SOAP_FMAC2 soap_instantiate_resqml22__I for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__IntervalGridCells location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -136354,7 +136062,7 @@ SOAP_FMAC1 resqml22__IjkParentWindow * SOAP_FMAC2 soap_instantiate_resqml22__Ijk (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__IjkParentWindow *p; size_t k = sizeof(resqml22__IjkParentWindow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__IjkParentWindow, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__IjkParentWindow, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -136369,13 +136077,9 @@ SOAP_FMAC1 resqml22__IjkParentWindow * SOAP_FMAC2 soap_instantiate_resqml22__Ijk for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__IjkParentWindow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -136681,7 +136385,7 @@ SOAP_FMAC1 resqml22__IjkGridRepresentation * SOAP_FMAC2 soap_instantiate_resqml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__IjkGridRepresentation *p; size_t k = sizeof(resqml22__IjkGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__IjkGridRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__IjkGridRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -136696,13 +136400,9 @@ SOAP_FMAC1 resqml22__IjkGridRepresentation * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__IjkGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -136977,7 +136677,7 @@ SOAP_FMAC1 resqml22__IjkGridGeometry * SOAP_FMAC2 soap_instantiate_resqml22__Ijk (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__IjkGridGeometry *p; size_t k = sizeof(resqml22__IjkGridGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__IjkGridGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__IjkGridGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -136992,13 +136692,9 @@ SOAP_FMAC1 resqml22__IjkGridGeometry * SOAP_FMAC2 soap_instantiate_resqml22__Ijk for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__IjkGridGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -137160,7 +136856,7 @@ SOAP_FMAC1 resqml22__IjkGpGridPatch * SOAP_FMAC2 soap_instantiate_resqml22__IjkG (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__IjkGpGridPatch *p; size_t k = sizeof(resqml22__IjkGpGridPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__IjkGpGridPatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__IjkGpGridPatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -137175,13 +136871,9 @@ SOAP_FMAC1 resqml22__IjkGpGridPatch * SOAP_FMAC2 soap_instantiate_resqml22__IjkG for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__IjkGpGridPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -137329,7 +137021,7 @@ SOAP_FMAC1 resqml22__IjGaps * SOAP_FMAC2 soap_instantiate_resqml22__IjGaps(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__IjGaps *p; size_t k = sizeof(resqml22__IjGaps); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__IjGaps, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__IjGaps, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -137344,13 +137036,9 @@ SOAP_FMAC1 resqml22__IjGaps * SOAP_FMAC2 soap_instantiate_resqml22__IjGaps(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__IjGaps location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -137632,7 +137320,7 @@ SOAP_FMAC1 resqml22__GridConnectionSetRepresentation * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__GridConnectionSetRepresentation *p; size_t k = sizeof(resqml22__GridConnectionSetRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GridConnectionSetRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GridConnectionSetRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -137647,13 +137335,9 @@ SOAP_FMAC1 resqml22__GridConnectionSetRepresentation * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__GridConnectionSetRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -137920,7 +137604,7 @@ SOAP_FMAC1 resqml22__Grid2dRepresentation * SOAP_FMAC2 soap_instantiate_resqml22 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Grid2dRepresentation *p; size_t k = sizeof(resqml22__Grid2dRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Grid2dRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Grid2dRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -137935,13 +137619,9 @@ SOAP_FMAC1 resqml22__Grid2dRepresentation * SOAP_FMAC2 soap_instantiate_resqml22 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Grid2dRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -138199,7 +137879,7 @@ SOAP_FMAC1 resqml22__GpGridRepresentation * SOAP_FMAC2 soap_instantiate_resqml22 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__GpGridRepresentation *p; size_t k = sizeof(resqml22__GpGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GpGridRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GpGridRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -138214,13 +137894,9 @@ SOAP_FMAC1 resqml22__GpGridRepresentation * SOAP_FMAC2 soap_instantiate_resqml22 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__GpGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -138353,7 +138029,7 @@ SOAP_FMAC1 resqml22__Edges * SOAP_FMAC2 soap_instantiate_resqml22__Edges(struct (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Edges *p; size_t k = sizeof(resqml22__Edges); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Edges, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Edges, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -138368,13 +138044,9 @@ SOAP_FMAC1 resqml22__Edges * SOAP_FMAC2 soap_instantiate_resqml22__Edges(struct for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Edges location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -138504,7 +138176,7 @@ SOAP_FMAC1 resqml22__ConnectionInterpretations * SOAP_FMAC2 soap_instantiate_res (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ConnectionInterpretations *p; size_t k = sizeof(resqml22__ConnectionInterpretations); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ConnectionInterpretations, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ConnectionInterpretations, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -138519,13 +138191,9 @@ SOAP_FMAC1 resqml22__ConnectionInterpretations * SOAP_FMAC2 soap_instantiate_res for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ConnectionInterpretations location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -138671,7 +138339,7 @@ SOAP_FMAC1 resqml22__ColumnSubnodePatch * SOAP_FMAC2 soap_instantiate_resqml22__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ColumnSubnodePatch *p; size_t k = sizeof(resqml22__ColumnSubnodePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ColumnSubnodePatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ColumnSubnodePatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -138686,13 +138354,9 @@ SOAP_FMAC1 resqml22__ColumnSubnodePatch * SOAP_FMAC2 soap_instantiate_resqml22__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ColumnSubnodePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -138813,7 +138477,7 @@ SOAP_FMAC1 resqml22__ColumnLayerSubnodeTopology * SOAP_FMAC2 soap_instantiate_re (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ColumnLayerSubnodeTopology *p; size_t k = sizeof(resqml22__ColumnLayerSubnodeTopology); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ColumnLayerSubnodeTopology, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ColumnLayerSubnodeTopology, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -138828,13 +138492,9 @@ SOAP_FMAC1 resqml22__ColumnLayerSubnodeTopology * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ColumnLayerSubnodeTopology location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -138982,7 +138642,7 @@ SOAP_FMAC1 resqml22__ColumnLayerSplitCoordinateLines * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ColumnLayerSplitCoordinateLines *p; size_t k = sizeof(resqml22__ColumnLayerSplitCoordinateLines); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ColumnLayerSplitCoordinateLines, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ColumnLayerSplitCoordinateLines, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -138997,13 +138657,9 @@ SOAP_FMAC1 resqml22__ColumnLayerSplitCoordinateLines * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ColumnLayerSplitCoordinateLines location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -139177,7 +138833,7 @@ SOAP_FMAC1 resqml22__ColumnLayerParentWindow * SOAP_FMAC2 soap_instantiate_resqm (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ColumnLayerParentWindow *p; size_t k = sizeof(resqml22__ColumnLayerParentWindow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ColumnLayerParentWindow, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ColumnLayerParentWindow, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -139192,13 +138848,9 @@ SOAP_FMAC1 resqml22__ColumnLayerParentWindow * SOAP_FMAC2 soap_instantiate_resqm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ColumnLayerParentWindow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -139343,7 +138995,7 @@ SOAP_FMAC1 resqml22__ColumnLayerGpGrid * SOAP_FMAC2 soap_instantiate_resqml22__C (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ColumnLayerGpGrid *p; size_t k = sizeof(resqml22__ColumnLayerGpGrid); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ColumnLayerGpGrid, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ColumnLayerGpGrid, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -139358,13 +139010,9 @@ SOAP_FMAC1 resqml22__ColumnLayerGpGrid * SOAP_FMAC2 soap_instantiate_resqml22__C for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ColumnLayerGpGrid location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -139512,7 +139160,7 @@ SOAP_FMAC1 resqml22__CellParentWindow * SOAP_FMAC2 soap_instantiate_resqml22__Ce (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__CellParentWindow *p; size_t k = sizeof(resqml22__CellParentWindow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__CellParentWindow, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__CellParentWindow, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -139527,13 +139175,9 @@ SOAP_FMAC1 resqml22__CellParentWindow * SOAP_FMAC2 soap_instantiate_resqml22__Ce for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__CellParentWindow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -139677,7 +139321,7 @@ SOAP_FMAC1 resqml22__CellOverlap * SOAP_FMAC2 soap_instantiate_resqml22__CellOve (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__CellOverlap *p; size_t k = sizeof(resqml22__CellOverlap); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__CellOverlap, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__CellOverlap, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -139692,13 +139336,9 @@ SOAP_FMAC1 resqml22__CellOverlap * SOAP_FMAC2 soap_instantiate_resqml22__CellOve for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__CellOverlap location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -139835,7 +139475,7 @@ SOAP_FMAC1 resqml22__CellFluidPhaseUnits * SOAP_FMAC2 soap_instantiate_resqml22_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__CellFluidPhaseUnits *p; size_t k = sizeof(resqml22__CellFluidPhaseUnits); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__CellFluidPhaseUnits, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__CellFluidPhaseUnits, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -139850,13 +139490,9 @@ SOAP_FMAC1 resqml22__CellFluidPhaseUnits * SOAP_FMAC2 soap_instantiate_resqml22_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__CellFluidPhaseUnits location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -140001,7 +139637,7 @@ SOAP_FMAC1 resqml22__AlternateCellIndex * SOAP_FMAC2 soap_instantiate_resqml22__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__AlternateCellIndex *p; size_t k = sizeof(resqml22__AlternateCellIndex); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AlternateCellIndex, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AlternateCellIndex, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -140016,13 +139652,9 @@ SOAP_FMAC1 resqml22__AlternateCellIndex * SOAP_FMAC2 soap_instantiate_resqml22__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AlternateCellIndex location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -140198,7 +139830,7 @@ SOAP_FMAC1 resqml22__AdditionalGridTopology * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__AdditionalGridTopology *p; size_t k = sizeof(resqml22__AdditionalGridTopology); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AdditionalGridTopology, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AdditionalGridTopology, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -140213,13 +139845,9 @@ SOAP_FMAC1 resqml22__AdditionalGridTopology * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AdditionalGridTopology location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -140362,7 +139990,7 @@ SOAP_FMAC1 resqml22__AdditionalGridPoints * SOAP_FMAC2 soap_instantiate_resqml22 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__AdditionalGridPoints *p; size_t k = sizeof(resqml22__AdditionalGridPoints); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AdditionalGridPoints, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AdditionalGridPoints, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -140377,13 +140005,9 @@ SOAP_FMAC1 resqml22__AdditionalGridPoints * SOAP_FMAC2 soap_instantiate_resqml22 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AdditionalGridPoints location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -140520,7 +140144,7 @@ SOAP_FMAC1 resqml22__Activation * SOAP_FMAC2 soap_instantiate_resqml22__Activati (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Activation *p; size_t k = sizeof(resqml22__Activation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Activation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Activation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -140535,13 +140159,9 @@ SOAP_FMAC1 resqml22__Activation * SOAP_FMAC2 soap_instantiate_resqml22__Activati for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Activation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -140813,7 +140433,7 @@ SOAP_FMAC1 resqml22__AbstractTruncatedColumnLayerGridRepresentation * SOAP_FMAC2 return soap_instantiate_resqml22__TruncatedUnstructuredColumnLayerGridRepresentation(soap, n, NULL, NULL, size); resqml22__AbstractTruncatedColumnLayerGridRepresentation *p; size_t k = sizeof(resqml22__AbstractTruncatedColumnLayerGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractTruncatedColumnLayerGridRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractTruncatedColumnLayerGridRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -140828,13 +140448,9 @@ SOAP_FMAC1 resqml22__AbstractTruncatedColumnLayerGridRepresentation * SOAP_FMAC2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractTruncatedColumnLayerGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -140950,7 +140566,7 @@ SOAP_FMAC1 resqml22__AbstractParentWindow * SOAP_FMAC2 soap_instantiate_resqml22 return soap_instantiate_resqml22__IjkParentWindow(soap, n, NULL, NULL, size); resqml22__AbstractParentWindow *p; size_t k = sizeof(resqml22__AbstractParentWindow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractParentWindow, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractParentWindow, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -140965,13 +140581,9 @@ SOAP_FMAC1 resqml22__AbstractParentWindow * SOAP_FMAC2 soap_instantiate_resqml22 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractParentWindow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -141237,7 +140849,7 @@ SOAP_FMAC1 resqml22__AbstractGridRepresentation * SOAP_FMAC2 soap_instantiate_re return soap_instantiate_resqml22__UnstructuredColumnLayerGridRepresentation(soap, n, NULL, NULL, size); resqml22__AbstractGridRepresentation *p; size_t k = sizeof(resqml22__AbstractGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractGridRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractGridRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -141252,13 +140864,9 @@ SOAP_FMAC1 resqml22__AbstractGridRepresentation * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -141427,7 +141035,7 @@ SOAP_FMAC1 resqml22__AbstractGridGeometry * SOAP_FMAC2 soap_instantiate_resqml22 return soap_instantiate_resqml22__UnstructuredColumnLayerGridGeometry(soap, n, NULL, NULL, size); resqml22__AbstractGridGeometry *p; size_t k = sizeof(resqml22__AbstractGridGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractGridGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractGridGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -141442,13 +141050,9 @@ SOAP_FMAC1 resqml22__AbstractGridGeometry * SOAP_FMAC2 soap_instantiate_resqml22 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractGridGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -141705,7 +141309,7 @@ SOAP_FMAC1 resqml22__AbstractColumnLayerGridRepresentation * SOAP_FMAC2 soap_ins return soap_instantiate_resqml22__UnstructuredColumnLayerGridRepresentation(soap, n, NULL, NULL, size); resqml22__AbstractColumnLayerGridRepresentation *p; size_t k = sizeof(resqml22__AbstractColumnLayerGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractColumnLayerGridRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractColumnLayerGridRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -141720,13 +141324,9 @@ SOAP_FMAC1 resqml22__AbstractColumnLayerGridRepresentation * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractColumnLayerGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -142001,7 +141601,7 @@ SOAP_FMAC1 resqml22__AbstractColumnLayerGridGeometry * SOAP_FMAC2 soap_instantia return soap_instantiate_resqml22__UnstructuredColumnLayerGridGeometry(soap, n, NULL, NULL, size); resqml22__AbstractColumnLayerGridGeometry *p; size_t k = sizeof(resqml22__AbstractColumnLayerGridGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractColumnLayerGridGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractColumnLayerGridGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -142016,13 +141616,9 @@ SOAP_FMAC1 resqml22__AbstractColumnLayerGridGeometry * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractColumnLayerGridGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -142159,7 +141755,7 @@ SOAP_FMAC1 resqml22__SubRepresentationPatch * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SubRepresentationPatch *p; size_t k = sizeof(resqml22__SubRepresentationPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SubRepresentationPatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SubRepresentationPatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -142174,13 +141770,9 @@ SOAP_FMAC1 resqml22__SubRepresentationPatch * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SubRepresentationPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -142425,7 +142017,7 @@ SOAP_FMAC1 resqml22__SubRepresentation * SOAP_FMAC2 soap_instantiate_resqml22__S (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SubRepresentation *p; size_t k = sizeof(resqml22__SubRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SubRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SubRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -142440,13 +142032,9 @@ SOAP_FMAC1 resqml22__SubRepresentation * SOAP_FMAC2 soap_instantiate_resqml22__S for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SubRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -142688,7 +142276,7 @@ SOAP_FMAC1 resqml22__RepresentationSetRepresentation * SOAP_FMAC2 soap_instantia return soap_instantiate_resqml22__SealedSurfaceFrameworkRepresentation(soap, n, NULL, NULL, size); resqml22__RepresentationSetRepresentation *p; size_t k = sizeof(resqml22__RepresentationSetRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__RepresentationSetRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__RepresentationSetRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -142703,13 +142291,9 @@ SOAP_FMAC1 resqml22__RepresentationSetRepresentation * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__RepresentationSetRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -142914,7 +142498,7 @@ SOAP_FMAC1 resqml22__RepresentationIdentitySet * SOAP_FMAC2 soap_instantiate_res (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__RepresentationIdentitySet *p; size_t k = sizeof(resqml22__RepresentationIdentitySet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__RepresentationIdentitySet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__RepresentationIdentitySet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -142929,13 +142513,9 @@ SOAP_FMAC1 resqml22__RepresentationIdentitySet * SOAP_FMAC2 soap_instantiate_res for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__RepresentationIdentitySet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -143072,7 +142652,7 @@ SOAP_FMAC1 resqml22__RepresentationIdentity * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__RepresentationIdentity *p; size_t k = sizeof(resqml22__RepresentationIdentity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__RepresentationIdentity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__RepresentationIdentity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -143087,13 +142667,9 @@ SOAP_FMAC1 resqml22__RepresentationIdentity * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__RepresentationIdentity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -143278,7 +142854,7 @@ SOAP_FMAC1 resqml22__PolylineSetPatch * SOAP_FMAC2 soap_instantiate_resqml22__Po (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__PolylineSetPatch *p; size_t k = sizeof(resqml22__PolylineSetPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PolylineSetPatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PolylineSetPatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -143293,13 +142869,9 @@ SOAP_FMAC1 resqml22__PolylineSetPatch * SOAP_FMAC2 soap_instantiate_resqml22__Po for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__PolylineSetPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -143409,7 +142981,7 @@ SOAP_FMAC1 resqml22__ElementIndices * SOAP_FMAC2 soap_instantiate_resqml22__Elem (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ElementIndices *p; size_t k = sizeof(resqml22__ElementIndices); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ElementIndices, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ElementIndices, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -143424,13 +142996,9 @@ SOAP_FMAC1 resqml22__ElementIndices * SOAP_FMAC2 soap_instantiate_resqml22__Elem for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ElementIndices location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -143606,7 +143174,7 @@ SOAP_FMAC1 resqml22__ElementIdentity * SOAP_FMAC2 soap_instantiate_resqml22__Ele (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ElementIdentity *p; size_t k = sizeof(resqml22__ElementIdentity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ElementIdentity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ElementIdentity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -143621,13 +143189,9 @@ SOAP_FMAC1 resqml22__ElementIdentity * SOAP_FMAC2 soap_instantiate_resqml22__Ele for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ElementIdentity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -143910,7 +143474,7 @@ SOAP_FMAC1 resqml22__AbstractRepresentation * SOAP_FMAC2 soap_instantiate_resqml return soap_instantiate_resqml22__UnstructuredColumnLayerGridRepresentation(soap, n, NULL, NULL, size); resqml22__AbstractRepresentation *p; size_t k = sizeof(resqml22__AbstractRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -143925,13 +143489,9 @@ SOAP_FMAC1 resqml22__AbstractRepresentation * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -144195,7 +143755,7 @@ SOAP_FMAC1 resqml22__VoidageGroupInterpretation * SOAP_FMAC2 soap_instantiate_re (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__VoidageGroupInterpretation *p; size_t k = sizeof(resqml22__VoidageGroupInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__VoidageGroupInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__VoidageGroupInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -144210,13 +143770,9 @@ SOAP_FMAC1 resqml22__VoidageGroupInterpretation * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__VoidageGroupInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -144492,7 +144048,7 @@ SOAP_FMAC1 resqml22__StructuralOrganizationInterpretation * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__StructuralOrganizationInterpretation *p; size_t k = sizeof(resqml22__StructuralOrganizationInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StructuralOrganizationInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StructuralOrganizationInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -144507,13 +144063,9 @@ SOAP_FMAC1 resqml22__StructuralOrganizationInterpretation * SOAP_FMAC2 soap_inst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__StructuralOrganizationInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -144830,7 +144382,7 @@ SOAP_FMAC1 resqml22__StratigraphicUnitInterpretation * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__StratigraphicUnitInterpretation *p; size_t k = sizeof(resqml22__StratigraphicUnitInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StratigraphicUnitInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StratigraphicUnitInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -144845,13 +144397,9 @@ SOAP_FMAC1 resqml22__StratigraphicUnitInterpretation * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__StratigraphicUnitInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -145113,7 +144661,7 @@ SOAP_FMAC1 resqml22__StratigraphicColumnRankInterpretation * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__StratigraphicColumnRankInterpretation *p; size_t k = sizeof(resqml22__StratigraphicColumnRankInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StratigraphicColumnRankInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StratigraphicColumnRankInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -145128,13 +144676,9 @@ SOAP_FMAC1 resqml22__StratigraphicColumnRankInterpretation * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__StratigraphicColumnRankInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -145339,7 +144883,7 @@ SOAP_FMAC1 resqml22__StratigraphicColumn * SOAP_FMAC2 soap_instantiate_resqml22_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__StratigraphicColumn *p; size_t k = sizeof(resqml22__StratigraphicColumn); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StratigraphicColumn, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__StratigraphicColumn, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -145354,13 +144898,9 @@ SOAP_FMAC1 resqml22__StratigraphicColumn * SOAP_FMAC2 soap_instantiate_resqml22_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__StratigraphicColumn location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -145644,7 +145184,7 @@ SOAP_FMAC1 resqml22__RockFluidUnitInterpretation * SOAP_FMAC2 soap_instantiate_r (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__RockFluidUnitInterpretation *p; size_t k = sizeof(resqml22__RockFluidUnitInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__RockFluidUnitInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__RockFluidUnitInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -145659,13 +145199,9 @@ SOAP_FMAC1 resqml22__RockFluidUnitInterpretation * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__RockFluidUnitInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -145907,7 +145443,7 @@ SOAP_FMAC1 resqml22__RockFluidOrganizationInterpretation * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__RockFluidOrganizationInterpretation *p; size_t k = sizeof(resqml22__RockFluidOrganizationInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__RockFluidOrganizationInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__RockFluidOrganizationInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -145922,13 +145458,9 @@ SOAP_FMAC1 resqml22__RockFluidOrganizationInterpretation * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__RockFluidOrganizationInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -146069,7 +145601,7 @@ SOAP_FMAC1 resqml22__ReservoirCompartmentUnitInterpretation * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ReservoirCompartmentUnitInterpretation *p; size_t k = sizeof(resqml22__ReservoirCompartmentUnitInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ReservoirCompartmentUnitInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ReservoirCompartmentUnitInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -146084,13 +145616,9 @@ SOAP_FMAC1 resqml22__ReservoirCompartmentUnitInterpretation * SOAP_FMAC2 soap_in for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ReservoirCompartmentUnitInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -146363,7 +145891,7 @@ SOAP_FMAC1 resqml22__ReservoirCompartmentInterpretation * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ReservoirCompartmentInterpretation *p; size_t k = sizeof(resqml22__ReservoirCompartmentInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ReservoirCompartmentInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ReservoirCompartmentInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -146378,13 +145906,9 @@ SOAP_FMAC1 resqml22__ReservoirCompartmentInterpretation * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ReservoirCompartmentInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -146510,7 +146034,7 @@ SOAP_FMAC1 resqml22__MultipleContactInterpretationPart * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__MultipleContactInterpretationPart *p; size_t k = sizeof(resqml22__MultipleContactInterpretationPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__MultipleContactInterpretationPart, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__MultipleContactInterpretationPart, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -146525,13 +146049,9 @@ SOAP_FMAC1 resqml22__MultipleContactInterpretationPart * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__MultipleContactInterpretationPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -146827,7 +146347,7 @@ SOAP_FMAC1 resqml22__HorizonInterpretation * SOAP_FMAC2 soap_instantiate_resqml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__HorizonInterpretation *p; size_t k = sizeof(resqml22__HorizonInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__HorizonInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__HorizonInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -146842,13 +146362,9 @@ SOAP_FMAC1 resqml22__HorizonInterpretation * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__HorizonInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -147110,7 +146626,7 @@ SOAP_FMAC1 resqml22__GeologicUnitOccurrenceInterpretation * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__GeologicUnitOccurrenceInterpretation *p; size_t k = sizeof(resqml22__GeologicUnitOccurrenceInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GeologicUnitOccurrenceInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GeologicUnitOccurrenceInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -147125,13 +146641,9 @@ SOAP_FMAC1 resqml22__GeologicUnitOccurrenceInterpretation * SOAP_FMAC2 soap_inst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__GeologicUnitOccurrenceInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -147422,7 +146934,7 @@ SOAP_FMAC1 resqml22__GeologicUnitInterpretation * SOAP_FMAC2 soap_instantiate_re return soap_instantiate_resqml22__StratigraphicUnitInterpretation(soap, n, NULL, NULL, size); resqml22__GeologicUnitInterpretation *p; size_t k = sizeof(resqml22__GeologicUnitInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GeologicUnitInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GeologicUnitInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -147437,13 +146949,9 @@ SOAP_FMAC1 resqml22__GeologicUnitInterpretation * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__GeologicUnitInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -147582,7 +147090,7 @@ SOAP_FMAC1 resqml22__GeologicTimeBasedTimeInterval * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__GeologicTimeBasedTimeInterval *p; size_t k = sizeof(resqml22__GeologicTimeBasedTimeInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GeologicTimeBasedTimeInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GeologicTimeBasedTimeInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -147597,13 +147105,9 @@ SOAP_FMAC1 resqml22__GeologicTimeBasedTimeInterval * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__GeologicTimeBasedTimeInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -147876,7 +147380,7 @@ SOAP_FMAC1 resqml22__GeobodyInterpretation * SOAP_FMAC2 soap_instantiate_resqml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__GeobodyInterpretation *p; size_t k = sizeof(resqml22__GeobodyInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GeobodyInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GeobodyInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -147891,13 +147395,9 @@ SOAP_FMAC1 resqml22__GeobodyInterpretation * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__GeobodyInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -148182,7 +147682,7 @@ SOAP_FMAC1 resqml22__GeobodyBoundaryInterpretation * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__GeobodyBoundaryInterpretation *p; size_t k = sizeof(resqml22__GeobodyBoundaryInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GeobodyBoundaryInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GeobodyBoundaryInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -148197,13 +147697,9 @@ SOAP_FMAC1 resqml22__GeobodyBoundaryInterpretation * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__GeobodyBoundaryInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -148342,7 +147838,7 @@ SOAP_FMAC1 resqml22__GeneticBoundaryBasedTimeInterval * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__GeneticBoundaryBasedTimeInterval *p; size_t k = sizeof(resqml22__GeneticBoundaryBasedTimeInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GeneticBoundaryBasedTimeInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GeneticBoundaryBasedTimeInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -148357,13 +147853,9 @@ SOAP_FMAC1 resqml22__GeneticBoundaryBasedTimeInterval * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__GeneticBoundaryBasedTimeInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -148591,7 +148083,7 @@ SOAP_FMAC1 resqml22__GenericFeatureInterpretation * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__GenericFeatureInterpretation *p; size_t k = sizeof(resqml22__GenericFeatureInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GenericFeatureInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__GenericFeatureInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -148606,13 +148098,9 @@ SOAP_FMAC1 resqml22__GenericFeatureInterpretation * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__GenericFeatureInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -148878,7 +148366,7 @@ SOAP_FMAC1 resqml22__FluidBoundaryInterpretation * SOAP_FMAC2 soap_instantiate_r (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__FluidBoundaryInterpretation *p; size_t k = sizeof(resqml22__FluidBoundaryInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__FluidBoundaryInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__FluidBoundaryInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -148893,13 +148381,9 @@ SOAP_FMAC1 resqml22__FluidBoundaryInterpretation * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__FluidBoundaryInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -149025,7 +148509,7 @@ SOAP_FMAC1 resqml22__FaultThrow * SOAP_FMAC2 soap_instantiate_resqml22__FaultThr (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__FaultThrow *p; size_t k = sizeof(resqml22__FaultThrow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__FaultThrow, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__FaultThrow, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -149040,13 +148524,9 @@ SOAP_FMAC1 resqml22__FaultThrow * SOAP_FMAC2 soap_instantiate_resqml22__FaultThr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__FaultThrow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -149375,7 +148855,7 @@ SOAP_FMAC1 resqml22__FaultInterpretation * SOAP_FMAC2 soap_instantiate_resqml22_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__FaultInterpretation *p; size_t k = sizeof(resqml22__FaultInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__FaultInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__FaultInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -149390,13 +148870,9 @@ SOAP_FMAC1 resqml22__FaultInterpretation * SOAP_FMAC2 soap_instantiate_resqml22_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__FaultInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -149667,7 +149143,7 @@ SOAP_FMAC1 resqml22__EarthModelInterpretation * SOAP_FMAC2 soap_instantiate_resq (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__EarthModelInterpretation *p; size_t k = sizeof(resqml22__EarthModelInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__EarthModelInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__EarthModelInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -149682,13 +149158,9 @@ SOAP_FMAC1 resqml22__EarthModelInterpretation * SOAP_FMAC2 soap_instantiate_resq for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__EarthModelInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -149876,7 +149348,7 @@ SOAP_FMAC1 resqml22__ContactElement * SOAP_FMAC2 soap_instantiate_resqml22__Cont (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ContactElement *p; size_t k = sizeof(resqml22__ContactElement); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContactElement, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContactElement, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -149891,13 +149363,9 @@ SOAP_FMAC1 resqml22__ContactElement * SOAP_FMAC2 soap_instantiate_resqml22__Cont for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ContactElement location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -150029,7 +149497,7 @@ SOAP_FMAC1 resqml22__BoundaryFeatureInterpretationPlusItsRank * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__BoundaryFeatureInterpretationPlusItsRank *p; size_t k = sizeof(resqml22__BoundaryFeatureInterpretationPlusItsRank); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__BoundaryFeatureInterpretationPlusItsRank, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__BoundaryFeatureInterpretationPlusItsRank, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -150044,13 +149512,9 @@ SOAP_FMAC1 resqml22__BoundaryFeatureInterpretationPlusItsRank * SOAP_FMAC2 soap_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__BoundaryFeatureInterpretationPlusItsRank location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -150319,7 +149783,7 @@ SOAP_FMAC1 resqml22__BoundaryFeatureInterpretation * SOAP_FMAC2 soap_instantiate return soap_instantiate_resqml22__HorizonInterpretation(soap, n, NULL, NULL, size); resqml22__BoundaryFeatureInterpretation *p; size_t k = sizeof(resqml22__BoundaryFeatureInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__BoundaryFeatureInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__BoundaryFeatureInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -150334,13 +149798,9 @@ SOAP_FMAC1 resqml22__BoundaryFeatureInterpretation * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__BoundaryFeatureInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -150498,7 +149958,7 @@ SOAP_FMAC1 resqml22__BinaryContactInterpretationPart * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__BinaryContactInterpretationPart *p; size_t k = sizeof(resqml22__BinaryContactInterpretationPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__BinaryContactInterpretationPart, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__BinaryContactInterpretationPart, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -150513,13 +149973,9 @@ SOAP_FMAC1 resqml22__BinaryContactInterpretationPart * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__BinaryContactInterpretationPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -150622,7 +150078,7 @@ SOAP_FMAC1 resqml22__AbstractTimeInterval * SOAP_FMAC2 soap_instantiate_resqml22 return soap_instantiate_resqml22__GeologicTimeBasedTimeInterval(soap, n, NULL, NULL, size); resqml22__AbstractTimeInterval *p; size_t k = sizeof(resqml22__AbstractTimeInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractTimeInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractTimeInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -150637,13 +150093,9 @@ SOAP_FMAC1 resqml22__AbstractTimeInterval * SOAP_FMAC2 soap_instantiate_resqml22 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractTimeInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -150891,7 +150343,7 @@ SOAP_FMAC1 resqml22__AbstractOrganizationInterpretation * SOAP_FMAC2 soap_instan return soap_instantiate_resqml22__StratigraphicColumnRankInterpretation(soap, n, NULL, NULL, size); resqml22__AbstractOrganizationInterpretation *p; size_t k = sizeof(resqml22__AbstractOrganizationInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractOrganizationInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractOrganizationInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -150906,13 +150358,9 @@ SOAP_FMAC1 resqml22__AbstractOrganizationInterpretation * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractOrganizationInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -151160,7 +150608,7 @@ SOAP_FMAC1 resqml22__AbstractGeologicUnitOrganizationInterpretation * SOAP_FMAC2 return soap_instantiate_resqml22__StratigraphicColumnRankInterpretation(soap, n, NULL, NULL, size); resqml22__AbstractGeologicUnitOrganizationInterpretation *p; size_t k = sizeof(resqml22__AbstractGeologicUnitOrganizationInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractGeologicUnitOrganizationInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractGeologicUnitOrganizationInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -151175,13 +150623,9 @@ SOAP_FMAC1 resqml22__AbstractGeologicUnitOrganizationInterpretation * SOAP_FMAC2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractGeologicUnitOrganizationInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -151455,7 +150899,7 @@ SOAP_FMAC1 resqml22__AbstractFeatureInterpretation * SOAP_FMAC2 soap_instantiate return soap_instantiate_resqml22__StratigraphicColumnRankInterpretation(soap, n, NULL, NULL, size); resqml22__AbstractFeatureInterpretation *p; size_t k = sizeof(resqml22__AbstractFeatureInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractFeatureInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractFeatureInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -151470,13 +150914,9 @@ SOAP_FMAC1 resqml22__AbstractFeatureInterpretation * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractFeatureInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -151590,7 +151030,7 @@ SOAP_FMAC1 resqml22__AbstractContactInterpretationPart * SOAP_FMAC2 soap_instant return soap_instantiate_resqml22__MultipleContactInterpretationPart(soap, n, NULL, NULL, size); resqml22__AbstractContactInterpretationPart *p; size_t k = sizeof(resqml22__AbstractContactInterpretationPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractContactInterpretationPart, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractContactInterpretationPart, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -151605,13 +151045,9 @@ SOAP_FMAC1 resqml22__AbstractContactInterpretationPart * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractContactInterpretationPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -151763,7 +151199,7 @@ SOAP_FMAC1 resqml22__VolumeShell * SOAP_FMAC2 soap_instantiate_resqml22__VolumeS (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__VolumeShell *p; size_t k = sizeof(resqml22__VolumeShell); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__VolumeShell, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__VolumeShell, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -151778,13 +151214,9 @@ SOAP_FMAC1 resqml22__VolumeShell * SOAP_FMAC2 soap_instantiate_resqml22__VolumeS for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__VolumeShell location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -151929,7 +151361,7 @@ SOAP_FMAC1 resqml22__VolumeRegion * SOAP_FMAC2 soap_instantiate_resqml22__Volume (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__VolumeRegion *p; size_t k = sizeof(resqml22__VolumeRegion); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__VolumeRegion, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__VolumeRegion, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -151944,13 +151376,9 @@ SOAP_FMAC1 resqml22__VolumeRegion * SOAP_FMAC2 soap_instantiate_resqml22__Volume for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__VolumeRegion location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -152188,7 +151616,7 @@ SOAP_FMAC1 resqml22__TriangulatedSetRepresentation * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__TriangulatedSetRepresentation *p; size_t k = sizeof(resqml22__TriangulatedSetRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__TriangulatedSetRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__TriangulatedSetRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -152203,13 +151631,9 @@ SOAP_FMAC1 resqml22__TriangulatedSetRepresentation * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__TriangulatedSetRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -152365,7 +151789,7 @@ SOAP_FMAC1 resqml22__TrianglePatch * SOAP_FMAC2 soap_instantiate_resqml22__Trian (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__TrianglePatch *p; size_t k = sizeof(resqml22__TrianglePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__TrianglePatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__TrianglePatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -152380,13 +151804,9 @@ SOAP_FMAC1 resqml22__TrianglePatch * SOAP_FMAC2 soap_instantiate_resqml22__Trian for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__TrianglePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -152639,7 +152059,7 @@ SOAP_FMAC1 resqml22__SealedVolumeFrameworkRepresentation * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SealedVolumeFrameworkRepresentation *p; size_t k = sizeof(resqml22__SealedVolumeFrameworkRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SealedVolumeFrameworkRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SealedVolumeFrameworkRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -152654,13 +152074,9 @@ SOAP_FMAC1 resqml22__SealedVolumeFrameworkRepresentation * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SealedVolumeFrameworkRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -152904,7 +152320,7 @@ SOAP_FMAC1 resqml22__SealedSurfaceFrameworkRepresentation * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SealedSurfaceFrameworkRepresentation *p; size_t k = sizeof(resqml22__SealedSurfaceFrameworkRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SealedSurfaceFrameworkRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SealedSurfaceFrameworkRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -152919,13 +152335,9 @@ SOAP_FMAC1 resqml22__SealedSurfaceFrameworkRepresentation * SOAP_FMAC2 soap_inst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SealedSurfaceFrameworkRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -153072,7 +152484,7 @@ SOAP_FMAC1 resqml22__SealedContact * SOAP_FMAC2 soap_instantiate_resqml22__Seale (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SealedContact *p; size_t k = sizeof(resqml22__SealedContact); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SealedContact, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SealedContact, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -153087,13 +152499,9 @@ SOAP_FMAC1 resqml22__SealedContact * SOAP_FMAC2 soap_instantiate_resqml22__Seale for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SealedContact location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -153327,7 +152735,7 @@ SOAP_FMAC1 resqml22__PolylineSetRepresentation * SOAP_FMAC2 soap_instantiate_res (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__PolylineSetRepresentation *p; size_t k = sizeof(resqml22__PolylineSetRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PolylineSetRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PolylineSetRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -153342,13 +152750,9 @@ SOAP_FMAC1 resqml22__PolylineSetRepresentation * SOAP_FMAC2 soap_instantiate_res for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__PolylineSetRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -153600,7 +153004,7 @@ SOAP_FMAC1 resqml22__PolylineRepresentation * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__PolylineRepresentation *p; size_t k = sizeof(resqml22__PolylineRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PolylineRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PolylineRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -153615,13 +153019,9 @@ SOAP_FMAC1 resqml22__PolylineRepresentation * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__PolylineRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -153844,7 +153244,7 @@ SOAP_FMAC1 resqml22__PointSetRepresentation * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__PointSetRepresentation *p; size_t k = sizeof(resqml22__PointSetRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PointSetRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PointSetRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -153859,13 +153259,9 @@ SOAP_FMAC1 resqml22__PointSetRepresentation * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__PointSetRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -154103,7 +153499,7 @@ SOAP_FMAC1 resqml22__PlaneSetRepresentation * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__PlaneSetRepresentation *p; size_t k = sizeof(resqml22__PlaneSetRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PlaneSetRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PlaneSetRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -154118,13 +153514,9 @@ SOAP_FMAC1 resqml22__PlaneSetRepresentation * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__PlaneSetRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -154261,7 +153653,7 @@ SOAP_FMAC1 resqml22__PatchBoundaries * SOAP_FMAC2 soap_instantiate_resqml22__Pat (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__PatchBoundaries *p; size_t k = sizeof(resqml22__PatchBoundaries); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PatchBoundaries, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PatchBoundaries, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -154276,13 +153668,9 @@ SOAP_FMAC1 resqml22__PatchBoundaries * SOAP_FMAC2 soap_instantiate_resqml22__Pat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__PatchBoundaries location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -154526,7 +153914,7 @@ SOAP_FMAC1 resqml22__NonSealedSurfaceFrameworkRepresentation * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__NonSealedSurfaceFrameworkRepresentation *p; size_t k = sizeof(resqml22__NonSealedSurfaceFrameworkRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__NonSealedSurfaceFrameworkRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__NonSealedSurfaceFrameworkRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -154541,13 +153929,9 @@ SOAP_FMAC1 resqml22__NonSealedSurfaceFrameworkRepresentation * SOAP_FMAC2 soap_i for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__NonSealedSurfaceFrameworkRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -154684,7 +154068,7 @@ SOAP_FMAC1 resqml22__NonSealedContact * SOAP_FMAC2 soap_instantiate_resqml22__No (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__NonSealedContact *p; size_t k = sizeof(resqml22__NonSealedContact); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__NonSealedContact, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__NonSealedContact, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -154699,13 +154083,9 @@ SOAP_FMAC1 resqml22__NonSealedContact * SOAP_FMAC2 soap_instantiate_resqml22__No for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__NonSealedContact location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -154827,7 +154207,7 @@ SOAP_FMAC1 resqml22__EdgePatch * SOAP_FMAC2 soap_instantiate_resqml22__EdgePatch (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__EdgePatch *p; size_t k = sizeof(resqml22__EdgePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__EdgePatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__EdgePatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -154842,13 +154222,9 @@ SOAP_FMAC1 resqml22__EdgePatch * SOAP_FMAC2 soap_instantiate_resqml22__EdgePatch for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__EdgePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -154981,7 +154357,7 @@ SOAP_FMAC1 resqml22__ContactReference * SOAP_FMAC2 soap_instantiate_resqml22__Co (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ContactReference *p; size_t k = sizeof(resqml22__ContactReference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContactReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContactReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -154996,13 +154372,9 @@ SOAP_FMAC1 resqml22__ContactReference * SOAP_FMAC2 soap_instantiate_resqml22__Co for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ContactReference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -155135,7 +154507,7 @@ SOAP_FMAC1 resqml22__ContactPatch * SOAP_FMAC2 soap_instantiate_resqml22__Contac (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ContactPatch *p; size_t k = sizeof(resqml22__ContactPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContactPatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContactPatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -155150,13 +154522,9 @@ SOAP_FMAC1 resqml22__ContactPatch * SOAP_FMAC2 soap_instantiate_resqml22__Contac for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ContactPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -155299,7 +154667,7 @@ SOAP_FMAC1 resqml22__ContactIdentity * SOAP_FMAC2 soap_instantiate_resqml22__Con (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ContactIdentity *p; size_t k = sizeof(resqml22__ContactIdentity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContactIdentity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ContactIdentity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -155314,13 +154682,9 @@ SOAP_FMAC1 resqml22__ContactIdentity * SOAP_FMAC2 soap_instantiate_resqml22__Con for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ContactIdentity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -155559,7 +154923,7 @@ SOAP_FMAC1 resqml22__AbstractSurfaceRepresentation * SOAP_FMAC2 soap_instantiate return soap_instantiate_resqml22__Grid2dRepresentation(soap, n, NULL, NULL, size); resqml22__AbstractSurfaceRepresentation *p; size_t k = sizeof(resqml22__AbstractSurfaceRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractSurfaceRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractSurfaceRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -155574,13 +154938,9 @@ SOAP_FMAC1 resqml22__AbstractSurfaceRepresentation * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractSurfaceRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -155822,7 +155182,7 @@ SOAP_FMAC1 resqml22__AbstractSurfaceFrameworkRepresentation * SOAP_FMAC2 soap_in return soap_instantiate_resqml22__SealedSurfaceFrameworkRepresentation(soap, n, NULL, NULL, size); resqml22__AbstractSurfaceFrameworkRepresentation *p; size_t k = sizeof(resqml22__AbstractSurfaceFrameworkRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractSurfaceFrameworkRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractSurfaceFrameworkRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -155837,13 +155197,9 @@ SOAP_FMAC1 resqml22__AbstractSurfaceFrameworkRepresentation * SOAP_FMAC2 soap_in for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractSurfaceFrameworkRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -155967,7 +155323,7 @@ SOAP_FMAC1 resqml22__AbstractSurfaceFrameworkContact * SOAP_FMAC2 soap_instantia return soap_instantiate_resqml22__SealedContact(soap, n, NULL, NULL, size); resqml22__AbstractSurfaceFrameworkContact *p; size_t k = sizeof(resqml22__AbstractSurfaceFrameworkContact); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractSurfaceFrameworkContact, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractSurfaceFrameworkContact, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -155982,13 +155338,9 @@ SOAP_FMAC1 resqml22__AbstractSurfaceFrameworkContact * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractSurfaceFrameworkContact location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -156212,7 +155564,7 @@ SOAP_FMAC1 resqml22__ShotPointLineFeature * SOAP_FMAC2 soap_instantiate_resqml22 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ShotPointLineFeature *p; size_t k = sizeof(resqml22__ShotPointLineFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ShotPointLineFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ShotPointLineFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -156227,13 +155579,9 @@ SOAP_FMAC1 resqml22__ShotPointLineFeature * SOAP_FMAC2 soap_instantiate_resqml22 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ShotPointLineFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -156439,7 +155787,7 @@ SOAP_FMAC1 resqml22__SeismicLineSetFeature * SOAP_FMAC2 soap_instantiate_resqml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SeismicLineSetFeature *p; size_t k = sizeof(resqml22__SeismicLineSetFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SeismicLineSetFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SeismicLineSetFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -156454,13 +155802,9 @@ SOAP_FMAC1 resqml22__SeismicLineSetFeature * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SeismicLineSetFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -156666,7 +156010,7 @@ SOAP_FMAC1 resqml22__SeismicLatticeSetFeature * SOAP_FMAC2 soap_instantiate_resq (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SeismicLatticeSetFeature *p; size_t k = sizeof(resqml22__SeismicLatticeSetFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SeismicLatticeSetFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SeismicLatticeSetFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -156681,13 +156025,9 @@ SOAP_FMAC1 resqml22__SeismicLatticeSetFeature * SOAP_FMAC2 soap_instantiate_resq for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SeismicLatticeSetFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -156926,7 +156266,7 @@ SOAP_FMAC1 resqml22__SeismicLatticeFeature * SOAP_FMAC2 soap_instantiate_resqml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SeismicLatticeFeature *p; size_t k = sizeof(resqml22__SeismicLatticeFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SeismicLatticeFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SeismicLatticeFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -156941,13 +156281,9 @@ SOAP_FMAC1 resqml22__SeismicLatticeFeature * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SeismicLatticeFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -157249,7 +156585,7 @@ SOAP_FMAC1 resqml22__Seismic3dPostStackRepresentation * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Seismic3dPostStackRepresentation *p; size_t k = sizeof(resqml22__Seismic3dPostStackRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Seismic3dPostStackRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Seismic3dPostStackRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -157264,13 +156600,9 @@ SOAP_FMAC1 resqml22__Seismic3dPostStackRepresentation * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Seismic3dPostStackRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -157433,7 +156765,7 @@ SOAP_FMAC1 resqml22__Seismic3dCoordinates * SOAP_FMAC2 soap_instantiate_resqml22 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Seismic3dCoordinates *p; size_t k = sizeof(resqml22__Seismic3dCoordinates); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Seismic3dCoordinates, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Seismic3dCoordinates, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -157448,13 +156780,9 @@ SOAP_FMAC1 resqml22__Seismic3dCoordinates * SOAP_FMAC2 soap_instantiate_resqml22 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Seismic3dCoordinates location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -157729,7 +157057,7 @@ SOAP_FMAC1 resqml22__Seismic2dPostStackRepresentation * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Seismic2dPostStackRepresentation *p; size_t k = sizeof(resqml22__Seismic2dPostStackRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Seismic2dPostStackRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Seismic2dPostStackRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -157744,13 +157072,9 @@ SOAP_FMAC1 resqml22__Seismic2dPostStackRepresentation * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Seismic2dPostStackRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -157898,7 +157222,7 @@ SOAP_FMAC1 resqml22__Seismic2dCoordinates * SOAP_FMAC2 soap_instantiate_resqml22 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Seismic2dCoordinates *p; size_t k = sizeof(resqml22__Seismic2dCoordinates); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Seismic2dCoordinates, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Seismic2dCoordinates, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -157913,13 +157237,9 @@ SOAP_FMAC1 resqml22__Seismic2dCoordinates * SOAP_FMAC2 soap_instantiate_resqml22 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Seismic2dCoordinates location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -158169,7 +157489,7 @@ SOAP_FMAC1 resqml22__CmpLineFeature * SOAP_FMAC2 soap_instantiate_resqml22__CmpL (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__CmpLineFeature *p; size_t k = sizeof(resqml22__CmpLineFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__CmpLineFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__CmpLineFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -158184,13 +157504,9 @@ SOAP_FMAC1 resqml22__CmpLineFeature * SOAP_FMAC2 soap_instantiate_resqml22__CmpL for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__CmpLineFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -158408,7 +157724,7 @@ SOAP_FMAC1 resqml22__AbstractSeismicSurveyFeature * SOAP_FMAC2 soap_instantiate_ return soap_instantiate_resqml22__ShotPointLineFeature(soap, n, NULL, NULL, size); resqml22__AbstractSeismicSurveyFeature *p; size_t k = sizeof(resqml22__AbstractSeismicSurveyFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractSeismicSurveyFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractSeismicSurveyFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -158423,13 +157739,9 @@ SOAP_FMAC1 resqml22__AbstractSeismicSurveyFeature * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractSeismicSurveyFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -158661,7 +157973,7 @@ SOAP_FMAC1 resqml22__AbstractSeismicLineFeature * SOAP_FMAC2 soap_instantiate_re return soap_instantiate_resqml22__ShotPointLineFeature(soap, n, NULL, NULL, size); resqml22__AbstractSeismicLineFeature *p; size_t k = sizeof(resqml22__AbstractSeismicLineFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractSeismicLineFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractSeismicLineFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -158676,13 +157988,9 @@ SOAP_FMAC1 resqml22__AbstractSeismicLineFeature * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractSeismicLineFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -158808,7 +158116,7 @@ SOAP_FMAC1 resqml22__AbstractSeismicCoordinates * SOAP_FMAC2 soap_instantiate_re return soap_instantiate_resqml22__Seismic3dCoordinates(soap, n, NULL, NULL, size); resqml22__AbstractSeismicCoordinates *p; size_t k = sizeof(resqml22__AbstractSeismicCoordinates); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractSeismicCoordinates, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractSeismicCoordinates, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -158823,13 +158131,9 @@ SOAP_FMAC1 resqml22__AbstractSeismicCoordinates * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractSeismicCoordinates location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -158968,7 +158272,7 @@ SOAP_FMAC1 resqml22__TiltedPlaneGeometry * SOAP_FMAC2 soap_instantiate_resqml22_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__TiltedPlaneGeometry *p; size_t k = sizeof(resqml22__TiltedPlaneGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__TiltedPlaneGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__TiltedPlaneGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -158983,13 +158287,9 @@ SOAP_FMAC1 resqml22__TiltedPlaneGeometry * SOAP_FMAC2 soap_instantiate_resqml22_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__TiltedPlaneGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -159104,7 +158404,7 @@ SOAP_FMAC1 resqml22__ThreePoint3d * SOAP_FMAC2 soap_instantiate_resqml22__ThreeP (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ThreePoint3d *p; size_t k = sizeof(resqml22__ThreePoint3d); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ThreePoint3d, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ThreePoint3d, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -159119,13 +158419,9 @@ SOAP_FMAC1 resqml22__ThreePoint3d * SOAP_FMAC2 soap_instantiate_resqml22__ThreeP for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ThreePoint3d location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -159271,7 +158567,7 @@ SOAP_FMAC1 resqml22__SinglePointGeometry * SOAP_FMAC2 soap_instantiate_resqml22_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__SinglePointGeometry *p; size_t k = sizeof(resqml22__SinglePointGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SinglePointGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__SinglePointGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -159286,13 +158582,9 @@ SOAP_FMAC1 resqml22__SinglePointGeometry * SOAP_FMAC2 soap_instantiate_resqml22_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__SinglePointGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -159459,7 +158751,7 @@ SOAP_FMAC1 resqml22__PointGeometry * SOAP_FMAC2 soap_instantiate_resqml22__Point return soap_instantiate_resqml22__UnstructuredColumnLayerGridGeometry(soap, n, NULL, NULL, size); resqml22__PointGeometry *p; size_t k = sizeof(resqml22__PointGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PointGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__PointGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -159474,13 +158766,9 @@ SOAP_FMAC1 resqml22__PointGeometry * SOAP_FMAC2 soap_instantiate_resqml22__Point for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__PointGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -159619,7 +158907,7 @@ SOAP_FMAC1 resqml22__Point3dZValueArray * SOAP_FMAC2 soap_instantiate_resqml22__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Point3dZValueArray *p; size_t k = sizeof(resqml22__Point3dZValueArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point3dZValueArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point3dZValueArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -159634,13 +158922,9 @@ SOAP_FMAC1 resqml22__Point3dZValueArray * SOAP_FMAC2 soap_instantiate_resqml22__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Point3dZValueArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -159801,7 +159085,7 @@ SOAP_FMAC1 resqml22__Point3dParametricArray * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Point3dParametricArray *p; size_t k = sizeof(resqml22__Point3dParametricArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point3dParametricArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point3dParametricArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -159816,13 +159100,9 @@ SOAP_FMAC1 resqml22__Point3dParametricArray * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Point3dParametricArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -159959,7 +159239,7 @@ SOAP_FMAC1 resqml22__Point3dLatticeDimension * SOAP_FMAC2 soap_instantiate_resqm (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Point3dLatticeDimension *p; size_t k = sizeof(resqml22__Point3dLatticeDimension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point3dLatticeDimension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point3dLatticeDimension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -159974,13 +159254,9 @@ SOAP_FMAC1 resqml22__Point3dLatticeDimension * SOAP_FMAC2 soap_instantiate_resqm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Point3dLatticeDimension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -160123,7 +159399,7 @@ SOAP_FMAC1 resqml22__Point3dLatticeArray * SOAP_FMAC2 soap_instantiate_resqml22_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Point3dLatticeArray *p; size_t k = sizeof(resqml22__Point3dLatticeArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point3dLatticeArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point3dLatticeArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -160138,13 +159414,9 @@ SOAP_FMAC1 resqml22__Point3dLatticeArray * SOAP_FMAC2 soap_instantiate_resqml22_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Point3dLatticeArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -160283,7 +159555,7 @@ SOAP_FMAC1 resqml22__Point3dFromRepresentationLatticeArray * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Point3dFromRepresentationLatticeArray *p; size_t k = sizeof(resqml22__Point3dFromRepresentationLatticeArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point3dFromRepresentationLatticeArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point3dFromRepresentationLatticeArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -160298,13 +159570,9 @@ SOAP_FMAC1 resqml22__Point3dFromRepresentationLatticeArray * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Point3dFromRepresentationLatticeArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -160428,7 +159696,7 @@ SOAP_FMAC1 resqml22__Point3dExternalArray * SOAP_FMAC2 soap_instantiate_resqml22 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Point3dExternalArray *p; size_t k = sizeof(resqml22__Point3dExternalArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point3dExternalArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point3dExternalArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -160443,13 +159711,9 @@ SOAP_FMAC1 resqml22__Point3dExternalArray * SOAP_FMAC2 soap_instantiate_resqml22 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Point3dExternalArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -160589,7 +159853,7 @@ SOAP_FMAC1 resqml22__Point3d * SOAP_FMAC2 soap_instantiate_resqml22__Point3d(str (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Point3d *p; size_t k = sizeof(resqml22__Point3d); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point3d, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point3d, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -160604,13 +159868,9 @@ SOAP_FMAC1 resqml22__Point3d * SOAP_FMAC2 soap_instantiate_resqml22__Point3d(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Point3d location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -160734,7 +159994,7 @@ SOAP_FMAC1 resqml22__Point2dExternalArray * SOAP_FMAC2 soap_instantiate_resqml22 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Point2dExternalArray *p; size_t k = sizeof(resqml22__Point2dExternalArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point2dExternalArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Point2dExternalArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -160749,13 +160009,9 @@ SOAP_FMAC1 resqml22__Point2dExternalArray * SOAP_FMAC2 soap_instantiate_resqml22 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Point2dExternalArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -160903,7 +160159,7 @@ SOAP_FMAC1 resqml22__ParametricLineIntersections * SOAP_FMAC2 soap_instantiate_r (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ParametricLineIntersections *p; size_t k = sizeof(resqml22__ParametricLineIntersections); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ParametricLineIntersections, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ParametricLineIntersections, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -160918,13 +160174,9 @@ SOAP_FMAC1 resqml22__ParametricLineIntersections * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ParametricLineIntersections location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -161114,7 +160366,7 @@ SOAP_FMAC1 resqml22__ParametricLineGeometry * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ParametricLineGeometry *p; size_t k = sizeof(resqml22__ParametricLineGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ParametricLineGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ParametricLineGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -161129,13 +160381,9 @@ SOAP_FMAC1 resqml22__ParametricLineGeometry * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ParametricLineGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -161274,7 +160522,7 @@ SOAP_FMAC1 resqml22__ParametricLineFromRepresentationLatticeArray * SOAP_FMAC2 s (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ParametricLineFromRepresentationLatticeArray *p; size_t k = sizeof(resqml22__ParametricLineFromRepresentationLatticeArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ParametricLineFromRepresentationLatticeArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ParametricLineFromRepresentationLatticeArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -161289,13 +160537,9 @@ SOAP_FMAC1 resqml22__ParametricLineFromRepresentationLatticeArray * SOAP_FMAC2 s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ParametricLineFromRepresentationLatticeArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -161452,7 +160696,7 @@ SOAP_FMAC1 resqml22__ParametricLineFromRepresentationGeometry * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ParametricLineFromRepresentationGeometry *p; size_t k = sizeof(resqml22__ParametricLineFromRepresentationGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ParametricLineFromRepresentationGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ParametricLineFromRepresentationGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -161467,13 +160711,9 @@ SOAP_FMAC1 resqml22__ParametricLineFromRepresentationGeometry * SOAP_FMAC2 soap_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ParametricLineFromRepresentationGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -161656,7 +160896,7 @@ SOAP_FMAC1 resqml22__ParametricLineArray * SOAP_FMAC2 soap_instantiate_resqml22_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__ParametricLineArray *p; size_t k = sizeof(resqml22__ParametricLineArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ParametricLineArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__ParametricLineArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -161671,13 +160911,9 @@ SOAP_FMAC1 resqml22__ParametricLineArray * SOAP_FMAC2 soap_instantiate_resqml22_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__ParametricLineArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -161819,7 +161055,7 @@ SOAP_FMAC1 resqml22__HorizontalPlaneGeometry * SOAP_FMAC2 soap_instantiate_resqm (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__HorizontalPlaneGeometry *p; size_t k = sizeof(resqml22__HorizontalPlaneGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__HorizontalPlaneGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__HorizontalPlaneGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -161834,13 +161070,9 @@ SOAP_FMAC1 resqml22__HorizontalPlaneGeometry * SOAP_FMAC2 soap_instantiate_resqm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__HorizontalPlaneGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -162096,7 +161328,7 @@ SOAP_FMAC1 resqml22__Graph2dRepresentation * SOAP_FMAC2 soap_instantiate_resqml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Graph2dRepresentation *p; size_t k = sizeof(resqml22__Graph2dRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Graph2dRepresentation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Graph2dRepresentation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -162111,13 +161343,9 @@ SOAP_FMAC1 resqml22__Graph2dRepresentation * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Graph2dRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -162228,7 +161456,7 @@ SOAP_FMAC1 resqml22__AbstractPoint3dArray * SOAP_FMAC2 soap_instantiate_resqml22 return soap_instantiate_resqml22__Point3dZValueArray(soap, n, NULL, NULL, size); resqml22__AbstractPoint3dArray *p; size_t k = sizeof(resqml22__AbstractPoint3dArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractPoint3dArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractPoint3dArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -162243,13 +161471,9 @@ SOAP_FMAC1 resqml22__AbstractPoint3dArray * SOAP_FMAC2 soap_instantiate_resqml22 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractPoint3dArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -162384,7 +161608,7 @@ SOAP_FMAC1 resqml22__AbstractPlaneGeometry * SOAP_FMAC2 soap_instantiate_resqml2 return soap_instantiate_resqml22__TiltedPlaneGeometry(soap, n, NULL, NULL, size); resqml22__AbstractPlaneGeometry *p; size_t k = sizeof(resqml22__AbstractPlaneGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractPlaneGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractPlaneGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -162399,13 +161623,9 @@ SOAP_FMAC1 resqml22__AbstractPlaneGeometry * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractPlaneGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -162540,7 +161760,7 @@ SOAP_FMAC1 resqml22__AbstractParametricLineGeometry * SOAP_FMAC2 soap_instantiat return soap_instantiate_resqml22__ParametricLineGeometry(soap, n, NULL, NULL, size); resqml22__AbstractParametricLineGeometry *p; size_t k = sizeof(resqml22__AbstractParametricLineGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractParametricLineGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractParametricLineGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -162555,13 +161775,9 @@ SOAP_FMAC1 resqml22__AbstractParametricLineGeometry * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractParametricLineGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -162664,7 +161880,7 @@ SOAP_FMAC1 resqml22__AbstractParametricLineArray * SOAP_FMAC2 soap_instantiate_r return soap_instantiate_resqml22__ParametricLineFromRepresentationLatticeArray(soap, n, NULL, NULL, size); resqml22__AbstractParametricLineArray *p; size_t k = sizeof(resqml22__AbstractParametricLineArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractParametricLineArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractParametricLineArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -162679,13 +161895,9 @@ SOAP_FMAC1 resqml22__AbstractParametricLineArray * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractParametricLineArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -162844,7 +162056,7 @@ SOAP_FMAC1 resqml22__AbstractGeometry * SOAP_FMAC2 soap_instantiate_resqml22__Ab return soap_instantiate_resqml22__UnstructuredColumnLayerGridGeometry(soap, n, NULL, NULL, size); resqml22__AbstractGeometry *p; size_t k = sizeof(resqml22__AbstractGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -162859,13 +162071,9 @@ SOAP_FMAC1 resqml22__AbstractGeometry * SOAP_FMAC2 soap_instantiate_resqml22__Ab for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -163071,7 +162279,7 @@ SOAP_FMAC1 resqml22__RockVolumeFeature * SOAP_FMAC2 soap_instantiate_resqml22__R (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__RockVolumeFeature *p; size_t k = sizeof(resqml22__RockVolumeFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__RockVolumeFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__RockVolumeFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -163086,13 +162294,9 @@ SOAP_FMAC1 resqml22__RockVolumeFeature * SOAP_FMAC2 soap_instantiate_resqml22__R for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__RockVolumeFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -163298,7 +162502,7 @@ SOAP_FMAC1 resqml22__Model * SOAP_FMAC2 soap_instantiate_resqml22__Model(struct (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__Model *p; size_t k = sizeof(resqml22__Model); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Model, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__Model, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -163313,13 +162517,9 @@ SOAP_FMAC1 resqml22__Model * SOAP_FMAC2 soap_instantiate_resqml22__Model(struct for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__Model location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -163536,7 +162736,7 @@ SOAP_FMAC1 resqml22__CulturalFeature * SOAP_FMAC2 soap_instantiate_resqml22__Cul (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__CulturalFeature *p; size_t k = sizeof(resqml22__CulturalFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__CulturalFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__CulturalFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -163551,13 +162751,9 @@ SOAP_FMAC1 resqml22__CulturalFeature * SOAP_FMAC2 soap_instantiate_resqml22__Cul for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__CulturalFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -163763,7 +162959,7 @@ SOAP_FMAC1 resqml22__BoundaryFeature * SOAP_FMAC2 soap_instantiate_resqml22__Bou (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml22__BoundaryFeature *p; size_t k = sizeof(resqml22__BoundaryFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__BoundaryFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__BoundaryFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -163778,13 +162974,9 @@ SOAP_FMAC1 resqml22__BoundaryFeature * SOAP_FMAC2 soap_instantiate_resqml22__Bou for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__BoundaryFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -164010,7 +163202,7 @@ SOAP_FMAC1 resqml22__AbstractTechnicalFeature * SOAP_FMAC2 soap_instantiate_resq return soap_instantiate_resqml22__ShotPointLineFeature(soap, n, NULL, NULL, size); resqml22__AbstractTechnicalFeature *p; size_t k = sizeof(resqml22__AbstractTechnicalFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractTechnicalFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractTechnicalFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -164025,13 +163217,9 @@ SOAP_FMAC1 resqml22__AbstractTechnicalFeature * SOAP_FMAC2 soap_instantiate_resq for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractTechnicalFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -164267,7 +163455,7 @@ SOAP_FMAC1 resqml22__AbstractFeature * SOAP_FMAC2 soap_instantiate_resqml22__Abs return soap_instantiate_resqml22__ShotPointLineFeature(soap, n, NULL, NULL, size); resqml22__AbstractFeature *p; size_t k = sizeof(resqml22__AbstractFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_resqml22__AbstractFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -164282,13 +163470,9 @@ SOAP_FMAC1 resqml22__AbstractFeature * SOAP_FMAC2 soap_instantiate_resqml22__Abs for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml22__AbstractFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -164432,7 +163616,7 @@ SOAP_FMAC1 prodml23__TimeSeriesThreshold * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__TimeSeriesThreshold *p; size_t k = sizeof(prodml23__TimeSeriesThreshold); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TimeSeriesThreshold, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TimeSeriesThreshold, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -164447,13 +163631,9 @@ SOAP_FMAC1 prodml23__TimeSeriesThreshold * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__TimeSeriesThreshold location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -164798,7 +163978,7 @@ SOAP_FMAC1 prodml23__TimeSeriesStatistic * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__TimeSeriesStatistic *p; size_t k = sizeof(prodml23__TimeSeriesStatistic); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TimeSeriesStatistic, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TimeSeriesStatistic, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -164813,13 +163993,9 @@ SOAP_FMAC1 prodml23__TimeSeriesStatistic * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__TimeSeriesStatistic location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -164905,7 +164081,7 @@ SOAP_FMAC1 prodml23__KeywordValueStruct * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__KeywordValueStruct *p; size_t k = sizeof(prodml23__KeywordValueStruct); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__KeywordValueStruct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__KeywordValueStruct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -164920,13 +164096,9 @@ SOAP_FMAC1 prodml23__KeywordValueStruct * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__KeywordValueStruct location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -165011,7 +164183,7 @@ SOAP_FMAC1 prodml23__EndpointQuantity * SOAP_FMAC2 soap_instantiate_prodml23__En (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__EndpointQuantity *p; size_t k = sizeof(prodml23__EndpointQuantity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__EndpointQuantity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__EndpointQuantity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -165026,13 +164198,9 @@ SOAP_FMAC1 prodml23__EndpointQuantity * SOAP_FMAC2 soap_instantiate_prodml23__En for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__EndpointQuantity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -165119,7 +164287,7 @@ SOAP_FMAC1 prodml23__EndpointDateTime * SOAP_FMAC2 soap_instantiate_prodml23__En (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__EndpointDateTime *p; size_t k = sizeof(prodml23__EndpointDateTime); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__EndpointDateTime, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__EndpointDateTime, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -165134,13 +164302,9 @@ SOAP_FMAC1 prodml23__EndpointDateTime * SOAP_FMAC2 soap_instantiate_prodml23__En for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__EndpointDateTime location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -165238,7 +164402,7 @@ SOAP_FMAC1 prodml23__TimeSeriesStringSample * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__TimeSeriesStringSample *p; size_t k = sizeof(prodml23__TimeSeriesStringSample); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TimeSeriesStringSample, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TimeSeriesStringSample, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -165253,13 +164417,9 @@ SOAP_FMAC1 prodml23__TimeSeriesStringSample * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__TimeSeriesStringSample location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -165372,7 +164532,7 @@ SOAP_FMAC1 prodml23__TimeSeriesDoubleSample * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__TimeSeriesDoubleSample *p; size_t k = sizeof(prodml23__TimeSeriesDoubleSample); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TimeSeriesDoubleSample, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TimeSeriesDoubleSample, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -165387,13 +164547,9 @@ SOAP_FMAC1 prodml23__TimeSeriesDoubleSample * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__TimeSeriesDoubleSample location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -165639,7 +164795,7 @@ SOAP_FMAC1 prodml23__TimeSeriesData * SOAP_FMAC2 soap_instantiate_prodml23__Time (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__TimeSeriesData *p; size_t k = sizeof(prodml23__TimeSeriesData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TimeSeriesData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TimeSeriesData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -165654,13 +164810,9 @@ SOAP_FMAC1 prodml23__TimeSeriesData * SOAP_FMAC2 soap_instantiate_prodml23__Time for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__TimeSeriesData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -165784,7 +164936,7 @@ SOAP_FMAC1 prodml23__StringValue * SOAP_FMAC2 soap_instantiate_prodml23__StringV (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__StringValue *p; size_t k = sizeof(prodml23__StringValue); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__StringValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__StringValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -165799,13 +164951,9 @@ SOAP_FMAC1 prodml23__StringValue * SOAP_FMAC2 soap_instantiate_prodml23__StringV for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__StringValue location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -165929,7 +165077,7 @@ SOAP_FMAC1 prodml23__DoubleValue * SOAP_FMAC2 soap_instantiate_prodml23__DoubleV (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DoubleValue *p; size_t k = sizeof(prodml23__DoubleValue); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DoubleValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DoubleValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -165944,13 +165092,9 @@ SOAP_FMAC1 prodml23__DoubleValue * SOAP_FMAC2 soap_instantiate_prodml23__DoubleV for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DoubleValue location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -166053,7 +165197,7 @@ SOAP_FMAC1 prodml23__AbstractValue * SOAP_FMAC2 soap_instantiate_prodml23__Abstr return soap_instantiate_prodml23__StringValue(soap, n, NULL, NULL, size); prodml23__AbstractValue *p; size_t k = sizeof(prodml23__AbstractValue); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -166068,13 +165212,9 @@ SOAP_FMAC1 prodml23__AbstractValue * SOAP_FMAC2 soap_instantiate_prodml23__Abstr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractValue location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -166206,7 +165346,7 @@ SOAP_FMAC1 prodml23__RelativeCoordinate * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__RelativeCoordinate *p; size_t k = sizeof(prodml23__RelativeCoordinate); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RelativeCoordinate, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RelativeCoordinate, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -166221,13 +165361,9 @@ SOAP_FMAC1 prodml23__RelativeCoordinate * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__RelativeCoordinate location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -166336,7 +165472,7 @@ SOAP_FMAC1 prodml23__Qualifier * SOAP_FMAC2 soap_instantiate_prodml23__Qualifier (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__Qualifier *p; size_t k = sizeof(prodml23__Qualifier); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Qualifier, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Qualifier, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -166351,13 +165487,9 @@ SOAP_FMAC1 prodml23__Qualifier * SOAP_FMAC2 soap_instantiate_prodml23__Qualifier for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__Qualifier location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -166580,7 +165712,7 @@ SOAP_FMAC1 prodml23__ProductFlowUnit * SOAP_FMAC2 soap_instantiate_prodml23__Pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductFlowUnit *p; size_t k = sizeof(prodml23__ProductFlowUnit); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowUnit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowUnit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -166595,13 +165727,9 @@ SOAP_FMAC1 prodml23__ProductFlowUnit * SOAP_FMAC2 soap_instantiate_prodml23__Pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductFlowUnit location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -166743,7 +165871,7 @@ SOAP_FMAC1 prodml23__ProductFlowQualifierExpected * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductFlowQualifierExpected *p; size_t k = sizeof(prodml23__ProductFlowQualifierExpected); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowQualifierExpected, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowQualifierExpected, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -166758,13 +165886,9 @@ SOAP_FMAC1 prodml23__ProductFlowQualifierExpected * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductFlowQualifierExpected location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -166974,7 +166098,7 @@ SOAP_FMAC1 prodml23__ProductFlowPort * SOAP_FMAC2 soap_instantiate_prodml23__Pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductFlowPort *p; size_t k = sizeof(prodml23__ProductFlowPort); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowPort, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowPort, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -166989,13 +166113,9 @@ SOAP_FMAC1 prodml23__ProductFlowPort * SOAP_FMAC2 soap_instantiate_prodml23__Pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductFlowPort location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -167149,7 +166269,7 @@ SOAP_FMAC1 prodml23__ProductFlowNetworkPlan * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductFlowNetworkPlan *p; size_t k = sizeof(prodml23__ProductFlowNetworkPlan); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowNetworkPlan, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowNetworkPlan, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -167164,13 +166284,9 @@ SOAP_FMAC1 prodml23__ProductFlowNetworkPlan * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductFlowNetworkPlan location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -167468,7 +166584,7 @@ SOAP_FMAC1 prodml23__ProductFlowModel * SOAP_FMAC2 soap_instantiate_prodml23__Pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductFlowModel *p; size_t k = sizeof(prodml23__ProductFlowModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -167483,13 +166599,9 @@ SOAP_FMAC1 prodml23__ProductFlowModel * SOAP_FMAC2 soap_instantiate_prodml23__Pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductFlowModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -167657,7 +166769,7 @@ SOAP_FMAC1 prodml23__ProductFlowExternalPort * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductFlowExternalPort *p; size_t k = sizeof(prodml23__ProductFlowExternalPort); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowExternalPort, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowExternalPort, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -167672,13 +166784,9 @@ SOAP_FMAC1 prodml23__ProductFlowExternalPort * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductFlowExternalPort location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -167870,7 +166978,7 @@ SOAP_FMAC1 prodml23__ProductFlowExpectedUnitProperty * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductFlowExpectedUnitProperty *p; size_t k = sizeof(prodml23__ProductFlowExpectedUnitProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowExpectedUnitProperty, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowExpectedUnitProperty, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -167885,13 +166993,9 @@ SOAP_FMAC1 prodml23__ProductFlowExpectedUnitProperty * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductFlowExpectedUnitProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -168037,7 +167141,7 @@ SOAP_FMAC1 prodml23__ProductFlowChangeLog * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductFlowChangeLog *p; size_t k = sizeof(prodml23__ProductFlowChangeLog); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowChangeLog, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowChangeLog, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -168052,13 +167156,9 @@ SOAP_FMAC1 prodml23__ProductFlowChangeLog * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductFlowChangeLog location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -168161,7 +167261,7 @@ SOAP_FMAC1 prodml23__ExpectedFlowQualifier * SOAP_FMAC2 soap_instantiate_prodml2 return soap_instantiate_prodml23__Qualifier(soap, n, NULL, NULL, size); prodml23__ExpectedFlowQualifier *p; size_t k = sizeof(prodml23__ExpectedFlowQualifier); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ExpectedFlowQualifier, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ExpectedFlowQualifier, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -168176,13 +167276,9 @@ SOAP_FMAC1 prodml23__ExpectedFlowQualifier * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ExpectedFlowQualifier location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -168349,7 +167445,7 @@ SOAP_FMAC1 prodml23__ConnectedNode * SOAP_FMAC2 soap_instantiate_prodml23__Conne (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ConnectedNode *p; size_t k = sizeof(prodml23__ConnectedNode); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ConnectedNode, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ConnectedNode, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -168364,13 +167460,9 @@ SOAP_FMAC1 prodml23__ConnectedNode * SOAP_FMAC2 soap_instantiate_prodml23__Conne for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ConnectedNode location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -168494,7 +167586,7 @@ SOAP_FMAC1 prodml23__StringData * SOAP_FMAC2 soap_instantiate_prodml23__StringDa (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__StringData *p; size_t k = sizeof(prodml23__StringData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__StringData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__StringData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -168509,13 +167601,9 @@ SOAP_FMAC1 prodml23__StringData * SOAP_FMAC2 soap_instantiate_prodml23__StringDa for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__StringData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -168645,7 +167733,7 @@ SOAP_FMAC1 prodml23__ReferenceFlow * SOAP_FMAC2 soap_instantiate_prodml23__Refer (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ReferenceFlow *p; size_t k = sizeof(prodml23__ReferenceFlow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReferenceFlow, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReferenceFlow, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -168660,13 +167748,9 @@ SOAP_FMAC1 prodml23__ReferenceFlow * SOAP_FMAC2 soap_instantiate_prodml23__Refer for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ReferenceFlow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -168787,7 +167871,7 @@ SOAP_FMAC1 prodml23__ProductVolumeRelatedFacility * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumeRelatedFacility *p; size_t k = sizeof(prodml23__ProductVolumeRelatedFacility); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeRelatedFacility, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeRelatedFacility, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -168802,13 +167886,9 @@ SOAP_FMAC1 prodml23__ProductVolumeRelatedFacility * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumeRelatedFacility location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -169012,7 +168092,7 @@ SOAP_FMAC1 prodml23__ProductVolumeProduct * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumeProduct *p; size_t k = sizeof(prodml23__ProductVolumeProduct); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeProduct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeProduct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -169027,13 +168107,9 @@ SOAP_FMAC1 prodml23__ProductVolumeProduct * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumeProduct location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -169191,7 +168267,7 @@ SOAP_FMAC1 prodml23__ProductVolumePortDifference * SOAP_FMAC2 soap_instantiate_p (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumePortDifference *p; size_t k = sizeof(prodml23__ProductVolumePortDifference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumePortDifference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumePortDifference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -169206,13 +168282,9 @@ SOAP_FMAC1 prodml23__ProductVolumePortDifference * SOAP_FMAC2 soap_instantiate_p for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumePortDifference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -169383,7 +168455,7 @@ SOAP_FMAC1 prodml23__ProductVolumePeriod * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumePeriod *p; size_t k = sizeof(prodml23__ProductVolumePeriod); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumePeriod, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumePeriod, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -169398,13 +168470,9 @@ SOAP_FMAC1 prodml23__ProductVolumePeriod * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumePeriod location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -169578,7 +168646,7 @@ SOAP_FMAC1 prodml23__ProductVolumeParameterValue * SOAP_FMAC2 soap_instantiate_p (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumeParameterValue *p; size_t k = sizeof(prodml23__ProductVolumeParameterValue); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeParameterValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeParameterValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -169593,13 +168661,9 @@ SOAP_FMAC1 prodml23__ProductVolumeParameterValue * SOAP_FMAC2 soap_instantiate_p for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumeParameterValue location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -169857,7 +168921,7 @@ SOAP_FMAC1 prodml23__ProductVolumeParameterSet * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumeParameterSet *p; size_t k = sizeof(prodml23__ProductVolumeParameterSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeParameterSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeParameterSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -169872,13 +168936,9 @@ SOAP_FMAC1 prodml23__ProductVolumeParameterSet * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumeParameterSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -170136,7 +169196,7 @@ SOAP_FMAC1 prodml23__ProductVolumeFlow * SOAP_FMAC2 soap_instantiate_prodml23__P (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumeFlow *p; size_t k = sizeof(prodml23__ProductVolumeFlow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeFlow, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeFlow, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -170151,13 +169211,9 @@ SOAP_FMAC1 prodml23__ProductVolumeFlow * SOAP_FMAC2 soap_instantiate_prodml23__P for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumeFlow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -170444,7 +169500,7 @@ SOAP_FMAC1 prodml23__ProductVolumeFacility * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumeFacility *p; size_t k = sizeof(prodml23__ProductVolumeFacility); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeFacility, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeFacility, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -170459,13 +169515,9 @@ SOAP_FMAC1 prodml23__ProductVolumeFacility * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumeFacility location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -170597,7 +169649,7 @@ SOAP_FMAC1 prodml23__ProductVolumeDestination * SOAP_FMAC2 soap_instantiate_prod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumeDestination *p; size_t k = sizeof(prodml23__ProductVolumeDestination); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeDestination, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeDestination, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -170612,13 +169664,9 @@ SOAP_FMAC1 prodml23__ProductVolumeDestination * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumeDestination location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -170762,7 +169810,7 @@ SOAP_FMAC1 prodml23__ProductVolumeComponentContent * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumeComponentContent *p; size_t k = sizeof(prodml23__ProductVolumeComponentContent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeComponentContent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeComponentContent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -170777,13 +169825,9 @@ SOAP_FMAC1 prodml23__ProductVolumeComponentContent * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumeComponentContent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -170934,7 +169978,7 @@ SOAP_FMAC1 prodml23__ProductVolumeBusinessUnit * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumeBusinessUnit *p; size_t k = sizeof(prodml23__ProductVolumeBusinessUnit); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeBusinessUnit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeBusinessUnit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -170949,13 +169993,9 @@ SOAP_FMAC1 prodml23__ProductVolumeBusinessUnit * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumeBusinessUnit location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -171093,7 +170133,7 @@ SOAP_FMAC1 prodml23__ProductVolumeBusinessSubUnit * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumeBusinessSubUnit *p; size_t k = sizeof(prodml23__ProductVolumeBusinessSubUnit); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeBusinessSubUnit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeBusinessSubUnit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -171108,13 +170148,9 @@ SOAP_FMAC1 prodml23__ProductVolumeBusinessSubUnit * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumeBusinessSubUnit location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -171280,7 +170316,7 @@ SOAP_FMAC1 prodml23__ProductVolumeBalanceSet * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumeBalanceSet *p; size_t k = sizeof(prodml23__ProductVolumeBalanceSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeBalanceSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeBalanceSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -171295,13 +170331,9 @@ SOAP_FMAC1 prodml23__ProductVolumeBalanceSet * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumeBalanceSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -171434,7 +170466,7 @@ SOAP_FMAC1 prodml23__ProductVolumeBalanceEvent * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumeBalanceEvent *p; size_t k = sizeof(prodml23__ProductVolumeBalanceEvent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeBalanceEvent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeBalanceEvent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -171449,13 +170481,9 @@ SOAP_FMAC1 prodml23__ProductVolumeBalanceEvent * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumeBalanceEvent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -171643,7 +170671,7 @@ SOAP_FMAC1 prodml23__ProductVolumeBalanceDetail * SOAP_FMAC2 soap_instantiate_pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumeBalanceDetail *p; size_t k = sizeof(prodml23__ProductVolumeBalanceDetail); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeBalanceDetail, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeBalanceDetail, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -171658,13 +170686,9 @@ SOAP_FMAC1 prodml23__ProductVolumeBalanceDetail * SOAP_FMAC2 soap_instantiate_pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumeBalanceDetail location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -171807,7 +170831,7 @@ SOAP_FMAC1 prodml23__ProductVolumeAlert * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolumeAlert *p; size_t k = sizeof(prodml23__ProductVolumeAlert); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeAlert, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolumeAlert, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -171822,13 +170846,9 @@ SOAP_FMAC1 prodml23__ProductVolumeAlert * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolumeAlert location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -172236,7 +171256,7 @@ SOAP_FMAC1 prodml23__ProductVolume * SOAP_FMAC2 soap_instantiate_prodml23__Produ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductVolume *p; size_t k = sizeof(prodml23__ProductVolume); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolume, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductVolume, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -172251,13 +171271,9 @@ SOAP_FMAC1 prodml23__ProductVolume * SOAP_FMAC2 soap_instantiate_prodml23__Produ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductVolume location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -172387,7 +171403,7 @@ SOAP_FMAC1 prodml23__Parentfacility * SOAP_FMAC2 soap_instantiate_prodml23__Pare (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__Parentfacility *p; size_t k = sizeof(prodml23__Parentfacility); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Parentfacility, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Parentfacility, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -172402,13 +171418,9 @@ SOAP_FMAC1 prodml23__Parentfacility * SOAP_FMAC2 soap_instantiate_prodml23__Pare for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__Parentfacility location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -172507,7 +171519,7 @@ SOAP_FMAC1 prodml23__OwnershipBusinessAcct * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OwnershipBusinessAcct *p; size_t k = sizeof(prodml23__OwnershipBusinessAcct); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OwnershipBusinessAcct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OwnershipBusinessAcct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -172522,13 +171534,9 @@ SOAP_FMAC1 prodml23__OwnershipBusinessAcct * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OwnershipBusinessAcct location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -172652,7 +171660,7 @@ SOAP_FMAC1 prodml23__IntegerData * SOAP_FMAC2 soap_instantiate_prodml23__Integer (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__IntegerData *p; size_t k = sizeof(prodml23__IntegerData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__IntegerData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__IntegerData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -172667,13 +171675,9 @@ SOAP_FMAC1 prodml23__IntegerData * SOAP_FMAC2 soap_instantiate_prodml23__Integer for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__IntegerData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -172830,7 +171834,7 @@ SOAP_FMAC1 prodml23__FacilityUnitPort * SOAP_FMAC2 soap_instantiate_prodml23__Fa (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FacilityUnitPort *p; size_t k = sizeof(prodml23__FacilityUnitPort); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FacilityUnitPort, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FacilityUnitPort, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -172845,13 +171849,9 @@ SOAP_FMAC1 prodml23__FacilityUnitPort * SOAP_FMAC2 soap_instantiate_prodml23__Fa for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FacilityUnitPort location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -173010,7 +172010,7 @@ SOAP_FMAC1 prodml23__FacilityParent * SOAP_FMAC2 soap_instantiate_prodml23__Faci (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FacilityParent *p; size_t k = sizeof(prodml23__FacilityParent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FacilityParent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FacilityParent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -173025,13 +172025,9 @@ SOAP_FMAC1 prodml23__FacilityParent * SOAP_FMAC2 soap_instantiate_prodml23__Faci for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FacilityParent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -173199,7 +172195,7 @@ SOAP_FMAC1 prodml23__CurveDefinition * SOAP_FMAC2 soap_instantiate_prodml23__Cur (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CurveDefinition *p; size_t k = sizeof(prodml23__CurveDefinition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CurveDefinition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CurveDefinition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -173214,13 +172210,9 @@ SOAP_FMAC1 prodml23__CurveDefinition * SOAP_FMAC2 soap_instantiate_prodml23__Cur for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CurveDefinition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -173349,7 +172341,7 @@ SOAP_FMAC1 prodml23__CurveData * SOAP_FMAC2 soap_instantiate_prodml23__CurveData (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CurveData *p; size_t k = sizeof(prodml23__CurveData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CurveData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CurveData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -173364,13 +172356,9 @@ SOAP_FMAC1 prodml23__CurveData * SOAP_FMAC2 soap_instantiate_prodml23__CurveData for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CurveData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -173496,7 +172484,7 @@ SOAP_FMAC1 prodml23__AbstractRelatedFacilityObject * SOAP_FMAC2 soap_instantiate return soap_instantiate_prodml23__FacilityUnitPort(soap, n, NULL, NULL, size); prodml23__AbstractRelatedFacilityObject *p; size_t k = sizeof(prodml23__AbstractRelatedFacilityObject); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractRelatedFacilityObject, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractRelatedFacilityObject, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -173511,13 +172499,9 @@ SOAP_FMAC1 prodml23__AbstractRelatedFacilityObject * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractRelatedFacilityObject location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -173615,7 +172599,7 @@ SOAP_FMAC1 prodml23__AbstractRefProductFlow * SOAP_FMAC2 soap_instantiate_prodml return soap_instantiate_prodml23__ReferenceFlow(soap, n, NULL, NULL, size); prodml23__AbstractRefProductFlow *p; size_t k = sizeof(prodml23__AbstractRefProductFlow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractRefProductFlow, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractRefProductFlow, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -173630,13 +172614,9 @@ SOAP_FMAC1 prodml23__AbstractRefProductFlow * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractRefProductFlow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -173747,7 +172727,7 @@ SOAP_FMAC1 prodml23__AbstractMeasureData * SOAP_FMAC2 soap_instantiate_prodml23_ return soap_instantiate_prodml23__StringData(soap, n, NULL, NULL, size); prodml23__AbstractMeasureData *p; size_t k = sizeof(prodml23__AbstractMeasureData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractMeasureData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractMeasureData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -173762,13 +172742,9 @@ SOAP_FMAC1 prodml23__AbstractMeasureData * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractMeasureData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -174229,7 +173205,7 @@ SOAP_FMAC1 prodml23__CommonPropertiesProductVolume * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CommonPropertiesProductVolume *p; size_t k = sizeof(prodml23__CommonPropertiesProductVolume); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CommonPropertiesProductVolume, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CommonPropertiesProductVolume, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -174244,13 +173220,9 @@ SOAP_FMAC1 prodml23__CommonPropertiesProductVolume * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CommonPropertiesProductVolume location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -174534,7 +173506,7 @@ SOAP_FMAC1 prodml23__FlowTestJob * SOAP_FMAC2 soap_instantiate_prodml23__FlowTes (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FlowTestJob *p; size_t k = sizeof(prodml23__FlowTestJob); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FlowTestJob, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FlowTestJob, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -174549,13 +173521,9 @@ SOAP_FMAC1 prodml23__FlowTestJob * SOAP_FMAC2 soap_instantiate_prodml23__FlowTes for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FlowTestJob location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -174857,7 +173825,7 @@ SOAP_FMAC1 prodml23__WellheadSampleAcquisition * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__WellheadSampleAcquisition *p; size_t k = sizeof(prodml23__WellheadSampleAcquisition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellheadSampleAcquisition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellheadSampleAcquisition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -174872,13 +173840,9 @@ SOAP_FMAC1 prodml23__WellheadSampleAcquisition * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__WellheadSampleAcquisition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -175247,7 +174211,7 @@ SOAP_FMAC1 prodml23__SeparatorSampleAcquisition * SOAP_FMAC2 soap_instantiate_pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SeparatorSampleAcquisition *p; size_t k = sizeof(prodml23__SeparatorSampleAcquisition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SeparatorSampleAcquisition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SeparatorSampleAcquisition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -175262,13 +174226,9 @@ SOAP_FMAC1 prodml23__SeparatorSampleAcquisition * SOAP_FMAC2 soap_instantiate_pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SeparatorSampleAcquisition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -175617,7 +174577,7 @@ SOAP_FMAC1 prodml23__FormationTesterSampleAcquisition * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FormationTesterSampleAcquisition *p; size_t k = sizeof(prodml23__FormationTesterSampleAcquisition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FormationTesterSampleAcquisition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FormationTesterSampleAcquisition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -175632,13 +174592,9 @@ SOAP_FMAC1 prodml23__FormationTesterSampleAcquisition * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FormationTesterSampleAcquisition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -175913,7 +174869,7 @@ SOAP_FMAC1 prodml23__FluidSampleAcquisitionJob * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidSampleAcquisitionJob *p; size_t k = sizeof(prodml23__FluidSampleAcquisitionJob); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSampleAcquisitionJob, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSampleAcquisitionJob, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -175928,13 +174884,9 @@ SOAP_FMAC1 prodml23__FluidSampleAcquisitionJob * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidSampleAcquisitionJob location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -176198,7 +175150,7 @@ SOAP_FMAC1 prodml23__FluidSampleAcquisition * SOAP_FMAC2 soap_instantiate_prodml return soap_instantiate_prodml23__WellheadSampleAcquisition(soap, n, NULL, NULL, size); prodml23__FluidSampleAcquisition *p; size_t k = sizeof(prodml23__FluidSampleAcquisition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSampleAcquisition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSampleAcquisition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -176213,13 +175165,9 @@ SOAP_FMAC1 prodml23__FluidSampleAcquisition * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidSampleAcquisition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -176499,7 +175447,7 @@ SOAP_FMAC1 prodml23__FacilitySampleAcquisition * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FacilitySampleAcquisition *p; size_t k = sizeof(prodml23__FacilitySampleAcquisition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FacilitySampleAcquisition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FacilitySampleAcquisition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -176514,13 +175462,9 @@ SOAP_FMAC1 prodml23__FacilitySampleAcquisition * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FacilitySampleAcquisition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -176844,7 +175788,7 @@ SOAP_FMAC1 prodml23__DownholeSampleAcquisition * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DownholeSampleAcquisition *p; size_t k = sizeof(prodml23__DownholeSampleAcquisition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DownholeSampleAcquisition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DownholeSampleAcquisition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -176859,13 +175803,9 @@ SOAP_FMAC1 prodml23__DownholeSampleAcquisition * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DownholeSampleAcquisition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -177205,7 +176145,7 @@ SOAP_FMAC1 prodml23__FluidSampleContainer * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidSampleContainer *p; size_t k = sizeof(prodml23__FluidSampleContainer); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSampleContainer, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSampleContainer, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -177220,13 +176160,9 @@ SOAP_FMAC1 prodml23__FluidSampleContainer * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidSampleContainer location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -177407,7 +176343,7 @@ SOAP_FMAC1 prodml23__SampleRecombinationSpecification * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SampleRecombinationSpecification *p; size_t k = sizeof(prodml23__SampleRecombinationSpecification); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SampleRecombinationSpecification, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SampleRecombinationSpecification, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -177422,13 +176358,9 @@ SOAP_FMAC1 prodml23__SampleRecombinationSpecification * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SampleRecombinationSpecification location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -177586,7 +176518,7 @@ SOAP_FMAC1 prodml23__RecombinedSampleFraction * SOAP_FMAC2 soap_instantiate_prod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__RecombinedSampleFraction *p; size_t k = sizeof(prodml23__RecombinedSampleFraction); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RecombinedSampleFraction, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RecombinedSampleFraction, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -177601,13 +176533,9 @@ SOAP_FMAC1 prodml23__RecombinedSampleFraction * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__RecombinedSampleFraction location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -177864,7 +176792,7 @@ SOAP_FMAC1 prodml23__FluidSampleChainOfCustodyEvent * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidSampleChainOfCustodyEvent *p; size_t k = sizeof(prodml23__FluidSampleChainOfCustodyEvent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSampleChainOfCustodyEvent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSampleChainOfCustodyEvent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -177879,13 +176807,9 @@ SOAP_FMAC1 prodml23__FluidSampleChainOfCustodyEvent * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidSampleChainOfCustodyEvent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -178019,7 +176943,7 @@ SOAP_FMAC1 prodml23__FluidSampleAcquisitionJobSource * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidSampleAcquisitionJobSource *p; size_t k = sizeof(prodml23__FluidSampleAcquisitionJobSource); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSampleAcquisitionJobSource, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSampleAcquisitionJobSource, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -178034,13 +176958,9 @@ SOAP_FMAC1 prodml23__FluidSampleAcquisitionJobSource * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidSampleAcquisitionJobSource location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -178352,7 +177272,7 @@ SOAP_FMAC1 prodml23__FluidSample * SOAP_FMAC2 soap_instantiate_prodml23__FluidSa (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidSample *p; size_t k = sizeof(prodml23__FluidSample); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSample, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSample, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -178367,13 +177287,9 @@ SOAP_FMAC1 prodml23__FluidSample * SOAP_FMAC2 soap_instantiate_prodml23__FluidSa for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidSample location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -178534,7 +177450,7 @@ SOAP_FMAC1 prodml23__WellboreVolume * SOAP_FMAC2 soap_instantiate_prodml23__Well (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__WellboreVolume *p; size_t k = sizeof(prodml23__WellboreVolume); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellboreVolume, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellboreVolume, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -178549,13 +177465,9 @@ SOAP_FMAC1 prodml23__WellboreVolume * SOAP_FMAC2 soap_instantiate_prodml23__Well for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__WellboreVolume location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -178716,7 +177628,7 @@ SOAP_FMAC1 prodml23__WellboreStorageCoefficient * SOAP_FMAC2 soap_instantiate_pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__WellboreStorageCoefficient *p; size_t k = sizeof(prodml23__WellboreStorageCoefficient); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellboreStorageCoefficient, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellboreStorageCoefficient, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -178731,13 +177643,9 @@ SOAP_FMAC1 prodml23__WellboreStorageCoefficient * SOAP_FMAC2 soap_instantiate_pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__WellboreStorageCoefficient location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -178898,7 +177806,7 @@ SOAP_FMAC1 prodml23__WellboreRadius * SOAP_FMAC2 soap_instantiate_prodml23__Well (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__WellboreRadius *p; size_t k = sizeof(prodml23__WellboreRadius); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellboreRadius, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellboreRadius, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -178913,13 +177821,9 @@ SOAP_FMAC1 prodml23__WellboreRadius * SOAP_FMAC2 soap_instantiate_prodml23__Well for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__WellboreRadius location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -179080,7 +177984,7 @@ SOAP_FMAC1 prodml23__WellboreFluidCompressibility * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__WellboreFluidCompressibility *p; size_t k = sizeof(prodml23__WellboreFluidCompressibility); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellboreFluidCompressibility, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellboreFluidCompressibility, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -179095,13 +177999,9 @@ SOAP_FMAC1 prodml23__WellboreFluidCompressibility * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__WellboreFluidCompressibility location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -179262,7 +178162,7 @@ SOAP_FMAC1 prodml23__WellboreDeviationAngle * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__WellboreDeviationAngle *p; size_t k = sizeof(prodml23__WellboreDeviationAngle); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellboreDeviationAngle, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellboreDeviationAngle, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -179277,13 +178177,9 @@ SOAP_FMAC1 prodml23__WellboreDeviationAngle * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__WellboreDeviationAngle location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -179444,7 +178340,7 @@ SOAP_FMAC1 prodml23__VerticalAnisotropyKvToKr * SOAP_FMAC2 soap_instantiate_prod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__VerticalAnisotropyKvToKr *p; size_t k = sizeof(prodml23__VerticalAnisotropyKvToKr); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__VerticalAnisotropyKvToKr, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__VerticalAnisotropyKvToKr, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -179459,13 +178355,9 @@ SOAP_FMAC1 prodml23__VerticalAnisotropyKvToKr * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__VerticalAnisotropyKvToKr location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -179626,7 +178518,7 @@ SOAP_FMAC1 prodml23__TubingInteralDiameter * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__TubingInteralDiameter *p; size_t k = sizeof(prodml23__TubingInteralDiameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TubingInteralDiameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TubingInteralDiameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -179641,13 +178533,9 @@ SOAP_FMAC1 prodml23__TubingInteralDiameter * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__TubingInteralDiameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -179805,7 +178693,7 @@ SOAP_FMAC1 prodml23__TransmissibilityReductionFactorOfLinearFront * SOAP_FMAC2 s (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__TransmissibilityReductionFactorOfLinearFront *p; size_t k = sizeof(prodml23__TransmissibilityReductionFactorOfLinearFront); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TransmissibilityReductionFactorOfLinearFront, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TransmissibilityReductionFactorOfLinearFront, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -179820,13 +178708,9 @@ SOAP_FMAC1 prodml23__TransmissibilityReductionFactorOfLinearFront * SOAP_FMAC2 s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__TransmissibilityReductionFactorOfLinearFront location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -179987,7 +178871,7 @@ SOAP_FMAC1 prodml23__TotalThickness * SOAP_FMAC2 soap_instantiate_prodml23__Tota (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__TotalThickness *p; size_t k = sizeof(prodml23__TotalThickness); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TotalThickness, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TotalThickness, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -180002,13 +178886,9 @@ SOAP_FMAC1 prodml23__TotalThickness * SOAP_FMAC2 soap_instantiate_prodml23__Tota for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__TotalThickness location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -180169,7 +179049,7 @@ SOAP_FMAC1 prodml23__StorativityRatio * SOAP_FMAC2 soap_instantiate_prodml23__St (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__StorativityRatio *p; size_t k = sizeof(prodml23__StorativityRatio); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__StorativityRatio, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__StorativityRatio, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -180184,13 +179064,9 @@ SOAP_FMAC1 prodml23__StorativityRatio * SOAP_FMAC2 soap_instantiate_prodml23__St for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__StorativityRatio location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -180351,7 +179227,7 @@ SOAP_FMAC1 prodml23__SkinRelativeToTotalThickness * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SkinRelativeToTotalThickness *p; size_t k = sizeof(prodml23__SkinRelativeToTotalThickness); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SkinRelativeToTotalThickness, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SkinRelativeToTotalThickness, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -180366,13 +179242,9 @@ SOAP_FMAC1 prodml23__SkinRelativeToTotalThickness * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SkinRelativeToTotalThickness location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -180533,7 +179405,7 @@ SOAP_FMAC1 prodml23__SkinLayer2RelativeToTotalThickness * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SkinLayer2RelativeToTotalThickness *p; size_t k = sizeof(prodml23__SkinLayer2RelativeToTotalThickness); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SkinLayer2RelativeToTotalThickness, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SkinLayer2RelativeToTotalThickness, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -180548,13 +179420,9 @@ SOAP_FMAC1 prodml23__SkinLayer2RelativeToTotalThickness * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SkinLayer2RelativeToTotalThickness location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -180715,7 +179583,7 @@ SOAP_FMAC1 prodml23__Region2Thickness * SOAP_FMAC2 soap_instantiate_prodml23__Re (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__Region2Thickness *p; size_t k = sizeof(prodml23__Region2Thickness); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Region2Thickness, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Region2Thickness, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -180730,13 +179598,9 @@ SOAP_FMAC1 prodml23__Region2Thickness * SOAP_FMAC2 soap_instantiate_prodml23__Re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__Region2Thickness location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -180897,7 +179761,7 @@ SOAP_FMAC1 prodml23__RatioLayer1ToTotalPermeabilityThicknessProduct * SOAP_FMAC2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__RatioLayer1ToTotalPermeabilityThicknessProduct *p; size_t k = sizeof(prodml23__RatioLayer1ToTotalPermeabilityThicknessProduct); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RatioLayer1ToTotalPermeabilityThicknessProduct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RatioLayer1ToTotalPermeabilityThicknessProduct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -180912,13 +179776,9 @@ SOAP_FMAC1 prodml23__RatioLayer1ToTotalPermeabilityThicknessProduct * SOAP_FMAC2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__RatioLayer1ToTotalPermeabilityThicknessProduct location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -181079,7 +179939,7 @@ SOAP_FMAC1 prodml23__RatioInitialToFinalWellboreStorage * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__RatioInitialToFinalWellboreStorage *p; size_t k = sizeof(prodml23__RatioInitialToFinalWellboreStorage); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RatioInitialToFinalWellboreStorage, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RatioInitialToFinalWellboreStorage, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -181094,13 +179954,9 @@ SOAP_FMAC1 prodml23__RatioInitialToFinalWellboreStorage * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__RatioInitialToFinalWellboreStorage location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -181261,7 +180117,7 @@ SOAP_FMAC1 prodml23__RatioDpSkinToTotalDrawdown * SOAP_FMAC2 soap_instantiate_pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__RatioDpSkinToTotalDrawdown *p; size_t k = sizeof(prodml23__RatioDpSkinToTotalDrawdown); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RatioDpSkinToTotalDrawdown, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RatioDpSkinToTotalDrawdown, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -181276,13 +180132,9 @@ SOAP_FMAC1 prodml23__RatioDpSkinToTotalDrawdown * SOAP_FMAC2 soap_instantiate_pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__RatioDpSkinToTotalDrawdown location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -181443,7 +180295,7 @@ SOAP_FMAC1 prodml23__RateDependentSkinFactor * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__RateDependentSkinFactor *p; size_t k = sizeof(prodml23__RateDependentSkinFactor); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RateDependentSkinFactor, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RateDependentSkinFactor, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -181458,13 +180310,9 @@ SOAP_FMAC1 prodml23__RateDependentSkinFactor * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__RateDependentSkinFactor location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -181625,7 +180473,7 @@ SOAP_FMAC1 prodml23__RadiusOfInvestigation * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__RadiusOfInvestigation *p; size_t k = sizeof(prodml23__RadiusOfInvestigation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RadiusOfInvestigation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RadiusOfInvestigation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -181640,13 +180488,9 @@ SOAP_FMAC1 prodml23__RadiusOfInvestigation * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__RadiusOfInvestigation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -181807,7 +180651,7 @@ SOAP_FMAC1 prodml23__PressureDatumTVD * SOAP_FMAC2 soap_instantiate_prodml23__Pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PressureDatumTVD *p; size_t k = sizeof(prodml23__PressureDatumTVD); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PressureDatumTVD, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PressureDatumTVD, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -181822,13 +180666,9 @@ SOAP_FMAC1 prodml23__PressureDatumTVD * SOAP_FMAC2 soap_instantiate_prodml23__Pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PressureDatumTVD location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -181989,7 +180829,7 @@ SOAP_FMAC1 prodml23__Porosity * SOAP_FMAC2 soap_instantiate_prodml23__Porosity(s (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__Porosity *p; size_t k = sizeof(prodml23__Porosity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Porosity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Porosity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -182004,13 +180844,9 @@ SOAP_FMAC1 prodml23__Porosity * SOAP_FMAC2 soap_instantiate_prodml23__Porosity(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__Porosity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -182171,7 +181007,7 @@ SOAP_FMAC1 prodml23__PoreVolumeOfInvestigation * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PoreVolumeOfInvestigation *p; size_t k = sizeof(prodml23__PoreVolumeOfInvestigation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PoreVolumeOfInvestigation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PoreVolumeOfInvestigation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -182186,13 +181022,9 @@ SOAP_FMAC1 prodml23__PoreVolumeOfInvestigation * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PoreVolumeOfInvestigation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -182353,7 +181185,7 @@ SOAP_FMAC1 prodml23__PoreVolumeMeasured * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PoreVolumeMeasured *p; size_t k = sizeof(prodml23__PoreVolumeMeasured); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PoreVolumeMeasured, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PoreVolumeMeasured, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -182368,13 +181200,9 @@ SOAP_FMAC1 prodml23__PoreVolumeMeasured * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PoreVolumeMeasured location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -182535,7 +181363,7 @@ SOAP_FMAC1 prodml23__PermeabilityThicknessProduct * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PermeabilityThicknessProduct *p; size_t k = sizeof(prodml23__PermeabilityThicknessProduct); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PermeabilityThicknessProduct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PermeabilityThicknessProduct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -182550,13 +181378,9 @@ SOAP_FMAC1 prodml23__PermeabilityThicknessProduct * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PermeabilityThicknessProduct location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -182717,7 +181541,7 @@ SOAP_FMAC1 prodml23__PerforatedLength * SOAP_FMAC2 soap_instantiate_prodml23__Pe (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PerforatedLength *p; size_t k = sizeof(prodml23__PerforatedLength); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PerforatedLength, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PerforatedLength, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -182732,13 +181556,9 @@ SOAP_FMAC1 prodml23__PerforatedLength * SOAP_FMAC2 soap_instantiate_prodml23__Pe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PerforatedLength location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -182899,7 +181719,7 @@ SOAP_FMAC1 prodml23__OrientationWellTrajectory * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OrientationWellTrajectory *p; size_t k = sizeof(prodml23__OrientationWellTrajectory); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OrientationWellTrajectory, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OrientationWellTrajectory, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -182914,13 +181734,9 @@ SOAP_FMAC1 prodml23__OrientationWellTrajectory * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OrientationWellTrajectory location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -183081,7 +181897,7 @@ SOAP_FMAC1 prodml23__OrientationOfNormalToBoundary1 * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OrientationOfNormalToBoundary1 *p; size_t k = sizeof(prodml23__OrientationOfNormalToBoundary1); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OrientationOfNormalToBoundary1, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OrientationOfNormalToBoundary1, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -183096,13 +181912,9 @@ SOAP_FMAC1 prodml23__OrientationOfNormalToBoundary1 * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OrientationOfNormalToBoundary1 location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -183263,7 +182075,7 @@ SOAP_FMAC1 prodml23__OrientationOfLinearFront * SOAP_FMAC2 soap_instantiate_prod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OrientationOfLinearFront *p; size_t k = sizeof(prodml23__OrientationOfLinearFront); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OrientationOfLinearFront, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OrientationOfLinearFront, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -183278,13 +182090,9 @@ SOAP_FMAC1 prodml23__OrientationOfLinearFront * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OrientationOfLinearFront location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -183445,7 +182253,7 @@ SOAP_FMAC1 prodml23__OrientationOfFracturePlane * SOAP_FMAC2 soap_instantiate_pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OrientationOfFracturePlane *p; size_t k = sizeof(prodml23__OrientationOfFracturePlane); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OrientationOfFracturePlane, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OrientationOfFracturePlane, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -183460,13 +182268,9 @@ SOAP_FMAC1 prodml23__OrientationOfFracturePlane * SOAP_FMAC2 soap_instantiate_pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OrientationOfFracturePlane location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -183627,7 +182431,7 @@ SOAP_FMAC1 prodml23__OrientationOfAnisotropyXDirection * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OrientationOfAnisotropyXDirection *p; size_t k = sizeof(prodml23__OrientationOfAnisotropyXDirection); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OrientationOfAnisotropyXDirection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OrientationOfAnisotropyXDirection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -183642,13 +182446,9 @@ SOAP_FMAC1 prodml23__OrientationOfAnisotropyXDirection * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OrientationOfAnisotropyXDirection location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -183804,7 +182604,7 @@ SOAP_FMAC1 prodml23__NumberOfFractures * SOAP_FMAC2 soap_instantiate_prodml23__N (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__NumberOfFractures *p; size_t k = sizeof(prodml23__NumberOfFractures); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NumberOfFractures, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NumberOfFractures, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -183819,13 +182619,9 @@ SOAP_FMAC1 prodml23__NumberOfFractures * SOAP_FMAC2 soap_instantiate_prodml23__N for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__NumberOfFractures location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -183983,7 +182779,7 @@ SOAP_FMAC1 prodml23__ModelName * SOAP_FMAC2 soap_instantiate_prodml23__ModelName (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ModelName *p; size_t k = sizeof(prodml23__ModelName); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ModelName, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ModelName, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -183998,13 +182794,9 @@ SOAP_FMAC1 prodml23__ModelName * SOAP_FMAC2 soap_instantiate_prodml23__ModelName for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ModelName location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -184165,7 +182957,7 @@ SOAP_FMAC1 prodml23__MechanicalSkinRelativeToTotalThickness * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__MechanicalSkinRelativeToTotalThickness *p; size_t k = sizeof(prodml23__MechanicalSkinRelativeToTotalThickness); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MechanicalSkinRelativeToTotalThickness, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MechanicalSkinRelativeToTotalThickness, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -184180,13 +182972,9 @@ SOAP_FMAC1 prodml23__MechanicalSkinRelativeToTotalThickness * SOAP_FMAC2 soap_in for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__MechanicalSkinRelativeToTotalThickness location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -184347,7 +183135,7 @@ SOAP_FMAC1 prodml23__LengthHorizontalWellboreFlowing * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LengthHorizontalWellboreFlowing *p; size_t k = sizeof(prodml23__LengthHorizontalWellboreFlowing); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LengthHorizontalWellboreFlowing, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LengthHorizontalWellboreFlowing, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -184362,13 +183150,9 @@ SOAP_FMAC1 prodml23__LengthHorizontalWellboreFlowing * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LengthHorizontalWellboreFlowing location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -184529,7 +183313,7 @@ SOAP_FMAC1 prodml23__LeakSkin * SOAP_FMAC2 soap_instantiate_prodml23__LeakSkin(s (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LeakSkin *p; size_t k = sizeof(prodml23__LeakSkin); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LeakSkin, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LeakSkin, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -184544,13 +183328,9 @@ SOAP_FMAC1 prodml23__LeakSkin * SOAP_FMAC2 soap_instantiate_prodml23__LeakSkin(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LeakSkin location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -184711,7 +183491,7 @@ SOAP_FMAC1 prodml23__Layer2Thickness * SOAP_FMAC2 soap_instantiate_prodml23__Lay (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__Layer2Thickness *p; size_t k = sizeof(prodml23__Layer2Thickness); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Layer2Thickness, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Layer2Thickness, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -184726,13 +183506,9 @@ SOAP_FMAC1 prodml23__Layer2Thickness * SOAP_FMAC2 soap_instantiate_prodml23__Lay for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__Layer2Thickness location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -184893,7 +183669,7 @@ SOAP_FMAC1 prodml23__InterporosityFlowParameter * SOAP_FMAC2 soap_instantiate_pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__InterporosityFlowParameter *p; size_t k = sizeof(prodml23__InterporosityFlowParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InterporosityFlowParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InterporosityFlowParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -184908,13 +183684,9 @@ SOAP_FMAC1 prodml23__InterporosityFlowParameter * SOAP_FMAC2 soap_instantiate_pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__InterporosityFlowParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -185075,7 +183847,7 @@ SOAP_FMAC1 prodml23__InnerToOuterZoneMobilityRatio * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__InnerToOuterZoneMobilityRatio *p; size_t k = sizeof(prodml23__InnerToOuterZoneMobilityRatio); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InnerToOuterZoneMobilityRatio, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InnerToOuterZoneMobilityRatio, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -185090,13 +183862,9 @@ SOAP_FMAC1 prodml23__InnerToOuterZoneMobilityRatio * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__InnerToOuterZoneMobilityRatio location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -185257,7 +184025,7 @@ SOAP_FMAC1 prodml23__InnerToOuterZoneDiffusivityRatio * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__InnerToOuterZoneDiffusivityRatio *p; size_t k = sizeof(prodml23__InnerToOuterZoneDiffusivityRatio); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InnerToOuterZoneDiffusivityRatio, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InnerToOuterZoneDiffusivityRatio, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -185272,13 +184040,9 @@ SOAP_FMAC1 prodml23__InnerToOuterZoneDiffusivityRatio * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__InnerToOuterZoneDiffusivityRatio location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -185439,7 +184203,7 @@ SOAP_FMAC1 prodml23__InitialPressure * SOAP_FMAC2 soap_instantiate_prodml23__Ini (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__InitialPressure *p; size_t k = sizeof(prodml23__InitialPressure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InitialPressure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InitialPressure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -185454,13 +184218,9 @@ SOAP_FMAC1 prodml23__InitialPressure * SOAP_FMAC2 soap_instantiate_prodml23__Ini for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__InitialPressure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -185621,7 +184381,7 @@ SOAP_FMAC1 prodml23__HorizontalRadialPermeability * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__HorizontalRadialPermeability *p; size_t k = sizeof(prodml23__HorizontalRadialPermeability); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HorizontalRadialPermeability, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HorizontalRadialPermeability, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -185636,13 +184396,9 @@ SOAP_FMAC1 prodml23__HorizontalRadialPermeability * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__HorizontalRadialPermeability location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -185803,7 +184559,7 @@ SOAP_FMAC1 prodml23__HorizontalAnisotropyKxToKy * SOAP_FMAC2 soap_instantiate_pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__HorizontalAnisotropyKxToKy *p; size_t k = sizeof(prodml23__HorizontalAnisotropyKxToKy); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HorizontalAnisotropyKxToKy, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HorizontalAnisotropyKxToKy, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -185818,13 +184574,9 @@ SOAP_FMAC1 prodml23__HorizontalAnisotropyKxToKy * SOAP_FMAC2 soap_instantiate_pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__HorizontalAnisotropyKxToKy location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -185985,7 +184737,7 @@ SOAP_FMAC1 prodml23__FractureStorativityRatio * SOAP_FMAC2 soap_instantiate_prod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FractureStorativityRatio *p; size_t k = sizeof(prodml23__FractureStorativityRatio); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FractureStorativityRatio, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FractureStorativityRatio, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -186000,13 +184752,9 @@ SOAP_FMAC1 prodml23__FractureStorativityRatio * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FractureStorativityRatio location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -186164,7 +184912,7 @@ SOAP_FMAC1 prodml23__FractureRadius * SOAP_FMAC2 soap_instantiate_prodml23__Frac (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FractureRadius *p; size_t k = sizeof(prodml23__FractureRadius); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FractureRadius, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FractureRadius, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -186179,13 +184927,9 @@ SOAP_FMAC1 prodml23__FractureRadius * SOAP_FMAC2 soap_instantiate_prodml23__Frac for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FractureRadius location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -186346,7 +185090,7 @@ SOAP_FMAC1 prodml23__FractureHeight * SOAP_FMAC2 soap_instantiate_prodml23__Frac (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FractureHeight *p; size_t k = sizeof(prodml23__FractureHeight); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FractureHeight, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FractureHeight, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -186361,13 +185105,9 @@ SOAP_FMAC1 prodml23__FractureHeight * SOAP_FMAC2 soap_instantiate_prodml23__Frac for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FractureHeight location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -186528,7 +185268,7 @@ SOAP_FMAC1 prodml23__FractureHalfLength * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FractureHalfLength *p; size_t k = sizeof(prodml23__FractureHalfLength); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FractureHalfLength, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FractureHalfLength, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -186543,13 +185283,9 @@ SOAP_FMAC1 prodml23__FractureHalfLength * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FractureHalfLength location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -186710,7 +185446,7 @@ SOAP_FMAC1 prodml23__FractureFaceSkin * SOAP_FMAC2 soap_instantiate_prodml23__Fr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FractureFaceSkin *p; size_t k = sizeof(prodml23__FractureFaceSkin); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FractureFaceSkin, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FractureFaceSkin, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -186725,13 +185461,9 @@ SOAP_FMAC1 prodml23__FractureFaceSkin * SOAP_FMAC2 soap_instantiate_prodml23__Fr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FractureFaceSkin location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -186892,7 +185624,7 @@ SOAP_FMAC1 prodml23__FractureConductivity * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FractureConductivity *p; size_t k = sizeof(prodml23__FractureConductivity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FractureConductivity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FractureConductivity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -186907,13 +185639,9 @@ SOAP_FMAC1 prodml23__FractureConductivity * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FractureConductivity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -187074,7 +185802,7 @@ SOAP_FMAC1 prodml23__FractureAngleToWellbore * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FractureAngleToWellbore *p; size_t k = sizeof(prodml23__FractureAngleToWellbore); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FractureAngleToWellbore, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FractureAngleToWellbore, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -187089,13 +185817,9 @@ SOAP_FMAC1 prodml23__FractureAngleToWellbore * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FractureAngleToWellbore location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -187256,7 +185980,7 @@ SOAP_FMAC1 prodml23__FluidDensity * SOAP_FMAC2 soap_instantiate_prodml23__FluidD (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidDensity *p; size_t k = sizeof(prodml23__FluidDensity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidDensity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidDensity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -187271,13 +185995,9 @@ SOAP_FMAC1 prodml23__FluidDensity * SOAP_FMAC2 soap_instantiate_prodml23__FluidD for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidDensity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -187438,7 +186158,7 @@ SOAP_FMAC1 prodml23__FaultConductivity * SOAP_FMAC2 soap_instantiate_prodml23__F (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FaultConductivity *p; size_t k = sizeof(prodml23__FaultConductivity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FaultConductivity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FaultConductivity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -187453,13 +186173,9 @@ SOAP_FMAC1 prodml23__FaultConductivity * SOAP_FMAC2 soap_instantiate_prodml23__F for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FaultConductivity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -187620,7 +186336,7 @@ SOAP_FMAC1 prodml23__DrainageAreaMeasured * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DrainageAreaMeasured *p; size_t k = sizeof(prodml23__DrainageAreaMeasured); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DrainageAreaMeasured, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DrainageAreaMeasured, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -187635,13 +186351,9 @@ SOAP_FMAC1 prodml23__DrainageAreaMeasured * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DrainageAreaMeasured location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -187802,7 +186514,7 @@ SOAP_FMAC1 prodml23__DistanceWellboreToBottomBoundary * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DistanceWellboreToBottomBoundary *p; size_t k = sizeof(prodml23__DistanceWellboreToBottomBoundary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceWellboreToBottomBoundary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceWellboreToBottomBoundary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -187817,13 +186529,9 @@ SOAP_FMAC1 prodml23__DistanceWellboreToBottomBoundary * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DistanceWellboreToBottomBoundary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -187984,7 +186692,7 @@ SOAP_FMAC1 prodml23__DistanceToPinchOut * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DistanceToPinchOut *p; size_t k = sizeof(prodml23__DistanceToPinchOut); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceToPinchOut, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceToPinchOut, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -187999,13 +186707,9 @@ SOAP_FMAC1 prodml23__DistanceToPinchOut * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DistanceToPinchOut location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -188166,7 +186870,7 @@ SOAP_FMAC1 prodml23__DistanceToMobilityInterface * SOAP_FMAC2 soap_instantiate_p (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DistanceToMobilityInterface *p; size_t k = sizeof(prodml23__DistanceToMobilityInterface); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceToMobilityInterface, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceToMobilityInterface, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -188181,13 +186885,9 @@ SOAP_FMAC1 prodml23__DistanceToMobilityInterface * SOAP_FMAC2 soap_instantiate_p for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DistanceToMobilityInterface location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -188348,7 +187048,7 @@ SOAP_FMAC1 prodml23__DistanceToBoundary4 * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DistanceToBoundary4 *p; size_t k = sizeof(prodml23__DistanceToBoundary4); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceToBoundary4, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceToBoundary4, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -188363,13 +187063,9 @@ SOAP_FMAC1 prodml23__DistanceToBoundary4 * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DistanceToBoundary4 location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -188530,7 +187226,7 @@ SOAP_FMAC1 prodml23__DistanceToBoundary3 * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DistanceToBoundary3 *p; size_t k = sizeof(prodml23__DistanceToBoundary3); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceToBoundary3, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceToBoundary3, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -188545,13 +187241,9 @@ SOAP_FMAC1 prodml23__DistanceToBoundary3 * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DistanceToBoundary3 location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -188712,7 +187404,7 @@ SOAP_FMAC1 prodml23__DistanceToBoundary2 * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DistanceToBoundary2 *p; size_t k = sizeof(prodml23__DistanceToBoundary2); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceToBoundary2, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceToBoundary2, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -188727,13 +187419,9 @@ SOAP_FMAC1 prodml23__DistanceToBoundary2 * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DistanceToBoundary2 location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -188894,7 +187582,7 @@ SOAP_FMAC1 prodml23__DistanceToBoundary1 * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DistanceToBoundary1 *p; size_t k = sizeof(prodml23__DistanceToBoundary1); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceToBoundary1, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceToBoundary1, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -188909,13 +187597,9 @@ SOAP_FMAC1 prodml23__DistanceToBoundary1 * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DistanceToBoundary1 location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -189076,7 +187760,7 @@ SOAP_FMAC1 prodml23__DistanceMidPerforationsToBottomBoundary * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DistanceMidPerforationsToBottomBoundary *p; size_t k = sizeof(prodml23__DistanceMidPerforationsToBottomBoundary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceMidPerforationsToBottomBoundary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceMidPerforationsToBottomBoundary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -189091,13 +187775,9 @@ SOAP_FMAC1 prodml23__DistanceMidPerforationsToBottomBoundary * SOAP_FMAC2 soap_i for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DistanceMidPerforationsToBottomBoundary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -189258,7 +187938,7 @@ SOAP_FMAC1 prodml23__DistanceMidFractureHeightToBottomBoundary * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DistanceMidFractureHeightToBottomBoundary *p; size_t k = sizeof(prodml23__DistanceMidFractureHeightToBottomBoundary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceMidFractureHeightToBottomBoundary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceMidFractureHeightToBottomBoundary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -189273,13 +187953,9 @@ SOAP_FMAC1 prodml23__DistanceMidFractureHeightToBottomBoundary * SOAP_FMAC2 soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DistanceMidFractureHeightToBottomBoundary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -189440,7 +188116,7 @@ SOAP_FMAC1 prodml23__DistanceFractureToBottomBoundary * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DistanceFractureToBottomBoundary *p; size_t k = sizeof(prodml23__DistanceFractureToBottomBoundary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceFractureToBottomBoundary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistanceFractureToBottomBoundary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -189455,13 +188131,9 @@ SOAP_FMAC1 prodml23__DistanceFractureToBottomBoundary * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DistanceFractureToBottomBoundary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -189622,7 +188294,7 @@ SOAP_FMAC1 prodml23__DeltaTimeStorageChanges * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DeltaTimeStorageChanges *p; size_t k = sizeof(prodml23__DeltaTimeStorageChanges); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeltaTimeStorageChanges, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeltaTimeStorageChanges, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -189637,13 +188309,9 @@ SOAP_FMAC1 prodml23__DeltaTimeStorageChanges * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DeltaTimeStorageChanges location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -189804,7 +188472,7 @@ SOAP_FMAC1 prodml23__DeltaPressureTotalSkin * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DeltaPressureTotalSkin *p; size_t k = sizeof(prodml23__DeltaPressureTotalSkin); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeltaPressureTotalSkin, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeltaPressureTotalSkin, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -189819,13 +188487,9 @@ SOAP_FMAC1 prodml23__DeltaPressureTotalSkin * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DeltaPressureTotalSkin location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -189994,7 +188658,7 @@ SOAP_FMAC1 prodml23__CustomParameter * SOAP_FMAC2 soap_instantiate_prodml23__Cus (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CustomParameter *p; size_t k = sizeof(prodml23__CustomParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CustomParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CustomParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -190009,13 +188673,9 @@ SOAP_FMAC1 prodml23__CustomParameter * SOAP_FMAC2 soap_instantiate_prodml23__Cus for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CustomParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -190176,7 +188836,7 @@ SOAP_FMAC1 prodml23__ConvergenceSkinRelativeToTotalThickness * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ConvergenceSkinRelativeToTotalThickness *p; size_t k = sizeof(prodml23__ConvergenceSkinRelativeToTotalThickness); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ConvergenceSkinRelativeToTotalThickness, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ConvergenceSkinRelativeToTotalThickness, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -190191,13 +188851,9 @@ SOAP_FMAC1 prodml23__ConvergenceSkinRelativeToTotalThickness * SOAP_FMAC2 soap_i for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ConvergenceSkinRelativeToTotalThickness location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -190358,7 +189014,7 @@ SOAP_FMAC1 prodml23__AveragePressure * SOAP_FMAC2 soap_instantiate_prodml23__Ave (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__AveragePressure *p; size_t k = sizeof(prodml23__AveragePressure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AveragePressure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AveragePressure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -190373,13 +189029,9 @@ SOAP_FMAC1 prodml23__AveragePressure * SOAP_FMAC2 soap_instantiate_prodml23__Ave for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AveragePressure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -190540,7 +189192,7 @@ SOAP_FMAC1 prodml23__AngleBetweenBoundaries * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__AngleBetweenBoundaries *p; size_t k = sizeof(prodml23__AngleBetweenBoundaries); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AngleBetweenBoundaries, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AngleBetweenBoundaries, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -190555,13 +189207,9 @@ SOAP_FMAC1 prodml23__AngleBetweenBoundaries * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AngleBetweenBoundaries location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -190820,7 +189468,7 @@ SOAP_FMAC1 prodml23__AbstractParameter * SOAP_FMAC2 soap_instantiate_prodml23__A return soap_instantiate_prodml23__WellboreVolume(soap, n, NULL, NULL, size); prodml23__AbstractParameter *p; size_t k = sizeof(prodml23__AbstractParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -190835,13 +189483,9 @@ SOAP_FMAC1 prodml23__AbstractParameter * SOAP_FMAC2 soap_instantiate_prodml23__A for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -191076,7 +189720,7 @@ SOAP_FMAC1 prodml23__WellboreBaseModel * SOAP_FMAC2 soap_instantiate_prodml23__W return soap_instantiate_prodml23__CustomWellboreModel(soap, n, NULL, NULL, size); prodml23__WellboreBaseModel *p; size_t k = sizeof(prodml23__WellboreBaseModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellboreBaseModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellboreBaseModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -191091,13 +189735,9 @@ SOAP_FMAC1 prodml23__WellboreBaseModel * SOAP_FMAC2 soap_instantiate_prodml23__W for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__WellboreBaseModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -191328,7 +189968,7 @@ SOAP_FMAC1 prodml23__UShapedFaultsModel * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__UShapedFaultsModel *p; size_t k = sizeof(prodml23__UShapedFaultsModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__UShapedFaultsModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__UShapedFaultsModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -191343,13 +189983,9 @@ SOAP_FMAC1 prodml23__UShapedFaultsModel * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__UShapedFaultsModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -191555,7 +190191,7 @@ SOAP_FMAC1 prodml23__TwoParallelFaultsModel * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__TwoParallelFaultsModel *p; size_t k = sizeof(prodml23__TwoParallelFaultsModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TwoParallelFaultsModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TwoParallelFaultsModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -191570,13 +190206,9 @@ SOAP_FMAC1 prodml23__TwoParallelFaultsModel * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__TwoParallelFaultsModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -191797,7 +190429,7 @@ SOAP_FMAC1 prodml23__TwoIntersectingFaultsModel * SOAP_FMAC2 soap_instantiate_pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__TwoIntersectingFaultsModel *p; size_t k = sizeof(prodml23__TwoIntersectingFaultsModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TwoIntersectingFaultsModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TwoIntersectingFaultsModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -191812,13 +190444,9 @@ SOAP_FMAC1 prodml23__TwoIntersectingFaultsModel * SOAP_FMAC2 soap_instantiate_pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__TwoIntersectingFaultsModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -192074,7 +190702,7 @@ SOAP_FMAC1 prodml23__SlantedPartiallyPenetratingModel * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SlantedPartiallyPenetratingModel *p; size_t k = sizeof(prodml23__SlantedPartiallyPenetratingModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SlantedPartiallyPenetratingModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SlantedPartiallyPenetratingModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -192089,13 +190717,9 @@ SOAP_FMAC1 prodml23__SlantedPartiallyPenetratingModel * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SlantedPartiallyPenetratingModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -192321,7 +190945,7 @@ SOAP_FMAC1 prodml23__SlantedFullyPenetratingModel * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SlantedFullyPenetratingModel *p; size_t k = sizeof(prodml23__SlantedFullyPenetratingModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SlantedFullyPenetratingModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SlantedFullyPenetratingModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -192336,13 +190960,9 @@ SOAP_FMAC1 prodml23__SlantedFullyPenetratingModel * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SlantedFullyPenetratingModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -192523,7 +191143,7 @@ SOAP_FMAC1 prodml23__SingleFaultModel * SOAP_FMAC2 soap_instantiate_prodml23__Si (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SingleFaultModel *p; size_t k = sizeof(prodml23__SingleFaultModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SingleFaultModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SingleFaultModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -192538,13 +191158,9 @@ SOAP_FMAC1 prodml23__SingleFaultModel * SOAP_FMAC2 soap_instantiate_prodml23__Si for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SingleFaultModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -192849,7 +191465,7 @@ SOAP_FMAC1 prodml23__ReservoirBaseModel * SOAP_FMAC2 soap_instantiate_prodml23__ return soap_instantiate_prodml23__RadialCompositeModel(soap, n, NULL, NULL, size); prodml23__ReservoirBaseModel *p; size_t k = sizeof(prodml23__ReservoirBaseModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReservoirBaseModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReservoirBaseModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -192864,13 +191480,9 @@ SOAP_FMAC1 prodml23__ReservoirBaseModel * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ReservoirBaseModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -193170,7 +191782,7 @@ SOAP_FMAC1 prodml23__RadialCompositeModel * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__RadialCompositeModel *p; size_t k = sizeof(prodml23__RadialCompositeModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RadialCompositeModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RadialCompositeModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -193185,13 +191797,9 @@ SOAP_FMAC1 prodml23__RadialCompositeModel * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__RadialCompositeModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -193362,7 +191970,7 @@ SOAP_FMAC1 prodml23__PinchOutModel * SOAP_FMAC2 soap_instantiate_prodml23__Pinch (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PinchOutModel *p; size_t k = sizeof(prodml23__PinchOutModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PinchOutModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PinchOutModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -193377,13 +191985,9 @@ SOAP_FMAC1 prodml23__PinchOutModel * SOAP_FMAC2 soap_instantiate_prodml23__Pinch for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PinchOutModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -193613,7 +192217,7 @@ SOAP_FMAC1 prodml23__PartiallyPenetratingModel * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PartiallyPenetratingModel *p; size_t k = sizeof(prodml23__PartiallyPenetratingModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PartiallyPenetratingModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PartiallyPenetratingModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -193628,13 +192232,9 @@ SOAP_FMAC1 prodml23__PartiallyPenetratingModel * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PartiallyPenetratingModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -193920,7 +192520,7 @@ SOAP_FMAC1 prodml23__NumericalHomogeneousReservoirModel * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__NumericalHomogeneousReservoirModel *p; size_t k = sizeof(prodml23__NumericalHomogeneousReservoirModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NumericalHomogeneousReservoirModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NumericalHomogeneousReservoirModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -193935,13 +192535,9 @@ SOAP_FMAC1 prodml23__NumericalHomogeneousReservoirModel * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__NumericalHomogeneousReservoirModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -194257,7 +192853,7 @@ SOAP_FMAC1 prodml23__NumericalDualPorosityReservoirModel * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__NumericalDualPorosityReservoirModel *p; size_t k = sizeof(prodml23__NumericalDualPorosityReservoirModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NumericalDualPorosityReservoirModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NumericalDualPorosityReservoirModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -194272,13 +192868,9 @@ SOAP_FMAC1 prodml23__NumericalDualPorosityReservoirModel * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__NumericalDualPorosityReservoirModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -194445,7 +193037,7 @@ SOAP_FMAC1 prodml23__NumericalBoundaryModel * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__NumericalBoundaryModel *p; size_t k = sizeof(prodml23__NumericalBoundaryModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NumericalBoundaryModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NumericalBoundaryModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -194460,13 +193052,9 @@ SOAP_FMAC1 prodml23__NumericalBoundaryModel * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__NumericalBoundaryModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -194671,7 +193259,7 @@ SOAP_FMAC1 prodml23__NearWellboreBaseModel * SOAP_FMAC2 soap_instantiate_prodml2 return soap_instantiate_prodml23__SlantedPartiallyPenetratingModel(soap, n, NULL, NULL, size); prodml23__NearWellboreBaseModel *p; size_t k = sizeof(prodml23__NearWellboreBaseModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NearWellboreBaseModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NearWellboreBaseModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -194686,13 +193274,9 @@ SOAP_FMAC1 prodml23__NearWellboreBaseModel * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__NearWellboreBaseModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -195018,7 +193602,7 @@ SOAP_FMAC1 prodml23__LinearCompositeWithLeakyFaultModel * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LinearCompositeWithLeakyFaultModel *p; size_t k = sizeof(prodml23__LinearCompositeWithLeakyFaultModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LinearCompositeWithLeakyFaultModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LinearCompositeWithLeakyFaultModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -195033,13 +193617,9 @@ SOAP_FMAC1 prodml23__LinearCompositeWithLeakyFaultModel * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LinearCompositeWithLeakyFaultModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -195380,7 +193960,7 @@ SOAP_FMAC1 prodml23__LinearCompositeWithConductiveFaultModel * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LinearCompositeWithConductiveFaultModel *p; size_t k = sizeof(prodml23__LinearCompositeWithConductiveFaultModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LinearCompositeWithConductiveFaultModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LinearCompositeWithConductiveFaultModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -195395,13 +193975,9 @@ SOAP_FMAC1 prodml23__LinearCompositeWithConductiveFaultModel * SOAP_FMAC2 soap_i for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LinearCompositeWithConductiveFaultModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -195712,7 +194288,7 @@ SOAP_FMAC1 prodml23__LinearCompositeWithChangingThicknessAcrossLeakyFaultModel * (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LinearCompositeWithChangingThicknessAcrossLeakyFaultModel *p; size_t k = sizeof(prodml23__LinearCompositeWithChangingThicknessAcrossLeakyFaultModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LinearCompositeWithChangingThicknessAcrossLeakyFaultModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LinearCompositeWithChangingThicknessAcrossLeakyFaultModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -195727,13 +194303,9 @@ SOAP_FMAC1 prodml23__LinearCompositeWithChangingThicknessAcrossLeakyFaultModel * for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LinearCompositeWithChangingThicknessAcrossLeakyFaultModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -196044,7 +194616,7 @@ SOAP_FMAC1 prodml23__LinearCompositeModel * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LinearCompositeModel *p; size_t k = sizeof(prodml23__LinearCompositeModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LinearCompositeModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LinearCompositeModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -196059,13 +194631,9 @@ SOAP_FMAC1 prodml23__LinearCompositeModel * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LinearCompositeModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -196202,7 +194770,7 @@ SOAP_FMAC1 prodml23__InfiniteBoundaryModel * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__InfiniteBoundaryModel *p; size_t k = sizeof(prodml23__InfiniteBoundaryModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InfiniteBoundaryModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InfiniteBoundaryModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -196217,13 +194785,9 @@ SOAP_FMAC1 prodml23__InfiniteBoundaryModel * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__InfiniteBoundaryModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -196472,7 +195036,7 @@ SOAP_FMAC1 prodml23__HorizontalWellboreMultipleVariableFracturedModel * SOAP_FMA (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__HorizontalWellboreMultipleVariableFracturedModel *p; size_t k = sizeof(prodml23__HorizontalWellboreMultipleVariableFracturedModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HorizontalWellboreMultipleVariableFracturedModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HorizontalWellboreMultipleVariableFracturedModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -196487,13 +195051,9 @@ SOAP_FMAC1 prodml23__HorizontalWellboreMultipleVariableFracturedModel * SOAP_FMA for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__HorizontalWellboreMultipleVariableFracturedModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -196829,7 +195389,7 @@ SOAP_FMAC1 prodml23__HorizontalWellboreMultipleEqualFracturedModel * SOAP_FMAC2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__HorizontalWellboreMultipleEqualFracturedModel *p; size_t k = sizeof(prodml23__HorizontalWellboreMultipleEqualFracturedModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HorizontalWellboreMultipleEqualFracturedModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HorizontalWellboreMultipleEqualFracturedModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -196844,13 +195404,9 @@ SOAP_FMAC1 prodml23__HorizontalWellboreMultipleEqualFracturedModel * SOAP_FMAC2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__HorizontalWellboreMultipleEqualFracturedModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -197080,7 +195636,7 @@ SOAP_FMAC1 prodml23__HorizontalWellboreModel * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__HorizontalWellboreModel *p; size_t k = sizeof(prodml23__HorizontalWellboreModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HorizontalWellboreModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HorizontalWellboreModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -197095,13 +195651,9 @@ SOAP_FMAC1 prodml23__HorizontalWellboreModel * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__HorizontalWellboreModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -197331,7 +195883,7 @@ SOAP_FMAC1 prodml23__HorizontalWellbore2LayerModel * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__HorizontalWellbore2LayerModel *p; size_t k = sizeof(prodml23__HorizontalWellbore2LayerModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HorizontalWellbore2LayerModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HorizontalWellbore2LayerModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -197346,13 +195898,9 @@ SOAP_FMAC1 prodml23__HorizontalWellbore2LayerModel * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__HorizontalWellbore2LayerModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -197607,7 +196155,7 @@ SOAP_FMAC1 prodml23__HomogeneousModel * SOAP_FMAC2 soap_instantiate_prodml23__Ho (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__HomogeneousModel *p; size_t k = sizeof(prodml23__HomogeneousModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HomogeneousModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HomogeneousModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -197622,13 +196170,9 @@ SOAP_FMAC1 prodml23__HomogeneousModel * SOAP_FMAC2 soap_instantiate_prodml23__Ho for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__HomogeneousModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -197865,7 +196409,7 @@ SOAP_FMAC1 prodml23__FracturedUniformFluxModel * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FracturedUniformFluxModel *p; size_t k = sizeof(prodml23__FracturedUniformFluxModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FracturedUniformFluxModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FracturedUniformFluxModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -197880,13 +196424,9 @@ SOAP_FMAC1 prodml23__FracturedUniformFluxModel * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FracturedUniformFluxModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -198123,7 +196663,7 @@ SOAP_FMAC1 prodml23__FracturedInfiniteConductivityModel * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FracturedInfiniteConductivityModel *p; size_t k = sizeof(prodml23__FracturedInfiniteConductivityModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FracturedInfiniteConductivityModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FracturedInfiniteConductivityModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -198138,13 +196678,9 @@ SOAP_FMAC1 prodml23__FracturedInfiniteConductivityModel * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FracturedInfiniteConductivityModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -198341,7 +196877,7 @@ SOAP_FMAC1 prodml23__FracturedHorizontalUniformFluxModel * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FracturedHorizontalUniformFluxModel *p; size_t k = sizeof(prodml23__FracturedHorizontalUniformFluxModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FracturedHorizontalUniformFluxModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FracturedHorizontalUniformFluxModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -198356,13 +196892,9 @@ SOAP_FMAC1 prodml23__FracturedHorizontalUniformFluxModel * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FracturedHorizontalUniformFluxModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -198559,7 +197091,7 @@ SOAP_FMAC1 prodml23__FracturedHorizontalInfiniteConductivityModel * SOAP_FMAC2 s (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FracturedHorizontalInfiniteConductivityModel *p; size_t k = sizeof(prodml23__FracturedHorizontalInfiniteConductivityModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FracturedHorizontalInfiniteConductivityModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FracturedHorizontalInfiniteConductivityModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -198574,13 +197106,9 @@ SOAP_FMAC1 prodml23__FracturedHorizontalInfiniteConductivityModel * SOAP_FMAC2 s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FracturedHorizontalInfiniteConductivityModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -198792,7 +197320,7 @@ SOAP_FMAC1 prodml23__FracturedHorizontalFiniteConductivityModel * SOAP_FMAC2 soa (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FracturedHorizontalFiniteConductivityModel *p; size_t k = sizeof(prodml23__FracturedHorizontalFiniteConductivityModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FracturedHorizontalFiniteConductivityModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FracturedHorizontalFiniteConductivityModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -198807,13 +197335,9 @@ SOAP_FMAC1 prodml23__FracturedHorizontalFiniteConductivityModel * SOAP_FMAC2 soa for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FracturedHorizontalFiniteConductivityModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -199065,7 +197589,7 @@ SOAP_FMAC1 prodml23__FracturedFiniteConductivityModel * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FracturedFiniteConductivityModel *p; size_t k = sizeof(prodml23__FracturedFiniteConductivityModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FracturedFiniteConductivityModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FracturedFiniteConductivityModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -199080,13 +197604,9 @@ SOAP_FMAC1 prodml23__FracturedFiniteConductivityModel * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FracturedFiniteConductivityModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -199264,7 +197784,7 @@ SOAP_FMAC1 prodml23__FiniteRadiusModel * SOAP_FMAC2 soap_instantiate_prodml23__F (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FiniteRadiusModel *p; size_t k = sizeof(prodml23__FiniteRadiusModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FiniteRadiusModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FiniteRadiusModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -199279,13 +197799,9 @@ SOAP_FMAC1 prodml23__FiniteRadiusModel * SOAP_FMAC2 soap_instantiate_prodml23__F for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FiniteRadiusModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -199570,7 +198086,7 @@ SOAP_FMAC1 prodml23__DualPorosityTransientSpheresModel * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DualPorosityTransientSpheresModel *p; size_t k = sizeof(prodml23__DualPorosityTransientSpheresModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DualPorosityTransientSpheresModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DualPorosityTransientSpheresModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -199585,13 +198101,9 @@ SOAP_FMAC1 prodml23__DualPorosityTransientSpheresModel * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DualPorosityTransientSpheresModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -199876,7 +198388,7 @@ SOAP_FMAC1 prodml23__DualPorosityTransientSlabsModel * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DualPorosityTransientSlabsModel *p; size_t k = sizeof(prodml23__DualPorosityTransientSlabsModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DualPorosityTransientSlabsModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DualPorosityTransientSlabsModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -199891,13 +198403,9 @@ SOAP_FMAC1 prodml23__DualPorosityTransientSlabsModel * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DualPorosityTransientSlabsModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -200182,7 +198690,7 @@ SOAP_FMAC1 prodml23__DualPorosityPseudoSteadyStateModel * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DualPorosityPseudoSteadyStateModel *p; size_t k = sizeof(prodml23__DualPorosityPseudoSteadyStateModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DualPorosityPseudoSteadyStateModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DualPorosityPseudoSteadyStateModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -200197,13 +198705,9 @@ SOAP_FMAC1 prodml23__DualPorosityPseudoSteadyStateModel * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DualPorosityPseudoSteadyStateModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -200514,7 +199018,7 @@ SOAP_FMAC1 prodml23__DualPermeabilityWithCrossflowModel * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DualPermeabilityWithCrossflowModel *p; size_t k = sizeof(prodml23__DualPermeabilityWithCrossflowModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DualPermeabilityWithCrossflowModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DualPermeabilityWithCrossflowModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -200529,13 +199033,9 @@ SOAP_FMAC1 prodml23__DualPermeabilityWithCrossflowModel * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DualPermeabilityWithCrossflowModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -200773,7 +199273,7 @@ SOAP_FMAC1 prodml23__CustomWellboreModel * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CustomWellboreModel *p; size_t k = sizeof(prodml23__CustomWellboreModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CustomWellboreModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CustomWellboreModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -200788,13 +199288,9 @@ SOAP_FMAC1 prodml23__CustomWellboreModel * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CustomWellboreModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -201080,7 +199576,7 @@ SOAP_FMAC1 prodml23__CustomReservoirModel * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CustomReservoirModel *p; size_t k = sizeof(prodml23__CustomReservoirModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CustomReservoirModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CustomReservoirModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -201095,13 +199591,9 @@ SOAP_FMAC1 prodml23__CustomReservoirModel * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CustomReservoirModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -201299,7 +199791,7 @@ SOAP_FMAC1 prodml23__CustomNearWellboreModel * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CustomNearWellboreModel *p; size_t k = sizeof(prodml23__CustomNearWellboreModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CustomNearWellboreModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CustomNearWellboreModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -201314,13 +199806,9 @@ SOAP_FMAC1 prodml23__CustomNearWellboreModel * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CustomNearWellboreModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -201496,7 +199984,7 @@ SOAP_FMAC1 prodml23__CustomBoundaryModel * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CustomBoundaryModel *p; size_t k = sizeof(prodml23__CustomBoundaryModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CustomBoundaryModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CustomBoundaryModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -201511,13 +199999,9 @@ SOAP_FMAC1 prodml23__CustomBoundaryModel * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CustomBoundaryModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -201724,7 +200208,7 @@ SOAP_FMAC1 prodml23__ConstantStorageModel * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ConstantStorageModel *p; size_t k = sizeof(prodml23__ConstantStorageModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ConstantStorageModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ConstantStorageModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -201739,13 +200223,9 @@ SOAP_FMAC1 prodml23__ConstantStorageModel * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ConstantStorageModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -202023,7 +200503,7 @@ SOAP_FMAC1 prodml23__ClosedRectangleModel * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ClosedRectangleModel *p; size_t k = sizeof(prodml23__ClosedRectangleModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ClosedRectangleModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ClosedRectangleModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -202038,13 +200518,9 @@ SOAP_FMAC1 prodml23__ClosedRectangleModel * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ClosedRectangleModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -202199,7 +200675,7 @@ SOAP_FMAC1 prodml23__ClosedCircleModel * SOAP_FMAC2 soap_instantiate_prodml23__C (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ClosedCircleModel *p; size_t k = sizeof(prodml23__ClosedCircleModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ClosedCircleModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ClosedCircleModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -202214,13 +200690,9 @@ SOAP_FMAC1 prodml23__ClosedCircleModel * SOAP_FMAC2 soap_instantiate_prodml23__C for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ClosedCircleModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -202457,7 +200929,7 @@ SOAP_FMAC1 prodml23__ChangingStorageSpiveyPackerModel * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ChangingStorageSpiveyPackerModel *p; size_t k = sizeof(prodml23__ChangingStorageSpiveyPackerModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ChangingStorageSpiveyPackerModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ChangingStorageSpiveyPackerModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -202472,13 +200944,9 @@ SOAP_FMAC1 prodml23__ChangingStorageSpiveyPackerModel * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ChangingStorageSpiveyPackerModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -202715,7 +201183,7 @@ SOAP_FMAC1 prodml23__ChangingStorageSpiveyFissuresModel * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ChangingStorageSpiveyFissuresModel *p; size_t k = sizeof(prodml23__ChangingStorageSpiveyFissuresModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ChangingStorageSpiveyFissuresModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ChangingStorageSpiveyFissuresModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -202730,13 +201198,9 @@ SOAP_FMAC1 prodml23__ChangingStorageSpiveyFissuresModel * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ChangingStorageSpiveyFissuresModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -202973,7 +201437,7 @@ SOAP_FMAC1 prodml23__ChangingStorageHegemanModel * SOAP_FMAC2 soap_instantiate_p (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ChangingStorageHegemanModel *p; size_t k = sizeof(prodml23__ChangingStorageHegemanModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ChangingStorageHegemanModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ChangingStorageHegemanModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -202988,13 +201452,9 @@ SOAP_FMAC1 prodml23__ChangingStorageHegemanModel * SOAP_FMAC2 soap_instantiate_p for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ChangingStorageHegemanModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -203231,7 +201691,7 @@ SOAP_FMAC1 prodml23__ChangingStorageFairModel * SOAP_FMAC2 soap_instantiate_prod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ChangingStorageFairModel *p; size_t k = sizeof(prodml23__ChangingStorageFairModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ChangingStorageFairModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ChangingStorageFairModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -203246,13 +201706,9 @@ SOAP_FMAC1 prodml23__ChangingStorageFairModel * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ChangingStorageFairModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -203413,7 +201869,7 @@ SOAP_FMAC1 prodml23__BoundaryBaseModel * SOAP_FMAC2 soap_instantiate_prodml23__B return soap_instantiate_prodml23__UShapedFaultsModel(soap, n, NULL, NULL, size); prodml23__BoundaryBaseModel *p; size_t k = sizeof(prodml23__BoundaryBaseModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__BoundaryBaseModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__BoundaryBaseModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -203428,13 +201884,9 @@ SOAP_FMAC1 prodml23__BoundaryBaseModel * SOAP_FMAC2 soap_instantiate_prodml23__B for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__BoundaryBaseModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -203651,7 +202103,7 @@ SOAP_FMAC1 prodml23__AbstractModelSection * SOAP_FMAC2 soap_instantiate_prodml23 return soap_instantiate_prodml23__UShapedFaultsModel(soap, n, NULL, NULL, size); prodml23__AbstractModelSection *p; size_t k = sizeof(prodml23__AbstractModelSection); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractModelSection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractModelSection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -203666,13 +202118,9 @@ SOAP_FMAC1 prodml23__AbstractModelSection * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractModelSection location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -203789,7 +202237,7 @@ SOAP_FMAC1 prodml23__TestPeriodsFlowrateData * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__TestPeriodsFlowrateData *p; size_t k = sizeof(prodml23__TestPeriodsFlowrateData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TestPeriodsFlowrateData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TestPeriodsFlowrateData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -203804,13 +202252,9 @@ SOAP_FMAC1 prodml23__TestPeriodsFlowrateData * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__TestPeriodsFlowrateData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -204003,7 +202447,7 @@ SOAP_FMAC1 prodml23__SpecializedAnalysis * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SpecializedAnalysis *p; size_t k = sizeof(prodml23__SpecializedAnalysis); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SpecializedAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SpecializedAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -204018,13 +202462,9 @@ SOAP_FMAC1 prodml23__SpecializedAnalysis * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SpecializedAnalysis location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -204230,7 +202670,7 @@ SOAP_FMAC1 prodml23__SingleFractureSubModel * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SingleFractureSubModel *p; size_t k = sizeof(prodml23__SingleFractureSubModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SingleFractureSubModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SingleFractureSubModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -204245,13 +202685,9 @@ SOAP_FMAC1 prodml23__SingleFractureSubModel * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SingleFractureSubModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -204390,7 +202826,7 @@ SOAP_FMAC1 prodml23__SingleFlowrateData * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SingleFlowrateData *p; size_t k = sizeof(prodml23__SingleFlowrateData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SingleFlowrateData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SingleFlowrateData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -204405,13 +202841,9 @@ SOAP_FMAC1 prodml23__SingleFlowrateData * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SingleFlowrateData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -204543,7 +202975,7 @@ SOAP_FMAC1 prodml23__SingleBoundarySubModel * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SingleBoundarySubModel *p; size_t k = sizeof(prodml23__SingleBoundarySubModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SingleBoundarySubModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SingleBoundarySubModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -204558,13 +202990,9 @@ SOAP_FMAC1 prodml23__SingleBoundarySubModel * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SingleBoundarySubModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -204748,7 +203176,7 @@ SOAP_FMAC1 prodml23__RtaAnalysis * SOAP_FMAC2 soap_instantiate_prodml23__RtaAnal (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__RtaAnalysis *p; size_t k = sizeof(prodml23__RtaAnalysis); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RtaAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RtaAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -204763,13 +203191,9 @@ SOAP_FMAC1 prodml23__RtaAnalysis * SOAP_FMAC2 soap_instantiate_prodml23__RtaAnal for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__RtaAnalysis location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -204891,7 +203315,7 @@ SOAP_FMAC1 prodml23__ResqmlModelRef * SOAP_FMAC2 soap_instantiate_prodml23__Resq (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ResqmlModelRef *p; size_t k = sizeof(prodml23__ResqmlModelRef); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ResqmlModelRef, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ResqmlModelRef, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -204906,13 +203330,9 @@ SOAP_FMAC1 prodml23__ResqmlModelRef * SOAP_FMAC2 soap_instantiate_prodml23__Resq for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ResqmlModelRef location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -205060,7 +203480,7 @@ SOAP_FMAC1 prodml23__ReservoirZoneSubModel * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ReservoirZoneSubModel *p; size_t k = sizeof(prodml23__ReservoirZoneSubModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReservoirZoneSubModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReservoirZoneSubModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -205075,13 +203495,9 @@ SOAP_FMAC1 prodml23__ReservoirZoneSubModel * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ReservoirZoneSubModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -205410,7 +203826,7 @@ SOAP_FMAC1 prodml23__PtaDeconvolution * SOAP_FMAC2 soap_instantiate_prodml23__Pt (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PtaDeconvolution *p; size_t k = sizeof(prodml23__PtaDeconvolution); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PtaDeconvolution, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PtaDeconvolution, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -205425,13 +203841,9 @@ SOAP_FMAC1 prodml23__PtaDeconvolution * SOAP_FMAC2 soap_instantiate_prodml23__Pt for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PtaDeconvolution location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -205696,7 +204108,7 @@ SOAP_FMAC1 prodml23__PtaDataPreProcess * SOAP_FMAC2 soap_instantiate_prodml23__P (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PtaDataPreProcess *p; size_t k = sizeof(prodml23__PtaDataPreProcess); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PtaDataPreProcess, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PtaDataPreProcess, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -205711,13 +204123,9 @@ SOAP_FMAC1 prodml23__PtaDataPreProcess * SOAP_FMAC2 soap_instantiate_prodml23__P for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PtaDataPreProcess location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -205941,7 +204349,7 @@ SOAP_FMAC1 prodml23__PtaAnalysis * SOAP_FMAC2 soap_instantiate_prodml23__PtaAnal (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PtaAnalysis *p; size_t k = sizeof(prodml23__PtaAnalysis); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PtaAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PtaAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -205956,13 +204364,9 @@ SOAP_FMAC1 prodml23__PtaAnalysis * SOAP_FMAC2 soap_instantiate_prodml23__PtaAnal for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PtaAnalysis location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -206373,7 +204777,7 @@ SOAP_FMAC1 prodml23__PressureTransientAnalysis * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PressureTransientAnalysis *p; size_t k = sizeof(prodml23__PressureTransientAnalysis); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PressureTransientAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PressureTransientAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -206388,13 +204792,9 @@ SOAP_FMAC1 prodml23__PressureTransientAnalysis * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PressureTransientAnalysis location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -206617,7 +205017,7 @@ SOAP_FMAC1 prodml23__PreProcessedPressureData * SOAP_FMAC2 soap_instantiate_prod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PreProcessedPressureData *p; size_t k = sizeof(prodml23__PreProcessedPressureData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PreProcessedPressureData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PreProcessedPressureData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -206632,13 +205032,9 @@ SOAP_FMAC1 prodml23__PreProcessedPressureData * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PreProcessedPressureData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -206843,7 +205239,7 @@ SOAP_FMAC1 prodml23__PreProcessedFlowData * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PreProcessedFlowData *p; size_t k = sizeof(prodml23__PreProcessedFlowData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PreProcessedFlowData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PreProcessedFlowData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -206858,13 +205254,9 @@ SOAP_FMAC1 prodml23__PreProcessedFlowData * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PreProcessedFlowData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -207072,7 +205464,7 @@ SOAP_FMAC1 prodml23__OutputPressureData * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OutputPressureData *p; size_t k = sizeof(prodml23__OutputPressureData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OutputPressureData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OutputPressureData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -207087,13 +205479,9 @@ SOAP_FMAC1 prodml23__OutputPressureData * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OutputPressureData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -207283,7 +205671,7 @@ SOAP_FMAC1 prodml23__OutputFlowData * SOAP_FMAC2 soap_instantiate_prodml23__Outp (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OutputFlowData *p; size_t k = sizeof(prodml23__OutputFlowData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OutputFlowData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OutputFlowData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -207298,13 +205686,9 @@ SOAP_FMAC1 prodml23__OutputFlowData * SOAP_FMAC2 soap_instantiate_prodml23__Outp for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OutputFlowData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -207512,7 +205896,7 @@ SOAP_FMAC1 prodml23__MeasuredPressureData * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__MeasuredPressureData *p; size_t k = sizeof(prodml23__MeasuredPressureData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MeasuredPressureData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MeasuredPressureData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -207527,13 +205911,9 @@ SOAP_FMAC1 prodml23__MeasuredPressureData * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__MeasuredPressureData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -207723,7 +206103,7 @@ SOAP_FMAC1 prodml23__MeasuredFlowData * SOAP_FMAC2 soap_instantiate_prodml23__Me (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__MeasuredFlowData *p; size_t k = sizeof(prodml23__MeasuredFlowData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MeasuredFlowData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MeasuredFlowData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -207738,13 +206118,9 @@ SOAP_FMAC1 prodml23__MeasuredFlowData * SOAP_FMAC2 soap_instantiate_prodml23__Me for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__MeasuredFlowData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -207916,7 +206292,7 @@ SOAP_FMAC1 prodml23__LogLogAnalysis * SOAP_FMAC2 soap_instantiate_prodml23__LogL (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LogLogAnalysis *p; size_t k = sizeof(prodml23__LogLogAnalysis); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LogLogAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LogLogAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -207931,13 +206307,9 @@ SOAP_FMAC1 prodml23__LogLogAnalysis * SOAP_FMAC2 soap_instantiate_prodml23__LogL for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LogLogAnalysis location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -208074,7 +206446,7 @@ SOAP_FMAC1 prodml23__LocationIn2D * SOAP_FMAC2 soap_instantiate_prodml23__Locati (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LocationIn2D *p; size_t k = sizeof(prodml23__LocationIn2D); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LocationIn2D, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LocationIn2D, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -208089,13 +206461,9 @@ SOAP_FMAC1 prodml23__LocationIn2D * SOAP_FMAC2 soap_instantiate_prodml23__Locati for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LocationIn2D location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -208229,7 +206597,7 @@ SOAP_FMAC1 prodml23__LayerToLayerConnection * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LayerToLayerConnection *p; size_t k = sizeof(prodml23__LayerToLayerConnection); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LayerToLayerConnection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LayerToLayerConnection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -208244,13 +206612,9 @@ SOAP_FMAC1 prodml23__LayerToLayerConnection * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LayerToLayerConnection location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -208503,7 +206867,7 @@ SOAP_FMAC1 prodml23__LayerModel * SOAP_FMAC2 soap_instantiate_prodml23__LayerMod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LayerModel *p; size_t k = sizeof(prodml23__LayerModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LayerModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LayerModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -208518,13 +206882,9 @@ SOAP_FMAC1 prodml23__LayerModel * SOAP_FMAC2 soap_instantiate_prodml23__LayerMod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LayerModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -208701,7 +207061,7 @@ SOAP_FMAC1 prodml23__InternalFaultSubModel * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__InternalFaultSubModel *p; size_t k = sizeof(prodml23__InternalFaultSubModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InternalFaultSubModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InternalFaultSubModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -208716,13 +207076,9 @@ SOAP_FMAC1 prodml23__InternalFaultSubModel * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__InternalFaultSubModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -208903,7 +207259,7 @@ SOAP_FMAC1 prodml23__InterferingFlowTestInterval * SOAP_FMAC2 soap_instantiate_p (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__InterferingFlowTestInterval *p; size_t k = sizeof(prodml23__InterferingFlowTestInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InterferingFlowTestInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InterferingFlowTestInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -208918,13 +207274,9 @@ SOAP_FMAC1 prodml23__InterferingFlowTestInterval * SOAP_FMAC2 soap_instantiate_p for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__InterferingFlowTestInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -209163,7 +207515,7 @@ SOAP_FMAC1 prodml23__DistributedParametersSubModel * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DistributedParametersSubModel *p; size_t k = sizeof(prodml23__DistributedParametersSubModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistributedParametersSubModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DistributedParametersSubModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -209178,13 +207530,9 @@ SOAP_FMAC1 prodml23__DistributedParametersSubModel * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DistributedParametersSubModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -209407,7 +207755,7 @@ SOAP_FMAC1 prodml23__DeconvolvedPressureData * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DeconvolvedPressureData *p; size_t k = sizeof(prodml23__DeconvolvedPressureData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeconvolvedPressureData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeconvolvedPressureData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -209422,13 +207770,9 @@ SOAP_FMAC1 prodml23__DeconvolvedPressureData * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DeconvolvedPressureData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -209633,7 +207977,7 @@ SOAP_FMAC1 prodml23__DeconvolvedFlowData * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DeconvolvedFlowData *p; size_t k = sizeof(prodml23__DeconvolvedFlowData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeconvolvedFlowData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeconvolvedFlowData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -209648,13 +207992,9 @@ SOAP_FMAC1 prodml23__DeconvolvedFlowData * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DeconvolvedFlowData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -209778,7 +208118,7 @@ SOAP_FMAC1 prodml23__DeconvolutionSingleOutput * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DeconvolutionSingleOutput *p; size_t k = sizeof(prodml23__DeconvolutionSingleOutput); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeconvolutionSingleOutput, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeconvolutionSingleOutput, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -209793,13 +208133,9 @@ SOAP_FMAC1 prodml23__DeconvolutionSingleOutput * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DeconvolutionSingleOutput location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -209932,7 +208268,7 @@ SOAP_FMAC1 prodml23__DeconvolutionOutput * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DeconvolutionOutput *p; size_t k = sizeof(prodml23__DeconvolutionOutput); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeconvolutionOutput, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeconvolutionOutput, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -209947,13 +208283,9 @@ SOAP_FMAC1 prodml23__DeconvolutionOutput * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DeconvolutionOutput location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -210089,7 +208421,7 @@ SOAP_FMAC1 prodml23__DeconvolutionMultipleOutput * SOAP_FMAC2 soap_instantiate_p (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DeconvolutionMultipleOutput *p; size_t k = sizeof(prodml23__DeconvolutionMultipleOutput); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeconvolutionMultipleOutput, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeconvolutionMultipleOutput, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -210104,13 +208436,9 @@ SOAP_FMAC1 prodml23__DeconvolutionMultipleOutput * SOAP_FMAC2 soap_instantiate_p for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DeconvolutionMultipleOutput location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -210264,7 +208592,7 @@ SOAP_FMAC1 prodml23__CompressibilityParameters * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CompressibilityParameters *p; size_t k = sizeof(prodml23__CompressibilityParameters); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CompressibilityParameters, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CompressibilityParameters, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -210279,13 +208607,9 @@ SOAP_FMAC1 prodml23__CompressibilityParameters * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CompressibilityParameters location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -210409,7 +208733,7 @@ SOAP_FMAC1 prodml23__ChannelFlowrateData * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ChannelFlowrateData *p; size_t k = sizeof(prodml23__ChannelFlowrateData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ChannelFlowrateData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ChannelFlowrateData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -210424,13 +208748,9 @@ SOAP_FMAC1 prodml23__ChannelFlowrateData * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ChannelFlowrateData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -210582,7 +208902,7 @@ SOAP_FMAC1 prodml23__AnalysisLine * SOAP_FMAC2 soap_instantiate_prodml23__Analys (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__AnalysisLine *p; size_t k = sizeof(prodml23__AnalysisLine); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AnalysisLine, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AnalysisLine, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -210597,13 +208917,9 @@ SOAP_FMAC1 prodml23__AnalysisLine * SOAP_FMAC2 soap_instantiate_prodml23__Analys for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AnalysisLine location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -210708,7 +209024,7 @@ SOAP_FMAC1 prodml23__AbstractRateHistory * SOAP_FMAC2 soap_instantiate_prodml23_ return soap_instantiate_prodml23__TestPeriodsFlowrateData(soap, n, NULL, NULL, size); prodml23__AbstractRateHistory *p; size_t k = sizeof(prodml23__AbstractRateHistory); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractRateHistory, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractRateHistory, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -210723,13 +209039,9 @@ SOAP_FMAC1 prodml23__AbstractRateHistory * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractRateHistory location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -210953,7 +209265,7 @@ SOAP_FMAC1 prodml23__AbstractPtaPressureData * SOAP_FMAC2 soap_instantiate_prodm return soap_instantiate_prodml23__PreProcessedPressureData(soap, n, NULL, NULL, size); prodml23__AbstractPtaPressureData *p; size_t k = sizeof(prodml23__AbstractPtaPressureData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractPtaPressureData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractPtaPressureData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -210968,13 +209280,9 @@ SOAP_FMAC1 prodml23__AbstractPtaPressureData * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractPtaPressureData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -211077,7 +209385,7 @@ SOAP_FMAC1 prodml23__AbstractDeconvolutionOutput * SOAP_FMAC2 soap_instantiate_p return soap_instantiate_prodml23__DeconvolutionSingleOutput(soap, n, NULL, NULL, size); prodml23__AbstractDeconvolutionOutput *p; size_t k = sizeof(prodml23__AbstractDeconvolutionOutput); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractDeconvolutionOutput, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractDeconvolutionOutput, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -211092,13 +209400,9 @@ SOAP_FMAC1 prodml23__AbstractDeconvolutionOutput * SOAP_FMAC2 soap_instantiate_p for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractDeconvolutionOutput location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -211201,7 +209505,7 @@ SOAP_FMAC1 prodml23__AbstractAnalysis * SOAP_FMAC2 soap_instantiate_prodml23__Ab return soap_instantiate_prodml23__RtaAnalysis(soap, n, NULL, NULL, size); prodml23__AbstractAnalysis *p; size_t k = sizeof(prodml23__AbstractAnalysis); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -211216,13 +209520,9 @@ SOAP_FMAC1 prodml23__AbstractAnalysis * SOAP_FMAC2 soap_instantiate_prodml23__Ab for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractAnalysis location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -211348,7 +209648,7 @@ SOAP_FMAC1 prodml23__ReportingHierarchyNode * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ReportingHierarchyNode *p; size_t k = sizeof(prodml23__ReportingHierarchyNode); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReportingHierarchyNode, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReportingHierarchyNode, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -211363,13 +209663,9 @@ SOAP_FMAC1 prodml23__ReportingHierarchyNode * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ReportingHierarchyNode location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -211574,7 +209870,7 @@ SOAP_FMAC1 prodml23__ReportingHierarchy * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ReportingHierarchy *p; size_t k = sizeof(prodml23__ReportingHierarchy); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReportingHierarchy, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReportingHierarchy, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -211589,13 +209885,9 @@ SOAP_FMAC1 prodml23__ReportingHierarchy * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ReportingHierarchy location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -211824,7 +210116,7 @@ SOAP_FMAC1 prodml23__ReportingEntity * SOAP_FMAC2 soap_instantiate_prodml23__Rep (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ReportingEntity *p; size_t k = sizeof(prodml23__ReportingEntity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReportingEntity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReportingEntity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -211839,13 +210131,9 @@ SOAP_FMAC1 prodml23__ReportingEntity * SOAP_FMAC2 soap_instantiate_prodml23__Rep for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ReportingEntity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -212053,7 +210341,7 @@ SOAP_FMAC1 prodml23__Facility * SOAP_FMAC2 soap_instantiate_prodml23__Facility(s (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__Facility *p; size_t k = sizeof(prodml23__Facility); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Facility, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Facility, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -212068,13 +210356,9 @@ SOAP_FMAC1 prodml23__Facility * SOAP_FMAC2 soap_instantiate_prodml23__Facility(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__Facility location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -212283,7 +210567,7 @@ SOAP_FMAC1 prodml23__WellFlowingCondition * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__WellFlowingCondition *p; size_t k = sizeof(prodml23__WellFlowingCondition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellFlowingCondition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WellFlowingCondition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -212298,13 +210582,9 @@ SOAP_FMAC1 prodml23__WellFlowingCondition * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__WellFlowingCondition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -212516,7 +210796,7 @@ SOAP_FMAC1 prodml23__WaterLevelTest * SOAP_FMAC2 soap_instantiate_prodml23__Wate (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__WaterLevelTest *p; size_t k = sizeof(prodml23__WaterLevelTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WaterLevelTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WaterLevelTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -212531,13 +210811,9 @@ SOAP_FMAC1 prodml23__WaterLevelTest * SOAP_FMAC2 soap_instantiate_prodml23__Wate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__WaterLevelTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -212757,7 +211033,7 @@ SOAP_FMAC1 prodml23__VerticalInterferenceTest * SOAP_FMAC2 soap_instantiate_prod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__VerticalInterferenceTest *p; size_t k = sizeof(prodml23__VerticalInterferenceTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__VerticalInterferenceTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__VerticalInterferenceTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -212772,13 +211048,9 @@ SOAP_FMAC1 prodml23__VerticalInterferenceTest * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__VerticalInterferenceTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -212966,7 +211238,7 @@ SOAP_FMAC1 prodml23__TestPeriod * SOAP_FMAC2 soap_instantiate_prodml23__TestPeri (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__TestPeriod *p; size_t k = sizeof(prodml23__TestPeriod); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TestPeriod, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__TestPeriod, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -212981,13 +211253,9 @@ SOAP_FMAC1 prodml23__TestPeriod * SOAP_FMAC2 soap_instantiate_prodml23__TestPeri for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__TestPeriod location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -213154,7 +211422,7 @@ SOAP_FMAC1 prodml23__ProductRate * SOAP_FMAC2 soap_instantiate_prodml23__Product (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductRate *p; size_t k = sizeof(prodml23__ProductRate); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductRate, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductRate, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -213169,13 +211437,9 @@ SOAP_FMAC1 prodml23__ProductRate * SOAP_FMAC2 soap_instantiate_prodml23__Product for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductRate location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -213387,7 +211651,7 @@ SOAP_FMAC1 prodml23__ProductionTransientTest * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductionTransientTest *p; size_t k = sizeof(prodml23__ProductionTransientTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductionTransientTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductionTransientTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -213402,13 +211666,9 @@ SOAP_FMAC1 prodml23__ProductionTransientTest * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductionTransientTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -213653,7 +211913,7 @@ SOAP_FMAC1 prodml23__ProductionFlowTest * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductionFlowTest *p; size_t k = sizeof(prodml23__ProductionFlowTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductionFlowTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductionFlowTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -213668,13 +211928,9 @@ SOAP_FMAC1 prodml23__ProductionFlowTest * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductionFlowTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -213857,7 +212113,7 @@ SOAP_FMAC1 prodml23__OtherData * SOAP_FMAC2 soap_instantiate_prodml23__OtherData (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OtherData *p; size_t k = sizeof(prodml23__OtherData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OtherData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OtherData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -213872,13 +212128,9 @@ SOAP_FMAC1 prodml23__OtherData * SOAP_FMAC2 soap_instantiate_prodml23__OtherData for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OtherData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -214083,7 +212335,7 @@ SOAP_FMAC1 prodml23__InterwellTest * SOAP_FMAC2 soap_instantiate_prodml23__Inter (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__InterwellTest *p; size_t k = sizeof(prodml23__InterwellTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InterwellTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InterwellTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -214098,13 +212350,9 @@ SOAP_FMAC1 prodml23__InterwellTest * SOAP_FMAC2 soap_instantiate_prodml23__Inter for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__InterwellTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -214349,7 +212597,7 @@ SOAP_FMAC1 prodml23__InjectionFlowTest * SOAP_FMAC2 soap_instantiate_prodml23__I (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__InjectionFlowTest *p; size_t k = sizeof(prodml23__InjectionFlowTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InjectionFlowTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InjectionFlowTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -214364,13 +212612,9 @@ SOAP_FMAC1 prodml23__InjectionFlowTest * SOAP_FMAC2 soap_instantiate_prodml23__I for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__InjectionFlowTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -214597,7 +212841,7 @@ SOAP_FMAC1 prodml23__FormationTesterStation * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FormationTesterStation *p; size_t k = sizeof(prodml23__FormationTesterStation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FormationTesterStation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FormationTesterStation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -214612,13 +212856,9 @@ SOAP_FMAC1 prodml23__FormationTesterStation * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FormationTesterStation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -214813,7 +213053,7 @@ SOAP_FMAC1 prodml23__FlowTestMeasurementSet * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FlowTestMeasurementSet *p; size_t k = sizeof(prodml23__FlowTestMeasurementSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FlowTestMeasurementSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FlowTestMeasurementSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -214828,13 +213068,9 @@ SOAP_FMAC1 prodml23__FlowTestMeasurementSet * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FlowTestMeasurementSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -215043,7 +213279,7 @@ SOAP_FMAC1 prodml23__FlowTestLocation * SOAP_FMAC2 soap_instantiate_prodml23__Fl (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FlowTestLocation *p; size_t k = sizeof(prodml23__FlowTestLocation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FlowTestLocation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FlowTestLocation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -215058,13 +213294,9 @@ SOAP_FMAC1 prodml23__FlowTestLocation * SOAP_FMAC2 soap_instantiate_prodml23__Fl for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FlowTestLocation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -215277,7 +213509,7 @@ SOAP_FMAC1 prodml23__FlowTestActivity * SOAP_FMAC2 soap_instantiate_prodml23__Fl return soap_instantiate_prodml23__WaterLevelTest(soap, n, NULL, NULL, size); prodml23__FlowTestActivity *p; size_t k = sizeof(prodml23__FlowTestActivity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FlowTestActivity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FlowTestActivity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -215292,13 +213524,9 @@ SOAP_FMAC1 prodml23__FlowTestActivity * SOAP_FMAC2 soap_instantiate_prodml23__Fl for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FlowTestActivity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -215510,7 +213738,7 @@ SOAP_FMAC1 prodml23__DrillStemTest * SOAP_FMAC2 soap_instantiate_prodml23__Drill (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DrillStemTest *p; size_t k = sizeof(prodml23__DrillStemTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DrillStemTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DrillStemTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -215525,13 +213753,9 @@ SOAP_FMAC1 prodml23__DrillStemTest * SOAP_FMAC2 soap_instantiate_prodml23__Drill for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DrillStemTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -215744,7 +213968,7 @@ SOAP_FMAC1 prodml23__ChannelSet * SOAP_FMAC2 soap_instantiate_prodml23__ChannelS (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ChannelSet *p; size_t k = sizeof(prodml23__ChannelSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ChannelSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ChannelSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -215759,13 +213983,9 @@ SOAP_FMAC1 prodml23__ChannelSet * SOAP_FMAC2 soap_instantiate_prodml23__ChannelS for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ChannelSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -215962,7 +214182,7 @@ SOAP_FMAC1 prodml23__Channel * SOAP_FMAC2 soap_instantiate_prodml23__Channel(str (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__Channel *p; size_t k = sizeof(prodml23__Channel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Channel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Channel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -215977,13 +214197,9 @@ SOAP_FMAC1 prodml23__Channel * SOAP_FMAC2 soap_instantiate_prodml23__Channel(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__Channel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -216185,7 +214401,7 @@ SOAP_FMAC1 prodml23__AbstractPtaFlowData * SOAP_FMAC2 soap_instantiate_prodml23_ return soap_instantiate_prodml23__PreProcessedFlowData(soap, n, NULL, NULL, size); prodml23__AbstractPtaFlowData *p; size_t k = sizeof(prodml23__AbstractPtaFlowData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractPtaFlowData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractPtaFlowData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -216200,13 +214416,9 @@ SOAP_FMAC1 prodml23__AbstractPtaFlowData * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractPtaFlowData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -216403,7 +214615,7 @@ SOAP_FMAC1 prodml23__AbstractFlowTestData * SOAP_FMAC2 soap_instantiate_prodml23 return soap_instantiate_prodml23__PreProcessedPressureData(soap, n, NULL, NULL, size); prodml23__AbstractFlowTestData *p; size_t k = sizeof(prodml23__AbstractFlowTestData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractFlowTestData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractFlowTestData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -216418,13 +214630,9 @@ SOAP_FMAC1 prodml23__AbstractFlowTestData * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractFlowTestData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -216749,7 +214957,7 @@ SOAP_FMAC1 prodml23__FluidSystem * SOAP_FMAC2 soap_instantiate_prodml23__FluidSy (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidSystem *p; size_t k = sizeof(prodml23__FluidSystem); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSystem, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSystem, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -216764,13 +214972,9 @@ SOAP_FMAC1 prodml23__FluidSystem * SOAP_FMAC2 soap_instantiate_prodml23__FluidSy for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidSystem location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -216983,7 +215187,7 @@ SOAP_FMAC1 prodml23__WaterSampleComponent * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__WaterSampleComponent *p; size_t k = sizeof(prodml23__WaterSampleComponent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WaterSampleComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WaterSampleComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -216998,13 +215202,9 @@ SOAP_FMAC1 prodml23__WaterSampleComponent * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__WaterSampleComponent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -217409,7 +215609,7 @@ SOAP_FMAC1 prodml23__WaterAnalysisTestStep * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__WaterAnalysisTestStep *p; size_t k = sizeof(prodml23__WaterAnalysisTestStep); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WaterAnalysisTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WaterAnalysisTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -217424,13 +215624,9 @@ SOAP_FMAC1 prodml23__WaterAnalysisTestStep * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__WaterAnalysisTestStep location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -217725,7 +215921,7 @@ SOAP_FMAC1 prodml23__WaterAnalysisTest * SOAP_FMAC2 soap_instantiate_prodml23__W (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__WaterAnalysisTest *p; size_t k = sizeof(prodml23__WaterAnalysisTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WaterAnalysisTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WaterAnalysisTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -217740,13 +215936,9 @@ SOAP_FMAC1 prodml23__WaterAnalysisTest * SOAP_FMAC2 soap_instantiate_prodml23__W for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__WaterAnalysisTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -218109,7 +216301,7 @@ SOAP_FMAC1 prodml23__WaterAnalysis * SOAP_FMAC2 soap_instantiate_prodml23__Water (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__WaterAnalysis *p; size_t k = sizeof(prodml23__WaterAnalysis); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WaterAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__WaterAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -218124,13 +216316,9 @@ SOAP_FMAC1 prodml23__WaterAnalysis * SOAP_FMAC2 soap_instantiate_prodml23__Water for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__WaterAnalysis location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -218267,7 +216455,7 @@ SOAP_FMAC1 prodml23__ViscosityAtTemperature * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ViscosityAtTemperature *p; size_t k = sizeof(prodml23__ViscosityAtTemperature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ViscosityAtTemperature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ViscosityAtTemperature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -218282,13 +216470,9 @@ SOAP_FMAC1 prodml23__ViscosityAtTemperature * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ViscosityAtTemperature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -218644,7 +216828,7 @@ SOAP_FMAC1 prodml23__VaporLiquidEquilibriumTest * SOAP_FMAC2 soap_instantiate_pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__VaporLiquidEquilibriumTest *p; size_t k = sizeof(prodml23__VaporLiquidEquilibriumTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__VaporLiquidEquilibriumTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__VaporLiquidEquilibriumTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -218659,13 +216843,9 @@ SOAP_FMAC1 prodml23__VaporLiquidEquilibriumTest * SOAP_FMAC2 soap_instantiate_pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__VaporLiquidEquilibriumTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -218891,7 +217071,7 @@ SOAP_FMAC1 prodml23__SwellingTestStep * SOAP_FMAC2 soap_instantiate_prodml23__Sw (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SwellingTestStep *p; size_t k = sizeof(prodml23__SwellingTestStep); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SwellingTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SwellingTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -218906,13 +217086,9 @@ SOAP_FMAC1 prodml23__SwellingTestStep * SOAP_FMAC2 soap_instantiate_prodml23__Sw for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SwellingTestStep location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -219076,7 +217252,7 @@ SOAP_FMAC1 prodml23__SwellingTest * SOAP_FMAC2 soap_instantiate_prodml23__Swelli (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SwellingTest *p; size_t k = sizeof(prodml23__SwellingTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SwellingTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SwellingTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -219091,13 +217267,9 @@ SOAP_FMAC1 prodml23__SwellingTest * SOAP_FMAC2 soap_instantiate_prodml23__Swelli for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SwellingTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -219422,7 +217594,7 @@ SOAP_FMAC1 prodml23__STOFlashedLiquid * SOAP_FMAC2 soap_instantiate_prodml23__ST (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__STOFlashedLiquid *p; size_t k = sizeof(prodml23__STOFlashedLiquid); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__STOFlashedLiquid, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__STOFlashedLiquid, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -219437,13 +217609,9 @@ SOAP_FMAC1 prodml23__STOFlashedLiquid * SOAP_FMAC2 soap_instantiate_prodml23__ST for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__STOFlashedLiquid location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -219672,7 +217840,7 @@ SOAP_FMAC1 prodml23__STOAnalysis * SOAP_FMAC2 soap_instantiate_prodml23__STOAnal (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__STOAnalysis *p; size_t k = sizeof(prodml23__STOAnalysis); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__STOAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__STOAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -219687,13 +217855,9 @@ SOAP_FMAC1 prodml23__STOAnalysis * SOAP_FMAC2 soap_instantiate_prodml23__STOAnal for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__STOAnalysis location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -219969,7 +218133,7 @@ SOAP_FMAC1 prodml23__SlimTubeTestVolumeStep * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SlimTubeTestVolumeStep *p; size_t k = sizeof(prodml23__SlimTubeTestVolumeStep); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SlimTubeTestVolumeStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SlimTubeTestVolumeStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -219984,13 +218148,9 @@ SOAP_FMAC1 prodml23__SlimTubeTestVolumeStep * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SlimTubeTestVolumeStep location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -220142,7 +218302,7 @@ SOAP_FMAC1 prodml23__SlimTubeTestStep * SOAP_FMAC2 soap_instantiate_prodml23__Sl (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SlimTubeTestStep *p; size_t k = sizeof(prodml23__SlimTubeTestStep); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SlimTubeTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SlimTubeTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -220157,13 +218317,9 @@ SOAP_FMAC1 prodml23__SlimTubeTestStep * SOAP_FMAC2 soap_instantiate_prodml23__Sl for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SlimTubeTestStep location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -220338,7 +218494,7 @@ SOAP_FMAC1 prodml23__SlimTubeTest * SOAP_FMAC2 soap_instantiate_prodml23__SlimTu (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SlimTubeTest *p; size_t k = sizeof(prodml23__SlimTubeTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SlimTubeTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SlimTubeTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -220353,13 +218509,9 @@ SOAP_FMAC1 prodml23__SlimTubeTest * SOAP_FMAC2 soap_instantiate_prodml23__SlimTu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SlimTubeTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -220569,7 +218721,7 @@ SOAP_FMAC1 prodml23__SlimTubeSpecification * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SlimTubeSpecification *p; size_t k = sizeof(prodml23__SlimTubeSpecification); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SlimTubeSpecification, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SlimTubeSpecification, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -220584,13 +218736,9 @@ SOAP_FMAC1 prodml23__SlimTubeSpecification * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SlimTubeSpecification location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -220705,7 +218853,7 @@ SOAP_FMAC1 prodml23__SeparatorConditions * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SeparatorConditions *p; size_t k = sizeof(prodml23__SeparatorConditions); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SeparatorConditions, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SeparatorConditions, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -220720,13 +218868,9 @@ SOAP_FMAC1 prodml23__SeparatorConditions * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SeparatorConditions location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -220889,7 +219033,7 @@ SOAP_FMAC1 prodml23__SaturationTest * SOAP_FMAC2 soap_instantiate_prodml23__Satu (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SaturationTest *p; size_t k = sizeof(prodml23__SaturationTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SaturationTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SaturationTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -220904,13 +219048,9 @@ SOAP_FMAC1 prodml23__SaturationTest * SOAP_FMAC2 soap_instantiate_prodml23__Satu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SaturationTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -221036,7 +219176,7 @@ SOAP_FMAC1 prodml23__SaturationTemperature * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SaturationTemperature *p; size_t k = sizeof(prodml23__SaturationTemperature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SaturationTemperature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SaturationTemperature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -221051,13 +219191,9 @@ SOAP_FMAC1 prodml23__SaturationTemperature * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SaturationTemperature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -221183,7 +219319,7 @@ SOAP_FMAC1 prodml23__SaturationPressure * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SaturationPressure *p; size_t k = sizeof(prodml23__SaturationPressure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SaturationPressure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SaturationPressure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -221198,13 +219334,9 @@ SOAP_FMAC1 prodml23__SaturationPressure * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SaturationPressure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -221362,7 +219494,7 @@ SOAP_FMAC1 prodml23__Sara * SOAP_FMAC2 soap_instantiate_prodml23__Sara(struct so (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__Sara *p; size_t k = sizeof(prodml23__Sara); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Sara, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Sara, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -221377,13 +219509,9 @@ SOAP_FMAC1 prodml23__Sara * SOAP_FMAC2 soap_instantiate_prodml23__Sara(struct so for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__Sara location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -221548,7 +219676,7 @@ SOAP_FMAC1 prodml23__SampleRestoration * SOAP_FMAC2 soap_instantiate_prodml23__S (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SampleRestoration *p; size_t k = sizeof(prodml23__SampleRestoration); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SampleRestoration, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SampleRestoration, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -221563,13 +219691,9 @@ SOAP_FMAC1 prodml23__SampleRestoration * SOAP_FMAC2 soap_instantiate_prodml23__S for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SampleRestoration location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -221799,7 +219923,7 @@ SOAP_FMAC1 prodml23__SampleIntegrityAndPreparation * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SampleIntegrityAndPreparation *p; size_t k = sizeof(prodml23__SampleIntegrityAndPreparation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SampleIntegrityAndPreparation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SampleIntegrityAndPreparation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -221814,13 +219938,9 @@ SOAP_FMAC1 prodml23__SampleIntegrityAndPreparation * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SampleIntegrityAndPreparation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -222051,7 +220171,7 @@ SOAP_FMAC1 prodml23__SampleContaminant * SOAP_FMAC2 soap_instantiate_prodml23__S (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SampleContaminant *p; size_t k = sizeof(prodml23__SampleContaminant); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SampleContaminant, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SampleContaminant, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -222066,13 +220186,9 @@ SOAP_FMAC1 prodml23__SampleContaminant * SOAP_FMAC2 soap_instantiate_prodml23__S for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SampleContaminant location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -222219,7 +220335,7 @@ SOAP_FMAC1 prodml23__ReportLocation * SOAP_FMAC2 soap_instantiate_prodml23__Repo (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ReportLocation *p; size_t k = sizeof(prodml23__ReportLocation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReportLocation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReportLocation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -222234,13 +220350,9 @@ SOAP_FMAC1 prodml23__ReportLocation * SOAP_FMAC2 soap_instantiate_prodml23__Repo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ReportLocation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -222366,7 +220478,7 @@ SOAP_FMAC1 prodml23__RelativeVolumeRatio * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__RelativeVolumeRatio *p; size_t k = sizeof(prodml23__RelativeVolumeRatio); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RelativeVolumeRatio, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RelativeVolumeRatio, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -222381,13 +220493,9 @@ SOAP_FMAC1 prodml23__RelativeVolumeRatio * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__RelativeVolumeRatio location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -222513,7 +220621,7 @@ SOAP_FMAC1 prodml23__RefInjectedGasAdded * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__RefInjectedGasAdded *p; size_t k = sizeof(prodml23__RefInjectedGasAdded); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RefInjectedGasAdded, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__RefInjectedGasAdded, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -222528,13 +220636,9 @@ SOAP_FMAC1 prodml23__RefInjectedGasAdded * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__RefInjectedGasAdded location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -222688,7 +220792,7 @@ SOAP_FMAC1 prodml23__ProducedOilProperties * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProducedOilProperties *p; size_t k = sizeof(prodml23__ProducedOilProperties); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProducedOilProperties, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProducedOilProperties, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -222703,13 +220807,9 @@ SOAP_FMAC1 prodml23__ProducedOilProperties * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProducedOilProperties location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -222835,7 +220935,7 @@ SOAP_FMAC1 prodml23__ProducedGasProperties * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProducedGasProperties *p; size_t k = sizeof(prodml23__ProducedGasProperties); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProducedGasProperties, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProducedGasProperties, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -222850,13 +220950,9 @@ SOAP_FMAC1 prodml23__ProducedGasProperties * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProducedGasProperties location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -222981,7 +221077,7 @@ SOAP_FMAC1 prodml23__PhaseViscosity * SOAP_FMAC2 soap_instantiate_prodml23__Phas (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PhaseViscosity *p; size_t k = sizeof(prodml23__PhaseViscosity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PhaseViscosity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PhaseViscosity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -222996,13 +221092,9 @@ SOAP_FMAC1 prodml23__PhaseViscosity * SOAP_FMAC2 soap_instantiate_prodml23__Phas for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PhaseViscosity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -223127,7 +221219,7 @@ SOAP_FMAC1 prodml23__PhaseDensity * SOAP_FMAC2 soap_instantiate_prodml23__PhaseD (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PhaseDensity *p; size_t k = sizeof(prodml23__PhaseDensity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PhaseDensity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PhaseDensity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -223142,13 +221234,9 @@ SOAP_FMAC1 prodml23__PhaseDensity * SOAP_FMAC2 soap_instantiate_prodml23__PhaseD for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PhaseDensity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -223435,7 +221523,7 @@ SOAP_FMAC1 prodml23__OtherMeasurementTestStep * SOAP_FMAC2 soap_instantiate_prod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OtherMeasurementTestStep *p; size_t k = sizeof(prodml23__OtherMeasurementTestStep); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OtherMeasurementTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OtherMeasurementTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -223450,13 +221538,9 @@ SOAP_FMAC1 prodml23__OtherMeasurementTestStep * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OtherMeasurementTestStep location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -223619,7 +221703,7 @@ SOAP_FMAC1 prodml23__OtherMeasurementTest * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OtherMeasurementTest *p; size_t k = sizeof(prodml23__OtherMeasurementTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OtherMeasurementTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OtherMeasurementTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -223634,13 +221718,9 @@ SOAP_FMAC1 prodml23__OtherMeasurementTest * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OtherMeasurementTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -223764,7 +221844,7 @@ SOAP_FMAC1 prodml23__OilVolume * SOAP_FMAC2 soap_instantiate_prodml23__OilVolume (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OilVolume *p; size_t k = sizeof(prodml23__OilVolume); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OilVolume, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OilVolume, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -223779,13 +221859,9 @@ SOAP_FMAC1 prodml23__OilVolume * SOAP_FMAC2 soap_instantiate_prodml23__OilVolume for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OilVolume location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -223909,7 +221985,7 @@ SOAP_FMAC1 prodml23__OilShrinkageFactor * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OilShrinkageFactor *p; size_t k = sizeof(prodml23__OilShrinkageFactor); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OilShrinkageFactor, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OilShrinkageFactor, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -223924,13 +222000,9 @@ SOAP_FMAC1 prodml23__OilShrinkageFactor * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OilShrinkageFactor location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -224056,7 +222128,7 @@ SOAP_FMAC1 prodml23__OilCompressibility * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OilCompressibility *p; size_t k = sizeof(prodml23__OilCompressibility); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OilCompressibility, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OilCompressibility, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -224071,13 +222143,9 @@ SOAP_FMAC1 prodml23__OilCompressibility * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OilCompressibility location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -224316,7 +222384,7 @@ SOAP_FMAC1 prodml23__NonHydrocarbonTest * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__NonHydrocarbonTest *p; size_t k = sizeof(prodml23__NonHydrocarbonTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NonHydrocarbonTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NonHydrocarbonTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -224331,13 +222399,9 @@ SOAP_FMAC1 prodml23__NonHydrocarbonTest * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__NonHydrocarbonTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -224688,7 +222752,7 @@ SOAP_FMAC1 prodml23__NonHydrocarbonAnalysis * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__NonHydrocarbonAnalysis *p; size_t k = sizeof(prodml23__NonHydrocarbonAnalysis); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NonHydrocarbonAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NonHydrocarbonAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -224703,13 +222767,9 @@ SOAP_FMAC1 prodml23__NonHydrocarbonAnalysis * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__NonHydrocarbonAnalysis location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -224853,7 +222913,7 @@ SOAP_FMAC1 prodml23__MultipleContactMiscibilityTest * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__MultipleContactMiscibilityTest *p; size_t k = sizeof(prodml23__MultipleContactMiscibilityTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MultipleContactMiscibilityTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MultipleContactMiscibilityTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -224868,13 +222928,9 @@ SOAP_FMAC1 prodml23__MultipleContactMiscibilityTest * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__MultipleContactMiscibilityTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -225028,7 +223084,7 @@ SOAP_FMAC1 prodml23__MassOut * SOAP_FMAC2 soap_instantiate_prodml23__MassOut(str (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__MassOut *p; size_t k = sizeof(prodml23__MassOut); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MassOut, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MassOut, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -225043,13 +223099,9 @@ SOAP_FMAC1 prodml23__MassOut * SOAP_FMAC2 soap_instantiate_prodml23__MassOut(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__MassOut location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -225192,7 +223244,7 @@ SOAP_FMAC1 prodml23__MassIn * SOAP_FMAC2 soap_instantiate_prodml23__MassIn(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__MassIn *p; size_t k = sizeof(prodml23__MassIn); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MassIn, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MassIn, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -225207,13 +223259,9 @@ SOAP_FMAC1 prodml23__MassIn * SOAP_FMAC2 soap_instantiate_prodml23__MassIn(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__MassIn location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -225356,7 +223404,7 @@ SOAP_FMAC1 prodml23__MassBalance * SOAP_FMAC2 soap_instantiate_prodml23__MassBal (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__MassBalance *p; size_t k = sizeof(prodml23__MassBalance); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MassBalance, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MassBalance, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -225371,13 +223419,9 @@ SOAP_FMAC1 prodml23__MassBalance * SOAP_FMAC2 soap_instantiate_prodml23__MassBal for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__MassBalance location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -225501,7 +223545,7 @@ SOAP_FMAC1 prodml23__LiquidVolume * SOAP_FMAC2 soap_instantiate_prodml23__Liquid (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LiquidVolume *p; size_t k = sizeof(prodml23__LiquidVolume); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LiquidVolume, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LiquidVolume, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -225516,13 +223560,9 @@ SOAP_FMAC1 prodml23__LiquidVolume * SOAP_FMAC2 soap_instantiate_prodml23__Liquid for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LiquidVolume location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -225646,7 +223686,7 @@ SOAP_FMAC1 prodml23__LiquidDropoutFraction * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LiquidDropoutFraction *p; size_t k = sizeof(prodml23__LiquidDropoutFraction); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LiquidDropoutFraction, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LiquidDropoutFraction, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -225661,13 +223701,9 @@ SOAP_FMAC1 prodml23__LiquidDropoutFraction * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LiquidDropoutFraction location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -225855,7 +223891,7 @@ SOAP_FMAC1 prodml23__InterfacialTensionTestStep * SOAP_FMAC2 soap_instantiate_pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__InterfacialTensionTestStep *p; size_t k = sizeof(prodml23__InterfacialTensionTestStep); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InterfacialTensionTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InterfacialTensionTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -225870,13 +223906,9 @@ SOAP_FMAC1 prodml23__InterfacialTensionTestStep * SOAP_FMAC2 soap_instantiate_pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__InterfacialTensionTestStep location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -226050,7 +224082,7 @@ SOAP_FMAC1 prodml23__InterfacialTensionTest * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__InterfacialTensionTest *p; size_t k = sizeof(prodml23__InterfacialTensionTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InterfacialTensionTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InterfacialTensionTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -226065,13 +224097,9 @@ SOAP_FMAC1 prodml23__InterfacialTensionTest * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__InterfacialTensionTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -226197,7 +224225,7 @@ SOAP_FMAC1 prodml23__InjectedGas * SOAP_FMAC2 soap_instantiate_prodml23__Injecte (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__InjectedGas *p; size_t k = sizeof(prodml23__InjectedGas); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InjectedGas, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__InjectedGas, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -226212,13 +224240,9 @@ SOAP_FMAC1 prodml23__InjectedGas * SOAP_FMAC2 soap_instantiate_prodml23__Injecte for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__InjectedGas location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -226669,7 +224693,7 @@ SOAP_FMAC1 prodml23__HydrocarbonAnalysis * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__HydrocarbonAnalysis *p; size_t k = sizeof(prodml23__HydrocarbonAnalysis); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HydrocarbonAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__HydrocarbonAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -226684,13 +224708,9 @@ SOAP_FMAC1 prodml23__HydrocarbonAnalysis * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__HydrocarbonAnalysis location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -226834,7 +224854,7 @@ SOAP_FMAC1 prodml23__FluidVolumeReference * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidVolumeReference *p; size_t k = sizeof(prodml23__FluidVolumeReference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidVolumeReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidVolumeReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -226849,13 +224869,9 @@ SOAP_FMAC1 prodml23__FluidVolumeReference * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidVolumeReference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -227260,7 +225276,7 @@ SOAP_FMAC1 prodml23__FluidSeparatorTestStep * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidSeparatorTestStep *p; size_t k = sizeof(prodml23__FluidSeparatorTestStep); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSeparatorTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSeparatorTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -227275,13 +225291,9 @@ SOAP_FMAC1 prodml23__FluidSeparatorTestStep * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidSeparatorTestStep location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -227499,7 +225511,7 @@ SOAP_FMAC1 prodml23__FluidSeparatorTest * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidSeparatorTest *p; size_t k = sizeof(prodml23__FluidSeparatorTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSeparatorTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidSeparatorTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -227514,13 +225526,9 @@ SOAP_FMAC1 prodml23__FluidSeparatorTest * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidSeparatorTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -227910,7 +225918,7 @@ SOAP_FMAC1 prodml23__FluidDifferentialLiberationTestStep * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidDifferentialLiberationTestStep *p; size_t k = sizeof(prodml23__FluidDifferentialLiberationTestStep); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidDifferentialLiberationTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidDifferentialLiberationTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -227925,13 +225933,9 @@ SOAP_FMAC1 prodml23__FluidDifferentialLiberationTestStep * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidDifferentialLiberationTestStep location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -228266,7 +226270,7 @@ SOAP_FMAC1 prodml23__FluidCvdTestStep * SOAP_FMAC2 soap_instantiate_prodml23__Fl (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidCvdTestStep *p; size_t k = sizeof(prodml23__FluidCvdTestStep); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCvdTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCvdTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -228281,13 +226285,9 @@ SOAP_FMAC1 prodml23__FluidCvdTestStep * SOAP_FMAC2 soap_instantiate_prodml23__Fl for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidCvdTestStep location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -228453,7 +226453,7 @@ SOAP_FMAC1 prodml23__FluidAnalysisReport * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidAnalysisReport *p; size_t k = sizeof(prodml23__FluidAnalysisReport); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidAnalysisReport, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidAnalysisReport, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -228468,13 +226468,9 @@ SOAP_FMAC1 prodml23__FluidAnalysisReport * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidAnalysisReport location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -228828,7 +226824,7 @@ SOAP_FMAC1 prodml23__FluidAnalysis * SOAP_FMAC2 soap_instantiate_prodml23__Fluid return soap_instantiate_prodml23__WaterAnalysis(soap, n, NULL, NULL, size); prodml23__FluidAnalysis *p; size_t k = sizeof(prodml23__FluidAnalysis); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -228843,13 +226839,9 @@ SOAP_FMAC1 prodml23__FluidAnalysis * SOAP_FMAC2 soap_instantiate_prodml23__Fluid for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidAnalysis location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -228992,7 +226984,7 @@ SOAP_FMAC1 prodml23__FlashedLiquid * SOAP_FMAC2 soap_instantiate_prodml23__Flash (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FlashedLiquid *p; size_t k = sizeof(prodml23__FlashedLiquid); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FlashedLiquid, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FlashedLiquid, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -229007,13 +226999,9 @@ SOAP_FMAC1 prodml23__FlashedLiquid * SOAP_FMAC2 soap_instantiate_prodml23__Flash for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FlashedLiquid location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -229211,7 +227199,7 @@ SOAP_FMAC1 prodml23__FlashedGas * SOAP_FMAC2 soap_instantiate_prodml23__FlashedG (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FlashedGas *p; size_t k = sizeof(prodml23__FlashedGas); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FlashedGas, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FlashedGas, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -229226,13 +227214,9 @@ SOAP_FMAC1 prodml23__FlashedGas * SOAP_FMAC2 soap_instantiate_prodml23__FlashedG for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FlashedGas location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -229436,7 +227420,7 @@ SOAP_FMAC1 prodml23__DifferentialLiberationTest * SOAP_FMAC2 soap_instantiate_pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DifferentialLiberationTest *p; size_t k = sizeof(prodml23__DifferentialLiberationTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DifferentialLiberationTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DifferentialLiberationTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -229451,13 +227435,9 @@ SOAP_FMAC1 prodml23__DifferentialLiberationTest * SOAP_FMAC2 soap_instantiate_pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DifferentialLiberationTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -229581,7 +227561,7 @@ SOAP_FMAC1 prodml23__CumulativeGasProducedVol * SOAP_FMAC2 soap_instantiate_prod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CumulativeGasProducedVol *p; size_t k = sizeof(prodml23__CumulativeGasProducedVol); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CumulativeGasProducedVol, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CumulativeGasProducedVol, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -229596,13 +227576,9 @@ SOAP_FMAC1 prodml23__CumulativeGasProducedVol * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CumulativeGasProducedVol location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -229726,7 +227702,7 @@ SOAP_FMAC1 prodml23__CumulativeGasProducedRatioStd * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CumulativeGasProducedRatioStd *p; size_t k = sizeof(prodml23__CumulativeGasProducedRatioStd); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CumulativeGasProducedRatioStd, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CumulativeGasProducedRatioStd, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -229741,13 +227717,9 @@ SOAP_FMAC1 prodml23__CumulativeGasProducedRatioStd * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CumulativeGasProducedRatioStd location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -229933,7 +227905,7 @@ SOAP_FMAC1 prodml23__ConstantVolumeDepletionTest * SOAP_FMAC2 soap_instantiate_p (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ConstantVolumeDepletionTest *p; size_t k = sizeof(prodml23__ConstantVolumeDepletionTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ConstantVolumeDepletionTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ConstantVolumeDepletionTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -229948,13 +227920,9 @@ SOAP_FMAC1 prodml23__ConstantVolumeDepletionTest * SOAP_FMAC2 soap_instantiate_p for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ConstantVolumeDepletionTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -230278,7 +228246,7 @@ SOAP_FMAC1 prodml23__ConstantCompositionExpansionTestStep * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ConstantCompositionExpansionTestStep *p; size_t k = sizeof(prodml23__ConstantCompositionExpansionTestStep); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ConstantCompositionExpansionTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ConstantCompositionExpansionTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -230293,13 +228261,9 @@ SOAP_FMAC1 prodml23__ConstantCompositionExpansionTestStep * SOAP_FMAC2 soap_inst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ConstantCompositionExpansionTestStep location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -230482,7 +228446,7 @@ SOAP_FMAC1 prodml23__ConstantCompositionExpansionTest * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ConstantCompositionExpansionTest *p; size_t k = sizeof(prodml23__ConstantCompositionExpansionTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ConstantCompositionExpansionTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ConstantCompositionExpansionTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -230497,13 +228461,9 @@ SOAP_FMAC1 prodml23__ConstantCompositionExpansionTest * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ConstantCompositionExpansionTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -230768,7 +228728,7 @@ SOAP_FMAC1 prodml23__AtmosphericFlashTestAndCompositionalAnalysis * SOAP_FMAC2 s (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__AtmosphericFlashTestAndCompositionalAnalysis *p; size_t k = sizeof(prodml23__AtmosphericFlashTestAndCompositionalAnalysis); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AtmosphericFlashTestAndCompositionalAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AtmosphericFlashTestAndCompositionalAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -230783,13 +228743,9 @@ SOAP_FMAC1 prodml23__AtmosphericFlashTestAndCompositionalAnalysis * SOAP_FMAC2 s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AtmosphericFlashTestAndCompositionalAnalysis location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -230892,7 +228848,7 @@ SOAP_FMAC1 prodml23__AbstractOilVolShrinkage * SOAP_FMAC2 soap_instantiate_prodm return soap_instantiate_prodml23__OilVolume(soap, n, NULL, NULL, size); prodml23__AbstractOilVolShrinkage *p; size_t k = sizeof(prodml23__AbstractOilVolShrinkage); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractOilVolShrinkage, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractOilVolShrinkage, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -230907,13 +228863,9 @@ SOAP_FMAC1 prodml23__AbstractOilVolShrinkage * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractOilVolShrinkage location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -231016,7 +228968,7 @@ SOAP_FMAC1 prodml23__AbstractLiquidDropoutPercVolume * SOAP_FMAC2 soap_instantia return soap_instantiate_prodml23__LiquidVolume(soap, n, NULL, NULL, size); prodml23__AbstractLiquidDropoutPercVolume *p; size_t k = sizeof(prodml23__AbstractLiquidDropoutPercVolume); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractLiquidDropoutPercVolume, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractLiquidDropoutPercVolume, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -231031,13 +228983,9 @@ SOAP_FMAC1 prodml23__AbstractLiquidDropoutPercVolume * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractLiquidDropoutPercVolume location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -231140,7 +229088,7 @@ SOAP_FMAC1 prodml23__AbstractGasProducedRatioVolume * SOAP_FMAC2 soap_instantiat return soap_instantiate_prodml23__CumulativeGasProducedVol(soap, n, NULL, NULL, size); prodml23__AbstractGasProducedRatioVolume *p; size_t k = sizeof(prodml23__AbstractGasProducedRatioVolume); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractGasProducedRatioVolume, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractGasProducedRatioVolume, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -231155,13 +229103,9 @@ SOAP_FMAC1 prodml23__AbstractGasProducedRatioVolume * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractGasProducedRatioVolume location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -231279,7 +229223,7 @@ SOAP_FMAC1 prodml23__VaporComposition * SOAP_FMAC2 soap_instantiate_prodml23__Va (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__VaporComposition *p; size_t k = sizeof(prodml23__VaporComposition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__VaporComposition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__VaporComposition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -231294,13 +229238,9 @@ SOAP_FMAC1 prodml23__VaporComposition * SOAP_FMAC2 soap_instantiate_prodml23__Va for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__VaporComposition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -231481,7 +229421,7 @@ SOAP_FMAC1 prodml23__SulfurFluidComponent * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__SulfurFluidComponent *p; size_t k = sizeof(prodml23__SulfurFluidComponent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SulfurFluidComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__SulfurFluidComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -231496,13 +229436,9 @@ SOAP_FMAC1 prodml23__SulfurFluidComponent * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__SulfurFluidComponent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -231719,7 +229655,7 @@ SOAP_FMAC1 prodml23__StockTankOil * SOAP_FMAC2 soap_instantiate_prodml23__StockT (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__StockTankOil *p; size_t k = sizeof(prodml23__StockTankOil); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__StockTankOil, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__StockTankOil, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -231734,13 +229670,9 @@ SOAP_FMAC1 prodml23__StockTankOil * SOAP_FMAC2 soap_instantiate_prodml23__StockT for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__StockTankOil location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -231890,7 +229822,7 @@ SOAP_FMAC1 prodml23__StartEndTime * SOAP_FMAC2 soap_instantiate_prodml23__StartE (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__StartEndTime *p; size_t k = sizeof(prodml23__StartEndTime); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__StartEndTime, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__StartEndTime, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -231905,13 +229837,9 @@ SOAP_FMAC1 prodml23__StartEndTime * SOAP_FMAC2 soap_instantiate_prodml23__StartE for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__StartEndTime location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -232061,7 +229989,7 @@ SOAP_FMAC1 prodml23__StartEndDate * SOAP_FMAC2 soap_instantiate_prodml23__StartE (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__StartEndDate *p; size_t k = sizeof(prodml23__StartEndDate); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__StartEndDate, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__StartEndDate, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -232076,13 +230004,9 @@ SOAP_FMAC1 prodml23__StartEndDate * SOAP_FMAC2 soap_instantiate_prodml23__StartE for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__StartEndDate location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -232248,7 +230172,7 @@ SOAP_FMAC1 prodml23__ServiceFluid * SOAP_FMAC2 soap_instantiate_prodml23__Servic (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ServiceFluid *p; size_t k = sizeof(prodml23__ServiceFluid); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ServiceFluid, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ServiceFluid, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -232263,13 +230187,9 @@ SOAP_FMAC1 prodml23__ServiceFluid * SOAP_FMAC2 soap_instantiate_prodml23__Servic for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ServiceFluid location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -232461,7 +230381,7 @@ SOAP_FMAC1 prodml23__PureFluidComponent * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PureFluidComponent *p; size_t k = sizeof(prodml23__PureFluidComponent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PureFluidComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PureFluidComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -232476,13 +230396,9 @@ SOAP_FMAC1 prodml23__PureFluidComponent * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PureFluidComponent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -232740,7 +230656,7 @@ SOAP_FMAC1 prodml23__PseudoFluidComponent * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PseudoFluidComponent *p; size_t k = sizeof(prodml23__PseudoFluidComponent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PseudoFluidComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PseudoFluidComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -232755,13 +230671,9 @@ SOAP_FMAC1 prodml23__PseudoFluidComponent * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PseudoFluidComponent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -232960,7 +230872,7 @@ SOAP_FMAC1 prodml23__ProductFluid * SOAP_FMAC2 soap_instantiate_prodml23__Produc (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductFluid *p; size_t k = sizeof(prodml23__ProductFluid); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFluid, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFluid, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -232975,13 +230887,9 @@ SOAP_FMAC1 prodml23__ProductFluid * SOAP_FMAC2 soap_instantiate_prodml23__Produc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductFluid location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -233169,7 +231077,7 @@ SOAP_FMAC1 prodml23__ProductFlowNetwork * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductFlowNetwork *p; size_t k = sizeof(prodml23__ProductFlowNetwork); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowNetwork, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowNetwork, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -233184,13 +231092,9 @@ SOAP_FMAC1 prodml23__ProductFlowNetwork * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductFlowNetwork location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -233348,7 +231252,7 @@ SOAP_FMAC1 prodml23__ProductFlowExternalReference * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ProductFlowExternalReference *p; size_t k = sizeof(prodml23__ProductFlowExternalReference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowExternalReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ProductFlowExternalReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -233363,13 +231267,9 @@ SOAP_FMAC1 prodml23__ProductFlowExternalReference * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ProductFlowExternalReference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -233594,7 +231494,7 @@ SOAP_FMAC1 prodml23__PlusFluidComponent * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PlusFluidComponent *p; size_t k = sizeof(prodml23__PlusFluidComponent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PlusFluidComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PlusFluidComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -233609,13 +231509,9 @@ SOAP_FMAC1 prodml23__PlusFluidComponent * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PlusFluidComponent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -233733,7 +231629,7 @@ SOAP_FMAC1 prodml23__OverallComposition * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OverallComposition *p; size_t k = sizeof(prodml23__OverallComposition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OverallComposition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OverallComposition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -233748,13 +231644,9 @@ SOAP_FMAC1 prodml23__OverallComposition * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OverallComposition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -233902,7 +231794,7 @@ SOAP_FMAC1 prodml23__OffshoreLocation * SOAP_FMAC2 soap_instantiate_prodml23__Of (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__OffshoreLocation *p; size_t k = sizeof(prodml23__OffshoreLocation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OffshoreLocation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__OffshoreLocation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -233917,13 +231809,9 @@ SOAP_FMAC1 prodml23__OffshoreLocation * SOAP_FMAC2 soap_instantiate_prodml23__Of for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__OffshoreLocation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -234064,7 +231952,7 @@ SOAP_FMAC1 prodml23__NorthSeaOffshore * SOAP_FMAC2 soap_instantiate_prodml23__No (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__NorthSeaOffshore *p; size_t k = sizeof(prodml23__NorthSeaOffshore); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NorthSeaOffshore, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NorthSeaOffshore, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -234079,13 +231967,9 @@ SOAP_FMAC1 prodml23__NorthSeaOffshore * SOAP_FMAC2 soap_instantiate_prodml23__No for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__NorthSeaOffshore location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -234302,7 +232186,7 @@ SOAP_FMAC1 prodml23__NaturalGas * SOAP_FMAC2 soap_instantiate_prodml23__NaturalG (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__NaturalGas *p; size_t k = sizeof(prodml23__NaturalGas); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NaturalGas, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__NaturalGas, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -234317,13 +232201,9 @@ SOAP_FMAC1 prodml23__NaturalGas * SOAP_FMAC2 soap_instantiate_prodml23__NaturalG for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__NaturalGas location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -234408,7 +232288,7 @@ SOAP_FMAC1 prodml23__MeasuredDepthCoord * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__MeasuredDepthCoord *p; size_t k = sizeof(prodml23__MeasuredDepthCoord); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MeasuredDepthCoord, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__MeasuredDepthCoord, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -234423,13 +232303,9 @@ SOAP_FMAC1 prodml23__MeasuredDepthCoord * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__MeasuredDepthCoord location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -234547,7 +232423,7 @@ SOAP_FMAC1 prodml23__LiquidComposition * SOAP_FMAC2 soap_instantiate_prodml23__L (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LiquidComposition *p; size_t k = sizeof(prodml23__LiquidComposition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LiquidComposition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LiquidComposition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -234562,13 +232438,9 @@ SOAP_FMAC1 prodml23__LiquidComposition * SOAP_FMAC2 soap_instantiate_prodml23__L for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LiquidComposition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -234685,7 +232557,7 @@ SOAP_FMAC1 prodml23__KindQualifiedString * SOAP_FMAC2 soap_instantiate_prodml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__KindQualifiedString *p; size_t k = sizeof(prodml23__KindQualifiedString); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__KindQualifiedString, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__KindQualifiedString, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -234700,13 +232572,9 @@ SOAP_FMAC1 prodml23__KindQualifiedString * SOAP_FMAC2 soap_instantiate_prodml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__KindQualifiedString location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -234823,7 +232691,7 @@ SOAP_FMAC1 prodml23__IntegerQualifiedCount * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__IntegerQualifiedCount *p; size_t k = sizeof(prodml23__IntegerQualifiedCount); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__IntegerQualifiedCount, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__IntegerQualifiedCount, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -234838,13 +232706,9 @@ SOAP_FMAC1 prodml23__IntegerQualifiedCount * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__IntegerQualifiedCount location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -235009,7 +232873,7 @@ SOAP_FMAC1 prodml23__GeographicContext * SOAP_FMAC2 soap_instantiate_prodml23__G (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__GeographicContext *p; size_t k = sizeof(prodml23__GeographicContext); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__GeographicContext, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__GeographicContext, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -235024,13 +232888,9 @@ SOAP_FMAC1 prodml23__GeographicContext * SOAP_FMAC2 soap_instantiate_prodml23__G for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__GeographicContext location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -235167,7 +233027,7 @@ SOAP_FMAC1 prodml23__GeneralQualifiedMeasure * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__GeneralQualifiedMeasure *p; size_t k = sizeof(prodml23__GeneralQualifiedMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__GeneralQualifiedMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__GeneralQualifiedMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -235182,13 +233042,9 @@ SOAP_FMAC1 prodml23__GeneralQualifiedMeasure * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__GeneralQualifiedMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -235303,7 +233159,7 @@ SOAP_FMAC1 prodml23__GeneralMeasureType * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__GeneralMeasureType *p; size_t k = sizeof(prodml23__GeneralMeasureType); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__GeneralMeasureType, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__GeneralMeasureType, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -235318,13 +233174,9 @@ SOAP_FMAC1 prodml23__GeneralMeasureType * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__GeneralMeasureType location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -235497,7 +233349,7 @@ SOAP_FMAC1 prodml23__FormationWater * SOAP_FMAC2 soap_instantiate_prodml23__Form (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FormationWater *p; size_t k = sizeof(prodml23__FormationWater); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FormationWater, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FormationWater, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -235512,13 +233364,9 @@ SOAP_FMAC1 prodml23__FormationWater * SOAP_FMAC2 soap_instantiate_prodml23__Form for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FormationWater location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -235687,7 +233535,7 @@ SOAP_FMAC1 prodml23__FluidComponentFraction * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidComponentFraction *p; size_t k = sizeof(prodml23__FluidComponentFraction); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidComponentFraction, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidComponentFraction, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -235702,13 +233550,9 @@ SOAP_FMAC1 prodml23__FluidComponentFraction * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidComponentFraction location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -235863,7 +233707,7 @@ SOAP_FMAC1 prodml23__FluidComponentCatalog * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidComponentCatalog *p; size_t k = sizeof(prodml23__FluidComponentCatalog); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidComponentCatalog, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidComponentCatalog, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -235878,13 +233722,9 @@ SOAP_FMAC1 prodml23__FluidComponentCatalog * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidComponentCatalog location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -236057,7 +233897,7 @@ SOAP_FMAC1 prodml23__FacilityIdentifierStruct * SOAP_FMAC2 soap_instantiate_prod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FacilityIdentifierStruct *p; size_t k = sizeof(prodml23__FacilityIdentifierStruct); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FacilityIdentifierStruct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FacilityIdentifierStruct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -236072,13 +233912,9 @@ SOAP_FMAC1 prodml23__FacilityIdentifierStruct * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FacilityIdentifierStruct location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -236280,7 +234116,7 @@ SOAP_FMAC1 prodml23__FacilityIdentifier * SOAP_FMAC2 soap_instantiate_prodml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FacilityIdentifier *p; size_t k = sizeof(prodml23__FacilityIdentifier); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FacilityIdentifier, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FacilityIdentifier, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -236295,13 +234131,9 @@ SOAP_FMAC1 prodml23__FacilityIdentifier * SOAP_FMAC2 soap_instantiate_prodml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FacilityIdentifier location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -236416,7 +234248,7 @@ SOAP_FMAC1 prodml23__EndpointQualifiedDateTime * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__EndpointQualifiedDateTime *p; size_t k = sizeof(prodml23__EndpointQualifiedDateTime); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__EndpointQualifiedDateTime, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__EndpointQualifiedDateTime, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -236431,13 +234263,9 @@ SOAP_FMAC1 prodml23__EndpointQualifiedDateTime * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__EndpointQualifiedDateTime location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -236552,7 +234380,7 @@ SOAP_FMAC1 prodml23__EndpointQualifiedDate * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__EndpointQualifiedDate *p; size_t k = sizeof(prodml23__EndpointQualifiedDate); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__EndpointQualifiedDate, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__EndpointQualifiedDate, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -236567,13 +234395,9 @@ SOAP_FMAC1 prodml23__EndpointQualifiedDate * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__EndpointQualifiedDate location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -236731,7 +234555,7 @@ SOAP_FMAC1 prodml23__DatedComment * SOAP_FMAC2 soap_instantiate_prodml23__DatedC (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DatedComment *p; size_t k = sizeof(prodml23__DatedComment); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DatedComment, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DatedComment, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -236746,13 +234570,9 @@ SOAP_FMAC1 prodml23__DatedComment * SOAP_FMAC2 soap_instantiate_prodml23__DatedC for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DatedComment location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -236871,7 +234691,7 @@ SOAP_FMAC1 prodml23__CalibrationParameter * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CalibrationParameter *p; size_t k = sizeof(prodml23__CalibrationParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CalibrationParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CalibrationParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -236886,13 +234706,9 @@ SOAP_FMAC1 prodml23__CalibrationParameter * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CalibrationParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -237032,7 +234848,7 @@ SOAP_FMAC1 prodml23__AbstractProductQuantity * SOAP_FMAC2 soap_instantiate_prodm return soap_instantiate_prodml23__ServiceFluid(soap, n, NULL, NULL, size); prodml23__AbstractProductQuantity *p; size_t k = sizeof(prodml23__AbstractProductQuantity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractProductQuantity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractProductQuantity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -237047,13 +234863,9 @@ SOAP_FMAC1 prodml23__AbstractProductQuantity * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractProductQuantity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -237214,7 +235026,7 @@ SOAP_FMAC1 prodml23__AbstractFluidComponent * SOAP_FMAC2 soap_instantiate_prodml return soap_instantiate_prodml23__SulfurFluidComponent(soap, n, NULL, NULL, size); prodml23__AbstractFluidComponent *p; size_t k = sizeof(prodml23__AbstractFluidComponent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractFluidComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractFluidComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -237229,13 +235041,9 @@ SOAP_FMAC1 prodml23__AbstractFluidComponent * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractFluidComponent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -237371,7 +235179,7 @@ SOAP_FMAC1 prodml23__AbstractDateTimeClass * SOAP_FMAC2 soap_instantiate_prodml2 return soap_instantiate_prodml23__StartEndTime(soap, n, NULL, NULL, size); prodml23__AbstractDateTimeClass *p; size_t k = sizeof(prodml23__AbstractDateTimeClass); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractDateTimeClass, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractDateTimeClass, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -237386,13 +235194,9 @@ SOAP_FMAC1 prodml23__AbstractDateTimeClass * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractDateTimeClass location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -237578,7 +235382,7 @@ SOAP_FMAC1 prodml23__Standing_Undersaturated * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__Standing_Undersaturated *p; size_t k = sizeof(prodml23__Standing_Undersaturated); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Standing_Undersaturated, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Standing_Undersaturated, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -237593,13 +235397,9 @@ SOAP_FMAC1 prodml23__Standing_Undersaturated * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__Standing_Undersaturated location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -237756,7 +235556,7 @@ SOAP_FMAC1 prodml23__Standing_Dead * SOAP_FMAC2 soap_instantiate_prodml23__Stand (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__Standing_Dead *p; size_t k = sizeof(prodml23__Standing_Dead); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Standing_Dead, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Standing_Dead, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -237771,13 +235571,9 @@ SOAP_FMAC1 prodml23__Standing_Dead * SOAP_FMAC2 soap_instantiate_prodml23__Stand for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__Standing_Dead location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -237932,7 +235728,7 @@ SOAP_FMAC1 prodml23__Standing_BubblePoint * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__Standing_BubblePoint *p; size_t k = sizeof(prodml23__Standing_BubblePoint); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Standing_BubblePoint, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Standing_BubblePoint, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -237947,13 +235743,9 @@ SOAP_FMAC1 prodml23__Standing_BubblePoint * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__Standing_BubblePoint location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -238099,7 +235891,7 @@ SOAP_FMAC1 prodml23__Srk_USCOREEOS * SOAP_FMAC2 soap_instantiate_prodml23__Srk_U (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__Srk_USCOREEOS *p; size_t k = sizeof(prodml23__Srk_USCOREEOS); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Srk_USCOREEOS, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Srk_USCOREEOS, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -238114,13 +235906,9 @@ SOAP_FMAC1 prodml23__Srk_USCOREEOS * SOAP_FMAC2 soap_instantiate_prodml23__Srk_U for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__Srk_USCOREEOS location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -238252,7 +236040,7 @@ SOAP_FMAC1 prodml23__ReferenceSeparatorStage * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ReferenceSeparatorStage *p; size_t k = sizeof(prodml23__ReferenceSeparatorStage); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReferenceSeparatorStage, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ReferenceSeparatorStage, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -238267,13 +236055,9 @@ SOAP_FMAC1 prodml23__ReferenceSeparatorStage * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ReferenceSeparatorStage location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -238388,7 +236172,7 @@ SOAP_FMAC1 prodml23__PvtModelParameterSet * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PvtModelParameterSet *p; size_t k = sizeof(prodml23__PvtModelParameterSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PvtModelParameterSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PvtModelParameterSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -238403,13 +236187,9 @@ SOAP_FMAC1 prodml23__PvtModelParameterSet * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PvtModelParameterSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -238510,7 +236290,7 @@ SOAP_FMAC1 prodml23__PvtModelParameter * SOAP_FMAC2 soap_instantiate_prodml23__P (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PvtModelParameter *p; size_t k = sizeof(prodml23__PvtModelParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PvtModelParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PvtModelParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -238525,13 +236305,9 @@ SOAP_FMAC1 prodml23__PvtModelParameter * SOAP_FMAC2 soap_instantiate_prodml23__P for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PvtModelParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -238697,7 +236473,7 @@ SOAP_FMAC1 prodml23__PrsvParameter * SOAP_FMAC2 soap_instantiate_prodml23__PrsvP (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PrsvParameter *p; size_t k = sizeof(prodml23__PrsvParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PrsvParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PrsvParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -238712,13 +236488,9 @@ SOAP_FMAC1 prodml23__PrsvParameter * SOAP_FMAC2 soap_instantiate_prodml23__PrsvP for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PrsvParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -238882,7 +236654,7 @@ SOAP_FMAC1 prodml23__PetroskyFarshad_Undersaturated * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PetroskyFarshad_Undersaturated *p; size_t k = sizeof(prodml23__PetroskyFarshad_Undersaturated); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PetroskyFarshad_Undersaturated, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PetroskyFarshad_Undersaturated, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -238897,13 +236669,9 @@ SOAP_FMAC1 prodml23__PetroskyFarshad_Undersaturated * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PetroskyFarshad_Undersaturated location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -239060,7 +236828,7 @@ SOAP_FMAC1 prodml23__PetroskyFarshad_Dead * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PetroskyFarshad_Dead *p; size_t k = sizeof(prodml23__PetroskyFarshad_Dead); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PetroskyFarshad_Dead, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PetroskyFarshad_Dead, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -239075,13 +236843,9 @@ SOAP_FMAC1 prodml23__PetroskyFarshad_Dead * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PetroskyFarshad_Dead location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -239236,7 +237000,7 @@ SOAP_FMAC1 prodml23__PetroskyFarshad_BubblePoint * SOAP_FMAC2 soap_instantiate_p (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PetroskyFarshad_BubblePoint *p; size_t k = sizeof(prodml23__PetroskyFarshad_BubblePoint); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PetroskyFarshad_BubblePoint, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PetroskyFarshad_BubblePoint, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -239251,13 +237015,9 @@ SOAP_FMAC1 prodml23__PetroskyFarshad_BubblePoint * SOAP_FMAC2 soap_instantiate_p for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PetroskyFarshad_BubblePoint location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -239403,7 +237163,7 @@ SOAP_FMAC1 prodml23__PengRobinson78_USCOREEOS * SOAP_FMAC2 soap_instantiate_prod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PengRobinson78_USCOREEOS *p; size_t k = sizeof(prodml23__PengRobinson78_USCOREEOS); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PengRobinson78_USCOREEOS, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PengRobinson78_USCOREEOS, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -239418,13 +237178,9 @@ SOAP_FMAC1 prodml23__PengRobinson78_USCOREEOS * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PengRobinson78_USCOREEOS location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -239570,7 +237326,7 @@ SOAP_FMAC1 prodml23__PengRobinson76_USCOREEOS * SOAP_FMAC2 soap_instantiate_prod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__PengRobinson76_USCOREEOS *p; size_t k = sizeof(prodml23__PengRobinson76_USCOREEOS); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PengRobinson76_USCOREEOS, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__PengRobinson76_USCOREEOS, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -239585,13 +237341,9 @@ SOAP_FMAC1 prodml23__PengRobinson76_USCOREEOS * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__PengRobinson76_USCOREEOS location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -239803,7 +237555,7 @@ SOAP_FMAC1 prodml23__Lucas * SOAP_FMAC2 soap_instantiate_prodml23__Lucas(struct (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__Lucas *p; size_t k = sizeof(prodml23__Lucas); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Lucas, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Lucas, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -239818,13 +237570,9 @@ SOAP_FMAC1 prodml23__Lucas * SOAP_FMAC2 soap_instantiate_prodml23__Lucas(struct for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__Lucas location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -240000,7 +237748,7 @@ SOAP_FMAC1 prodml23__LondonoArcherBlasinggame * SOAP_FMAC2 soap_instantiate_prod (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LondonoArcherBlasinggame *p; size_t k = sizeof(prodml23__LondonoArcherBlasinggame); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LondonoArcherBlasinggame, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LondonoArcherBlasinggame, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -240015,13 +237763,9 @@ SOAP_FMAC1 prodml23__LondonoArcherBlasinggame * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LondonoArcherBlasinggame location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -240170,7 +237914,7 @@ SOAP_FMAC1 prodml23__Lohrenz_Bray_ClarkCorrelation * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__Lohrenz_Bray_ClarkCorrelation *p; size_t k = sizeof(prodml23__Lohrenz_Bray_ClarkCorrelation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Lohrenz_Bray_ClarkCorrelation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__Lohrenz_Bray_ClarkCorrelation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -240185,13 +237929,9 @@ SOAP_FMAC1 prodml23__Lohrenz_Bray_ClarkCorrelation * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__Lohrenz_Bray_ClarkCorrelation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -240359,7 +238099,7 @@ SOAP_FMAC1 prodml23__LeeGonzalez * SOAP_FMAC2 soap_instantiate_prodml23__LeeGonz (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__LeeGonzalez *p; size_t k = sizeof(prodml23__LeeGonzalez); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LeeGonzalez, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__LeeGonzalez, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -240374,13 +238114,9 @@ SOAP_FMAC1 prodml23__LeeGonzalez * SOAP_FMAC2 soap_instantiate_prodml23__LeeGonz for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__LeeGonzalez location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -240537,7 +238273,7 @@ SOAP_FMAC1 prodml23__FrictionTheory * SOAP_FMAC2 soap_instantiate_prodml23__Fric (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FrictionTheory *p; size_t k = sizeof(prodml23__FrictionTheory); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FrictionTheory, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FrictionTheory, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -240552,13 +238288,9 @@ SOAP_FMAC1 prodml23__FrictionTheory * SOAP_FMAC2 soap_instantiate_prodml23__Fric for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FrictionTheory location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -240859,7 +238591,7 @@ SOAP_FMAC1 prodml23__FluidComponentProperty * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidComponentProperty *p; size_t k = sizeof(prodml23__FluidComponentProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidComponentProperty, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidComponentProperty, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -240874,13 +238606,9 @@ SOAP_FMAC1 prodml23__FluidComponentProperty * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidComponentProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -240995,7 +238723,7 @@ SOAP_FMAC1 prodml23__FluidCharacterizationTableFormatSet * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidCharacterizationTableFormatSet *p; size_t k = sizeof(prodml23__FluidCharacterizationTableFormatSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationTableFormatSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationTableFormatSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -241010,13 +238738,9 @@ SOAP_FMAC1 prodml23__FluidCharacterizationTableFormatSet * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidCharacterizationTableFormatSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -241157,7 +238881,7 @@ SOAP_FMAC1 prodml23__FluidCharacterizationTableFormat * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidCharacterizationTableFormat *p; size_t k = sizeof(prodml23__FluidCharacterizationTableFormat); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationTableFormat, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationTableFormat, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -241172,13 +238896,9 @@ SOAP_FMAC1 prodml23__FluidCharacterizationTableFormat * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidCharacterizationTableFormat location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -241367,7 +239087,7 @@ SOAP_FMAC1 prodml23__FluidCharacterizationTableColumn * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidCharacterizationTableColumn *p; size_t k = sizeof(prodml23__FluidCharacterizationTableColumn); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationTableColumn, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationTableColumn, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -241382,13 +239102,9 @@ SOAP_FMAC1 prodml23__FluidCharacterizationTableColumn * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidCharacterizationTableColumn location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -241534,7 +239250,7 @@ SOAP_FMAC1 prodml23__FluidCharacterizationTable * SOAP_FMAC2 soap_instantiate_pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidCharacterizationTable *p; size_t k = sizeof(prodml23__FluidCharacterizationTable); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationTable, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationTable, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -241549,13 +239265,9 @@ SOAP_FMAC1 prodml23__FluidCharacterizationTable * SOAP_FMAC2 soap_instantiate_pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidCharacterizationTable location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -241673,7 +239385,7 @@ SOAP_FMAC1 prodml23__FluidCharacterizationSource * SOAP_FMAC2 soap_instantiate_p (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidCharacterizationSource *p; size_t k = sizeof(prodml23__FluidCharacterizationSource); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationSource, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationSource, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -241688,13 +239400,9 @@ SOAP_FMAC1 prodml23__FluidCharacterizationSource * SOAP_FMAC2 soap_instantiate_p for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidCharacterizationSource location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -241809,7 +239517,7 @@ SOAP_FMAC1 prodml23__FluidCharacterizationParameterSet * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidCharacterizationParameterSet *p; size_t k = sizeof(prodml23__FluidCharacterizationParameterSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationParameterSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationParameterSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -241824,13 +239532,9 @@ SOAP_FMAC1 prodml23__FluidCharacterizationParameterSet * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidCharacterizationParameterSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -242007,7 +239711,7 @@ SOAP_FMAC1 prodml23__FluidCharacterizationParameter * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidCharacterizationParameter *p; size_t k = sizeof(prodml23__FluidCharacterizationParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -242022,13 +239726,9 @@ SOAP_FMAC1 prodml23__FluidCharacterizationParameter * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidCharacterizationParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -242235,7 +239935,7 @@ SOAP_FMAC1 prodml23__FluidCharacterizationModel * SOAP_FMAC2 soap_instantiate_pr (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidCharacterizationModel *p; size_t k = sizeof(prodml23__FluidCharacterizationModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -242250,13 +239950,9 @@ SOAP_FMAC1 prodml23__FluidCharacterizationModel * SOAP_FMAC2 soap_instantiate_pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidCharacterizationModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -242562,7 +240258,7 @@ SOAP_FMAC1 prodml23__FluidCharacterization * SOAP_FMAC2 soap_instantiate_prodml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidCharacterization *p; size_t k = sizeof(prodml23__FluidCharacterization); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterization, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterization, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -242577,13 +240273,9 @@ SOAP_FMAC1 prodml23__FluidCharacterization * SOAP_FMAC2 soap_instantiate_prodml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidCharacterization location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -242769,7 +240461,7 @@ SOAP_FMAC1 prodml23__DindorukChristman_Undersaturated * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DindorukChristman_Undersaturated *p; size_t k = sizeof(prodml23__DindorukChristman_Undersaturated); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DindorukChristman_Undersaturated, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DindorukChristman_Undersaturated, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -242784,13 +240476,9 @@ SOAP_FMAC1 prodml23__DindorukChristman_Undersaturated * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DindorukChristman_Undersaturated location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -242947,7 +240635,7 @@ SOAP_FMAC1 prodml23__DindorukChristman_Dead * SOAP_FMAC2 soap_instantiate_prodml (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DindorukChristman_Dead *p; size_t k = sizeof(prodml23__DindorukChristman_Dead); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DindorukChristman_Dead, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DindorukChristman_Dead, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -242962,13 +240650,9 @@ SOAP_FMAC1 prodml23__DindorukChristman_Dead * SOAP_FMAC2 soap_instantiate_prodml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DindorukChristman_Dead location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -243123,7 +240807,7 @@ SOAP_FMAC1 prodml23__DindorukChristman_BubblePoint * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DindorukChristman_BubblePoint *p; size_t k = sizeof(prodml23__DindorukChristman_BubblePoint); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DindorukChristman_BubblePoint, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DindorukChristman_BubblePoint, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -243138,13 +240822,9 @@ SOAP_FMAC1 prodml23__DindorukChristman_BubblePoint * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DindorukChristman_BubblePoint location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -243330,7 +241010,7 @@ SOAP_FMAC1 prodml23__DeGhetto_Undersaturated * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DeGhetto_Undersaturated *p; size_t k = sizeof(prodml23__DeGhetto_Undersaturated); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeGhetto_Undersaturated, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeGhetto_Undersaturated, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -243345,13 +241025,9 @@ SOAP_FMAC1 prodml23__DeGhetto_Undersaturated * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DeGhetto_Undersaturated location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -243508,7 +241184,7 @@ SOAP_FMAC1 prodml23__DeGhetto_Dead * SOAP_FMAC2 soap_instantiate_prodml23__DeGhe (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DeGhetto_Dead *p; size_t k = sizeof(prodml23__DeGhetto_Dead); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeGhetto_Dead, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeGhetto_Dead, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -243523,13 +241199,9 @@ SOAP_FMAC1 prodml23__DeGhetto_Dead * SOAP_FMAC2 soap_instantiate_prodml23__DeGhe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DeGhetto_Dead location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -243684,7 +241356,7 @@ SOAP_FMAC1 prodml23__DeGhetto_BubblePoint * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__DeGhetto_BubblePoint *p; size_t k = sizeof(prodml23__DeGhetto_BubblePoint); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeGhetto_BubblePoint, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__DeGhetto_BubblePoint, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -243699,13 +241371,9 @@ SOAP_FMAC1 prodml23__DeGhetto_BubblePoint * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__DeGhetto_BubblePoint location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -243843,7 +241511,7 @@ SOAP_FMAC1 prodml23__CustomPvtModelParameter * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CustomPvtModelParameter *p; size_t k = sizeof(prodml23__CustomPvtModelParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CustomPvtModelParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CustomPvtModelParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -243858,13 +241526,9 @@ SOAP_FMAC1 prodml23__CustomPvtModelParameter * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CustomPvtModelParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -243982,7 +241646,7 @@ SOAP_FMAC1 prodml23__CustomPvtModelExtension * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CustomPvtModelExtension *p; size_t k = sizeof(prodml23__CustomPvtModelExtension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CustomPvtModelExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CustomPvtModelExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -243997,13 +241661,9 @@ SOAP_FMAC1 prodml23__CustomPvtModelExtension * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CustomPvtModelExtension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -244152,7 +241812,7 @@ SOAP_FMAC1 prodml23__CSPedersen87 * SOAP_FMAC2 soap_instantiate_prodml23__CSPede (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CSPedersen87 *p; size_t k = sizeof(prodml23__CSPedersen87); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CSPedersen87, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CSPedersen87, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -244167,13 +241827,9 @@ SOAP_FMAC1 prodml23__CSPedersen87 * SOAP_FMAC2 soap_instantiate_prodml23__CSPede for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CSPedersen87 location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -244322,7 +241978,7 @@ SOAP_FMAC1 prodml23__CSPedersen84 * SOAP_FMAC2 soap_instantiate_prodml23__CSPede (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CSPedersen84 *p; size_t k = sizeof(prodml23__CSPedersen84); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CSPedersen84, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CSPedersen84, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -244337,13 +241993,9 @@ SOAP_FMAC1 prodml23__CSPedersen84 * SOAP_FMAC2 soap_instantiate_prodml23__CSPede for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CSPedersen84 location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -244462,7 +242114,7 @@ SOAP_FMAC1 prodml23__CorrelationThermalModel * SOAP_FMAC2 soap_instantiate_prodm (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CorrelationThermalModel *p; size_t k = sizeof(prodml23__CorrelationThermalModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CorrelationThermalModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CorrelationThermalModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -244477,13 +242129,9 @@ SOAP_FMAC1 prodml23__CorrelationThermalModel * SOAP_FMAC2 soap_instantiate_prodm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CorrelationThermalModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -244629,7 +242277,7 @@ SOAP_FMAC1 prodml23__CompositionalThermalModel * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CompositionalThermalModel *p; size_t k = sizeof(prodml23__CompositionalThermalModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CompositionalThermalModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CompositionalThermalModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -244644,13 +242292,9 @@ SOAP_FMAC1 prodml23__CompositionalThermalModel * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CompositionalThermalModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -244765,7 +242409,7 @@ SOAP_FMAC1 prodml23__ComponentPropertySet * SOAP_FMAC2 soap_instantiate_prodml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__ComponentPropertySet *p; size_t k = sizeof(prodml23__ComponentPropertySet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ComponentPropertySet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__ComponentPropertySet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -244780,13 +242424,9 @@ SOAP_FMAC1 prodml23__ComponentPropertySet * SOAP_FMAC2 soap_instantiate_prodml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__ComponentPropertySet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -244976,7 +242616,7 @@ SOAP_FMAC1 prodml23__CarrDempsey * SOAP_FMAC2 soap_instantiate_prodml23__CarrDem (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__CarrDempsey *p; size_t k = sizeof(prodml23__CarrDempsey); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CarrDempsey, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__CarrDempsey, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -244991,13 +242631,9 @@ SOAP_FMAC1 prodml23__CarrDempsey * SOAP_FMAC2 soap_instantiate_prodml23__CarrDem for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__CarrDempsey location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -245112,7 +242748,7 @@ SOAP_FMAC1 prodml23__BinaryInteractionCoefficientSet * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__BinaryInteractionCoefficientSet *p; size_t k = sizeof(prodml23__BinaryInteractionCoefficientSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__BinaryInteractionCoefficientSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__BinaryInteractionCoefficientSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -245127,13 +242763,9 @@ SOAP_FMAC1 prodml23__BinaryInteractionCoefficientSet * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__BinaryInteractionCoefficientSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -245234,7 +242866,7 @@ SOAP_FMAC1 prodml23__BinaryInteractionCoefficient * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__BinaryInteractionCoefficient *p; size_t k = sizeof(prodml23__BinaryInteractionCoefficient); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__BinaryInteractionCoefficient, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__BinaryInteractionCoefficient, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -245249,13 +242881,9 @@ SOAP_FMAC1 prodml23__BinaryInteractionCoefficient * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__BinaryInteractionCoefficient location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -245410,7 +243038,7 @@ SOAP_FMAC1 prodml23__BergmanSutton_BubblePoint * SOAP_FMAC2 soap_instantiate_pro (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__BergmanSutton_BubblePoint *p; size_t k = sizeof(prodml23__BergmanSutton_BubblePoint); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__BergmanSutton_BubblePoint, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__BergmanSutton_BubblePoint, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -245425,13 +243053,9 @@ SOAP_FMAC1 prodml23__BergmanSutton_BubblePoint * SOAP_FMAC2 soap_instantiate_pro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__BergmanSutton_BubblePoint location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -245599,7 +243223,7 @@ SOAP_FMAC1 prodml23__BerganSutton_Dead * SOAP_FMAC2 soap_instantiate_prodml23__B (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__BerganSutton_Dead *p; size_t k = sizeof(prodml23__BerganSutton_Dead); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__BerganSutton_Dead, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__BerganSutton_Dead, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -245614,13 +243238,9 @@ SOAP_FMAC1 prodml23__BerganSutton_Dead * SOAP_FMAC2 soap_instantiate_prodml23__B for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__BerganSutton_Dead location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -245784,7 +243404,7 @@ SOAP_FMAC1 prodml23__BerganAndSutton_Undersaturated * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__BerganAndSutton_Undersaturated *p; size_t k = sizeof(prodml23__BerganAndSutton_Undersaturated); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__BerganAndSutton_Undersaturated, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__BerganAndSutton_Undersaturated, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -245799,13 +243419,9 @@ SOAP_FMAC1 prodml23__BerganAndSutton_Undersaturated * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__BerganAndSutton_Undersaturated location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -246000,7 +243616,7 @@ SOAP_FMAC1 prodml23__AbstractPvtModel * SOAP_FMAC2 soap_instantiate_prodml23__Ab return soap_instantiate_prodml23__Standing_Undersaturated(soap, n, NULL, NULL, size); prodml23__AbstractPvtModel *p; size_t k = sizeof(prodml23__AbstractPvtModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractPvtModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractPvtModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -246015,13 +243631,9 @@ SOAP_FMAC1 prodml23__AbstractPvtModel * SOAP_FMAC2 soap_instantiate_prodml23__Ab for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractPvtModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -246203,7 +243815,7 @@ SOAP_FMAC1 prodml23__AbstractCorrelationViscosityUndersaturatedModel * SOAP_FMAC return soap_instantiate_prodml23__Standing_Undersaturated(soap, n, NULL, NULL, size); prodml23__AbstractCorrelationViscosityUndersaturatedModel *p; size_t k = sizeof(prodml23__AbstractCorrelationViscosityUndersaturatedModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCorrelationViscosityUndersaturatedModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCorrelationViscosityUndersaturatedModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -246218,13 +243830,9 @@ SOAP_FMAC1 prodml23__AbstractCorrelationViscosityUndersaturatedModel * SOAP_FMAC for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractCorrelationViscosityUndersaturatedModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -246400,7 +244008,7 @@ SOAP_FMAC1 prodml23__AbstractCorrelationViscosityModel * SOAP_FMAC2 soap_instant return soap_instantiate_prodml23__Standing_Undersaturated(soap, n, NULL, NULL, size); prodml23__AbstractCorrelationViscosityModel *p; size_t k = sizeof(prodml23__AbstractCorrelationViscosityModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCorrelationViscosityModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCorrelationViscosityModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -246415,13 +244023,9 @@ SOAP_FMAC1 prodml23__AbstractCorrelationViscosityModel * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractCorrelationViscosityModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -246592,7 +244196,7 @@ SOAP_FMAC1 prodml23__AbstractCorrelationViscosityBubblePointModel * SOAP_FMAC2 s return soap_instantiate_prodml23__Standing_BubblePoint(soap, n, NULL, NULL, size); prodml23__AbstractCorrelationViscosityBubblePointModel *p; size_t k = sizeof(prodml23__AbstractCorrelationViscosityBubblePointModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCorrelationViscosityBubblePointModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCorrelationViscosityBubblePointModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -246607,13 +244211,9 @@ SOAP_FMAC1 prodml23__AbstractCorrelationViscosityBubblePointModel * SOAP_FMAC2 s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractCorrelationViscosityBubblePointModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -246771,7 +244371,7 @@ SOAP_FMAC1 prodml23__AbstractCorrelationGasViscosityModel * SOAP_FMAC2 soap_inst return soap_instantiate_prodml23__Lucas(soap, n, NULL, NULL, size); prodml23__AbstractCorrelationGasViscosityModel *p; size_t k = sizeof(prodml23__AbstractCorrelationGasViscosityModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCorrelationGasViscosityModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCorrelationGasViscosityModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -246786,13 +244386,9 @@ SOAP_FMAC1 prodml23__AbstractCorrelationGasViscosityModel * SOAP_FMAC2 soap_inst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractCorrelationGasViscosityModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -246950,7 +244546,7 @@ SOAP_FMAC1 prodml23__AbstractCompositionalViscosityModel * SOAP_FMAC2 soap_insta return soap_instantiate_prodml23__Lohrenz_Bray_ClarkCorrelation(soap, n, NULL, NULL, size); prodml23__AbstractCompositionalViscosityModel *p; size_t k = sizeof(prodml23__AbstractCompositionalViscosityModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCompositionalViscosityModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCompositionalViscosityModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -246965,13 +244561,9 @@ SOAP_FMAC1 prodml23__AbstractCompositionalViscosityModel * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractCompositionalViscosityModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -247123,7 +244715,7 @@ SOAP_FMAC1 prodml23__AbstractCompositionalEoSModel * SOAP_FMAC2 soap_instantiate return soap_instantiate_prodml23__Srk_USCOREEOS(soap, n, NULL, NULL, size); prodml23__AbstractCompositionalEoSModel *p; size_t k = sizeof(prodml23__AbstractCompositionalEoSModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCompositionalEoSModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCompositionalEoSModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -247138,13 +244730,9 @@ SOAP_FMAC1 prodml23__AbstractCompositionalEoSModel * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractCompositionalEoSModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -247246,7 +244834,7 @@ SOAP_FMAC1 prodml23__FluidCharacterizationTableRow * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ prodml23__FluidCharacterizationTableRow *p; size_t k = sizeof(prodml23__FluidCharacterizationTableRow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationTableRow, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__FluidCharacterizationTableRow, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -247261,13 +244849,9 @@ SOAP_FMAC1 prodml23__FluidCharacterizationTableRow * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__FluidCharacterizationTableRow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -247427,7 +245011,7 @@ SOAP_FMAC1 prodml23__AbstractCorrelationViscosityDeadModel * SOAP_FMAC2 soap_ins return soap_instantiate_prodml23__Standing_Dead(soap, n, NULL, NULL, size); prodml23__AbstractCorrelationViscosityDeadModel *p; size_t k = sizeof(prodml23__AbstractCorrelationViscosityDeadModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCorrelationViscosityDeadModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCorrelationViscosityDeadModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -247442,13 +245026,9 @@ SOAP_FMAC1 prodml23__AbstractCorrelationViscosityDeadModel * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractCorrelationViscosityDeadModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -247617,7 +245197,7 @@ SOAP_FMAC1 prodml23__AbstractCorrelationModel * SOAP_FMAC2 soap_instantiate_prod return soap_instantiate_prodml23__Standing_Undersaturated(soap, n, NULL, NULL, size); prodml23__AbstractCorrelationModel *p; size_t k = sizeof(prodml23__AbstractCorrelationModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCorrelationModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCorrelationModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -247632,13 +245212,9 @@ SOAP_FMAC1 prodml23__AbstractCorrelationModel * SOAP_FMAC2 soap_instantiate_prod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractCorrelationModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -247810,7 +245386,7 @@ SOAP_FMAC1 prodml23__AbstractCompositionalModel * SOAP_FMAC2 soap_instantiate_pr return soap_instantiate_prodml23__Srk_USCOREEOS(soap, n, NULL, NULL, size); prodml23__AbstractCompositionalModel *p; size_t k = sizeof(prodml23__AbstractCompositionalModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCompositionalModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_prodml23__AbstractCompositionalModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -247825,13 +245401,9 @@ SOAP_FMAC1 prodml23__AbstractCompositionalModel * SOAP_FMAC2 soap_instantiate_pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated prodml23__AbstractCompositionalModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -248036,7 +245608,7 @@ SOAP_FMAC1 eml23__GraphicalInformationSet * SOAP_FMAC2 soap_instantiate_eml23__G (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__GraphicalInformationSet *p; size_t k = sizeof(eml23__GraphicalInformationSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GraphicalInformationSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GraphicalInformationSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -248051,13 +245623,9 @@ SOAP_FMAC1 eml23__GraphicalInformationSet * SOAP_FMAC2 soap_instantiate_eml23__G for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__GraphicalInformationSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -248184,7 +245752,7 @@ SOAP_FMAC1 eml23__AbstractGraphicalInformation * SOAP_FMAC2 soap_instantiate_eml return soap_instantiate_resqml22__SizeInformation(soap, n, NULL, NULL, size); eml23__AbstractGraphicalInformation *p; size_t k = sizeof(eml23__AbstractGraphicalInformation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractGraphicalInformation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractGraphicalInformation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -248199,13 +245767,9 @@ SOAP_FMAC1 eml23__AbstractGraphicalInformation * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractGraphicalInformation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -248336,7 +245900,7 @@ SOAP_FMAC1 eml23__IndexRange * SOAP_FMAC2 soap_instantiate_eml23__IndexRange(str (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__IndexRange *p; size_t k = sizeof(eml23__IndexRange); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IndexRange, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IndexRange, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -248351,13 +245915,9 @@ SOAP_FMAC1 eml23__IndexRange * SOAP_FMAC2 soap_instantiate_eml23__IndexRange(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__IndexRange location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -248506,7 +246066,7 @@ SOAP_FMAC1 eml23__FailingRule * SOAP_FMAC2 soap_instantiate_eml23__FailingRule(s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__FailingRule *p; size_t k = sizeof(eml23__FailingRule); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FailingRule, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FailingRule, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -248521,13 +246081,9 @@ SOAP_FMAC1 eml23__FailingRule * SOAP_FMAC2 soap_instantiate_eml23__FailingRule(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__FailingRule location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -248849,7 +246405,7 @@ SOAP_FMAC1 eml23__DataAssuranceRecord * SOAP_FMAC2 soap_instantiate_eml23__DataA (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DataAssuranceRecord *p; size_t k = sizeof(eml23__DataAssuranceRecord); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DataAssuranceRecord, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DataAssuranceRecord, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -248864,13 +246420,9 @@ SOAP_FMAC1 eml23__DataAssuranceRecord * SOAP_FMAC2 soap_instantiate_eml23__DataA for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DataAssuranceRecord location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -249016,7 +246568,7 @@ SOAP_FMAC1 eml23__NestedColumnBasedTable * SOAP_FMAC2 soap_instantiate_eml23__Ne (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__NestedColumnBasedTable *p; size_t k = sizeof(eml23__NestedColumnBasedTable); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__NestedColumnBasedTable, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__NestedColumnBasedTable, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -249031,13 +246583,9 @@ SOAP_FMAC1 eml23__NestedColumnBasedTable * SOAP_FMAC2 soap_instantiate_eml23__Ne for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__NestedColumnBasedTable location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -249250,7 +246798,7 @@ SOAP_FMAC1 eml23__ColumnBasedTable * SOAP_FMAC2 soap_instantiate_eml23__ColumnBa (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ColumnBasedTable *p; size_t k = sizeof(eml23__ColumnBasedTable); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ColumnBasedTable, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ColumnBasedTable, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -249265,13 +246813,9 @@ SOAP_FMAC1 eml23__ColumnBasedTable * SOAP_FMAC2 soap_instantiate_eml23__ColumnBa for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ColumnBasedTable location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -249468,7 +247012,7 @@ SOAP_FMAC1 eml23__Column * SOAP_FMAC2 soap_instantiate_eml23__Column(struct soap (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Column *p; size_t k = sizeof(eml23__Column); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Column, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Column, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -249483,13 +247027,9 @@ SOAP_FMAC1 eml23__Column * SOAP_FMAC2 soap_instantiate_eml23__Column(struct soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Column location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -249630,7 +247170,7 @@ SOAP_FMAC1 eml23__SingleCollectionAssociation * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__SingleCollectionAssociation *p; size_t k = sizeof(eml23__SingleCollectionAssociation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SingleCollectionAssociation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SingleCollectionAssociation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -249645,13 +247185,9 @@ SOAP_FMAC1 eml23__SingleCollectionAssociation * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__SingleCollectionAssociation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -249870,7 +247406,7 @@ SOAP_FMAC1 eml23__DataobjectCollection * SOAP_FMAC2 soap_instantiate_eml23__Data (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DataobjectCollection *p; size_t k = sizeof(eml23__DataobjectCollection); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DataobjectCollection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DataobjectCollection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -249885,13 +247421,9 @@ SOAP_FMAC1 eml23__DataobjectCollection * SOAP_FMAC2 soap_instantiate_eml23__Data for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DataobjectCollection location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -250096,7 +247628,7 @@ SOAP_FMAC1 eml23__CollectionsToDataobjectsAssociationSet * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__CollectionsToDataobjectsAssociationSet *p; size_t k = sizeof(eml23__CollectionsToDataobjectsAssociationSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__CollectionsToDataobjectsAssociationSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__CollectionsToDataobjectsAssociationSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -250111,13 +247643,9 @@ SOAP_FMAC1 eml23__CollectionsToDataobjectsAssociationSet * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__CollectionsToDataobjectsAssociationSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -250435,7 +247963,7 @@ SOAP_FMAC1 eml23__Attachment * SOAP_FMAC2 soap_instantiate_eml23__Attachment(str (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Attachment *p; size_t k = sizeof(eml23__Attachment); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Attachment, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Attachment, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -250450,13 +247978,9 @@ SOAP_FMAC1 eml23__Attachment * SOAP_FMAC2 soap_instantiate_eml23__Attachment(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Attachment location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -250661,7 +248185,7 @@ SOAP_FMAC1 eml23__Aggregate * SOAP_FMAC2 soap_instantiate_eml23__Aggregate(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Aggregate *p; size_t k = sizeof(eml23__Aggregate); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Aggregate, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Aggregate, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -250676,13 +248200,9 @@ SOAP_FMAC1 eml23__Aggregate * SOAP_FMAC2 soap_instantiate_eml23__Aggregate(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Aggregate location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -250806,7 +248326,7 @@ SOAP_FMAC1 eml23__TimeIndexParameterKey * SOAP_FMAC2 soap_instantiate_eml23__Tim (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimeIndexParameterKey *p; size_t k = sizeof(eml23__TimeIndexParameterKey); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeIndexParameterKey, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeIndexParameterKey, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -250821,13 +248341,9 @@ SOAP_FMAC1 eml23__TimeIndexParameterKey * SOAP_FMAC2 soap_instantiate_eml23__Tim for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimeIndexParameterKey location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -250993,7 +248509,7 @@ SOAP_FMAC1 eml23__TimeIndexParameter * SOAP_FMAC2 soap_instantiate_eml23__TimeIn (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimeIndexParameter *p; size_t k = sizeof(eml23__TimeIndexParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeIndexParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeIndexParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -251008,13 +248524,9 @@ SOAP_FMAC1 eml23__TimeIndexParameter * SOAP_FMAC2 soap_instantiate_eml23__TimeIn for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimeIndexParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -251135,7 +248647,7 @@ SOAP_FMAC1 eml23__StringParameterKey * SOAP_FMAC2 soap_instantiate_eml23__String (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__StringParameterKey *p; size_t k = sizeof(eml23__StringParameterKey); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__StringParameterKey, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__StringParameterKey, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -251150,13 +248662,9 @@ SOAP_FMAC1 eml23__StringParameterKey * SOAP_FMAC2 soap_instantiate_eml23__String for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__StringParameterKey location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -251319,7 +248827,7 @@ SOAP_FMAC1 eml23__StringParameter * SOAP_FMAC2 soap_instantiate_eml23__StringPar (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__StringParameter *p; size_t k = sizeof(eml23__StringParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__StringParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__StringParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -251334,13 +248842,9 @@ SOAP_FMAC1 eml23__StringParameter * SOAP_FMAC2 soap_instantiate_eml23__StringPar for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__StringParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -251549,7 +249053,7 @@ SOAP_FMAC1 eml23__ParameterTemplate * SOAP_FMAC2 soap_instantiate_eml23__Paramet (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ParameterTemplate *p; size_t k = sizeof(eml23__ParameterTemplate); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ParameterTemplate, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ParameterTemplate, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -251564,13 +249068,9 @@ SOAP_FMAC1 eml23__ParameterTemplate * SOAP_FMAC2 soap_instantiate_eml23__Paramet for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ParameterTemplate location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -251694,7 +249194,7 @@ SOAP_FMAC1 eml23__ObjectParameterKey * SOAP_FMAC2 soap_instantiate_eml23__Object (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ObjectParameterKey *p; size_t k = sizeof(eml23__ObjectParameterKey); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ObjectParameterKey, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ObjectParameterKey, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -251709,13 +249209,9 @@ SOAP_FMAC1 eml23__ObjectParameterKey * SOAP_FMAC2 soap_instantiate_eml23__Object for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ObjectParameterKey location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -251835,7 +249331,7 @@ SOAP_FMAC1 eml23__IntegerParameterKey * SOAP_FMAC2 soap_instantiate_eml23__Integ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__IntegerParameterKey *p; size_t k = sizeof(eml23__IntegerParameterKey); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerParameterKey, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerParameterKey, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -251850,13 +249346,9 @@ SOAP_FMAC1 eml23__IntegerParameterKey * SOAP_FMAC2 soap_instantiate_eml23__Integ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__IntegerParameterKey location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -252018,7 +249510,7 @@ SOAP_FMAC1 eml23__IntegerQuantityParameter * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__IntegerQuantityParameter *p; size_t k = sizeof(eml23__IntegerQuantityParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerQuantityParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerQuantityParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -252033,13 +249525,9 @@ SOAP_FMAC1 eml23__IntegerQuantityParameter * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__IntegerQuantityParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -252182,7 +249670,7 @@ SOAP_FMAC1 eml23__DoubleParameterKey * SOAP_FMAC2 soap_instantiate_eml23__Double (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DoubleParameterKey *p; size_t k = sizeof(eml23__DoubleParameterKey); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DoubleParameterKey, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DoubleParameterKey, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -252197,13 +249685,9 @@ SOAP_FMAC1 eml23__DoubleParameterKey * SOAP_FMAC2 soap_instantiate_eml23__Double for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DoubleParameterKey location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -252388,7 +249872,7 @@ SOAP_FMAC1 eml23__DoubleQuantityParameter * SOAP_FMAC2 soap_instantiate_eml23__D (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DoubleQuantityParameter *p; size_t k = sizeof(eml23__DoubleQuantityParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DoubleQuantityParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DoubleQuantityParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -252403,13 +249887,9 @@ SOAP_FMAC1 eml23__DoubleQuantityParameter * SOAP_FMAC2 soap_instantiate_eml23__D for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DoubleQuantityParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -252575,7 +250055,7 @@ SOAP_FMAC1 eml23__DataObjectParameter * SOAP_FMAC2 soap_instantiate_eml23__DataO (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DataObjectParameter *p; size_t k = sizeof(eml23__DataObjectParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DataObjectParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DataObjectParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -252590,13 +250070,9 @@ SOAP_FMAC1 eml23__DataObjectParameter * SOAP_FMAC2 soap_instantiate_eml23__DataO for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DataObjectParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -252801,7 +250277,7 @@ SOAP_FMAC1 eml23__ActivityTemplate * SOAP_FMAC2 soap_instantiate_eml23__Activity (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ActivityTemplate *p; size_t k = sizeof(eml23__ActivityTemplate); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ActivityTemplate, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ActivityTemplate, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -252816,13 +250292,9 @@ SOAP_FMAC1 eml23__ActivityTemplate * SOAP_FMAC2 soap_instantiate_eml23__Activity for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ActivityTemplate location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -253053,7 +250525,7 @@ SOAP_FMAC1 eml23__Activity * SOAP_FMAC2 soap_instantiate_eml23__Activity(struct (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Activity *p; size_t k = sizeof(eml23__Activity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Activity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Activity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -253068,13 +250540,9 @@ SOAP_FMAC1 eml23__Activity * SOAP_FMAC2 soap_instantiate_eml23__Activity(struct for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Activity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -253183,7 +250651,7 @@ SOAP_FMAC1 eml23__AbstractParameterKey * SOAP_FMAC2 soap_instantiate_eml23__Abst return soap_instantiate_eml23__TimeIndexParameterKey(soap, n, NULL, NULL, size); eml23__AbstractParameterKey *p; size_t k = sizeof(eml23__AbstractParameterKey); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractParameterKey, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractParameterKey, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -253198,13 +250666,9 @@ SOAP_FMAC1 eml23__AbstractParameterKey * SOAP_FMAC2 soap_instantiate_eml23__Abst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractParameterKey location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -253374,7 +250838,7 @@ SOAP_FMAC1 eml23__AbstractActivityParameter * SOAP_FMAC2 soap_instantiate_eml23_ return soap_instantiate_eml23__TimeIndexParameter(soap, n, NULL, NULL, size); eml23__AbstractActivityParameter *p; size_t k = sizeof(eml23__AbstractActivityParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractActivityParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractActivityParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -253389,13 +250853,9 @@ SOAP_FMAC1 eml23__AbstractActivityParameter * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractActivityParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -253540,7 +251000,7 @@ SOAP_FMAC1 eml23__PhoneNumberStruct * SOAP_FMAC2 soap_instantiate_eml23__PhoneNu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PhoneNumberStruct *p; size_t k = sizeof(eml23__PhoneNumberStruct); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PhoneNumberStruct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PhoneNumberStruct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -253555,13 +251015,9 @@ SOAP_FMAC1 eml23__PhoneNumberStruct * SOAP_FMAC2 soap_instantiate_eml23__PhoneNu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PhoneNumberStruct location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -253722,7 +251178,7 @@ SOAP_FMAC1 eml23__PersonName * SOAP_FMAC2 soap_instantiate_eml23__PersonName(str (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PersonName *p; size_t k = sizeof(eml23__PersonName); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PersonName, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PersonName, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -253737,13 +251193,9 @@ SOAP_FMAC1 eml23__PersonName * SOAP_FMAC2 soap_instantiate_eml23__PersonName(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PersonName location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -253842,7 +251294,7 @@ SOAP_FMAC1 eml23__NameStruct * SOAP_FMAC2 soap_instantiate_eml23__NameStruct(str (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__NameStruct *p; size_t k = sizeof(eml23__NameStruct); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__NameStruct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__NameStruct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -253857,13 +251309,9 @@ SOAP_FMAC1 eml23__NameStruct * SOAP_FMAC2 soap_instantiate_eml23__NameStruct(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__NameStruct location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -254079,7 +251527,7 @@ SOAP_FMAC1 eml23__GeneralAddress * SOAP_FMAC2 soap_instantiate_eml23__GeneralAdd (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__GeneralAddress *p; size_t k = sizeof(eml23__GeneralAddress); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeneralAddress, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeneralAddress, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -254094,13 +251542,9 @@ SOAP_FMAC1 eml23__GeneralAddress * SOAP_FMAC2 soap_instantiate_eml23__GeneralAdd for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__GeneralAddress location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -254199,7 +251643,7 @@ SOAP_FMAC1 eml23__EmailQualifierStruct * SOAP_FMAC2 soap_instantiate_eml23__Emai (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EmailQualifierStruct *p; size_t k = sizeof(eml23__EmailQualifierStruct); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EmailQualifierStruct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EmailQualifierStruct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -254214,13 +251658,9 @@ SOAP_FMAC1 eml23__EmailQualifierStruct * SOAP_FMAC2 soap_instantiate_eml23__Emai for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EmailQualifierStruct location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -254571,7 +252011,7 @@ SOAP_FMAC1 eml23__BusinessAssociate * SOAP_FMAC2 soap_instantiate_eml23__Busines (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__BusinessAssociate *p; size_t k = sizeof(eml23__BusinessAssociate); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__BusinessAssociate, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__BusinessAssociate, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -254586,13 +252026,9 @@ SOAP_FMAC1 eml23__BusinessAssociate * SOAP_FMAC2 soap_instantiate_eml23__Busines for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__BusinessAssociate location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -254732,7 +252168,7 @@ SOAP_FMAC1 eml23__WellStatusPeriod * SOAP_FMAC2 soap_instantiate_eml23__WellStat (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__WellStatusPeriod *p; size_t k = sizeof(eml23__WellStatusPeriod); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__WellStatusPeriod, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__WellStatusPeriod, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -254747,13 +252183,9 @@ SOAP_FMAC1 eml23__WellStatusPeriod * SOAP_FMAC2 soap_instantiate_eml23__WellStat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__WellStatusPeriod location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -254886,7 +252318,7 @@ SOAP_FMAC1 eml23__TimeSeriesParentage * SOAP_FMAC2 soap_instantiate_eml23__TimeS (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimeSeriesParentage *p; size_t k = sizeof(eml23__TimeSeriesParentage); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeSeriesParentage, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeSeriesParentage, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -254901,13 +252333,9 @@ SOAP_FMAC1 eml23__TimeSeriesParentage * SOAP_FMAC2 soap_instantiate_eml23__TimeS for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimeSeriesParentage location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -255134,7 +252562,7 @@ SOAP_FMAC1 eml23__TimeSeries * SOAP_FMAC2 soap_instantiate_eml23__TimeSeries(str (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimeSeries *p; size_t k = sizeof(eml23__TimeSeries); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeSeries, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeSeries, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -255149,13 +252577,9 @@ SOAP_FMAC1 eml23__TimeSeries * SOAP_FMAC2 soap_instantiate_eml23__TimeSeries(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimeSeries location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -255288,7 +252712,7 @@ SOAP_FMAC1 eml23__TimeOrIntervalSeries * SOAP_FMAC2 soap_instantiate_eml23__Time (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimeOrIntervalSeries *p; size_t k = sizeof(eml23__TimeOrIntervalSeries); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeOrIntervalSeries, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeOrIntervalSeries, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -255303,13 +252727,9 @@ SOAP_FMAC1 eml23__TimeOrIntervalSeries * SOAP_FMAC2 soap_instantiate_eml23__Time for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimeOrIntervalSeries location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -255442,7 +252862,7 @@ SOAP_FMAC1 eml23__TimeIndex * SOAP_FMAC2 soap_instantiate_eml23__TimeIndex(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimeIndex *p; size_t k = sizeof(eml23__TimeIndex); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeIndex, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeIndex, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -255457,13 +252877,9 @@ SOAP_FMAC1 eml23__TimeIndex * SOAP_FMAC2 soap_instantiate_eml23__TimeIndex(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimeIndex location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -255591,7 +253007,7 @@ SOAP_FMAC1 eml23__PropertyKindFacet * SOAP_FMAC2 soap_instantiate_eml23__Propert (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PropertyKindFacet *p; size_t k = sizeof(eml23__PropertyKindFacet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PropertyKindFacet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PropertyKindFacet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -255606,13 +253022,9 @@ SOAP_FMAC1 eml23__PropertyKindFacet * SOAP_FMAC2 soap_instantiate_eml23__Propert for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PropertyKindFacet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -255817,7 +253229,7 @@ SOAP_FMAC1 eml23__PropertyKindDictionary * SOAP_FMAC2 soap_instantiate_eml23__Pr (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PropertyKindDictionary *p; size_t k = sizeof(eml23__PropertyKindDictionary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PropertyKindDictionary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PropertyKindDictionary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -255832,13 +253244,9 @@ SOAP_FMAC1 eml23__PropertyKindDictionary * SOAP_FMAC2 soap_instantiate_eml23__Pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PropertyKindDictionary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -256079,7 +253487,7 @@ SOAP_FMAC1 eml23__PropertyKind * SOAP_FMAC2 soap_instantiate_eml23__PropertyKind (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PropertyKind *p; size_t k = sizeof(eml23__PropertyKind); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PropertyKind, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PropertyKind, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -256094,13 +253502,9 @@ SOAP_FMAC1 eml23__PropertyKind * SOAP_FMAC2 soap_instantiate_eml23__PropertyKind for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PropertyKind location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -256230,7 +253634,7 @@ SOAP_FMAC1 eml23__GeologicTime * SOAP_FMAC2 soap_instantiate_eml23__GeologicTime (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__GeologicTime *p; size_t k = sizeof(eml23__GeologicTime); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeologicTime, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeologicTime, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -256245,13 +253649,9 @@ SOAP_FMAC1 eml23__GeologicTime * SOAP_FMAC2 soap_instantiate_eml23__GeologicTime for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__GeologicTime location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -256395,7 +253795,7 @@ SOAP_FMAC1 eml23__FacilityOperator * SOAP_FMAC2 soap_instantiate_eml23__Facility (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__FacilityOperator *p; size_t k = sizeof(eml23__FacilityOperator); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FacilityOperator, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FacilityOperator, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -256410,13 +253810,9 @@ SOAP_FMAC1 eml23__FacilityOperator * SOAP_FMAC2 soap_instantiate_eml23__Facility for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__FacilityOperator location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -256557,7 +253953,7 @@ SOAP_FMAC1 eml23__FacilityLifecyclePeriod * SOAP_FMAC2 soap_instantiate_eml23__F (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__FacilityLifecyclePeriod *p; size_t k = sizeof(eml23__FacilityLifecyclePeriod); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FacilityLifecyclePeriod, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FacilityLifecyclePeriod, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -256572,13 +253968,9 @@ SOAP_FMAC1 eml23__FacilityLifecyclePeriod * SOAP_FMAC2 soap_instantiate_eml23__F for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__FacilityLifecyclePeriod location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -256748,7 +254140,7 @@ SOAP_FMAC1 eml23__OSDUSpatialLocationIntegration * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__OSDUSpatialLocationIntegration *p; size_t k = sizeof(eml23__OSDUSpatialLocationIntegration); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__OSDUSpatialLocationIntegration, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__OSDUSpatialLocationIntegration, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -256763,13 +254155,9 @@ SOAP_FMAC1 eml23__OSDUSpatialLocationIntegration * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__OSDUSpatialLocationIntegration location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -256890,7 +254278,7 @@ SOAP_FMAC1 eml23__OSDUReferencePointIntegration * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__OSDUReferencePointIntegration *p; size_t k = sizeof(eml23__OSDUReferencePointIntegration); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__OSDUReferencePointIntegration, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__OSDUReferencePointIntegration, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -256905,13 +254293,9 @@ SOAP_FMAC1 eml23__OSDUReferencePointIntegration * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__OSDUReferencePointIntegration location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -257040,7 +254424,7 @@ SOAP_FMAC1 eml23__OSDULineageAssertion * SOAP_FMAC2 soap_instantiate_eml23__OSDU (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__OSDULineageAssertion *p; size_t k = sizeof(eml23__OSDULineageAssertion); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__OSDULineageAssertion, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__OSDULineageAssertion, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -257055,13 +254439,9 @@ SOAP_FMAC1 eml23__OSDULineageAssertion * SOAP_FMAC2 soap_instantiate_eml23__OSDU for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__OSDULineageAssertion location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -257357,7 +254737,7 @@ SOAP_FMAC1 eml23__OSDUIntegration * SOAP_FMAC2 soap_instantiate_eml23__OSDUInteg (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__OSDUIntegration *p; size_t k = sizeof(eml23__OSDUIntegration); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__OSDUIntegration, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__OSDUIntegration, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -257372,13 +254752,9 @@ SOAP_FMAC1 eml23__OSDUIntegration * SOAP_FMAC2 soap_instantiate_eml23__OSDUInteg for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__OSDUIntegration location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -257511,7 +254887,7 @@ SOAP_FMAC1 eml23__VolumeValue * SOAP_FMAC2 soap_instantiate_eml23__VolumeValue(s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumeValue *p; size_t k = sizeof(eml23__VolumeValue); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumeValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumeValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -257526,13 +254902,9 @@ SOAP_FMAC1 eml23__VolumeValue * SOAP_FMAC2 soap_instantiate_eml23__VolumeValue(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumeValue location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -257671,7 +255043,7 @@ SOAP_FMAC1 eml23__TemperaturePressure * SOAP_FMAC2 soap_instantiate_eml23__Tempe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TemperaturePressure *p; size_t k = sizeof(eml23__TemperaturePressure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperaturePressure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperaturePressure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -257686,13 +255058,9 @@ SOAP_FMAC1 eml23__TemperaturePressure * SOAP_FMAC2 soap_instantiate_eml23__Tempe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TemperaturePressure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -257831,7 +255199,7 @@ SOAP_FMAC1 eml23__RelativePressure * SOAP_FMAC2 soap_instantiate_eml23__Relative (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__RelativePressure *p; size_t k = sizeof(eml23__RelativePressure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__RelativePressure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__RelativePressure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -257846,13 +255214,9 @@ SOAP_FMAC1 eml23__RelativePressure * SOAP_FMAC2 soap_instantiate_eml23__Relative for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__RelativePressure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -257972,7 +255336,7 @@ SOAP_FMAC1 eml23__ReferenceTemperaturePressure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReferenceTemperaturePressure *p; size_t k = sizeof(eml23__ReferenceTemperaturePressure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferenceTemperaturePressure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferenceTemperaturePressure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -257987,13 +255351,9 @@ SOAP_FMAC1 eml23__ReferenceTemperaturePressure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReferenceTemperaturePressure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -258094,7 +255454,7 @@ SOAP_FMAC1 eml23__ReferencePressure * SOAP_FMAC2 soap_instantiate_eml23__Referen (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReferencePressure *p; size_t k = sizeof(eml23__ReferencePressure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferencePressure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferencePressure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -258109,13 +255469,9 @@ SOAP_FMAC1 eml23__ReferencePressure * SOAP_FMAC2 soap_instantiate_eml23__Referen for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReferencePressure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -258237,7 +255593,7 @@ SOAP_FMAC1 eml23__PressureValue * SOAP_FMAC2 soap_instantiate_eml23__PressureVal (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressureValue *p; size_t k = sizeof(eml23__PressureValue); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -258252,13 +255608,9 @@ SOAP_FMAC1 eml23__PressureValue * SOAP_FMAC2 soap_instantiate_eml23__PressureVal for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressureValue location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -258393,7 +255745,7 @@ SOAP_FMAC1 eml23__GaugePressure * SOAP_FMAC2 soap_instantiate_eml23__GaugePressu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__GaugePressure *p; size_t k = sizeof(eml23__GaugePressure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GaugePressure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GaugePressure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -258408,13 +255760,9 @@ SOAP_FMAC1 eml23__GaugePressure * SOAP_FMAC2 soap_instantiate_eml23__GaugePressu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__GaugePressure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -258547,7 +255895,7 @@ SOAP_FMAC1 eml23__FlowRateValue * SOAP_FMAC2 soap_instantiate_eml23__FlowRateVal (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__FlowRateValue *p; size_t k = sizeof(eml23__FlowRateValue); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FlowRateValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FlowRateValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -258562,13 +255910,9 @@ SOAP_FMAC1 eml23__FlowRateValue * SOAP_FMAC2 soap_instantiate_eml23__FlowRateVal for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__FlowRateValue location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -258701,7 +256045,7 @@ SOAP_FMAC1 eml23__DensityValue * SOAP_FMAC2 soap_instantiate_eml23__DensityValue (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DensityValue *p; size_t k = sizeof(eml23__DensityValue); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DensityValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DensityValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -258716,13 +256060,9 @@ SOAP_FMAC1 eml23__DensityValue * SOAP_FMAC2 soap_instantiate_eml23__DensityValue for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DensityValue location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -258825,7 +256165,7 @@ SOAP_FMAC1 eml23__AbstractTemperaturePressure * SOAP_FMAC2 soap_instantiate_eml2 return soap_instantiate_eml23__TemperaturePressure(soap, n, NULL, NULL, size); eml23__AbstractTemperaturePressure *p; size_t k = sizeof(eml23__AbstractTemperaturePressure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractTemperaturePressure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractTemperaturePressure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -258840,13 +256180,9 @@ SOAP_FMAC1 eml23__AbstractTemperaturePressure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractTemperaturePressure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -258951,7 +256287,7 @@ SOAP_FMAC1 eml23__AbstractPressureValue * SOAP_FMAC2 soap_instantiate_eml23__Abs return soap_instantiate_eml23__RelativePressure(soap, n, NULL, NULL, size); eml23__AbstractPressureValue *p; size_t k = sizeof(eml23__AbstractPressureValue); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractPressureValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractPressureValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -258966,13 +256302,9 @@ SOAP_FMAC1 eml23__AbstractPressureValue * SOAP_FMAC2 soap_instantiate_eml23__Abs for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractPressureValue location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -259096,7 +256428,7 @@ SOAP_FMAC1 eml23__AbsolutePressure * SOAP_FMAC2 soap_instantiate_eml23__Absolute (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AbsolutePressure *p; size_t k = sizeof(eml23__AbsolutePressure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbsolutePressure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbsolutePressure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -259111,13 +256443,9 @@ SOAP_FMAC1 eml23__AbsolutePressure * SOAP_FMAC2 soap_instantiate_eml23__Absolute for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbsolutePressure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -259202,7 +256530,7 @@ SOAP_FMAC1 eml23__VolumetricThermalExpansionMeasureExt * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumetricThermalExpansionMeasureExt *p; size_t k = sizeof(eml23__VolumetricThermalExpansionMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumetricThermalExpansionMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumetricThermalExpansionMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -259217,13 +256545,9 @@ SOAP_FMAC1 eml23__VolumetricThermalExpansionMeasureExt * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumetricThermalExpansionMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -259308,7 +256632,7 @@ SOAP_FMAC1 eml23__VolumetricThermalExpansionMeasure * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumetricThermalExpansionMeasure *p; size_t k = sizeof(eml23__VolumetricThermalExpansionMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumetricThermalExpansionMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumetricThermalExpansionMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -259323,13 +256647,9 @@ SOAP_FMAC1 eml23__VolumetricThermalExpansionMeasure * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumetricThermalExpansionMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -259414,7 +256734,7 @@ SOAP_FMAC1 eml23__VolumetricHeatTransferCoefficientMeasureExt * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumetricHeatTransferCoefficientMeasureExt *p; size_t k = sizeof(eml23__VolumetricHeatTransferCoefficientMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumetricHeatTransferCoefficientMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumetricHeatTransferCoefficientMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -259429,13 +256749,9 @@ SOAP_FMAC1 eml23__VolumetricHeatTransferCoefficientMeasureExt * SOAP_FMAC2 soap_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumetricHeatTransferCoefficientMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -259520,7 +256836,7 @@ SOAP_FMAC1 eml23__VolumetricHeatTransferCoefficientMeasure * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumetricHeatTransferCoefficientMeasure *p; size_t k = sizeof(eml23__VolumetricHeatTransferCoefficientMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumetricHeatTransferCoefficientMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumetricHeatTransferCoefficientMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -259535,13 +256851,9 @@ SOAP_FMAC1 eml23__VolumetricHeatTransferCoefficientMeasure * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumetricHeatTransferCoefficientMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -259626,7 +256938,7 @@ SOAP_FMAC1 eml23__VolumePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerVolumeMeasureExt *p; size_t k = sizeof(eml23__VolumePerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -259641,13 +256953,9 @@ SOAP_FMAC1 eml23__VolumePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -259732,7 +257040,7 @@ SOAP_FMAC1 eml23__VolumePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Vo (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerVolumeMeasure *p; size_t k = sizeof(eml23__VolumePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -259747,13 +257055,9 @@ SOAP_FMAC1 eml23__VolumePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Vo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -259838,7 +257142,7 @@ SOAP_FMAC1 eml23__VolumePerTimePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimePerVolumeMeasureExt *p; size_t k = sizeof(eml23__VolumePerTimePerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -259853,13 +257157,9 @@ SOAP_FMAC1 eml23__VolumePerTimePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimePerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -259944,7 +257244,7 @@ SOAP_FMAC1 eml23__VolumePerTimePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimePerVolumeMeasure *p; size_t k = sizeof(eml23__VolumePerTimePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -259959,13 +257259,9 @@ SOAP_FMAC1 eml23__VolumePerTimePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -260050,7 +257346,7 @@ SOAP_FMAC1 eml23__VolumePerTimePerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimePerTimeMeasureExt *p; size_t k = sizeof(eml23__VolumePerTimePerTimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerTimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerTimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -260065,13 +257361,9 @@ SOAP_FMAC1 eml23__VolumePerTimePerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimePerTimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -260156,7 +257448,7 @@ SOAP_FMAC1 eml23__VolumePerTimePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimePerTimeMeasure *p; size_t k = sizeof(eml23__VolumePerTimePerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerTimeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerTimeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -260171,13 +257463,9 @@ SOAP_FMAC1 eml23__VolumePerTimePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimePerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -260262,7 +257550,7 @@ SOAP_FMAC1 eml23__VolumePerTimePerPressureMeasureExt * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimePerPressureMeasureExt *p; size_t k = sizeof(eml23__VolumePerTimePerPressureMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerPressureMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerPressureMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -260277,13 +257565,9 @@ SOAP_FMAC1 eml23__VolumePerTimePerPressureMeasureExt * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimePerPressureMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -260368,7 +257652,7 @@ SOAP_FMAC1 eml23__VolumePerTimePerPressureMeasure * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimePerPressureMeasure *p; size_t k = sizeof(eml23__VolumePerTimePerPressureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerPressureMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerPressureMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -260383,13 +257667,9 @@ SOAP_FMAC1 eml23__VolumePerTimePerPressureMeasure * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimePerPressureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -260474,7 +257754,7 @@ SOAP_FMAC1 eml23__VolumePerTimePerPressureLengthMeasureExt * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimePerPressureLengthMeasureExt *p; size_t k = sizeof(eml23__VolumePerTimePerPressureLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerPressureLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerPressureLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -260489,13 +257769,9 @@ SOAP_FMAC1 eml23__VolumePerTimePerPressureLengthMeasureExt * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimePerPressureLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -260580,7 +257856,7 @@ SOAP_FMAC1 eml23__VolumePerTimePerPressureLengthMeasure * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimePerPressureLengthMeasure *p; size_t k = sizeof(eml23__VolumePerTimePerPressureLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerPressureLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerPressureLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -260595,13 +257871,9 @@ SOAP_FMAC1 eml23__VolumePerTimePerPressureLengthMeasure * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimePerPressureLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -260686,7 +257958,7 @@ SOAP_FMAC1 eml23__VolumePerTimePerLengthMeasureExt * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimePerLengthMeasureExt *p; size_t k = sizeof(eml23__VolumePerTimePerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -260701,13 +257973,9 @@ SOAP_FMAC1 eml23__VolumePerTimePerLengthMeasureExt * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimePerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -260792,7 +258060,7 @@ SOAP_FMAC1 eml23__VolumePerTimePerLengthMeasure * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimePerLengthMeasure *p; size_t k = sizeof(eml23__VolumePerTimePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -260807,13 +258075,9 @@ SOAP_FMAC1 eml23__VolumePerTimePerLengthMeasure * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -260898,7 +258162,7 @@ SOAP_FMAC1 eml23__VolumePerTimePerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimePerAreaMeasureExt *p; size_t k = sizeof(eml23__VolumePerTimePerAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -260913,13 +258177,9 @@ SOAP_FMAC1 eml23__VolumePerTimePerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimePerAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -261004,7 +258264,7 @@ SOAP_FMAC1 eml23__VolumePerTimePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimePerAreaMeasure *p; size_t k = sizeof(eml23__VolumePerTimePerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimePerAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -261019,13 +258279,9 @@ SOAP_FMAC1 eml23__VolumePerTimePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimePerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -261110,7 +258366,7 @@ SOAP_FMAC1 eml23__VolumePerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__V (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimeMeasureExt *p; size_t k = sizeof(eml23__VolumePerTimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -261125,13 +258381,9 @@ SOAP_FMAC1 eml23__VolumePerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__V for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -261216,7 +258468,7 @@ SOAP_FMAC1 eml23__VolumePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Volu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimeMeasure *p; size_t k = sizeof(eml23__VolumePerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -261231,13 +258483,9 @@ SOAP_FMAC1 eml23__VolumePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Volu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -261322,7 +258570,7 @@ SOAP_FMAC1 eml23__VolumePerTimeLengthMeasureExt * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimeLengthMeasureExt *p; size_t k = sizeof(eml23__VolumePerTimeLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimeLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimeLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -261337,13 +258585,9 @@ SOAP_FMAC1 eml23__VolumePerTimeLengthMeasureExt * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimeLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -261428,7 +258672,7 @@ SOAP_FMAC1 eml23__VolumePerTimeLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerTimeLengthMeasure *p; size_t k = sizeof(eml23__VolumePerTimeLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimeLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerTimeLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -261443,13 +258687,9 @@ SOAP_FMAC1 eml23__VolumePerTimeLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerTimeLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -261534,7 +258774,7 @@ SOAP_FMAC1 eml23__VolumePerRotationMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerRotationMeasureExt *p; size_t k = sizeof(eml23__VolumePerRotationMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerRotationMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerRotationMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -261549,13 +258789,9 @@ SOAP_FMAC1 eml23__VolumePerRotationMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerRotationMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -261640,7 +258876,7 @@ SOAP_FMAC1 eml23__VolumePerRotationMeasure * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerRotationMeasure *p; size_t k = sizeof(eml23__VolumePerRotationMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerRotationMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerRotationMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -261655,13 +258891,9 @@ SOAP_FMAC1 eml23__VolumePerRotationMeasure * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerRotationMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -261746,7 +258978,7 @@ SOAP_FMAC1 eml23__VolumePerPressureMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerPressureMeasureExt *p; size_t k = sizeof(eml23__VolumePerPressureMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerPressureMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerPressureMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -261761,13 +258993,9 @@ SOAP_FMAC1 eml23__VolumePerPressureMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerPressureMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -261852,7 +259080,7 @@ SOAP_FMAC1 eml23__VolumePerPressureMeasure * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerPressureMeasure *p; size_t k = sizeof(eml23__VolumePerPressureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerPressureMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerPressureMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -261867,13 +259095,9 @@ SOAP_FMAC1 eml23__VolumePerPressureMeasure * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerPressureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -261958,7 +259182,7 @@ SOAP_FMAC1 eml23__VolumePerMassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__V (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerMassMeasureExt *p; size_t k = sizeof(eml23__VolumePerMassMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerMassMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerMassMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -261973,13 +259197,9 @@ SOAP_FMAC1 eml23__VolumePerMassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__V for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerMassMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -262064,7 +259284,7 @@ SOAP_FMAC1 eml23__VolumePerMassMeasure * SOAP_FMAC2 soap_instantiate_eml23__Volu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerMassMeasure *p; size_t k = sizeof(eml23__VolumePerMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerMassMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerMassMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -262079,13 +259299,9 @@ SOAP_FMAC1 eml23__VolumePerMassMeasure * SOAP_FMAC2 soap_instantiate_eml23__Volu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -262170,7 +259386,7 @@ SOAP_FMAC1 eml23__VolumePerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerLengthMeasureExt *p; size_t k = sizeof(eml23__VolumePerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -262185,13 +259401,9 @@ SOAP_FMAC1 eml23__VolumePerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -262276,7 +259488,7 @@ SOAP_FMAC1 eml23__VolumePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__Vo (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerLengthMeasure *p; size_t k = sizeof(eml23__VolumePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -262291,13 +259503,9 @@ SOAP_FMAC1 eml23__VolumePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__Vo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -262382,7 +259590,7 @@ SOAP_FMAC1 eml23__VolumePerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__V (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerAreaMeasureExt *p; size_t k = sizeof(eml23__VolumePerAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -262397,13 +259605,9 @@ SOAP_FMAC1 eml23__VolumePerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__V for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -262488,7 +259692,7 @@ SOAP_FMAC1 eml23__VolumePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__Volu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumePerAreaMeasure *p; size_t k = sizeof(eml23__VolumePerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumePerAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -262503,13 +259707,9 @@ SOAP_FMAC1 eml23__VolumePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__Volu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumePerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -262594,7 +259794,7 @@ SOAP_FMAC1 eml23__VolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__VolumeMe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumeMeasureExt *p; size_t k = sizeof(eml23__VolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -262609,13 +259809,9 @@ SOAP_FMAC1 eml23__VolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__VolumeMe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -262700,7 +259896,7 @@ SOAP_FMAC1 eml23__VolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__VolumeMeasu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumeMeasure *p; size_t k = sizeof(eml23__VolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -262715,13 +259911,9 @@ SOAP_FMAC1 eml23__VolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__VolumeMeasu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -262806,7 +259998,7 @@ SOAP_FMAC1 eml23__VolumeFlowRatePerVolumeFlowRateMeasureExt * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumeFlowRatePerVolumeFlowRateMeasureExt *p; size_t k = sizeof(eml23__VolumeFlowRatePerVolumeFlowRateMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumeFlowRatePerVolumeFlowRateMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumeFlowRatePerVolumeFlowRateMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -262821,13 +260013,9 @@ SOAP_FMAC1 eml23__VolumeFlowRatePerVolumeFlowRateMeasureExt * SOAP_FMAC2 soap_in for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumeFlowRatePerVolumeFlowRateMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -262912,7 +260100,7 @@ SOAP_FMAC1 eml23__VolumeFlowRatePerVolumeFlowRateMeasure * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VolumeFlowRatePerVolumeFlowRateMeasure *p; size_t k = sizeof(eml23__VolumeFlowRatePerVolumeFlowRateMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumeFlowRatePerVolumeFlowRateMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VolumeFlowRatePerVolumeFlowRateMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -262927,13 +260115,9 @@ SOAP_FMAC1 eml23__VolumeFlowRatePerVolumeFlowRateMeasure * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VolumeFlowRatePerVolumeFlowRateMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -263018,7 +260202,7 @@ SOAP_FMAC1 eml23__VerticalCoordinateMeasureExt * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VerticalCoordinateMeasureExt *p; size_t k = sizeof(eml23__VerticalCoordinateMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalCoordinateMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalCoordinateMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -263033,13 +260217,9 @@ SOAP_FMAC1 eml23__VerticalCoordinateMeasureExt * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VerticalCoordinateMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -263124,7 +260304,7 @@ SOAP_FMAC1 eml23__VerticalCoordinateMeasure * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VerticalCoordinateMeasure *p; size_t k = sizeof(eml23__VerticalCoordinateMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalCoordinateMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalCoordinateMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -263139,13 +260319,9 @@ SOAP_FMAC1 eml23__VerticalCoordinateMeasure * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VerticalCoordinateMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -263226,7 +260402,7 @@ SOAP_FMAC1 eml23__UnitlessMeasure * SOAP_FMAC2 soap_instantiate_eml23__UnitlessM (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__UnitlessMeasure *p; size_t k = sizeof(eml23__UnitlessMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__UnitlessMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__UnitlessMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -263241,13 +260417,9 @@ SOAP_FMAC1 eml23__UnitlessMeasure * SOAP_FMAC2 soap_instantiate_eml23__UnitlessM for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__UnitlessMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -263332,7 +260504,7 @@ SOAP_FMAC1 eml23__TimePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__T (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimePerVolumeMeasureExt *p; size_t k = sizeof(eml23__TimePerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -263347,13 +260519,9 @@ SOAP_FMAC1 eml23__TimePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__T for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimePerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -263438,7 +260606,7 @@ SOAP_FMAC1 eml23__TimePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Time (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimePerVolumeMeasure *p; size_t k = sizeof(eml23__TimePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -263453,13 +260621,9 @@ SOAP_FMAC1 eml23__TimePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Time for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -263544,7 +260708,7 @@ SOAP_FMAC1 eml23__TimePerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Tim (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimePerTimeMeasureExt *p; size_t k = sizeof(eml23__TimePerTimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerTimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerTimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -263559,13 +260723,9 @@ SOAP_FMAC1 eml23__TimePerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Tim for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimePerTimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -263650,7 +260810,7 @@ SOAP_FMAC1 eml23__TimePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__TimePe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimePerTimeMeasure *p; size_t k = sizeof(eml23__TimePerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerTimeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerTimeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -263665,13 +260825,9 @@ SOAP_FMAC1 eml23__TimePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__TimePe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimePerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -263756,7 +260912,7 @@ SOAP_FMAC1 eml23__TimePerMassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Tim (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimePerMassMeasureExt *p; size_t k = sizeof(eml23__TimePerMassMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerMassMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerMassMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -263771,13 +260927,9 @@ SOAP_FMAC1 eml23__TimePerMassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Tim for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimePerMassMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -263862,7 +261014,7 @@ SOAP_FMAC1 eml23__TimePerMassMeasure * SOAP_FMAC2 soap_instantiate_eml23__TimePe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimePerMassMeasure *p; size_t k = sizeof(eml23__TimePerMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerMassMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerMassMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -263877,13 +261029,9 @@ SOAP_FMAC1 eml23__TimePerMassMeasure * SOAP_FMAC2 soap_instantiate_eml23__TimePe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimePerMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -263968,7 +261116,7 @@ SOAP_FMAC1 eml23__TimePerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__T (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimePerLengthMeasureExt *p; size_t k = sizeof(eml23__TimePerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -263983,13 +261131,9 @@ SOAP_FMAC1 eml23__TimePerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__T for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimePerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -264074,7 +261218,7 @@ SOAP_FMAC1 eml23__TimePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__Time (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimePerLengthMeasure *p; size_t k = sizeof(eml23__TimePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimePerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -264089,13 +261233,9 @@ SOAP_FMAC1 eml23__TimePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__Time for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -264180,7 +261320,7 @@ SOAP_FMAC1 eml23__TimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__TimeMeasur (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimeMeasureExt *p; size_t k = sizeof(eml23__TimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -264195,13 +261335,9 @@ SOAP_FMAC1 eml23__TimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__TimeMeasur for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -264286,7 +261422,7 @@ SOAP_FMAC1 eml23__TimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__TimeMeasure(s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TimeMeasure *p; size_t k = sizeof(eml23__TimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TimeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -264301,13 +261437,9 @@ SOAP_FMAC1 eml23__TimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__TimeMeasure(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -264392,7 +261524,7 @@ SOAP_FMAC1 eml23__ThermodynamicTemperaturePerThermodynamicTemperatureMeasureExt (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ThermodynamicTemperaturePerThermodynamicTemperatureMeasureExt *p; size_t k = sizeof(eml23__ThermodynamicTemperaturePerThermodynamicTemperatureMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermodynamicTemperaturePerThermodynamicTemperatureMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermodynamicTemperaturePerThermodynamicTemperatureMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -264407,13 +261539,9 @@ SOAP_FMAC1 eml23__ThermodynamicTemperaturePerThermodynamicTemperatureMeasureExt for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ThermodynamicTemperaturePerThermodynamicTemperatureMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -264498,7 +261626,7 @@ SOAP_FMAC1 eml23__ThermodynamicTemperaturePerThermodynamicTemperatureMeasure * S (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ThermodynamicTemperaturePerThermodynamicTemperatureMeasure *p; size_t k = sizeof(eml23__ThermodynamicTemperaturePerThermodynamicTemperatureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermodynamicTemperaturePerThermodynamicTemperatureMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermodynamicTemperaturePerThermodynamicTemperatureMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -264513,13 +261641,9 @@ SOAP_FMAC1 eml23__ThermodynamicTemperaturePerThermodynamicTemperatureMeasure * S for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ThermodynamicTemperaturePerThermodynamicTemperatureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -264604,7 +261728,7 @@ SOAP_FMAC1 eml23__ThermodynamicTemperatureMeasureExt * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ThermodynamicTemperatureMeasureExt *p; size_t k = sizeof(eml23__ThermodynamicTemperatureMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermodynamicTemperatureMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermodynamicTemperatureMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -264619,13 +261743,9 @@ SOAP_FMAC1 eml23__ThermodynamicTemperatureMeasureExt * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ThermodynamicTemperatureMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -264710,7 +261830,7 @@ SOAP_FMAC1 eml23__ThermodynamicTemperatureMeasure * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ThermodynamicTemperatureMeasure *p; size_t k = sizeof(eml23__ThermodynamicTemperatureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermodynamicTemperatureMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermodynamicTemperatureMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -264725,13 +261845,9 @@ SOAP_FMAC1 eml23__ThermodynamicTemperatureMeasure * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ThermodynamicTemperatureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -264816,7 +261932,7 @@ SOAP_FMAC1 eml23__ThermalResistanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ThermalResistanceMeasureExt *p; size_t k = sizeof(eml23__ThermalResistanceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalResistanceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalResistanceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -264831,13 +261947,9 @@ SOAP_FMAC1 eml23__ThermalResistanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ThermalResistanceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -264922,7 +262034,7 @@ SOAP_FMAC1 eml23__ThermalResistanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ThermalResistanceMeasure *p; size_t k = sizeof(eml23__ThermalResistanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalResistanceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalResistanceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -264937,13 +262049,9 @@ SOAP_FMAC1 eml23__ThermalResistanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ThermalResistanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -265028,7 +262136,7 @@ SOAP_FMAC1 eml23__ThermalInsulanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ThermalInsulanceMeasureExt *p; size_t k = sizeof(eml23__ThermalInsulanceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalInsulanceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalInsulanceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -265043,13 +262151,9 @@ SOAP_FMAC1 eml23__ThermalInsulanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ThermalInsulanceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -265134,7 +262238,7 @@ SOAP_FMAC1 eml23__ThermalInsulanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__T (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ThermalInsulanceMeasure *p; size_t k = sizeof(eml23__ThermalInsulanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalInsulanceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalInsulanceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -265149,13 +262253,9 @@ SOAP_FMAC1 eml23__ThermalInsulanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__T for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ThermalInsulanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -265240,7 +262340,7 @@ SOAP_FMAC1 eml23__ThermalDiffusivityMeasureExt * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ThermalDiffusivityMeasureExt *p; size_t k = sizeof(eml23__ThermalDiffusivityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalDiffusivityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalDiffusivityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -265255,13 +262355,9 @@ SOAP_FMAC1 eml23__ThermalDiffusivityMeasureExt * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ThermalDiffusivityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -265346,7 +262442,7 @@ SOAP_FMAC1 eml23__ThermalDiffusivityMeasure * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ThermalDiffusivityMeasure *p; size_t k = sizeof(eml23__ThermalDiffusivityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalDiffusivityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalDiffusivityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -265361,13 +262457,9 @@ SOAP_FMAC1 eml23__ThermalDiffusivityMeasure * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ThermalDiffusivityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -265452,7 +262544,7 @@ SOAP_FMAC1 eml23__ThermalConductivityMeasureExt * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ThermalConductivityMeasureExt *p; size_t k = sizeof(eml23__ThermalConductivityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalConductivityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalConductivityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -265467,13 +262559,9 @@ SOAP_FMAC1 eml23__ThermalConductivityMeasureExt * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ThermalConductivityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -265558,7 +262646,7 @@ SOAP_FMAC1 eml23__ThermalConductivityMeasure * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ThermalConductivityMeasure *p; size_t k = sizeof(eml23__ThermalConductivityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalConductivityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalConductivityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -265573,13 +262661,9 @@ SOAP_FMAC1 eml23__ThermalConductivityMeasure * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ThermalConductivityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -265664,7 +262748,7 @@ SOAP_FMAC1 eml23__ThermalConductanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ThermalConductanceMeasureExt *p; size_t k = sizeof(eml23__ThermalConductanceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalConductanceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalConductanceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -265679,13 +262763,9 @@ SOAP_FMAC1 eml23__ThermalConductanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ThermalConductanceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -265770,7 +262850,7 @@ SOAP_FMAC1 eml23__ThermalConductanceMeasure * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ThermalConductanceMeasure *p; size_t k = sizeof(eml23__ThermalConductanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalConductanceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ThermalConductanceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -265785,13 +262865,9 @@ SOAP_FMAC1 eml23__ThermalConductanceMeasure * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ThermalConductanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -265876,7 +262952,7 @@ SOAP_FMAC1 eml23__TemperatureIntervalPerTimeMeasureExt * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TemperatureIntervalPerTimeMeasureExt *p; size_t k = sizeof(eml23__TemperatureIntervalPerTimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalPerTimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalPerTimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -265891,13 +262967,9 @@ SOAP_FMAC1 eml23__TemperatureIntervalPerTimeMeasureExt * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TemperatureIntervalPerTimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -265982,7 +263054,7 @@ SOAP_FMAC1 eml23__TemperatureIntervalPerTimeMeasure * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TemperatureIntervalPerTimeMeasure *p; size_t k = sizeof(eml23__TemperatureIntervalPerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalPerTimeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalPerTimeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -265997,13 +263069,9 @@ SOAP_FMAC1 eml23__TemperatureIntervalPerTimeMeasure * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TemperatureIntervalPerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -266088,7 +263156,7 @@ SOAP_FMAC1 eml23__TemperatureIntervalPerPressureMeasureExt * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TemperatureIntervalPerPressureMeasureExt *p; size_t k = sizeof(eml23__TemperatureIntervalPerPressureMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalPerPressureMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalPerPressureMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -266103,13 +263171,9 @@ SOAP_FMAC1 eml23__TemperatureIntervalPerPressureMeasureExt * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TemperatureIntervalPerPressureMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -266194,7 +263258,7 @@ SOAP_FMAC1 eml23__TemperatureIntervalPerPressureMeasure * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TemperatureIntervalPerPressureMeasure *p; size_t k = sizeof(eml23__TemperatureIntervalPerPressureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalPerPressureMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalPerPressureMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -266209,13 +263273,9 @@ SOAP_FMAC1 eml23__TemperatureIntervalPerPressureMeasure * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TemperatureIntervalPerPressureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -266300,7 +263360,7 @@ SOAP_FMAC1 eml23__TemperatureIntervalPerLengthMeasureExt * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TemperatureIntervalPerLengthMeasureExt *p; size_t k = sizeof(eml23__TemperatureIntervalPerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalPerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalPerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -266315,13 +263375,9 @@ SOAP_FMAC1 eml23__TemperatureIntervalPerLengthMeasureExt * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TemperatureIntervalPerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -266406,7 +263462,7 @@ SOAP_FMAC1 eml23__TemperatureIntervalPerLengthMeasure * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TemperatureIntervalPerLengthMeasure *p; size_t k = sizeof(eml23__TemperatureIntervalPerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalPerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalPerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -266421,13 +263477,9 @@ SOAP_FMAC1 eml23__TemperatureIntervalPerLengthMeasure * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TemperatureIntervalPerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -266512,7 +263564,7 @@ SOAP_FMAC1 eml23__TemperatureIntervalMeasureExt * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TemperatureIntervalMeasureExt *p; size_t k = sizeof(eml23__TemperatureIntervalMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -266527,13 +263579,9 @@ SOAP_FMAC1 eml23__TemperatureIntervalMeasureExt * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TemperatureIntervalMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -266618,7 +263666,7 @@ SOAP_FMAC1 eml23__TemperatureIntervalMeasure * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TemperatureIntervalMeasure *p; size_t k = sizeof(eml23__TemperatureIntervalMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureIntervalMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -266633,13 +263681,9 @@ SOAP_FMAC1 eml23__TemperatureIntervalMeasure * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TemperatureIntervalMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -266724,7 +263768,7 @@ SOAP_FMAC1 eml23__SpecificHeatCapacityMeasureExt * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__SpecificHeatCapacityMeasureExt *p; size_t k = sizeof(eml23__SpecificHeatCapacityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SpecificHeatCapacityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SpecificHeatCapacityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -266739,13 +263783,9 @@ SOAP_FMAC1 eml23__SpecificHeatCapacityMeasureExt * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__SpecificHeatCapacityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -266830,7 +263870,7 @@ SOAP_FMAC1 eml23__SpecificHeatCapacityMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__SpecificHeatCapacityMeasure *p; size_t k = sizeof(eml23__SpecificHeatCapacityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SpecificHeatCapacityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SpecificHeatCapacityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -266845,13 +263885,9 @@ SOAP_FMAC1 eml23__SpecificHeatCapacityMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__SpecificHeatCapacityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -266936,7 +263972,7 @@ SOAP_FMAC1 eml23__SolidAngleMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Soli (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__SolidAngleMeasureExt *p; size_t k = sizeof(eml23__SolidAngleMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SolidAngleMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SolidAngleMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -266951,13 +263987,9 @@ SOAP_FMAC1 eml23__SolidAngleMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Soli for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__SolidAngleMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -267042,7 +264074,7 @@ SOAP_FMAC1 eml23__SolidAngleMeasure * SOAP_FMAC2 soap_instantiate_eml23__SolidAn (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__SolidAngleMeasure *p; size_t k = sizeof(eml23__SolidAngleMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SolidAngleMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SolidAngleMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -267057,13 +264089,9 @@ SOAP_FMAC1 eml23__SolidAngleMeasure * SOAP_FMAC2 soap_instantiate_eml23__SolidAn for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__SolidAngleMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -267148,7 +264176,7 @@ SOAP_FMAC1 eml23__SignalingEventPerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__SignalingEventPerTimeMeasureExt *p; size_t k = sizeof(eml23__SignalingEventPerTimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SignalingEventPerTimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SignalingEventPerTimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -267163,13 +264191,9 @@ SOAP_FMAC1 eml23__SignalingEventPerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__SignalingEventPerTimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -267254,7 +264278,7 @@ SOAP_FMAC1 eml23__SignalingEventPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__SignalingEventPerTimeMeasure *p; size_t k = sizeof(eml23__SignalingEventPerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SignalingEventPerTimeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SignalingEventPerTimeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -267269,13 +264293,9 @@ SOAP_FMAC1 eml23__SignalingEventPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__SignalingEventPerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -267360,7 +264380,7 @@ SOAP_FMAC1 eml23__SecondMomentOfAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__SecondMomentOfAreaMeasureExt *p; size_t k = sizeof(eml23__SecondMomentOfAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SecondMomentOfAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SecondMomentOfAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -267375,13 +264395,9 @@ SOAP_FMAC1 eml23__SecondMomentOfAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__SecondMomentOfAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -267466,7 +264482,7 @@ SOAP_FMAC1 eml23__SecondMomentOfAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__SecondMomentOfAreaMeasure *p; size_t k = sizeof(eml23__SecondMomentOfAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SecondMomentOfAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__SecondMomentOfAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -267481,13 +264497,9 @@ SOAP_FMAC1 eml23__SecondMomentOfAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__SecondMomentOfAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -267572,7 +264584,7 @@ SOAP_FMAC1 eml23__ReluctanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Relu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReluctanceMeasureExt *p; size_t k = sizeof(eml23__ReluctanceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReluctanceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReluctanceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -267587,13 +264599,9 @@ SOAP_FMAC1 eml23__ReluctanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Relu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReluctanceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -267678,7 +264686,7 @@ SOAP_FMAC1 eml23__ReluctanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Relucta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReluctanceMeasure *p; size_t k = sizeof(eml23__ReluctanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReluctanceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReluctanceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -267693,13 +264701,9 @@ SOAP_FMAC1 eml23__ReluctanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Relucta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReluctanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -267784,7 +264788,7 @@ SOAP_FMAC1 eml23__ReciprocalVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalVolumeMeasureExt *p; size_t k = sizeof(eml23__ReciprocalVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -267799,13 +264803,9 @@ SOAP_FMAC1 eml23__ReciprocalVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -267890,7 +264890,7 @@ SOAP_FMAC1 eml23__ReciprocalVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__R (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalVolumeMeasure *p; size_t k = sizeof(eml23__ReciprocalVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -267905,13 +264905,9 @@ SOAP_FMAC1 eml23__ReciprocalVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__R for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -267996,7 +264992,7 @@ SOAP_FMAC1 eml23__ReciprocalTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalTimeMeasureExt *p; size_t k = sizeof(eml23__ReciprocalTimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalTimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalTimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -268011,13 +265007,9 @@ SOAP_FMAC1 eml23__ReciprocalTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalTimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -268102,7 +265094,7 @@ SOAP_FMAC1 eml23__ReciprocalTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Rec (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalTimeMeasure *p; size_t k = sizeof(eml23__ReciprocalTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalTimeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalTimeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -268117,13 +265109,9 @@ SOAP_FMAC1 eml23__ReciprocalTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Rec for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -268208,7 +265196,7 @@ SOAP_FMAC1 eml23__ReciprocalPressureMeasureExt * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalPressureMeasureExt *p; size_t k = sizeof(eml23__ReciprocalPressureMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalPressureMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalPressureMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -268223,13 +265211,9 @@ SOAP_FMAC1 eml23__ReciprocalPressureMeasureExt * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalPressureMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -268314,7 +265298,7 @@ SOAP_FMAC1 eml23__ReciprocalPressureMeasure * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalPressureMeasure *p; size_t k = sizeof(eml23__ReciprocalPressureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalPressureMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalPressureMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -268329,13 +265313,9 @@ SOAP_FMAC1 eml23__ReciprocalPressureMeasure * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalPressureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -268420,7 +265400,7 @@ SOAP_FMAC1 eml23__ReciprocalMassTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalMassTimeMeasureExt *p; size_t k = sizeof(eml23__ReciprocalMassTimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalMassTimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalMassTimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -268435,13 +265415,9 @@ SOAP_FMAC1 eml23__ReciprocalMassTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalMassTimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -268526,7 +265502,7 @@ SOAP_FMAC1 eml23__ReciprocalMassTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalMassTimeMeasure *p; size_t k = sizeof(eml23__ReciprocalMassTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalMassTimeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalMassTimeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -268541,13 +265517,9 @@ SOAP_FMAC1 eml23__ReciprocalMassTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalMassTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -268632,7 +265604,7 @@ SOAP_FMAC1 eml23__ReciprocalMassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalMassMeasureExt *p; size_t k = sizeof(eml23__ReciprocalMassMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalMassMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalMassMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -268647,13 +265619,9 @@ SOAP_FMAC1 eml23__ReciprocalMassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalMassMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -268738,7 +265706,7 @@ SOAP_FMAC1 eml23__ReciprocalMassMeasure * SOAP_FMAC2 soap_instantiate_eml23__Rec (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalMassMeasure *p; size_t k = sizeof(eml23__ReciprocalMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalMassMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalMassMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -268753,13 +265721,9 @@ SOAP_FMAC1 eml23__ReciprocalMassMeasure * SOAP_FMAC2 soap_instantiate_eml23__Rec for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -268844,7 +265808,7 @@ SOAP_FMAC1 eml23__ReciprocalLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalLengthMeasureExt *p; size_t k = sizeof(eml23__ReciprocalLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -268859,13 +265823,9 @@ SOAP_FMAC1 eml23__ReciprocalLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -268950,7 +265910,7 @@ SOAP_FMAC1 eml23__ReciprocalLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__R (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalLengthMeasure *p; size_t k = sizeof(eml23__ReciprocalLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -268965,13 +265925,9 @@ SOAP_FMAC1 eml23__ReciprocalLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__R for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -269056,7 +266012,7 @@ SOAP_FMAC1 eml23__ReciprocalForceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalForceMeasureExt *p; size_t k = sizeof(eml23__ReciprocalForceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalForceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalForceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -269071,13 +266027,9 @@ SOAP_FMAC1 eml23__ReciprocalForceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalForceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -269162,7 +266114,7 @@ SOAP_FMAC1 eml23__ReciprocalForceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Re (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalForceMeasure *p; size_t k = sizeof(eml23__ReciprocalForceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalForceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalForceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -269177,13 +266129,9 @@ SOAP_FMAC1 eml23__ReciprocalForceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalForceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -269268,7 +266216,7 @@ SOAP_FMAC1 eml23__ReciprocalElectricPotentialDifferenceMeasureExt * SOAP_FMAC2 s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalElectricPotentialDifferenceMeasureExt *p; size_t k = sizeof(eml23__ReciprocalElectricPotentialDifferenceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalElectricPotentialDifferenceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalElectricPotentialDifferenceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -269283,13 +266231,9 @@ SOAP_FMAC1 eml23__ReciprocalElectricPotentialDifferenceMeasureExt * SOAP_FMAC2 s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalElectricPotentialDifferenceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -269374,7 +266318,7 @@ SOAP_FMAC1 eml23__ReciprocalElectricPotentialDifferenceMeasure * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalElectricPotentialDifferenceMeasure *p; size_t k = sizeof(eml23__ReciprocalElectricPotentialDifferenceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalElectricPotentialDifferenceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalElectricPotentialDifferenceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -269389,13 +266333,9 @@ SOAP_FMAC1 eml23__ReciprocalElectricPotentialDifferenceMeasure * SOAP_FMAC2 soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalElectricPotentialDifferenceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -269480,7 +266420,7 @@ SOAP_FMAC1 eml23__ReciprocalAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalAreaMeasureExt *p; size_t k = sizeof(eml23__ReciprocalAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -269495,13 +266435,9 @@ SOAP_FMAC1 eml23__ReciprocalAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -269586,7 +266522,7 @@ SOAP_FMAC1 eml23__ReciprocalAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__Rec (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReciprocalAreaMeasure *p; size_t k = sizeof(eml23__ReciprocalAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReciprocalAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -269601,13 +266537,9 @@ SOAP_FMAC1 eml23__ReciprocalAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__Rec for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReciprocalAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -269692,7 +266624,7 @@ SOAP_FMAC1 eml23__RadiantIntensityMeasureExt * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__RadiantIntensityMeasureExt *p; size_t k = sizeof(eml23__RadiantIntensityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__RadiantIntensityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__RadiantIntensityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -269707,13 +266639,9 @@ SOAP_FMAC1 eml23__RadiantIntensityMeasureExt * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__RadiantIntensityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -269798,7 +266726,7 @@ SOAP_FMAC1 eml23__RadiantIntensityMeasure * SOAP_FMAC2 soap_instantiate_eml23__R (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__RadiantIntensityMeasure *p; size_t k = sizeof(eml23__RadiantIntensityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__RadiantIntensityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__RadiantIntensityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -269813,13 +266741,9 @@ SOAP_FMAC1 eml23__RadiantIntensityMeasure * SOAP_FMAC2 soap_instantiate_eml23__R for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__RadiantIntensityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -269904,7 +266828,7 @@ SOAP_FMAC1 eml23__RadianceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Radian (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__RadianceMeasureExt *p; size_t k = sizeof(eml23__RadianceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__RadianceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__RadianceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -269919,13 +266843,9 @@ SOAP_FMAC1 eml23__RadianceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Radian for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__RadianceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -270010,7 +266930,7 @@ SOAP_FMAC1 eml23__RadianceMeasure * SOAP_FMAC2 soap_instantiate_eml23__RadianceM (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__RadianceMeasure *p; size_t k = sizeof(eml23__RadianceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__RadianceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__RadianceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -270025,13 +266945,9 @@ SOAP_FMAC1 eml23__RadianceMeasure * SOAP_FMAC2 soap_instantiate_eml23__RadianceM for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__RadianceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -270116,7 +267032,7 @@ SOAP_FMAC1 eml23__QuantityOfLightMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__QuantityOfLightMeasureExt *p; size_t k = sizeof(eml23__QuantityOfLightMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__QuantityOfLightMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__QuantityOfLightMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -270131,13 +267047,9 @@ SOAP_FMAC1 eml23__QuantityOfLightMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__QuantityOfLightMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -270222,7 +267134,7 @@ SOAP_FMAC1 eml23__QuantityOfLightMeasure * SOAP_FMAC2 soap_instantiate_eml23__Qu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__QuantityOfLightMeasure *p; size_t k = sizeof(eml23__QuantityOfLightMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__QuantityOfLightMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__QuantityOfLightMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -270237,13 +267149,9 @@ SOAP_FMAC1 eml23__QuantityOfLightMeasure * SOAP_FMAC2 soap_instantiate_eml23__Qu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__QuantityOfLightMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -270328,7 +267236,7 @@ SOAP_FMAC1 eml23__PressureTimePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressureTimePerVolumeMeasureExt *p; size_t k = sizeof(eml23__PressureTimePerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureTimePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureTimePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -270343,13 +267251,9 @@ SOAP_FMAC1 eml23__PressureTimePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressureTimePerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -270434,7 +267338,7 @@ SOAP_FMAC1 eml23__PressureTimePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressureTimePerVolumeMeasure *p; size_t k = sizeof(eml23__PressureTimePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureTimePerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureTimePerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -270449,13 +267353,9 @@ SOAP_FMAC1 eml23__PressureTimePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressureTimePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -270540,7 +267440,7 @@ SOAP_FMAC1 eml23__PressureSquaredPerForceTimePerAreaMeasureExt * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressureSquaredPerForceTimePerAreaMeasureExt *p; size_t k = sizeof(eml23__PressureSquaredPerForceTimePerAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureSquaredPerForceTimePerAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureSquaredPerForceTimePerAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -270555,13 +267455,9 @@ SOAP_FMAC1 eml23__PressureSquaredPerForceTimePerAreaMeasureExt * SOAP_FMAC2 soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressureSquaredPerForceTimePerAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -270646,7 +267542,7 @@ SOAP_FMAC1 eml23__PressureSquaredPerForceTimePerAreaMeasure * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressureSquaredPerForceTimePerAreaMeasure *p; size_t k = sizeof(eml23__PressureSquaredPerForceTimePerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureSquaredPerForceTimePerAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureSquaredPerForceTimePerAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -270661,13 +267557,9 @@ SOAP_FMAC1 eml23__PressureSquaredPerForceTimePerAreaMeasure * SOAP_FMAC2 soap_in for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressureSquaredPerForceTimePerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -270752,7 +267644,7 @@ SOAP_FMAC1 eml23__PressureSquaredMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressureSquaredMeasureExt *p; size_t k = sizeof(eml23__PressureSquaredMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureSquaredMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureSquaredMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -270767,13 +267659,9 @@ SOAP_FMAC1 eml23__PressureSquaredMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressureSquaredMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -270858,7 +267746,7 @@ SOAP_FMAC1 eml23__PressureSquaredMeasure * SOAP_FMAC2 soap_instantiate_eml23__Pr (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressureSquaredMeasure *p; size_t k = sizeof(eml23__PressureSquaredMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureSquaredMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureSquaredMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -270873,13 +267761,9 @@ SOAP_FMAC1 eml23__PressureSquaredMeasure * SOAP_FMAC2 soap_instantiate_eml23__Pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressureSquaredMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -270964,7 +267848,7 @@ SOAP_FMAC1 eml23__PressurePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressurePerVolumeMeasureExt *p; size_t k = sizeof(eml23__PressurePerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -270979,13 +267863,9 @@ SOAP_FMAC1 eml23__PressurePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressurePerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -271070,7 +267950,7 @@ SOAP_FMAC1 eml23__PressurePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressurePerVolumeMeasure *p; size_t k = sizeof(eml23__PressurePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -271085,13 +267965,9 @@ SOAP_FMAC1 eml23__PressurePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressurePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -271176,7 +268052,7 @@ SOAP_FMAC1 eml23__PressurePerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressurePerTimeMeasureExt *p; size_t k = sizeof(eml23__PressurePerTimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerTimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerTimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -271191,13 +268067,9 @@ SOAP_FMAC1 eml23__PressurePerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressurePerTimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -271282,7 +268154,7 @@ SOAP_FMAC1 eml23__PressurePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Pr (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressurePerTimeMeasure *p; size_t k = sizeof(eml23__PressurePerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerTimeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerTimeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -271297,13 +268169,9 @@ SOAP_FMAC1 eml23__PressurePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressurePerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -271388,7 +268256,7 @@ SOAP_FMAC1 eml23__PressurePerPressureMeasureExt * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressurePerPressureMeasureExt *p; size_t k = sizeof(eml23__PressurePerPressureMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerPressureMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerPressureMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -271403,13 +268271,9 @@ SOAP_FMAC1 eml23__PressurePerPressureMeasureExt * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressurePerPressureMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -271494,7 +268358,7 @@ SOAP_FMAC1 eml23__PressurePerPressureMeasure * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressurePerPressureMeasure *p; size_t k = sizeof(eml23__PressurePerPressureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerPressureMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerPressureMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -271509,13 +268373,9 @@ SOAP_FMAC1 eml23__PressurePerPressureMeasure * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressurePerPressureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -271612,7 +268472,7 @@ SOAP_FMAC1 eml23__PressurePerFlowrateSquaredMeasureExt * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressurePerFlowrateSquaredMeasureExt *p; size_t k = sizeof(eml23__PressurePerFlowrateSquaredMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerFlowrateSquaredMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerFlowrateSquaredMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -271627,13 +268487,9 @@ SOAP_FMAC1 eml23__PressurePerFlowrateSquaredMeasureExt * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressurePerFlowrateSquaredMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -271718,7 +268574,7 @@ SOAP_FMAC1 eml23__PressurePerFlowrateSquaredMeasure * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressurePerFlowrateSquaredMeasure *p; size_t k = sizeof(eml23__PressurePerFlowrateSquaredMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerFlowrateSquaredMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerFlowrateSquaredMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -271733,13 +268589,9 @@ SOAP_FMAC1 eml23__PressurePerFlowrateSquaredMeasure * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressurePerFlowrateSquaredMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -271836,7 +268688,7 @@ SOAP_FMAC1 eml23__PressurePerFlowrateMeasureExt * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressurePerFlowrateMeasureExt *p; size_t k = sizeof(eml23__PressurePerFlowrateMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerFlowrateMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerFlowrateMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -271851,13 +268703,9 @@ SOAP_FMAC1 eml23__PressurePerFlowrateMeasureExt * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressurePerFlowrateMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -271942,7 +268790,7 @@ SOAP_FMAC1 eml23__PressurePerFlowrateMeasure * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressurePerFlowrateMeasure *p; size_t k = sizeof(eml23__PressurePerFlowrateMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerFlowrateMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressurePerFlowrateMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -271957,13 +268805,9 @@ SOAP_FMAC1 eml23__PressurePerFlowrateMeasure * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressurePerFlowrateMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -272048,7 +268892,7 @@ SOAP_FMAC1 eml23__PressureMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Pressu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressureMeasureExt *p; size_t k = sizeof(eml23__PressureMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -272063,13 +268907,9 @@ SOAP_FMAC1 eml23__PressureMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Pressu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressureMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -272154,7 +268994,7 @@ SOAP_FMAC1 eml23__PressureMeasure * SOAP_FMAC2 soap_instantiate_eml23__PressureM (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PressureMeasure *p; size_t k = sizeof(eml23__PressureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PressureMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -272169,13 +269009,9 @@ SOAP_FMAC1 eml23__PressureMeasure * SOAP_FMAC2 soap_instantiate_eml23__PressureM for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PressureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -272260,7 +269096,7 @@ SOAP_FMAC1 eml23__PowerPerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PowerPerVolumeMeasureExt *p; size_t k = sizeof(eml23__PowerPerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerPerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerPerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -272275,13 +269111,9 @@ SOAP_FMAC1 eml23__PowerPerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PowerPerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -272366,7 +269198,7 @@ SOAP_FMAC1 eml23__PowerPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Pow (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PowerPerVolumeMeasure *p; size_t k = sizeof(eml23__PowerPerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerPerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerPerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -272381,13 +269213,9 @@ SOAP_FMAC1 eml23__PowerPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Pow for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PowerPerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -272472,7 +269300,7 @@ SOAP_FMAC1 eml23__PowerPerPowerMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__P (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PowerPerPowerMeasureExt *p; size_t k = sizeof(eml23__PowerPerPowerMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerPerPowerMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerPerPowerMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -272487,13 +269315,9 @@ SOAP_FMAC1 eml23__PowerPerPowerMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__P for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PowerPerPowerMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -272578,7 +269402,7 @@ SOAP_FMAC1 eml23__PowerPerPowerMeasure * SOAP_FMAC2 soap_instantiate_eml23__Powe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PowerPerPowerMeasure *p; size_t k = sizeof(eml23__PowerPerPowerMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerPerPowerMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerPerPowerMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -272593,13 +269417,9 @@ SOAP_FMAC1 eml23__PowerPerPowerMeasure * SOAP_FMAC2 soap_instantiate_eml23__Powe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PowerPerPowerMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -272684,7 +269504,7 @@ SOAP_FMAC1 eml23__PowerPerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Po (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PowerPerAreaMeasureExt *p; size_t k = sizeof(eml23__PowerPerAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerPerAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerPerAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -272699,13 +269519,9 @@ SOAP_FMAC1 eml23__PowerPerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Po for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PowerPerAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -272790,7 +269606,7 @@ SOAP_FMAC1 eml23__PowerPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__Power (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PowerPerAreaMeasure *p; size_t k = sizeof(eml23__PowerPerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerPerAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerPerAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -272805,13 +269621,9 @@ SOAP_FMAC1 eml23__PowerPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__Power for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PowerPerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -272896,7 +269708,7 @@ SOAP_FMAC1 eml23__PowerMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__PowerMeas (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PowerMeasureExt *p; size_t k = sizeof(eml23__PowerMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -272911,13 +269723,9 @@ SOAP_FMAC1 eml23__PowerMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__PowerMeas for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PowerMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -273002,7 +269810,7 @@ SOAP_FMAC1 eml23__PowerMeasure * SOAP_FMAC2 soap_instantiate_eml23__PowerMeasure (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PowerMeasure *p; size_t k = sizeof(eml23__PowerMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PowerMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -273017,13 +269825,9 @@ SOAP_FMAC1 eml23__PowerMeasure * SOAP_FMAC2 soap_instantiate_eml23__PowerMeasure for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PowerMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -273108,7 +269912,7 @@ SOAP_FMAC1 eml23__PotentialDifferencePerPowerDropMeasureExt * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PotentialDifferencePerPowerDropMeasureExt *p; size_t k = sizeof(eml23__PotentialDifferencePerPowerDropMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PotentialDifferencePerPowerDropMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PotentialDifferencePerPowerDropMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -273123,13 +269927,9 @@ SOAP_FMAC1 eml23__PotentialDifferencePerPowerDropMeasureExt * SOAP_FMAC2 soap_in for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PotentialDifferencePerPowerDropMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -273214,7 +270014,7 @@ SOAP_FMAC1 eml23__PotentialDifferencePerPowerDropMeasure * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PotentialDifferencePerPowerDropMeasure *p; size_t k = sizeof(eml23__PotentialDifferencePerPowerDropMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PotentialDifferencePerPowerDropMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PotentialDifferencePerPowerDropMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -273229,13 +270029,9 @@ SOAP_FMAC1 eml23__PotentialDifferencePerPowerDropMeasure * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PotentialDifferencePerPowerDropMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -273320,7 +270116,7 @@ SOAP_FMAC1 eml23__PlaneAngleMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Plan (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PlaneAngleMeasureExt *p; size_t k = sizeof(eml23__PlaneAngleMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PlaneAngleMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PlaneAngleMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -273335,13 +270131,9 @@ SOAP_FMAC1 eml23__PlaneAngleMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Plan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PlaneAngleMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -273426,7 +270218,7 @@ SOAP_FMAC1 eml23__PlaneAngleMeasure * SOAP_FMAC2 soap_instantiate_eml23__PlaneAn (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PlaneAngleMeasure *p; size_t k = sizeof(eml23__PlaneAngleMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PlaneAngleMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PlaneAngleMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -273441,13 +270233,9 @@ SOAP_FMAC1 eml23__PlaneAngleMeasure * SOAP_FMAC2 soap_instantiate_eml23__PlaneAn for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PlaneAngleMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -273532,7 +270320,7 @@ SOAP_FMAC1 eml23__PermittivityMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Pe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PermittivityMeasureExt *p; size_t k = sizeof(eml23__PermittivityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PermittivityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PermittivityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -273547,13 +270335,9 @@ SOAP_FMAC1 eml23__PermittivityMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Pe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PermittivityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -273638,7 +270422,7 @@ SOAP_FMAC1 eml23__PermittivityMeasure * SOAP_FMAC2 soap_instantiate_eml23__Permi (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PermittivityMeasure *p; size_t k = sizeof(eml23__PermittivityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PermittivityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PermittivityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -273653,13 +270437,9 @@ SOAP_FMAC1 eml23__PermittivityMeasure * SOAP_FMAC2 soap_instantiate_eml23__Permi for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PermittivityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -273744,7 +270524,7 @@ SOAP_FMAC1 eml23__PermeabilityRockMeasureExt * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PermeabilityRockMeasureExt *p; size_t k = sizeof(eml23__PermeabilityRockMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PermeabilityRockMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PermeabilityRockMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -273759,13 +270539,9 @@ SOAP_FMAC1 eml23__PermeabilityRockMeasureExt * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PermeabilityRockMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -273850,7 +270626,7 @@ SOAP_FMAC1 eml23__PermeabilityRockMeasure * SOAP_FMAC2 soap_instantiate_eml23__P (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PermeabilityRockMeasure *p; size_t k = sizeof(eml23__PermeabilityRockMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PermeabilityRockMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PermeabilityRockMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -273865,13 +270641,9 @@ SOAP_FMAC1 eml23__PermeabilityRockMeasure * SOAP_FMAC2 soap_instantiate_eml23__P for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PermeabilityRockMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -273956,7 +270728,7 @@ SOAP_FMAC1 eml23__PermeabilityLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PermeabilityLengthMeasureExt *p; size_t k = sizeof(eml23__PermeabilityLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PermeabilityLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PermeabilityLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -273971,13 +270743,9 @@ SOAP_FMAC1 eml23__PermeabilityLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PermeabilityLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -274062,7 +270830,7 @@ SOAP_FMAC1 eml23__PermeabilityLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PermeabilityLengthMeasure *p; size_t k = sizeof(eml23__PermeabilityLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PermeabilityLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PermeabilityLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -274077,13 +270845,9 @@ SOAP_FMAC1 eml23__PermeabilityLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PermeabilityLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -274168,7 +270932,7 @@ SOAP_FMAC1 eml23__NormalizedPowerMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__NormalizedPowerMeasureExt *p; size_t k = sizeof(eml23__NormalizedPowerMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__NormalizedPowerMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__NormalizedPowerMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -274183,13 +270947,9 @@ SOAP_FMAC1 eml23__NormalizedPowerMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__NormalizedPowerMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -274274,7 +271034,7 @@ SOAP_FMAC1 eml23__NormalizedPowerMeasure * SOAP_FMAC2 soap_instantiate_eml23__No (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__NormalizedPowerMeasure *p; size_t k = sizeof(eml23__NormalizedPowerMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__NormalizedPowerMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__NormalizedPowerMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -274289,13 +271049,9 @@ SOAP_FMAC1 eml23__NormalizedPowerMeasure * SOAP_FMAC2 soap_instantiate_eml23__No for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__NormalizedPowerMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -274380,7 +271136,7 @@ SOAP_FMAC1 eml23__MomentumMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Moment (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MomentumMeasureExt *p; size_t k = sizeof(eml23__MomentumMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MomentumMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MomentumMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -274395,13 +271151,9 @@ SOAP_FMAC1 eml23__MomentumMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Moment for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MomentumMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -274486,7 +271238,7 @@ SOAP_FMAC1 eml23__MomentumMeasure * SOAP_FMAC2 soap_instantiate_eml23__MomentumM (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MomentumMeasure *p; size_t k = sizeof(eml23__MomentumMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MomentumMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MomentumMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -274501,13 +271253,9 @@ SOAP_FMAC1 eml23__MomentumMeasure * SOAP_FMAC2 soap_instantiate_eml23__MomentumM for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MomentumMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -274592,7 +271340,7 @@ SOAP_FMAC1 eml23__MomentOfInertiaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MomentOfInertiaMeasureExt *p; size_t k = sizeof(eml23__MomentOfInertiaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MomentOfInertiaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MomentOfInertiaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -274607,13 +271355,9 @@ SOAP_FMAC1 eml23__MomentOfInertiaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MomentOfInertiaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -274698,7 +271442,7 @@ SOAP_FMAC1 eml23__MomentOfInertiaMeasure * SOAP_FMAC2 soap_instantiate_eml23__Mo (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MomentOfInertiaMeasure *p; size_t k = sizeof(eml23__MomentOfInertiaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MomentOfInertiaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MomentOfInertiaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -274713,13 +271457,9 @@ SOAP_FMAC1 eml23__MomentOfInertiaMeasure * SOAP_FMAC2 soap_instantiate_eml23__Mo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MomentOfInertiaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -274804,7 +271544,7 @@ SOAP_FMAC1 eml23__MomentOfForceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__M (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MomentOfForceMeasureExt *p; size_t k = sizeof(eml23__MomentOfForceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MomentOfForceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MomentOfForceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -274819,13 +271559,9 @@ SOAP_FMAC1 eml23__MomentOfForceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__M for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MomentOfForceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -274910,7 +271646,7 @@ SOAP_FMAC1 eml23__MomentOfForceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Mome (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MomentOfForceMeasure *p; size_t k = sizeof(eml23__MomentOfForceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MomentOfForceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MomentOfForceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -274925,13 +271661,9 @@ SOAP_FMAC1 eml23__MomentOfForceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Mome for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MomentOfForceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -275016,7 +271748,7 @@ SOAP_FMAC1 eml23__MolecularWeightMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MolecularWeightMeasureExt *p; size_t k = sizeof(eml23__MolecularWeightMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolecularWeightMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolecularWeightMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -275031,13 +271763,9 @@ SOAP_FMAC1 eml23__MolecularWeightMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MolecularWeightMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -275122,7 +271850,7 @@ SOAP_FMAC1 eml23__MolecularWeightMeasure * SOAP_FMAC2 soap_instantiate_eml23__Mo (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MolecularWeightMeasure *p; size_t k = sizeof(eml23__MolecularWeightMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolecularWeightMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolecularWeightMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -275137,13 +271865,9 @@ SOAP_FMAC1 eml23__MolecularWeightMeasure * SOAP_FMAC2 soap_instantiate_eml23__Mo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MolecularWeightMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -275228,7 +271952,7 @@ SOAP_FMAC1 eml23__MolarVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Mol (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MolarVolumeMeasureExt *p; size_t k = sizeof(eml23__MolarVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolarVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolarVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -275243,13 +271967,9 @@ SOAP_FMAC1 eml23__MolarVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Mol for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MolarVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -275334,7 +272054,7 @@ SOAP_FMAC1 eml23__MolarVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__MolarV (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MolarVolumeMeasure *p; size_t k = sizeof(eml23__MolarVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolarVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolarVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -275349,13 +272069,9 @@ SOAP_FMAC1 eml23__MolarVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__MolarV for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MolarVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -275440,7 +272156,7 @@ SOAP_FMAC1 eml23__MolarHeatCapacityMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MolarHeatCapacityMeasureExt *p; size_t k = sizeof(eml23__MolarHeatCapacityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolarHeatCapacityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolarHeatCapacityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -275455,13 +272171,9 @@ SOAP_FMAC1 eml23__MolarHeatCapacityMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MolarHeatCapacityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -275546,7 +272258,7 @@ SOAP_FMAC1 eml23__MolarHeatCapacityMeasure * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MolarHeatCapacityMeasure *p; size_t k = sizeof(eml23__MolarHeatCapacityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolarHeatCapacityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolarHeatCapacityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -275561,13 +272273,9 @@ SOAP_FMAC1 eml23__MolarHeatCapacityMeasure * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MolarHeatCapacityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -275652,7 +272360,7 @@ SOAP_FMAC1 eml23__MolarEnergyMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Mol (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MolarEnergyMeasureExt *p; size_t k = sizeof(eml23__MolarEnergyMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolarEnergyMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolarEnergyMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -275667,13 +272375,9 @@ SOAP_FMAC1 eml23__MolarEnergyMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Mol for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MolarEnergyMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -275758,7 +272462,7 @@ SOAP_FMAC1 eml23__MolarEnergyMeasure * SOAP_FMAC2 soap_instantiate_eml23__MolarE (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MolarEnergyMeasure *p; size_t k = sizeof(eml23__MolarEnergyMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolarEnergyMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MolarEnergyMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -275773,13 +272477,9 @@ SOAP_FMAC1 eml23__MolarEnergyMeasure * SOAP_FMAC2 soap_instantiate_eml23__MolarE for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MolarEnergyMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -275864,7 +272564,7 @@ SOAP_FMAC1 eml23__MobilityMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Mobili (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MobilityMeasureExt *p; size_t k = sizeof(eml23__MobilityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MobilityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MobilityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -275879,13 +272579,9 @@ SOAP_FMAC1 eml23__MobilityMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Mobili for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MobilityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -275970,7 +272666,7 @@ SOAP_FMAC1 eml23__MobilityMeasure * SOAP_FMAC2 soap_instantiate_eml23__MobilityM (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MobilityMeasure *p; size_t k = sizeof(eml23__MobilityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MobilityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MobilityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -275985,13 +272681,9 @@ SOAP_FMAC1 eml23__MobilityMeasure * SOAP_FMAC2 soap_instantiate_eml23__MobilityM for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MobilityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -276076,7 +272768,7 @@ SOAP_FMAC1 eml23__MassPerVolumePerTemperatureMeasureExt * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerVolumePerTemperatureMeasureExt *p; size_t k = sizeof(eml23__MassPerVolumePerTemperatureMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumePerTemperatureMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumePerTemperatureMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -276091,13 +272783,9 @@ SOAP_FMAC1 eml23__MassPerVolumePerTemperatureMeasureExt * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerVolumePerTemperatureMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -276182,7 +272870,7 @@ SOAP_FMAC1 eml23__MassPerVolumePerTemperatureMeasure * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerVolumePerTemperatureMeasure *p; size_t k = sizeof(eml23__MassPerVolumePerTemperatureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumePerTemperatureMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumePerTemperatureMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -276197,13 +272885,9 @@ SOAP_FMAC1 eml23__MassPerVolumePerTemperatureMeasure * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerVolumePerTemperatureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -276288,7 +272972,7 @@ SOAP_FMAC1 eml23__MassPerVolumePerPressureMeasureExt * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerVolumePerPressureMeasureExt *p; size_t k = sizeof(eml23__MassPerVolumePerPressureMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumePerPressureMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumePerPressureMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -276303,13 +272987,9 @@ SOAP_FMAC1 eml23__MassPerVolumePerPressureMeasureExt * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerVolumePerPressureMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -276394,7 +273074,7 @@ SOAP_FMAC1 eml23__MassPerVolumePerPressureMeasure * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerVolumePerPressureMeasure *p; size_t k = sizeof(eml23__MassPerVolumePerPressureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumePerPressureMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumePerPressureMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -276409,13 +273089,9 @@ SOAP_FMAC1 eml23__MassPerVolumePerPressureMeasure * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerVolumePerPressureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -276500,7 +273176,7 @@ SOAP_FMAC1 eml23__MassPerVolumePerLengthMeasureExt * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerVolumePerLengthMeasureExt *p; size_t k = sizeof(eml23__MassPerVolumePerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -276515,13 +273191,9 @@ SOAP_FMAC1 eml23__MassPerVolumePerLengthMeasureExt * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerVolumePerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -276606,7 +273278,7 @@ SOAP_FMAC1 eml23__MassPerVolumePerLengthMeasure * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerVolumePerLengthMeasure *p; size_t k = sizeof(eml23__MassPerVolumePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumePerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumePerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -276621,13 +273293,9 @@ SOAP_FMAC1 eml23__MassPerVolumePerLengthMeasure * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerVolumePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -276712,7 +273380,7 @@ SOAP_FMAC1 eml23__MassPerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__M (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerVolumeMeasureExt *p; size_t k = sizeof(eml23__MassPerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -276727,13 +273395,9 @@ SOAP_FMAC1 eml23__MassPerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__M for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -276818,7 +273482,7 @@ SOAP_FMAC1 eml23__MassPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Mass (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerVolumeMeasure *p; size_t k = sizeof(eml23__MassPerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -276833,13 +273497,9 @@ SOAP_FMAC1 eml23__MassPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Mass for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -276924,7 +273584,7 @@ SOAP_FMAC1 eml23__MassPerTimePerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerTimePerLengthMeasureExt *p; size_t k = sizeof(eml23__MassPerTimePerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerTimePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerTimePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -276939,13 +273599,9 @@ SOAP_FMAC1 eml23__MassPerTimePerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerTimePerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -277030,7 +273686,7 @@ SOAP_FMAC1 eml23__MassPerTimePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerTimePerLengthMeasure *p; size_t k = sizeof(eml23__MassPerTimePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerTimePerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerTimePerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -277045,13 +273701,9 @@ SOAP_FMAC1 eml23__MassPerTimePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerTimePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -277136,7 +273788,7 @@ SOAP_FMAC1 eml23__MassPerTimePerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerTimePerAreaMeasureExt *p; size_t k = sizeof(eml23__MassPerTimePerAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerTimePerAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerTimePerAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -277151,13 +273803,9 @@ SOAP_FMAC1 eml23__MassPerTimePerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerTimePerAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -277242,7 +273890,7 @@ SOAP_FMAC1 eml23__MassPerTimePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerTimePerAreaMeasure *p; size_t k = sizeof(eml23__MassPerTimePerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerTimePerAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerTimePerAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -277257,13 +273905,9 @@ SOAP_FMAC1 eml23__MassPerTimePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerTimePerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -277348,7 +273992,7 @@ SOAP_FMAC1 eml23__MassPerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Mas (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerTimeMeasureExt *p; size_t k = sizeof(eml23__MassPerTimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerTimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerTimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -277363,13 +274007,9 @@ SOAP_FMAC1 eml23__MassPerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Mas for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerTimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -277454,7 +274094,7 @@ SOAP_FMAC1 eml23__MassPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__MassPe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerTimeMeasure *p; size_t k = sizeof(eml23__MassPerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerTimeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerTimeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -277469,13 +274109,9 @@ SOAP_FMAC1 eml23__MassPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__MassPe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -277560,7 +274196,7 @@ SOAP_FMAC1 eml23__MassPerMassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Mas (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerMassMeasureExt *p; size_t k = sizeof(eml23__MassPerMassMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerMassMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerMassMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -277575,13 +274211,9 @@ SOAP_FMAC1 eml23__MassPerMassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Mas for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerMassMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -277666,7 +274298,7 @@ SOAP_FMAC1 eml23__MassPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml23__MassPe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerMassMeasure *p; size_t k = sizeof(eml23__MassPerMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerMassMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerMassMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -277681,13 +274313,9 @@ SOAP_FMAC1 eml23__MassPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml23__MassPe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -277772,7 +274400,7 @@ SOAP_FMAC1 eml23__MassPerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__M (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerLengthMeasureExt *p; size_t k = sizeof(eml23__MassPerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -277787,13 +274415,9 @@ SOAP_FMAC1 eml23__MassPerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__M for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -277878,7 +274502,7 @@ SOAP_FMAC1 eml23__MassPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__Mass (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerLengthMeasure *p; size_t k = sizeof(eml23__MassPerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -277893,13 +274517,9 @@ SOAP_FMAC1 eml23__MassPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__Mass for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -277984,7 +274604,7 @@ SOAP_FMAC1 eml23__MassPerEnergyMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__M (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerEnergyMeasureExt *p; size_t k = sizeof(eml23__MassPerEnergyMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerEnergyMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerEnergyMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -277999,13 +274619,9 @@ SOAP_FMAC1 eml23__MassPerEnergyMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__M for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerEnergyMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -278090,7 +274706,7 @@ SOAP_FMAC1 eml23__MassPerEnergyMeasure * SOAP_FMAC2 soap_instantiate_eml23__Mass (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerEnergyMeasure *p; size_t k = sizeof(eml23__MassPerEnergyMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerEnergyMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerEnergyMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -278105,13 +274721,9 @@ SOAP_FMAC1 eml23__MassPerEnergyMeasure * SOAP_FMAC2 soap_instantiate_eml23__Mass for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerEnergyMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -278196,7 +274808,7 @@ SOAP_FMAC1 eml23__MassPerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Mas (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerAreaMeasureExt *p; size_t k = sizeof(eml23__MassPerAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -278211,13 +274823,9 @@ SOAP_FMAC1 eml23__MassPerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Mas for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -278302,7 +274910,7 @@ SOAP_FMAC1 eml23__MassPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__MassPe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassPerAreaMeasure *p; size_t k = sizeof(eml23__MassPerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassPerAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -278317,13 +274925,9 @@ SOAP_FMAC1 eml23__MassPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__MassPe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassPerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -278408,7 +275012,7 @@ SOAP_FMAC1 eml23__MassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__MassMeasur (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassMeasureExt *p; size_t k = sizeof(eml23__MassMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -278423,13 +275027,9 @@ SOAP_FMAC1 eml23__MassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__MassMeasur for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -278514,7 +275114,7 @@ SOAP_FMAC1 eml23__MassMeasure * SOAP_FMAC2 soap_instantiate_eml23__MassMeasure(s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassMeasure *p; size_t k = sizeof(eml23__MassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -278529,13 +275129,9 @@ SOAP_FMAC1 eml23__MassMeasure * SOAP_FMAC2 soap_instantiate_eml23__MassMeasure(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -278620,7 +275216,7 @@ SOAP_FMAC1 eml23__MassLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Mass (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassLengthMeasureExt *p; size_t k = sizeof(eml23__MassLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -278635,13 +275231,9 @@ SOAP_FMAC1 eml23__MassLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Mass for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -278726,7 +275318,7 @@ SOAP_FMAC1 eml23__MassLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__MassLen (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MassLengthMeasure *p; size_t k = sizeof(eml23__MassLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MassLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -278741,13 +275333,9 @@ SOAP_FMAC1 eml23__MassLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__MassLen for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MassLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -278832,7 +275420,7 @@ SOAP_FMAC1 eml23__MagneticVectorPotentialMeasureExt * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MagneticVectorPotentialMeasureExt *p; size_t k = sizeof(eml23__MagneticVectorPotentialMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticVectorPotentialMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticVectorPotentialMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -278847,13 +275435,9 @@ SOAP_FMAC1 eml23__MagneticVectorPotentialMeasureExt * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MagneticVectorPotentialMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -278938,7 +275522,7 @@ SOAP_FMAC1 eml23__MagneticVectorPotentialMeasure * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MagneticVectorPotentialMeasure *p; size_t k = sizeof(eml23__MagneticVectorPotentialMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticVectorPotentialMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticVectorPotentialMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -278953,13 +275537,9 @@ SOAP_FMAC1 eml23__MagneticVectorPotentialMeasure * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MagneticVectorPotentialMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -279044,7 +275624,7 @@ SOAP_FMAC1 eml23__MagneticPermeabilityMeasureExt * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MagneticPermeabilityMeasureExt *p; size_t k = sizeof(eml23__MagneticPermeabilityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticPermeabilityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticPermeabilityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -279059,13 +275639,9 @@ SOAP_FMAC1 eml23__MagneticPermeabilityMeasureExt * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MagneticPermeabilityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -279150,7 +275726,7 @@ SOAP_FMAC1 eml23__MagneticPermeabilityMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MagneticPermeabilityMeasure *p; size_t k = sizeof(eml23__MagneticPermeabilityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticPermeabilityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticPermeabilityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -279165,13 +275741,9 @@ SOAP_FMAC1 eml23__MagneticPermeabilityMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MagneticPermeabilityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -279256,7 +275828,7 @@ SOAP_FMAC1 eml23__MagneticFluxMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Ma (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MagneticFluxMeasureExt *p; size_t k = sizeof(eml23__MagneticFluxMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFluxMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFluxMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -279271,13 +275843,9 @@ SOAP_FMAC1 eml23__MagneticFluxMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Ma for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MagneticFluxMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -279362,7 +275930,7 @@ SOAP_FMAC1 eml23__MagneticFluxMeasure * SOAP_FMAC2 soap_instantiate_eml23__Magne (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MagneticFluxMeasure *p; size_t k = sizeof(eml23__MagneticFluxMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFluxMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFluxMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -279377,13 +275945,9 @@ SOAP_FMAC1 eml23__MagneticFluxMeasure * SOAP_FMAC2 soap_instantiate_eml23__Magne for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MagneticFluxMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -279468,7 +276032,7 @@ SOAP_FMAC1 eml23__MagneticFluxDensityPerLengthMeasureExt * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MagneticFluxDensityPerLengthMeasureExt *p; size_t k = sizeof(eml23__MagneticFluxDensityPerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFluxDensityPerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFluxDensityPerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -279483,13 +276047,9 @@ SOAP_FMAC1 eml23__MagneticFluxDensityPerLengthMeasureExt * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MagneticFluxDensityPerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -279574,7 +276134,7 @@ SOAP_FMAC1 eml23__MagneticFluxDensityPerLengthMeasure * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MagneticFluxDensityPerLengthMeasure *p; size_t k = sizeof(eml23__MagneticFluxDensityPerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFluxDensityPerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFluxDensityPerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -279589,13 +276149,9 @@ SOAP_FMAC1 eml23__MagneticFluxDensityPerLengthMeasure * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MagneticFluxDensityPerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -279680,7 +276236,7 @@ SOAP_FMAC1 eml23__MagneticFluxDensityMeasureExt * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MagneticFluxDensityMeasureExt *p; size_t k = sizeof(eml23__MagneticFluxDensityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFluxDensityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFluxDensityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -279695,13 +276251,9 @@ SOAP_FMAC1 eml23__MagneticFluxDensityMeasureExt * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MagneticFluxDensityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -279786,7 +276338,7 @@ SOAP_FMAC1 eml23__MagneticFluxDensityMeasure * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MagneticFluxDensityMeasure *p; size_t k = sizeof(eml23__MagneticFluxDensityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFluxDensityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFluxDensityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -279801,13 +276353,9 @@ SOAP_FMAC1 eml23__MagneticFluxDensityMeasure * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MagneticFluxDensityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -279892,7 +276440,7 @@ SOAP_FMAC1 eml23__MagneticFieldStrengthMeasureExt * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MagneticFieldStrengthMeasureExt *p; size_t k = sizeof(eml23__MagneticFieldStrengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFieldStrengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFieldStrengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -279907,13 +276455,9 @@ SOAP_FMAC1 eml23__MagneticFieldStrengthMeasureExt * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MagneticFieldStrengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -279998,7 +276542,7 @@ SOAP_FMAC1 eml23__MagneticFieldStrengthMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MagneticFieldStrengthMeasure *p; size_t k = sizeof(eml23__MagneticFieldStrengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFieldStrengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticFieldStrengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -280013,13 +276557,9 @@ SOAP_FMAC1 eml23__MagneticFieldStrengthMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MagneticFieldStrengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -280104,7 +276644,7 @@ SOAP_FMAC1 eml23__MagneticDipoleMomentMeasureExt * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MagneticDipoleMomentMeasureExt *p; size_t k = sizeof(eml23__MagneticDipoleMomentMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticDipoleMomentMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticDipoleMomentMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -280119,13 +276659,9 @@ SOAP_FMAC1 eml23__MagneticDipoleMomentMeasureExt * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MagneticDipoleMomentMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -280210,7 +276746,7 @@ SOAP_FMAC1 eml23__MagneticDipoleMomentMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MagneticDipoleMomentMeasure *p; size_t k = sizeof(eml23__MagneticDipoleMomentMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticDipoleMomentMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MagneticDipoleMomentMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -280225,13 +276761,9 @@ SOAP_FMAC1 eml23__MagneticDipoleMomentMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MagneticDipoleMomentMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -280316,7 +276848,7 @@ SOAP_FMAC1 eml23__LuminousIntensityMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LuminousIntensityMeasureExt *p; size_t k = sizeof(eml23__LuminousIntensityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminousIntensityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminousIntensityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -280331,13 +276863,9 @@ SOAP_FMAC1 eml23__LuminousIntensityMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LuminousIntensityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -280422,7 +276950,7 @@ SOAP_FMAC1 eml23__LuminousIntensityMeasure * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LuminousIntensityMeasure *p; size_t k = sizeof(eml23__LuminousIntensityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminousIntensityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminousIntensityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -280437,13 +276965,9 @@ SOAP_FMAC1 eml23__LuminousIntensityMeasure * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LuminousIntensityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -280528,7 +277052,7 @@ SOAP_FMAC1 eml23__LuminousFluxMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Lu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LuminousFluxMeasureExt *p; size_t k = sizeof(eml23__LuminousFluxMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminousFluxMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminousFluxMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -280543,13 +277067,9 @@ SOAP_FMAC1 eml23__LuminousFluxMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Lu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LuminousFluxMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -280634,7 +277154,7 @@ SOAP_FMAC1 eml23__LuminousFluxMeasure * SOAP_FMAC2 soap_instantiate_eml23__Lumin (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LuminousFluxMeasure *p; size_t k = sizeof(eml23__LuminousFluxMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminousFluxMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminousFluxMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -280649,13 +277169,9 @@ SOAP_FMAC1 eml23__LuminousFluxMeasure * SOAP_FMAC2 soap_instantiate_eml23__Lumin for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LuminousFluxMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -280740,7 +277256,7 @@ SOAP_FMAC1 eml23__LuminousEfficacyMeasureExt * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LuminousEfficacyMeasureExt *p; size_t k = sizeof(eml23__LuminousEfficacyMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminousEfficacyMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminousEfficacyMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -280755,13 +277271,9 @@ SOAP_FMAC1 eml23__LuminousEfficacyMeasureExt * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LuminousEfficacyMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -280846,7 +277358,7 @@ SOAP_FMAC1 eml23__LuminousEfficacyMeasure * SOAP_FMAC2 soap_instantiate_eml23__L (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LuminousEfficacyMeasure *p; size_t k = sizeof(eml23__LuminousEfficacyMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminousEfficacyMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminousEfficacyMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -280861,13 +277373,9 @@ SOAP_FMAC1 eml23__LuminousEfficacyMeasure * SOAP_FMAC2 soap_instantiate_eml23__L for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LuminousEfficacyMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -280952,7 +277460,7 @@ SOAP_FMAC1 eml23__LuminanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Lumin (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LuminanceMeasureExt *p; size_t k = sizeof(eml23__LuminanceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminanceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminanceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -280967,13 +277475,9 @@ SOAP_FMAC1 eml23__LuminanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Lumin for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LuminanceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -281058,7 +277562,7 @@ SOAP_FMAC1 eml23__LuminanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Luminanc (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LuminanceMeasure *p; size_t k = sizeof(eml23__LuminanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminanceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LuminanceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -281073,13 +277577,9 @@ SOAP_FMAC1 eml23__LuminanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Luminanc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LuminanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -281164,7 +277664,7 @@ SOAP_FMAC1 eml23__LogarithmicPowerRatioPerLengthMeasureExt * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LogarithmicPowerRatioPerLengthMeasureExt *p; size_t k = sizeof(eml23__LogarithmicPowerRatioPerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LogarithmicPowerRatioPerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LogarithmicPowerRatioPerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -281179,13 +277679,9 @@ SOAP_FMAC1 eml23__LogarithmicPowerRatioPerLengthMeasureExt * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LogarithmicPowerRatioPerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -281270,7 +277766,7 @@ SOAP_FMAC1 eml23__LogarithmicPowerRatioPerLengthMeasure * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LogarithmicPowerRatioPerLengthMeasure *p; size_t k = sizeof(eml23__LogarithmicPowerRatioPerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LogarithmicPowerRatioPerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LogarithmicPowerRatioPerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -281285,13 +277781,9 @@ SOAP_FMAC1 eml23__LogarithmicPowerRatioPerLengthMeasure * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LogarithmicPowerRatioPerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -281376,7 +277868,7 @@ SOAP_FMAC1 eml23__LogarithmicPowerRatioMeasureExt * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LogarithmicPowerRatioMeasureExt *p; size_t k = sizeof(eml23__LogarithmicPowerRatioMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LogarithmicPowerRatioMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LogarithmicPowerRatioMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -281391,13 +277883,9 @@ SOAP_FMAC1 eml23__LogarithmicPowerRatioMeasureExt * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LogarithmicPowerRatioMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -281482,7 +277970,7 @@ SOAP_FMAC1 eml23__LogarithmicPowerRatioMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LogarithmicPowerRatioMeasure *p; size_t k = sizeof(eml23__LogarithmicPowerRatioMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LogarithmicPowerRatioMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LogarithmicPowerRatioMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -281497,13 +277985,9 @@ SOAP_FMAC1 eml23__LogarithmicPowerRatioMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LogarithmicPowerRatioMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -281588,7 +278072,7 @@ SOAP_FMAC1 eml23__LinearThermalExpansionMeasureExt * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LinearThermalExpansionMeasureExt *p; size_t k = sizeof(eml23__LinearThermalExpansionMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LinearThermalExpansionMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LinearThermalExpansionMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -281603,13 +278087,9 @@ SOAP_FMAC1 eml23__LinearThermalExpansionMeasureExt * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LinearThermalExpansionMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -281694,7 +278174,7 @@ SOAP_FMAC1 eml23__LinearThermalExpansionMeasure * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LinearThermalExpansionMeasure *p; size_t k = sizeof(eml23__LinearThermalExpansionMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LinearThermalExpansionMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LinearThermalExpansionMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -281709,13 +278189,9 @@ SOAP_FMAC1 eml23__LinearThermalExpansionMeasure * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LinearThermalExpansionMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -281800,7 +278276,7 @@ SOAP_FMAC1 eml23__LinearAccelerationMeasureExt * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LinearAccelerationMeasureExt *p; size_t k = sizeof(eml23__LinearAccelerationMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LinearAccelerationMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LinearAccelerationMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -281815,13 +278291,9 @@ SOAP_FMAC1 eml23__LinearAccelerationMeasureExt * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LinearAccelerationMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -281906,7 +278378,7 @@ SOAP_FMAC1 eml23__LinearAccelerationMeasure * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LinearAccelerationMeasure *p; size_t k = sizeof(eml23__LinearAccelerationMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LinearAccelerationMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LinearAccelerationMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -281921,13 +278393,9 @@ SOAP_FMAC1 eml23__LinearAccelerationMeasure * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LinearAccelerationMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -282012,7 +278480,7 @@ SOAP_FMAC1 eml23__LightExposureMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__L (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LightExposureMeasureExt *p; size_t k = sizeof(eml23__LightExposureMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LightExposureMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LightExposureMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -282027,13 +278495,9 @@ SOAP_FMAC1 eml23__LightExposureMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__L for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LightExposureMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -282118,7 +278582,7 @@ SOAP_FMAC1 eml23__LightExposureMeasure * SOAP_FMAC2 soap_instantiate_eml23__Ligh (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LightExposureMeasure *p; size_t k = sizeof(eml23__LightExposureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LightExposureMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LightExposureMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -282133,13 +278597,9 @@ SOAP_FMAC1 eml23__LightExposureMeasure * SOAP_FMAC2 soap_instantiate_eml23__Ligh for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LightExposureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -282224,7 +278684,7 @@ SOAP_FMAC1 eml23__LengthPerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthPerVolumeMeasureExt *p; size_t k = sizeof(eml23__LengthPerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -282239,13 +278699,9 @@ SOAP_FMAC1 eml23__LengthPerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthPerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -282330,7 +278786,7 @@ SOAP_FMAC1 eml23__LengthPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Le (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthPerVolumeMeasure *p; size_t k = sizeof(eml23__LengthPerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -282345,13 +278801,9 @@ SOAP_FMAC1 eml23__LengthPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Le for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthPerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -282436,7 +278888,7 @@ SOAP_FMAC1 eml23__LengthPerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__L (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthPerTimeMeasureExt *p; size_t k = sizeof(eml23__LengthPerTimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerTimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerTimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -282451,13 +278903,9 @@ SOAP_FMAC1 eml23__LengthPerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__L for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthPerTimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -282542,7 +278990,7 @@ SOAP_FMAC1 eml23__LengthPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Leng (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthPerTimeMeasure *p; size_t k = sizeof(eml23__LengthPerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerTimeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerTimeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -282557,13 +279005,9 @@ SOAP_FMAC1 eml23__LengthPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Leng for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthPerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -282648,7 +279092,7 @@ SOAP_FMAC1 eml23__LengthPerTemperatureMeasureExt * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthPerTemperatureMeasureExt *p; size_t k = sizeof(eml23__LengthPerTemperatureMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerTemperatureMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerTemperatureMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -282663,13 +279107,9 @@ SOAP_FMAC1 eml23__LengthPerTemperatureMeasureExt * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthPerTemperatureMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -282754,7 +279194,7 @@ SOAP_FMAC1 eml23__LengthPerTemperatureMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthPerTemperatureMeasure *p; size_t k = sizeof(eml23__LengthPerTemperatureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerTemperatureMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerTemperatureMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -282769,13 +279209,9 @@ SOAP_FMAC1 eml23__LengthPerTemperatureMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthPerTemperatureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -282860,7 +279296,7 @@ SOAP_FMAC1 eml23__LengthPerPressureMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthPerPressureMeasureExt *p; size_t k = sizeof(eml23__LengthPerPressureMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerPressureMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerPressureMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -282875,13 +279311,9 @@ SOAP_FMAC1 eml23__LengthPerPressureMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthPerPressureMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -282966,7 +279398,7 @@ SOAP_FMAC1 eml23__LengthPerPressureMeasure * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthPerPressureMeasure *p; size_t k = sizeof(eml23__LengthPerPressureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerPressureMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerPressureMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -282981,13 +279413,9 @@ SOAP_FMAC1 eml23__LengthPerPressureMeasure * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthPerPressureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -283072,7 +279500,7 @@ SOAP_FMAC1 eml23__LengthPerMassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__L (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthPerMassMeasureExt *p; size_t k = sizeof(eml23__LengthPerMassMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerMassMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerMassMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -283087,13 +279515,9 @@ SOAP_FMAC1 eml23__LengthPerMassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__L for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthPerMassMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -283178,7 +279602,7 @@ SOAP_FMAC1 eml23__LengthPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml23__Leng (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthPerMassMeasure *p; size_t k = sizeof(eml23__LengthPerMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerMassMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerMassMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -283193,13 +279617,9 @@ SOAP_FMAC1 eml23__LengthPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml23__Leng for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthPerMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -283284,7 +279704,7 @@ SOAP_FMAC1 eml23__LengthPerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthPerLengthMeasureExt *p; size_t k = sizeof(eml23__LengthPerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -283299,13 +279719,9 @@ SOAP_FMAC1 eml23__LengthPerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthPerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -283390,7 +279806,7 @@ SOAP_FMAC1 eml23__LengthPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__Le (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthPerLengthMeasure *p; size_t k = sizeof(eml23__LengthPerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -283405,13 +279821,9 @@ SOAP_FMAC1 eml23__LengthPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__Le for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthPerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -283496,7 +279908,7 @@ SOAP_FMAC1 eml23__LengthPerAngleMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthPerAngleMeasureExt *p; size_t k = sizeof(eml23__LengthPerAngleMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerAngleMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerAngleMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -283511,13 +279923,9 @@ SOAP_FMAC1 eml23__LengthPerAngleMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthPerAngleMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -283602,7 +280010,7 @@ SOAP_FMAC1 eml23__LengthPerAngleMeasure * SOAP_FMAC2 soap_instantiate_eml23__Len (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthPerAngleMeasure *p; size_t k = sizeof(eml23__LengthPerAngleMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerAngleMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthPerAngleMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -283617,13 +280025,9 @@ SOAP_FMAC1 eml23__LengthPerAngleMeasure * SOAP_FMAC2 soap_instantiate_eml23__Len for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthPerAngleMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -283704,7 +280108,7 @@ SOAP_FMAC1 eml23__LengthOrTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Le (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthOrTimeMeasureExt *p; size_t k = sizeof(eml23__LengthOrTimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthOrTimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthOrTimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -283719,13 +280123,9 @@ SOAP_FMAC1 eml23__LengthOrTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Le for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthOrTimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -283810,7 +280210,7 @@ SOAP_FMAC1 eml23__LengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__LengthMe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthMeasureExt *p; size_t k = sizeof(eml23__LengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -283825,13 +280225,9 @@ SOAP_FMAC1 eml23__LengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__LengthMe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -283916,7 +280312,7 @@ SOAP_FMAC1 eml23__LengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__LengthMeasu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LengthMeasure *p; size_t k = sizeof(eml23__LengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -283931,13 +280327,9 @@ SOAP_FMAC1 eml23__LengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__LengthMeasu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -284022,7 +280414,7 @@ SOAP_FMAC1 eml23__KinematicViscosityMeasureExt * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__KinematicViscosityMeasureExt *p; size_t k = sizeof(eml23__KinematicViscosityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__KinematicViscosityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__KinematicViscosityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -284037,13 +280429,9 @@ SOAP_FMAC1 eml23__KinematicViscosityMeasureExt * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__KinematicViscosityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -284128,7 +280516,7 @@ SOAP_FMAC1 eml23__KinematicViscosityMeasure * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__KinematicViscosityMeasure *p; size_t k = sizeof(eml23__KinematicViscosityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__KinematicViscosityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__KinematicViscosityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -284143,13 +280531,9 @@ SOAP_FMAC1 eml23__KinematicViscosityMeasure * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__KinematicViscosityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -284234,7 +280618,7 @@ SOAP_FMAC1 eml23__IsothermalCompressibilityMeasureExt * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__IsothermalCompressibilityMeasureExt *p; size_t k = sizeof(eml23__IsothermalCompressibilityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IsothermalCompressibilityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IsothermalCompressibilityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -284249,13 +280633,9 @@ SOAP_FMAC1 eml23__IsothermalCompressibilityMeasureExt * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__IsothermalCompressibilityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -284340,7 +280720,7 @@ SOAP_FMAC1 eml23__IsothermalCompressibilityMeasure * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__IsothermalCompressibilityMeasure *p; size_t k = sizeof(eml23__IsothermalCompressibilityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IsothermalCompressibilityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IsothermalCompressibilityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -284355,13 +280735,9 @@ SOAP_FMAC1 eml23__IsothermalCompressibilityMeasure * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__IsothermalCompressibilityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -284446,7 +280822,7 @@ SOAP_FMAC1 eml23__InductanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Indu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__InductanceMeasureExt *p; size_t k = sizeof(eml23__InductanceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__InductanceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__InductanceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -284461,13 +280837,9 @@ SOAP_FMAC1 eml23__InductanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Indu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__InductanceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -284552,7 +280924,7 @@ SOAP_FMAC1 eml23__InductanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Inducta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__InductanceMeasure *p; size_t k = sizeof(eml23__InductanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__InductanceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__InductanceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -284567,13 +280939,9 @@ SOAP_FMAC1 eml23__InductanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Inducta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__InductanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -284658,7 +281026,7 @@ SOAP_FMAC1 eml23__IlluminanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Ill (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__IlluminanceMeasureExt *p; size_t k = sizeof(eml23__IlluminanceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IlluminanceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IlluminanceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -284673,13 +281041,9 @@ SOAP_FMAC1 eml23__IlluminanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Ill for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__IlluminanceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -284764,7 +281128,7 @@ SOAP_FMAC1 eml23__IlluminanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Illumi (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__IlluminanceMeasure *p; size_t k = sizeof(eml23__IlluminanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IlluminanceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IlluminanceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -284779,13 +281143,9 @@ SOAP_FMAC1 eml23__IlluminanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Illumi for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__IlluminanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -284870,7 +281230,7 @@ SOAP_FMAC1 eml23__HeatTransferCoefficientMeasureExt * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__HeatTransferCoefficientMeasureExt *p; size_t k = sizeof(eml23__HeatTransferCoefficientMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HeatTransferCoefficientMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HeatTransferCoefficientMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -284885,13 +281245,9 @@ SOAP_FMAC1 eml23__HeatTransferCoefficientMeasureExt * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__HeatTransferCoefficientMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -284976,7 +281332,7 @@ SOAP_FMAC1 eml23__HeatTransferCoefficientMeasure * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__HeatTransferCoefficientMeasure *p; size_t k = sizeof(eml23__HeatTransferCoefficientMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HeatTransferCoefficientMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HeatTransferCoefficientMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -284991,13 +281347,9 @@ SOAP_FMAC1 eml23__HeatTransferCoefficientMeasure * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__HeatTransferCoefficientMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -285082,7 +281434,7 @@ SOAP_FMAC1 eml23__HeatFlowRateMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__He (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__HeatFlowRateMeasureExt *p; size_t k = sizeof(eml23__HeatFlowRateMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HeatFlowRateMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HeatFlowRateMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -285097,13 +281449,9 @@ SOAP_FMAC1 eml23__HeatFlowRateMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__He for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__HeatFlowRateMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -285188,7 +281536,7 @@ SOAP_FMAC1 eml23__HeatFlowRateMeasure * SOAP_FMAC2 soap_instantiate_eml23__HeatF (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__HeatFlowRateMeasure *p; size_t k = sizeof(eml23__HeatFlowRateMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HeatFlowRateMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HeatFlowRateMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -285203,13 +281551,9 @@ SOAP_FMAC1 eml23__HeatFlowRateMeasure * SOAP_FMAC2 soap_instantiate_eml23__HeatF for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__HeatFlowRateMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -285294,7 +281638,7 @@ SOAP_FMAC1 eml23__HeatCapacityMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__He (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__HeatCapacityMeasureExt *p; size_t k = sizeof(eml23__HeatCapacityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HeatCapacityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HeatCapacityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -285309,13 +281653,9 @@ SOAP_FMAC1 eml23__HeatCapacityMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__He for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__HeatCapacityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -285400,7 +281740,7 @@ SOAP_FMAC1 eml23__HeatCapacityMeasure * SOAP_FMAC2 soap_instantiate_eml23__HeatC (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__HeatCapacityMeasure *p; size_t k = sizeof(eml23__HeatCapacityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HeatCapacityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HeatCapacityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -285415,13 +281755,9 @@ SOAP_FMAC1 eml23__HeatCapacityMeasure * SOAP_FMAC2 soap_instantiate_eml23__HeatC for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__HeatCapacityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -285506,7 +281842,7 @@ SOAP_FMAC1 eml23__FrequencyMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Frequ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__FrequencyMeasureExt *p; size_t k = sizeof(eml23__FrequencyMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FrequencyMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FrequencyMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -285521,13 +281857,9 @@ SOAP_FMAC1 eml23__FrequencyMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Frequ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__FrequencyMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -285612,7 +281944,7 @@ SOAP_FMAC1 eml23__FrequencyMeasure * SOAP_FMAC2 soap_instantiate_eml23__Frequenc (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__FrequencyMeasure *p; size_t k = sizeof(eml23__FrequencyMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FrequencyMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FrequencyMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -285627,13 +281959,9 @@ SOAP_FMAC1 eml23__FrequencyMeasure * SOAP_FMAC2 soap_instantiate_eml23__Frequenc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__FrequencyMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -285718,7 +282046,7 @@ SOAP_FMAC1 eml23__FrequencyIntervalMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__FrequencyIntervalMeasureExt *p; size_t k = sizeof(eml23__FrequencyIntervalMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FrequencyIntervalMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FrequencyIntervalMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -285733,13 +282061,9 @@ SOAP_FMAC1 eml23__FrequencyIntervalMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__FrequencyIntervalMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -285824,7 +282148,7 @@ SOAP_FMAC1 eml23__FrequencyIntervalMeasure * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__FrequencyIntervalMeasure *p; size_t k = sizeof(eml23__FrequencyIntervalMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FrequencyIntervalMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FrequencyIntervalMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -285839,13 +282163,9 @@ SOAP_FMAC1 eml23__FrequencyIntervalMeasure * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__FrequencyIntervalMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -285930,7 +282250,7 @@ SOAP_FMAC1 eml23__ForcePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ForcePerVolumeMeasureExt *p; size_t k = sizeof(eml23__ForcePerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForcePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForcePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -285945,13 +282265,9 @@ SOAP_FMAC1 eml23__ForcePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ForcePerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -286036,7 +282352,7 @@ SOAP_FMAC1 eml23__ForcePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__For (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ForcePerVolumeMeasure *p; size_t k = sizeof(eml23__ForcePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForcePerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForcePerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -286051,13 +282367,9 @@ SOAP_FMAC1 eml23__ForcePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__For for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ForcePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -286142,7 +282454,7 @@ SOAP_FMAC1 eml23__ForcePerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ForcePerLengthMeasureExt *p; size_t k = sizeof(eml23__ForcePerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForcePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForcePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -286157,13 +282469,9 @@ SOAP_FMAC1 eml23__ForcePerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ForcePerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -286248,7 +282556,7 @@ SOAP_FMAC1 eml23__ForcePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__For (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ForcePerLengthMeasure *p; size_t k = sizeof(eml23__ForcePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForcePerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForcePerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -286263,13 +282571,9 @@ SOAP_FMAC1 eml23__ForcePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__For for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ForcePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -286354,7 +282658,7 @@ SOAP_FMAC1 eml23__ForcePerForceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__F (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ForcePerForceMeasureExt *p; size_t k = sizeof(eml23__ForcePerForceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForcePerForceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForcePerForceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -286369,13 +282673,9 @@ SOAP_FMAC1 eml23__ForcePerForceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__F for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ForcePerForceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -286460,7 +282760,7 @@ SOAP_FMAC1 eml23__ForcePerForceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Forc (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ForcePerForceMeasure *p; size_t k = sizeof(eml23__ForcePerForceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForcePerForceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForcePerForceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -286475,13 +282775,9 @@ SOAP_FMAC1 eml23__ForcePerForceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Forc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ForcePerForceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -286566,7 +282862,7 @@ SOAP_FMAC1 eml23__ForceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ForceMeas (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ForceMeasureExt *p; size_t k = sizeof(eml23__ForceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -286581,13 +282877,9 @@ SOAP_FMAC1 eml23__ForceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ForceMeas for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ForceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -286672,7 +282964,7 @@ SOAP_FMAC1 eml23__ForceMeasure * SOAP_FMAC2 soap_instantiate_eml23__ForceMeasure (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ForceMeasure *p; size_t k = sizeof(eml23__ForceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -286687,13 +282979,9 @@ SOAP_FMAC1 eml23__ForceMeasure * SOAP_FMAC2 soap_instantiate_eml23__ForceMeasure for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ForceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -286778,7 +283066,7 @@ SOAP_FMAC1 eml23__ForceLengthPerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ForceLengthPerLengthMeasureExt *p; size_t k = sizeof(eml23__ForceLengthPerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForceLengthPerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForceLengthPerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -286793,13 +283081,9 @@ SOAP_FMAC1 eml23__ForceLengthPerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ForceLengthPerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -286884,7 +283168,7 @@ SOAP_FMAC1 eml23__ForceLengthPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ForceLengthPerLengthMeasure *p; size_t k = sizeof(eml23__ForceLengthPerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForceLengthPerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForceLengthPerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -286899,13 +283183,9 @@ SOAP_FMAC1 eml23__ForceLengthPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ForceLengthPerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -286990,7 +283270,7 @@ SOAP_FMAC1 eml23__ForceAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Force (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ForceAreaMeasureExt *p; size_t k = sizeof(eml23__ForceAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForceAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForceAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -287005,13 +283285,9 @@ SOAP_FMAC1 eml23__ForceAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Force for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ForceAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -287096,7 +283372,7 @@ SOAP_FMAC1 eml23__ForceAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__ForceAre (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ForceAreaMeasure *p; size_t k = sizeof(eml23__ForceAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForceAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ForceAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -287111,13 +283387,9 @@ SOAP_FMAC1 eml23__ForceAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__ForceAre for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ForceAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -287202,7 +283474,7 @@ SOAP_FMAC1 eml23__EnergyPerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyPerVolumeMeasureExt *p; size_t k = sizeof(eml23__EnergyPerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -287217,13 +283489,9 @@ SOAP_FMAC1 eml23__EnergyPerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyPerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -287308,7 +283576,7 @@ SOAP_FMAC1 eml23__EnergyPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__En (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyPerVolumeMeasure *p; size_t k = sizeof(eml23__EnergyPerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -287323,13 +283591,9 @@ SOAP_FMAC1 eml23__EnergyPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__En for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyPerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -287414,7 +283678,7 @@ SOAP_FMAC1 eml23__EnergyPerMassPerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyPerMassPerTimeMeasureExt *p; size_t k = sizeof(eml23__EnergyPerMassPerTimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerMassPerTimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerMassPerTimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -287429,13 +283693,9 @@ SOAP_FMAC1 eml23__EnergyPerMassPerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyPerMassPerTimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -287520,7 +283780,7 @@ SOAP_FMAC1 eml23__EnergyPerMassPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyPerMassPerTimeMeasure *p; size_t k = sizeof(eml23__EnergyPerMassPerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerMassPerTimeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerMassPerTimeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -287535,13 +283795,9 @@ SOAP_FMAC1 eml23__EnergyPerMassPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyPerMassPerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -287626,7 +283882,7 @@ SOAP_FMAC1 eml23__EnergyPerMassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__E (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyPerMassMeasureExt *p; size_t k = sizeof(eml23__EnergyPerMassMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerMassMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerMassMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -287641,13 +283897,9 @@ SOAP_FMAC1 eml23__EnergyPerMassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__E for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyPerMassMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -287732,7 +283984,7 @@ SOAP_FMAC1 eml23__EnergyPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml23__Ener (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyPerMassMeasure *p; size_t k = sizeof(eml23__EnergyPerMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerMassMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerMassMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -287747,13 +283999,9 @@ SOAP_FMAC1 eml23__EnergyPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml23__Ener for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyPerMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -287838,7 +284086,7 @@ SOAP_FMAC1 eml23__EnergyPerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyPerLengthMeasureExt *p; size_t k = sizeof(eml23__EnergyPerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -287853,13 +284101,9 @@ SOAP_FMAC1 eml23__EnergyPerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyPerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -287944,7 +284188,7 @@ SOAP_FMAC1 eml23__EnergyPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__En (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyPerLengthMeasure *p; size_t k = sizeof(eml23__EnergyPerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -287959,13 +284203,9 @@ SOAP_FMAC1 eml23__EnergyPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__En for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyPerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -288050,7 +284290,7 @@ SOAP_FMAC1 eml23__EnergyPerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__E (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyPerAreaMeasureExt *p; size_t k = sizeof(eml23__EnergyPerAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -288065,13 +284305,9 @@ SOAP_FMAC1 eml23__EnergyPerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__E for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyPerAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -288156,7 +284392,7 @@ SOAP_FMAC1 eml23__EnergyPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__Ener (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyPerAreaMeasure *p; size_t k = sizeof(eml23__EnergyPerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyPerAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -288171,13 +284407,9 @@ SOAP_FMAC1 eml23__EnergyPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__Ener for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyPerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -288262,7 +284494,7 @@ SOAP_FMAC1 eml23__EnergyMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__EnergyMe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyMeasureExt *p; size_t k = sizeof(eml23__EnergyMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -288277,13 +284509,9 @@ SOAP_FMAC1 eml23__EnergyMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__EnergyMe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -288368,7 +284596,7 @@ SOAP_FMAC1 eml23__EnergyMeasure * SOAP_FMAC2 soap_instantiate_eml23__EnergyMeasu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyMeasure *p; size_t k = sizeof(eml23__EnergyMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -288383,13 +284611,9 @@ SOAP_FMAC1 eml23__EnergyMeasure * SOAP_FMAC2 soap_instantiate_eml23__EnergyMeasu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -288474,7 +284698,7 @@ SOAP_FMAC1 eml23__EnergyLengthPerTimeAreaTemperatureMeasureExt * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyLengthPerTimeAreaTemperatureMeasureExt *p; size_t k = sizeof(eml23__EnergyLengthPerTimeAreaTemperatureMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyLengthPerTimeAreaTemperatureMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyLengthPerTimeAreaTemperatureMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -288489,13 +284713,9 @@ SOAP_FMAC1 eml23__EnergyLengthPerTimeAreaTemperatureMeasureExt * SOAP_FMAC2 soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyLengthPerTimeAreaTemperatureMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -288580,7 +284800,7 @@ SOAP_FMAC1 eml23__EnergyLengthPerTimeAreaTemperatureMeasure * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyLengthPerTimeAreaTemperatureMeasure *p; size_t k = sizeof(eml23__EnergyLengthPerTimeAreaTemperatureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyLengthPerTimeAreaTemperatureMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyLengthPerTimeAreaTemperatureMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -288595,13 +284815,9 @@ SOAP_FMAC1 eml23__EnergyLengthPerTimeAreaTemperatureMeasure * SOAP_FMAC2 soap_in for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyLengthPerTimeAreaTemperatureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -288686,7 +284902,7 @@ SOAP_FMAC1 eml23__EnergyLengthPerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyLengthPerAreaMeasureExt *p; size_t k = sizeof(eml23__EnergyLengthPerAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyLengthPerAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyLengthPerAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -288701,13 +284917,9 @@ SOAP_FMAC1 eml23__EnergyLengthPerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyLengthPerAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -288792,7 +285004,7 @@ SOAP_FMAC1 eml23__EnergyLengthPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EnergyLengthPerAreaMeasure *p; size_t k = sizeof(eml23__EnergyLengthPerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyLengthPerAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EnergyLengthPerAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -288807,13 +285019,9 @@ SOAP_FMAC1 eml23__EnergyLengthPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EnergyLengthPerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -288898,7 +285106,7 @@ SOAP_FMAC1 eml23__ElectromagneticMomentMeasureExt * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectromagneticMomentMeasureExt *p; size_t k = sizeof(eml23__ElectromagneticMomentMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectromagneticMomentMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectromagneticMomentMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -288913,13 +285121,9 @@ SOAP_FMAC1 eml23__ElectromagneticMomentMeasureExt * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectromagneticMomentMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -289004,7 +285208,7 @@ SOAP_FMAC1 eml23__ElectromagneticMomentMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectromagneticMomentMeasure *p; size_t k = sizeof(eml23__ElectromagneticMomentMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectromagneticMomentMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectromagneticMomentMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -289019,13 +285223,9 @@ SOAP_FMAC1 eml23__ElectromagneticMomentMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectromagneticMomentMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -289110,7 +285310,7 @@ SOAP_FMAC1 eml23__ElectricResistancePerLengthMeasureExt * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricResistancePerLengthMeasureExt *p; size_t k = sizeof(eml23__ElectricResistancePerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricResistancePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricResistancePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -289125,13 +285325,9 @@ SOAP_FMAC1 eml23__ElectricResistancePerLengthMeasureExt * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricResistancePerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -289216,7 +285412,7 @@ SOAP_FMAC1 eml23__ElectricResistancePerLengthMeasure * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricResistancePerLengthMeasure *p; size_t k = sizeof(eml23__ElectricResistancePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricResistancePerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricResistancePerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -289231,13 +285427,9 @@ SOAP_FMAC1 eml23__ElectricResistancePerLengthMeasure * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricResistancePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -289322,7 +285514,7 @@ SOAP_FMAC1 eml23__ElectricResistanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricResistanceMeasureExt *p; size_t k = sizeof(eml23__ElectricResistanceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricResistanceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricResistanceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -289337,13 +285529,9 @@ SOAP_FMAC1 eml23__ElectricResistanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricResistanceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -289428,7 +285616,7 @@ SOAP_FMAC1 eml23__ElectricResistanceMeasure * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricResistanceMeasure *p; size_t k = sizeof(eml23__ElectricResistanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricResistanceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricResistanceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -289443,13 +285631,9 @@ SOAP_FMAC1 eml23__ElectricResistanceMeasure * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricResistanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -289534,7 +285718,7 @@ SOAP_FMAC1 eml23__ElectricPotentialDifferenceMeasureExt * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricPotentialDifferenceMeasureExt *p; size_t k = sizeof(eml23__ElectricPotentialDifferenceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricPotentialDifferenceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricPotentialDifferenceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -289549,13 +285733,9 @@ SOAP_FMAC1 eml23__ElectricPotentialDifferenceMeasureExt * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricPotentialDifferenceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -289640,7 +285820,7 @@ SOAP_FMAC1 eml23__ElectricPotentialDifferenceMeasure * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricPotentialDifferenceMeasure *p; size_t k = sizeof(eml23__ElectricPotentialDifferenceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricPotentialDifferenceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricPotentialDifferenceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -289655,13 +285835,9 @@ SOAP_FMAC1 eml23__ElectricPotentialDifferenceMeasure * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricPotentialDifferenceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -289746,7 +285922,7 @@ SOAP_FMAC1 eml23__ElectricFieldStrengthMeasureExt * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricFieldStrengthMeasureExt *p; size_t k = sizeof(eml23__ElectricFieldStrengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricFieldStrengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricFieldStrengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -289761,13 +285937,9 @@ SOAP_FMAC1 eml23__ElectricFieldStrengthMeasureExt * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricFieldStrengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -289852,7 +286024,7 @@ SOAP_FMAC1 eml23__ElectricFieldStrengthMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricFieldStrengthMeasure *p; size_t k = sizeof(eml23__ElectricFieldStrengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricFieldStrengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricFieldStrengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -289867,13 +286039,9 @@ SOAP_FMAC1 eml23__ElectricFieldStrengthMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricFieldStrengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -289958,7 +286126,7 @@ SOAP_FMAC1 eml23__ElectricCurrentMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricCurrentMeasureExt *p; size_t k = sizeof(eml23__ElectricCurrentMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricCurrentMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricCurrentMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -289973,13 +286141,9 @@ SOAP_FMAC1 eml23__ElectricCurrentMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricCurrentMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -290064,7 +286228,7 @@ SOAP_FMAC1 eml23__ElectricCurrentMeasure * SOAP_FMAC2 soap_instantiate_eml23__El (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricCurrentMeasure *p; size_t k = sizeof(eml23__ElectricCurrentMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricCurrentMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricCurrentMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -290079,13 +286243,9 @@ SOAP_FMAC1 eml23__ElectricCurrentMeasure * SOAP_FMAC2 soap_instantiate_eml23__El for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricCurrentMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -290170,7 +286330,7 @@ SOAP_FMAC1 eml23__ElectricCurrentDensityMeasureExt * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricCurrentDensityMeasureExt *p; size_t k = sizeof(eml23__ElectricCurrentDensityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricCurrentDensityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricCurrentDensityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -290185,13 +286345,9 @@ SOAP_FMAC1 eml23__ElectricCurrentDensityMeasureExt * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricCurrentDensityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -290276,7 +286432,7 @@ SOAP_FMAC1 eml23__ElectricCurrentDensityMeasure * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricCurrentDensityMeasure *p; size_t k = sizeof(eml23__ElectricCurrentDensityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricCurrentDensityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricCurrentDensityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -290291,13 +286447,9 @@ SOAP_FMAC1 eml23__ElectricCurrentDensityMeasure * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricCurrentDensityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -290382,7 +286534,7 @@ SOAP_FMAC1 eml23__ElectricConductivityMeasureExt * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricConductivityMeasureExt *p; size_t k = sizeof(eml23__ElectricConductivityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricConductivityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricConductivityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -290397,13 +286549,9 @@ SOAP_FMAC1 eml23__ElectricConductivityMeasureExt * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricConductivityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -290488,7 +286636,7 @@ SOAP_FMAC1 eml23__ElectricConductivityMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricConductivityMeasure *p; size_t k = sizeof(eml23__ElectricConductivityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricConductivityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricConductivityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -290503,13 +286651,9 @@ SOAP_FMAC1 eml23__ElectricConductivityMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricConductivityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -290594,7 +286738,7 @@ SOAP_FMAC1 eml23__ElectricConductanceMeasureExt * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricConductanceMeasureExt *p; size_t k = sizeof(eml23__ElectricConductanceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricConductanceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricConductanceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -290609,13 +286753,9 @@ SOAP_FMAC1 eml23__ElectricConductanceMeasureExt * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricConductanceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -290700,7 +286840,7 @@ SOAP_FMAC1 eml23__ElectricConductanceMeasure * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricConductanceMeasure *p; size_t k = sizeof(eml23__ElectricConductanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricConductanceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricConductanceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -290715,13 +286855,9 @@ SOAP_FMAC1 eml23__ElectricConductanceMeasure * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricConductanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -290806,7 +286942,7 @@ SOAP_FMAC1 eml23__ElectricChargePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricChargePerVolumeMeasureExt *p; size_t k = sizeof(eml23__ElectricChargePerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -290821,13 +286957,9 @@ SOAP_FMAC1 eml23__ElectricChargePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricChargePerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -290912,7 +287044,7 @@ SOAP_FMAC1 eml23__ElectricChargePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricChargePerVolumeMeasure *p; size_t k = sizeof(eml23__ElectricChargePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargePerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargePerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -290927,13 +287059,9 @@ SOAP_FMAC1 eml23__ElectricChargePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricChargePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -291018,7 +287146,7 @@ SOAP_FMAC1 eml23__ElectricChargePerMassMeasureExt * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricChargePerMassMeasureExt *p; size_t k = sizeof(eml23__ElectricChargePerMassMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargePerMassMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargePerMassMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -291033,13 +287161,9 @@ SOAP_FMAC1 eml23__ElectricChargePerMassMeasureExt * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricChargePerMassMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -291124,7 +287248,7 @@ SOAP_FMAC1 eml23__ElectricChargePerMassMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricChargePerMassMeasure *p; size_t k = sizeof(eml23__ElectricChargePerMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargePerMassMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargePerMassMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -291139,13 +287263,9 @@ SOAP_FMAC1 eml23__ElectricChargePerMassMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricChargePerMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -291230,7 +287350,7 @@ SOAP_FMAC1 eml23__ElectricChargePerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricChargePerAreaMeasureExt *p; size_t k = sizeof(eml23__ElectricChargePerAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargePerAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargePerAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -291245,13 +287365,9 @@ SOAP_FMAC1 eml23__ElectricChargePerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricChargePerAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -291336,7 +287452,7 @@ SOAP_FMAC1 eml23__ElectricChargePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricChargePerAreaMeasure *p; size_t k = sizeof(eml23__ElectricChargePerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargePerAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargePerAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -291351,13 +287467,9 @@ SOAP_FMAC1 eml23__ElectricChargePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricChargePerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -291442,7 +287554,7 @@ SOAP_FMAC1 eml23__ElectricChargeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricChargeMeasureExt *p; size_t k = sizeof(eml23__ElectricChargeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -291457,13 +287569,9 @@ SOAP_FMAC1 eml23__ElectricChargeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricChargeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -291548,7 +287656,7 @@ SOAP_FMAC1 eml23__ElectricChargeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Ele (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricChargeMeasure *p; size_t k = sizeof(eml23__ElectricChargeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricChargeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -291563,13 +287671,9 @@ SOAP_FMAC1 eml23__ElectricChargeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Ele for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricChargeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -291654,7 +287758,7 @@ SOAP_FMAC1 eml23__ElectricalResistivityMeasureExt * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricalResistivityMeasureExt *p; size_t k = sizeof(eml23__ElectricalResistivityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricalResistivityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricalResistivityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -291669,13 +287773,9 @@ SOAP_FMAC1 eml23__ElectricalResistivityMeasureExt * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricalResistivityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -291760,7 +287860,7 @@ SOAP_FMAC1 eml23__ElectricalResistivityMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElectricalResistivityMeasure *p; size_t k = sizeof(eml23__ElectricalResistivityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricalResistivityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElectricalResistivityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -291775,13 +287875,9 @@ SOAP_FMAC1 eml23__ElectricalResistivityMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElectricalResistivityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -291866,7 +287962,7 @@ SOAP_FMAC1 eml23__DynamicViscosityMeasureExt * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DynamicViscosityMeasureExt *p; size_t k = sizeof(eml23__DynamicViscosityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DynamicViscosityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DynamicViscosityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -291881,13 +287977,9 @@ SOAP_FMAC1 eml23__DynamicViscosityMeasureExt * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DynamicViscosityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -291972,7 +288064,7 @@ SOAP_FMAC1 eml23__DynamicViscosityMeasure * SOAP_FMAC2 soap_instantiate_eml23__D (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DynamicViscosityMeasure *p; size_t k = sizeof(eml23__DynamicViscosityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DynamicViscosityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DynamicViscosityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -291987,13 +288079,9 @@ SOAP_FMAC1 eml23__DynamicViscosityMeasure * SOAP_FMAC2 soap_instantiate_eml23__D for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DynamicViscosityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -292078,7 +288166,7 @@ SOAP_FMAC1 eml23__DoseEquivalentMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DoseEquivalentMeasureExt *p; size_t k = sizeof(eml23__DoseEquivalentMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DoseEquivalentMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DoseEquivalentMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -292093,13 +288181,9 @@ SOAP_FMAC1 eml23__DoseEquivalentMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DoseEquivalentMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -292184,7 +288268,7 @@ SOAP_FMAC1 eml23__DoseEquivalentMeasure * SOAP_FMAC2 soap_instantiate_eml23__Dos (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DoseEquivalentMeasure *p; size_t k = sizeof(eml23__DoseEquivalentMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DoseEquivalentMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DoseEquivalentMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -292199,13 +288283,9 @@ SOAP_FMAC1 eml23__DoseEquivalentMeasure * SOAP_FMAC2 soap_instantiate_eml23__Dos for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DoseEquivalentMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -292290,7 +288370,7 @@ SOAP_FMAC1 eml23__DipoleMomentMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Di (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DipoleMomentMeasureExt *p; size_t k = sizeof(eml23__DipoleMomentMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DipoleMomentMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DipoleMomentMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -292305,13 +288385,9 @@ SOAP_FMAC1 eml23__DipoleMomentMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Di for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DipoleMomentMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -292396,7 +288472,7 @@ SOAP_FMAC1 eml23__DipoleMomentMeasure * SOAP_FMAC2 soap_instantiate_eml23__Dipol (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DipoleMomentMeasure *p; size_t k = sizeof(eml23__DipoleMomentMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DipoleMomentMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DipoleMomentMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -292411,13 +288487,9 @@ SOAP_FMAC1 eml23__DipoleMomentMeasure * SOAP_FMAC2 soap_instantiate_eml23__Dipol for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DipoleMomentMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -292502,7 +288574,7 @@ SOAP_FMAC1 eml23__DimensionlessMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__D (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DimensionlessMeasureExt *p; size_t k = sizeof(eml23__DimensionlessMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DimensionlessMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DimensionlessMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -292517,13 +288589,9 @@ SOAP_FMAC1 eml23__DimensionlessMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__D for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DimensionlessMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -292608,7 +288676,7 @@ SOAP_FMAC1 eml23__DimensionlessMeasure * SOAP_FMAC2 soap_instantiate_eml23__Dime (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DimensionlessMeasure *p; size_t k = sizeof(eml23__DimensionlessMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DimensionlessMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DimensionlessMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -292623,13 +288691,9 @@ SOAP_FMAC1 eml23__DimensionlessMeasure * SOAP_FMAC2 soap_instantiate_eml23__Dime for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DimensionlessMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -292714,7 +288778,7 @@ SOAP_FMAC1 eml23__DigitalStorageMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DigitalStorageMeasureExt *p; size_t k = sizeof(eml23__DigitalStorageMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DigitalStorageMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DigitalStorageMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -292729,13 +288793,9 @@ SOAP_FMAC1 eml23__DigitalStorageMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DigitalStorageMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -292820,7 +288880,7 @@ SOAP_FMAC1 eml23__DigitalStorageMeasure * SOAP_FMAC2 soap_instantiate_eml23__Dig (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DigitalStorageMeasure *p; size_t k = sizeof(eml23__DigitalStorageMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DigitalStorageMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DigitalStorageMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -292835,13 +288895,9 @@ SOAP_FMAC1 eml23__DigitalStorageMeasure * SOAP_FMAC2 soap_instantiate_eml23__Dig for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DigitalStorageMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -292926,7 +288982,7 @@ SOAP_FMAC1 eml23__DiffusiveTimeOfFlightMeasureExt * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DiffusiveTimeOfFlightMeasureExt *p; size_t k = sizeof(eml23__DiffusiveTimeOfFlightMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DiffusiveTimeOfFlightMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DiffusiveTimeOfFlightMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -292941,13 +288997,9 @@ SOAP_FMAC1 eml23__DiffusiveTimeOfFlightMeasureExt * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DiffusiveTimeOfFlightMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -293032,7 +289084,7 @@ SOAP_FMAC1 eml23__DiffusiveTimeOfFlightMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DiffusiveTimeOfFlightMeasure *p; size_t k = sizeof(eml23__DiffusiveTimeOfFlightMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DiffusiveTimeOfFlightMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DiffusiveTimeOfFlightMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -293047,13 +289099,9 @@ SOAP_FMAC1 eml23__DiffusiveTimeOfFlightMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DiffusiveTimeOfFlightMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -293138,7 +289186,7 @@ SOAP_FMAC1 eml23__DiffusionCoefficientMeasureExt * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DiffusionCoefficientMeasureExt *p; size_t k = sizeof(eml23__DiffusionCoefficientMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DiffusionCoefficientMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DiffusionCoefficientMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -293153,13 +289201,9 @@ SOAP_FMAC1 eml23__DiffusionCoefficientMeasureExt * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DiffusionCoefficientMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -293244,7 +289288,7 @@ SOAP_FMAC1 eml23__DiffusionCoefficientMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DiffusionCoefficientMeasure *p; size_t k = sizeof(eml23__DiffusionCoefficientMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DiffusionCoefficientMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DiffusionCoefficientMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -293259,13 +289303,9 @@ SOAP_FMAC1 eml23__DiffusionCoefficientMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DiffusionCoefficientMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -293350,7 +289390,7 @@ SOAP_FMAC1 eml23__DataTransferSpeedMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DataTransferSpeedMeasureExt *p; size_t k = sizeof(eml23__DataTransferSpeedMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DataTransferSpeedMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DataTransferSpeedMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -293365,13 +289405,9 @@ SOAP_FMAC1 eml23__DataTransferSpeedMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DataTransferSpeedMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -293456,7 +289492,7 @@ SOAP_FMAC1 eml23__DataTransferSpeedMeasure * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DataTransferSpeedMeasure *p; size_t k = sizeof(eml23__DataTransferSpeedMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DataTransferSpeedMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DataTransferSpeedMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -293471,13 +289507,9 @@ SOAP_FMAC1 eml23__DataTransferSpeedMeasure * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DataTransferSpeedMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -293562,7 +289594,7 @@ SOAP_FMAC1 eml23__CationExchangeCapacityMeasureExt * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__CationExchangeCapacityMeasureExt *p; size_t k = sizeof(eml23__CationExchangeCapacityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__CationExchangeCapacityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__CationExchangeCapacityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -293577,13 +289609,9 @@ SOAP_FMAC1 eml23__CationExchangeCapacityMeasureExt * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__CationExchangeCapacityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -293668,7 +289696,7 @@ SOAP_FMAC1 eml23__CationExchangeCapacityMeasure * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__CationExchangeCapacityMeasure *p; size_t k = sizeof(eml23__CationExchangeCapacityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__CationExchangeCapacityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__CationExchangeCapacityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -293683,13 +289711,9 @@ SOAP_FMAC1 eml23__CationExchangeCapacityMeasure * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__CationExchangeCapacityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -293774,7 +289798,7 @@ SOAP_FMAC1 eml23__CapacitanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Cap (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__CapacitanceMeasureExt *p; size_t k = sizeof(eml23__CapacitanceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__CapacitanceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__CapacitanceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -293789,13 +289813,9 @@ SOAP_FMAC1 eml23__CapacitanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Cap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__CapacitanceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -293880,7 +289900,7 @@ SOAP_FMAC1 eml23__CapacitanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Capaci (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__CapacitanceMeasure *p; size_t k = sizeof(eml23__CapacitanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__CapacitanceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__CapacitanceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -293895,13 +289915,9 @@ SOAP_FMAC1 eml23__CapacitanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__Capaci for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__CapacitanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -293986,7 +290002,7 @@ SOAP_FMAC1 eml23__AttenuationPerFrequencyIntervalMeasureExt * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AttenuationPerFrequencyIntervalMeasureExt *p; size_t k = sizeof(eml23__AttenuationPerFrequencyIntervalMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AttenuationPerFrequencyIntervalMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AttenuationPerFrequencyIntervalMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -294001,13 +290017,9 @@ SOAP_FMAC1 eml23__AttenuationPerFrequencyIntervalMeasureExt * SOAP_FMAC2 soap_in for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AttenuationPerFrequencyIntervalMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -294092,7 +290104,7 @@ SOAP_FMAC1 eml23__AttenuationPerFrequencyIntervalMeasure * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AttenuationPerFrequencyIntervalMeasure *p; size_t k = sizeof(eml23__AttenuationPerFrequencyIntervalMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AttenuationPerFrequencyIntervalMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AttenuationPerFrequencyIntervalMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -294107,13 +290119,9 @@ SOAP_FMAC1 eml23__AttenuationPerFrequencyIntervalMeasure * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AttenuationPerFrequencyIntervalMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -294198,7 +290206,7 @@ SOAP_FMAC1 eml23__AreaPerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__A (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AreaPerVolumeMeasureExt *p; size_t k = sizeof(eml23__AreaPerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -294213,13 +290221,9 @@ SOAP_FMAC1 eml23__AreaPerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__A for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AreaPerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -294304,7 +290308,7 @@ SOAP_FMAC1 eml23__AreaPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Area (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AreaPerVolumeMeasure *p; size_t k = sizeof(eml23__AreaPerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -294319,13 +290323,9 @@ SOAP_FMAC1 eml23__AreaPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Area for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AreaPerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -294410,7 +290410,7 @@ SOAP_FMAC1 eml23__AreaPerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Are (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AreaPerTimeMeasureExt *p; size_t k = sizeof(eml23__AreaPerTimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerTimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerTimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -294425,13 +290425,9 @@ SOAP_FMAC1 eml23__AreaPerTimeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Are for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AreaPerTimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -294516,7 +290512,7 @@ SOAP_FMAC1 eml23__AreaPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__AreaPe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AreaPerTimeMeasure *p; size_t k = sizeof(eml23__AreaPerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerTimeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerTimeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -294531,13 +290527,9 @@ SOAP_FMAC1 eml23__AreaPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml23__AreaPe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AreaPerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -294622,7 +290614,7 @@ SOAP_FMAC1 eml23__AreaPerMassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Are (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AreaPerMassMeasureExt *p; size_t k = sizeof(eml23__AreaPerMassMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerMassMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerMassMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -294637,13 +290629,9 @@ SOAP_FMAC1 eml23__AreaPerMassMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Are for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AreaPerMassMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -294728,7 +290716,7 @@ SOAP_FMAC1 eml23__AreaPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml23__AreaPe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AreaPerMassMeasure *p; size_t k = sizeof(eml23__AreaPerMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerMassMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerMassMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -294743,13 +290731,9 @@ SOAP_FMAC1 eml23__AreaPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml23__AreaPe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AreaPerMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -294834,7 +290818,7 @@ SOAP_FMAC1 eml23__AreaPerCountMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Ar (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AreaPerCountMeasureExt *p; size_t k = sizeof(eml23__AreaPerCountMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerCountMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerCountMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -294849,13 +290833,9 @@ SOAP_FMAC1 eml23__AreaPerCountMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Ar for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AreaPerCountMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -294940,7 +290920,7 @@ SOAP_FMAC1 eml23__AreaPerCountMeasure * SOAP_FMAC2 soap_instantiate_eml23__AreaP (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AreaPerCountMeasure *p; size_t k = sizeof(eml23__AreaPerCountMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerCountMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerCountMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -294955,13 +290935,9 @@ SOAP_FMAC1 eml23__AreaPerCountMeasure * SOAP_FMAC2 soap_instantiate_eml23__AreaP for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AreaPerCountMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -295046,7 +291022,7 @@ SOAP_FMAC1 eml23__AreaPerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Are (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AreaPerAreaMeasureExt *p; size_t k = sizeof(eml23__AreaPerAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -295061,13 +291037,9 @@ SOAP_FMAC1 eml23__AreaPerAreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Are for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AreaPerAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -295152,7 +291124,7 @@ SOAP_FMAC1 eml23__AreaPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__AreaPe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AreaPerAreaMeasure *p; size_t k = sizeof(eml23__AreaPerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -295167,13 +291139,9 @@ SOAP_FMAC1 eml23__AreaPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__AreaPe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AreaPerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -295258,7 +291226,7 @@ SOAP_FMAC1 eml23__AreaPerAmountOfSubstanceMeasureExt * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AreaPerAmountOfSubstanceMeasureExt *p; size_t k = sizeof(eml23__AreaPerAmountOfSubstanceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerAmountOfSubstanceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerAmountOfSubstanceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -295273,13 +291241,9 @@ SOAP_FMAC1 eml23__AreaPerAmountOfSubstanceMeasureExt * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AreaPerAmountOfSubstanceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -295364,7 +291328,7 @@ SOAP_FMAC1 eml23__AreaPerAmountOfSubstanceMeasure * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AreaPerAmountOfSubstanceMeasure *p; size_t k = sizeof(eml23__AreaPerAmountOfSubstanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerAmountOfSubstanceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaPerAmountOfSubstanceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -295379,13 +291343,9 @@ SOAP_FMAC1 eml23__AreaPerAmountOfSubstanceMeasure * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AreaPerAmountOfSubstanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -295470,7 +291430,7 @@ SOAP_FMAC1 eml23__AreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__AreaMeasur (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AreaMeasureExt *p; size_t k = sizeof(eml23__AreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -295485,13 +291445,9 @@ SOAP_FMAC1 eml23__AreaMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__AreaMeasur for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -295576,7 +291532,7 @@ SOAP_FMAC1 eml23__AreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__AreaMeasure(s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AreaMeasure *p; size_t k = sizeof(eml23__AreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -295591,13 +291547,9 @@ SOAP_FMAC1 eml23__AreaMeasure * SOAP_FMAC2 soap_instantiate_eml23__AreaMeasure(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -295682,7 +291634,7 @@ SOAP_FMAC1 eml23__APINeutronMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__APIN (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__APINeutronMeasureExt *p; size_t k = sizeof(eml23__APINeutronMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__APINeutronMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__APINeutronMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -295697,13 +291649,9 @@ SOAP_FMAC1 eml23__APINeutronMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__APIN for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__APINeutronMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -295788,7 +291736,7 @@ SOAP_FMAC1 eml23__APINeutronMeasure * SOAP_FMAC2 soap_instantiate_eml23__APINeut (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__APINeutronMeasure *p; size_t k = sizeof(eml23__APINeutronMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__APINeutronMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__APINeutronMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -295803,13 +291751,9 @@ SOAP_FMAC1 eml23__APINeutronMeasure * SOAP_FMAC2 soap_instantiate_eml23__APINeut for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__APINeutronMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -295894,7 +291838,7 @@ SOAP_FMAC1 eml23__APIGravityMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__APIG (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__APIGravityMeasureExt *p; size_t k = sizeof(eml23__APIGravityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__APIGravityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__APIGravityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -295909,13 +291853,9 @@ SOAP_FMAC1 eml23__APIGravityMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__APIG for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__APIGravityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -296000,7 +291940,7 @@ SOAP_FMAC1 eml23__APIGravityMeasure * SOAP_FMAC2 soap_instantiate_eml23__APIGrav (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__APIGravityMeasure *p; size_t k = sizeof(eml23__APIGravityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__APIGravityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__APIGravityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -296015,13 +291955,9 @@ SOAP_FMAC1 eml23__APIGravityMeasure * SOAP_FMAC2 soap_instantiate_eml23__APIGrav for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__APIGravityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -296106,7 +292042,7 @@ SOAP_FMAC1 eml23__APIGammaRayMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__API (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__APIGammaRayMeasureExt *p; size_t k = sizeof(eml23__APIGammaRayMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__APIGammaRayMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__APIGammaRayMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -296121,13 +292057,9 @@ SOAP_FMAC1 eml23__APIGammaRayMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__API for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__APIGammaRayMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -296212,7 +292144,7 @@ SOAP_FMAC1 eml23__APIGammaRayMeasure * SOAP_FMAC2 soap_instantiate_eml23__APIGam (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__APIGammaRayMeasure *p; size_t k = sizeof(eml23__APIGammaRayMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__APIGammaRayMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__APIGammaRayMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -296227,13 +292159,9 @@ SOAP_FMAC1 eml23__APIGammaRayMeasure * SOAP_FMAC2 soap_instantiate_eml23__APIGam for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__APIGammaRayMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -296318,7 +292246,7 @@ SOAP_FMAC1 eml23__AngularVelocityMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AngularVelocityMeasureExt *p; size_t k = sizeof(eml23__AngularVelocityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AngularVelocityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AngularVelocityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -296333,13 +292261,9 @@ SOAP_FMAC1 eml23__AngularVelocityMeasureExt * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AngularVelocityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -296424,7 +292348,7 @@ SOAP_FMAC1 eml23__AngularVelocityMeasure * SOAP_FMAC2 soap_instantiate_eml23__An (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AngularVelocityMeasure *p; size_t k = sizeof(eml23__AngularVelocityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AngularVelocityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AngularVelocityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -296439,13 +292363,9 @@ SOAP_FMAC1 eml23__AngularVelocityMeasure * SOAP_FMAC2 soap_instantiate_eml23__An for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AngularVelocityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -296530,7 +292450,7 @@ SOAP_FMAC1 eml23__AngularAccelerationMeasureExt * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AngularAccelerationMeasureExt *p; size_t k = sizeof(eml23__AngularAccelerationMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AngularAccelerationMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AngularAccelerationMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -296545,13 +292465,9 @@ SOAP_FMAC1 eml23__AngularAccelerationMeasureExt * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AngularAccelerationMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -296636,7 +292552,7 @@ SOAP_FMAC1 eml23__AngularAccelerationMeasure * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AngularAccelerationMeasure *p; size_t k = sizeof(eml23__AngularAccelerationMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AngularAccelerationMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AngularAccelerationMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -296651,13 +292567,9 @@ SOAP_FMAC1 eml23__AngularAccelerationMeasure * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AngularAccelerationMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -296742,7 +292654,7 @@ SOAP_FMAC1 eml23__AnglePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AnglePerVolumeMeasureExt *p; size_t k = sizeof(eml23__AnglePerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AnglePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AnglePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -296757,13 +292669,9 @@ SOAP_FMAC1 eml23__AnglePerVolumeMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AnglePerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -296848,7 +292756,7 @@ SOAP_FMAC1 eml23__AnglePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Ang (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AnglePerVolumeMeasure *p; size_t k = sizeof(eml23__AnglePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AnglePerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AnglePerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -296863,13 +292771,9 @@ SOAP_FMAC1 eml23__AnglePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml23__Ang for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AnglePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -296954,7 +292858,7 @@ SOAP_FMAC1 eml23__AnglePerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AnglePerLengthMeasureExt *p; size_t k = sizeof(eml23__AnglePerLengthMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AnglePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AnglePerLengthMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -296969,13 +292873,9 @@ SOAP_FMAC1 eml23__AnglePerLengthMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AnglePerLengthMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -297060,7 +292960,7 @@ SOAP_FMAC1 eml23__AnglePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__Ang (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AnglePerLengthMeasure *p; size_t k = sizeof(eml23__AnglePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AnglePerLengthMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AnglePerLengthMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -297075,13 +292975,9 @@ SOAP_FMAC1 eml23__AnglePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml23__Ang for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AnglePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -297166,7 +293062,7 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerVolumeMeasureExt * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AmountOfSubstancePerVolumeMeasureExt *p; size_t k = sizeof(eml23__AmountOfSubstancePerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -297181,13 +293077,9 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerVolumeMeasureExt * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AmountOfSubstancePerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -297272,7 +293164,7 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerVolumeMeasure * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AmountOfSubstancePerVolumeMeasure *p; size_t k = sizeof(eml23__AmountOfSubstancePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -297287,13 +293179,9 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerVolumeMeasure * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AmountOfSubstancePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -297378,7 +293266,7 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerTimePerAreaMeasureExt * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AmountOfSubstancePerTimePerAreaMeasureExt *p; size_t k = sizeof(eml23__AmountOfSubstancePerTimePerAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerTimePerAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerTimePerAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -297393,13 +293281,9 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerTimePerAreaMeasureExt * SOAP_FMAC2 soap_in for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AmountOfSubstancePerTimePerAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -297484,7 +293368,7 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerTimePerAreaMeasure * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AmountOfSubstancePerTimePerAreaMeasure *p; size_t k = sizeof(eml23__AmountOfSubstancePerTimePerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerTimePerAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerTimePerAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -297499,13 +293383,9 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerTimePerAreaMeasure * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AmountOfSubstancePerTimePerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -297590,7 +293470,7 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerTimeMeasureExt * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AmountOfSubstancePerTimeMeasureExt *p; size_t k = sizeof(eml23__AmountOfSubstancePerTimeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerTimeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerTimeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -297605,13 +293485,9 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerTimeMeasureExt * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AmountOfSubstancePerTimeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -297696,7 +293572,7 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerTimeMeasure * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AmountOfSubstancePerTimeMeasure *p; size_t k = sizeof(eml23__AmountOfSubstancePerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerTimeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerTimeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -297711,13 +293587,9 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerTimeMeasure * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AmountOfSubstancePerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -297802,7 +293674,7 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerAreaMeasureExt * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AmountOfSubstancePerAreaMeasureExt *p; size_t k = sizeof(eml23__AmountOfSubstancePerAreaMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerAreaMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerAreaMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -297817,13 +293689,9 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerAreaMeasureExt * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AmountOfSubstancePerAreaMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -297908,7 +293776,7 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerAreaMeasure * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AmountOfSubstancePerAreaMeasure *p; size_t k = sizeof(eml23__AmountOfSubstancePerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerAreaMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerAreaMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -297923,13 +293791,9 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerAreaMeasure * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AmountOfSubstancePerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -298014,7 +293878,7 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerAmountOfSubstanceMeasureExt * SOAP_FMAC2 s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AmountOfSubstancePerAmountOfSubstanceMeasureExt *p; size_t k = sizeof(eml23__AmountOfSubstancePerAmountOfSubstanceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerAmountOfSubstanceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerAmountOfSubstanceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -298029,13 +293893,9 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerAmountOfSubstanceMeasureExt * SOAP_FMAC2 s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AmountOfSubstancePerAmountOfSubstanceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -298120,7 +293980,7 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerAmountOfSubstanceMeasure * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AmountOfSubstancePerAmountOfSubstanceMeasure *p; size_t k = sizeof(eml23__AmountOfSubstancePerAmountOfSubstanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerAmountOfSubstanceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstancePerAmountOfSubstanceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -298135,13 +293995,9 @@ SOAP_FMAC1 eml23__AmountOfSubstancePerAmountOfSubstanceMeasure * SOAP_FMAC2 soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AmountOfSubstancePerAmountOfSubstanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -298226,7 +294082,7 @@ SOAP_FMAC1 eml23__AmountOfSubstanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AmountOfSubstanceMeasureExt *p; size_t k = sizeof(eml23__AmountOfSubstanceMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstanceMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstanceMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -298241,13 +294097,9 @@ SOAP_FMAC1 eml23__AmountOfSubstanceMeasureExt * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AmountOfSubstanceMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -298332,7 +294184,7 @@ SOAP_FMAC1 eml23__AmountOfSubstanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AmountOfSubstanceMeasure *p; size_t k = sizeof(eml23__AmountOfSubstanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstanceMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AmountOfSubstanceMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -298347,13 +294199,9 @@ SOAP_FMAC1 eml23__AmountOfSubstanceMeasure * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AmountOfSubstanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -298450,7 +294298,7 @@ SOAP_FMAC1 eml23__ActivityOfRadioactivityPerVolumeMeasureExt * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ActivityOfRadioactivityPerVolumeMeasureExt *p; size_t k = sizeof(eml23__ActivityOfRadioactivityPerVolumeMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ActivityOfRadioactivityPerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ActivityOfRadioactivityPerVolumeMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -298465,13 +294313,9 @@ SOAP_FMAC1 eml23__ActivityOfRadioactivityPerVolumeMeasureExt * SOAP_FMAC2 soap_i for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ActivityOfRadioactivityPerVolumeMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -298568,7 +294412,7 @@ SOAP_FMAC1 eml23__ActivityOfRadioactivityPerVolumeMeasure * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ActivityOfRadioactivityPerVolumeMeasure *p; size_t k = sizeof(eml23__ActivityOfRadioactivityPerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ActivityOfRadioactivityPerVolumeMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ActivityOfRadioactivityPerVolumeMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -298583,13 +294427,9 @@ SOAP_FMAC1 eml23__ActivityOfRadioactivityPerVolumeMeasure * SOAP_FMAC2 soap_inst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ActivityOfRadioactivityPerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -298674,7 +294514,7 @@ SOAP_FMAC1 eml23__ActivityOfRadioactivityMeasureExt * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ActivityOfRadioactivityMeasureExt *p; size_t k = sizeof(eml23__ActivityOfRadioactivityMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ActivityOfRadioactivityMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ActivityOfRadioactivityMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -298689,13 +294529,9 @@ SOAP_FMAC1 eml23__ActivityOfRadioactivityMeasureExt * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ActivityOfRadioactivityMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -298780,7 +294616,7 @@ SOAP_FMAC1 eml23__ActivityOfRadioactivityMeasure * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ActivityOfRadioactivityMeasure *p; size_t k = sizeof(eml23__ActivityOfRadioactivityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ActivityOfRadioactivityMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ActivityOfRadioactivityMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -298795,13 +294631,9 @@ SOAP_FMAC1 eml23__ActivityOfRadioactivityMeasure * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ActivityOfRadioactivityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -298886,7 +294718,7 @@ SOAP_FMAC1 eml23__AbsorbedDoseMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Ab (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AbsorbedDoseMeasureExt *p; size_t k = sizeof(eml23__AbsorbedDoseMeasureExt); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbsorbedDoseMeasureExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbsorbedDoseMeasureExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -298901,13 +294733,9 @@ SOAP_FMAC1 eml23__AbsorbedDoseMeasureExt * SOAP_FMAC2 soap_instantiate_eml23__Ab for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbsorbedDoseMeasureExt location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -298992,7 +294820,7 @@ SOAP_FMAC1 eml23__AbsorbedDoseMeasure * SOAP_FMAC2 soap_instantiate_eml23__Absor (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AbsorbedDoseMeasure *p; size_t k = sizeof(eml23__AbsorbedDoseMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbsorbedDoseMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbsorbedDoseMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -299007,13 +294835,9 @@ SOAP_FMAC1 eml23__AbsorbedDoseMeasure * SOAP_FMAC2 soap_instantiate_eml23__Absor for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbsorbedDoseMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -299134,7 +294958,7 @@ SOAP_FMAC1 eml23__VerticalWktCrs * SOAP_FMAC2 soap_instantiate_eml23__VerticalWk (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VerticalWktCrs *p; size_t k = sizeof(eml23__VerticalWktCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalWktCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalWktCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -299149,13 +294973,9 @@ SOAP_FMAC1 eml23__VerticalWktCrs * SOAP_FMAC2 soap_instantiate_eml23__VerticalWk for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VerticalWktCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -299276,7 +295096,7 @@ SOAP_FMAC1 eml23__VerticalUnknownCrs * SOAP_FMAC2 soap_instantiate_eml23__Vertic (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VerticalUnknownCrs *p; size_t k = sizeof(eml23__VerticalUnknownCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalUnknownCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalUnknownCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -299291,13 +295111,9 @@ SOAP_FMAC1 eml23__VerticalUnknownCrs * SOAP_FMAC2 soap_instantiate_eml23__Vertic for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VerticalUnknownCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -299421,7 +295237,7 @@ SOAP_FMAC1 eml23__VerticalLocalAuthorityCrs * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VerticalLocalAuthorityCrs *p; size_t k = sizeof(eml23__VerticalLocalAuthorityCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalLocalAuthorityCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalLocalAuthorityCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -299436,13 +295252,9 @@ SOAP_FMAC1 eml23__VerticalLocalAuthorityCrs * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VerticalLocalAuthorityCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -299562,7 +295374,7 @@ SOAP_FMAC1 eml23__VerticalEpsgCrs * SOAP_FMAC2 soap_instantiate_eml23__VerticalE (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VerticalEpsgCrs *p; size_t k = sizeof(eml23__VerticalEpsgCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalEpsgCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalEpsgCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -299577,13 +295389,9 @@ SOAP_FMAC1 eml23__VerticalEpsgCrs * SOAP_FMAC2 soap_instantiate_eml23__VerticalE for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VerticalEpsgCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -299809,7 +295617,7 @@ SOAP_FMAC1 eml23__VerticalCrs * SOAP_FMAC2 soap_instantiate_eml23__VerticalCrs(s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VerticalCrs *p; size_t k = sizeof(eml23__VerticalCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -299824,13 +295632,9 @@ SOAP_FMAC1 eml23__VerticalCrs * SOAP_FMAC2 soap_instantiate_eml23__VerticalCrs(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VerticalCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -299969,7 +295773,7 @@ SOAP_FMAC1 eml23__VerticalAxis * SOAP_FMAC2 soap_instantiate_eml23__VerticalAxis (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VerticalAxis *p; size_t k = sizeof(eml23__VerticalAxis); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalAxis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalAxis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -299984,13 +295788,9 @@ SOAP_FMAC1 eml23__VerticalAxis * SOAP_FMAC2 soap_instantiate_eml23__VerticalAxis for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VerticalAxis location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -300130,7 +295930,7 @@ SOAP_FMAC1 eml23__Vector * SOAP_FMAC2 soap_instantiate_eml23__Vector(struct soap (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Vector *p; size_t k = sizeof(eml23__Vector); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Vector, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Vector, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -300145,13 +295945,9 @@ SOAP_FMAC1 eml23__Vector * SOAP_FMAC2 soap_instantiate_eml23__Vector(struct soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -300356,7 +296152,7 @@ SOAP_FMAC1 eml23__PublicLandSurveySystemLocation * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PublicLandSurveySystemLocation *p; size_t k = sizeof(eml23__PublicLandSurveySystemLocation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PublicLandSurveySystemLocation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PublicLandSurveySystemLocation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -300371,13 +296167,9 @@ SOAP_FMAC1 eml23__PublicLandSurveySystemLocation * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PublicLandSurveySystemLocation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -300498,7 +296290,7 @@ SOAP_FMAC1 eml23__ProjectedWktCrs * SOAP_FMAC2 soap_instantiate_eml23__Projected (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ProjectedWktCrs *p; size_t k = sizeof(eml23__ProjectedWktCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedWktCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedWktCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -300513,13 +296305,9 @@ SOAP_FMAC1 eml23__ProjectedWktCrs * SOAP_FMAC2 soap_instantiate_eml23__Projected for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ProjectedWktCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -300640,7 +296428,7 @@ SOAP_FMAC1 eml23__ProjectedUnknownCrs * SOAP_FMAC2 soap_instantiate_eml23__Proje (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ProjectedUnknownCrs *p; size_t k = sizeof(eml23__ProjectedUnknownCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedUnknownCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedUnknownCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -300655,13 +296443,9 @@ SOAP_FMAC1 eml23__ProjectedUnknownCrs * SOAP_FMAC2 soap_instantiate_eml23__Proje for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ProjectedUnknownCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -300785,7 +296569,7 @@ SOAP_FMAC1 eml23__ProjectedLocalAuthorityCrs * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ProjectedLocalAuthorityCrs *p; size_t k = sizeof(eml23__ProjectedLocalAuthorityCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedLocalAuthorityCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedLocalAuthorityCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -300800,13 +296584,9 @@ SOAP_FMAC1 eml23__ProjectedLocalAuthorityCrs * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ProjectedLocalAuthorityCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -300926,7 +296706,7 @@ SOAP_FMAC1 eml23__ProjectedEpsgCrs * SOAP_FMAC2 soap_instantiate_eml23__Projecte (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ProjectedEpsgCrs *p; size_t k = sizeof(eml23__ProjectedEpsgCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedEpsgCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedEpsgCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -300941,13 +296721,9 @@ SOAP_FMAC1 eml23__ProjectedEpsgCrs * SOAP_FMAC2 soap_instantiate_eml23__Projecte for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ProjectedEpsgCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -301185,7 +296961,7 @@ SOAP_FMAC1 eml23__ProjectedCrs * SOAP_FMAC2 soap_instantiate_eml23__ProjectedCrs (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ProjectedCrs *p; size_t k = sizeof(eml23__ProjectedCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -301200,13 +296976,9 @@ SOAP_FMAC1 eml23__ProjectedCrs * SOAP_FMAC2 soap_instantiate_eml23__ProjectedCrs for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ProjectedCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -301431,7 +297203,7 @@ SOAP_FMAC1 eml23__ProjectedCompoundCrs * SOAP_FMAC2 soap_instantiate_eml23__Proj (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ProjectedCompoundCrs *p; size_t k = sizeof(eml23__ProjectedCompoundCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedCompoundCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedCompoundCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -301446,13 +297218,9 @@ SOAP_FMAC1 eml23__ProjectedCompoundCrs * SOAP_FMAC2 soap_instantiate_eml23__Proj for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ProjectedCompoundCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -301714,7 +297482,7 @@ SOAP_FMAC1 eml23__LocalEngineeringCompoundCrs * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LocalEngineeringCompoundCrs *p; size_t k = sizeof(eml23__LocalEngineeringCompoundCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LocalEngineeringCompoundCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LocalEngineeringCompoundCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -301729,13 +297497,9 @@ SOAP_FMAC1 eml23__LocalEngineeringCompoundCrs * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LocalEngineeringCompoundCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -302010,7 +297774,7 @@ SOAP_FMAC1 eml23__LocalEngineering2dCrs * SOAP_FMAC2 soap_instantiate_eml23__Loc (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LocalEngineering2dCrs *p; size_t k = sizeof(eml23__LocalEngineering2dCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LocalEngineering2dCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LocalEngineering2dCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -302025,13 +297789,9 @@ SOAP_FMAC1 eml23__LocalEngineering2dCrs * SOAP_FMAC2 soap_instantiate_eml23__Loc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LocalEngineering2dCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -302180,7 +297940,7 @@ SOAP_FMAC1 eml23__HorizontalAxes * SOAP_FMAC2 soap_instantiate_eml23__Horizontal (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__HorizontalAxes *p; size_t k = sizeof(eml23__HorizontalAxes); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HorizontalAxes, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HorizontalAxes, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -302195,13 +297955,9 @@ SOAP_FMAC1 eml23__HorizontalAxes * SOAP_FMAC2 soap_instantiate_eml23__Horizontal for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__HorizontalAxes location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -302426,7 +298182,7 @@ SOAP_FMAC1 eml23__GeographicCompoundCrs * SOAP_FMAC2 soap_instantiate_eml23__Geo (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__GeographicCompoundCrs *p; size_t k = sizeof(eml23__GeographicCompoundCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeographicCompoundCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeographicCompoundCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -302441,13 +298197,9 @@ SOAP_FMAC1 eml23__GeographicCompoundCrs * SOAP_FMAC2 soap_instantiate_eml23__Geo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__GeographicCompoundCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -302644,7 +298396,7 @@ SOAP_FMAC1 eml23__Geographic3dCrs * SOAP_FMAC2 soap_instantiate_eml23__Geographi (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Geographic3dCrs *p; size_t k = sizeof(eml23__Geographic3dCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Geographic3dCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Geographic3dCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -302659,13 +298411,9 @@ SOAP_FMAC1 eml23__Geographic3dCrs * SOAP_FMAC2 soap_instantiate_eml23__Geographi for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Geographic3dCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -302877,7 +298625,7 @@ SOAP_FMAC1 eml23__Geographic2dCrs * SOAP_FMAC2 soap_instantiate_eml23__Geographi (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Geographic2dCrs *p; size_t k = sizeof(eml23__Geographic2dCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Geographic2dCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Geographic2dCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -302892,13 +298640,9 @@ SOAP_FMAC1 eml23__Geographic2dCrs * SOAP_FMAC2 soap_instantiate_eml23__Geographi for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Geographic2dCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -303019,7 +298763,7 @@ SOAP_FMAC1 eml23__GeodeticWktCrs * SOAP_FMAC2 soap_instantiate_eml23__GeodeticWk (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__GeodeticWktCrs *p; size_t k = sizeof(eml23__GeodeticWktCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeodeticWktCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeodeticWktCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -303034,13 +298778,9 @@ SOAP_FMAC1 eml23__GeodeticWktCrs * SOAP_FMAC2 soap_instantiate_eml23__GeodeticWk for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__GeodeticWktCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -303161,7 +298901,7 @@ SOAP_FMAC1 eml23__GeodeticUnknownCrs * SOAP_FMAC2 soap_instantiate_eml23__Geodet (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__GeodeticUnknownCrs *p; size_t k = sizeof(eml23__GeodeticUnknownCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeodeticUnknownCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeodeticUnknownCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -303176,13 +298916,9 @@ SOAP_FMAC1 eml23__GeodeticUnknownCrs * SOAP_FMAC2 soap_instantiate_eml23__Geodet for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__GeodeticUnknownCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -303306,7 +299042,7 @@ SOAP_FMAC1 eml23__GeodeticLocalAuthorityCrs * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__GeodeticLocalAuthorityCrs *p; size_t k = sizeof(eml23__GeodeticLocalAuthorityCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeodeticLocalAuthorityCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeodeticLocalAuthorityCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -303321,13 +299057,9 @@ SOAP_FMAC1 eml23__GeodeticLocalAuthorityCrs * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__GeodeticLocalAuthorityCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -303447,7 +299179,7 @@ SOAP_FMAC1 eml23__GeodeticEpsgCrs * SOAP_FMAC2 soap_instantiate_eml23__GeodeticE (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__GeodeticEpsgCrs *p; size_t k = sizeof(eml23__GeodeticEpsgCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeodeticEpsgCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeodeticEpsgCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -303462,13 +299194,9 @@ SOAP_FMAC1 eml23__GeodeticEpsgCrs * SOAP_FMAC2 soap_instantiate_eml23__GeodeticE for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__GeodeticEpsgCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -303665,7 +299393,7 @@ SOAP_FMAC1 eml23__Geocentric3dCrs * SOAP_FMAC2 soap_instantiate_eml23__Geocentri (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Geocentric3dCrs *p; size_t k = sizeof(eml23__Geocentric3dCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Geocentric3dCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Geocentric3dCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -303680,13 +299408,9 @@ SOAP_FMAC1 eml23__Geocentric3dCrs * SOAP_FMAC2 soap_instantiate_eml23__Geocentri for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Geocentric3dCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -303887,7 +299611,7 @@ SOAP_FMAC1 eml23__Cartesian2dCrs * SOAP_FMAC2 soap_instantiate_eml23__Cartesian2 return soap_instantiate_eml23__ProjectedCrs(soap, n, NULL, NULL, size); eml23__Cartesian2dCrs *p; size_t k = sizeof(eml23__Cartesian2dCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Cartesian2dCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Cartesian2dCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -303902,13 +299626,9 @@ SOAP_FMAC1 eml23__Cartesian2dCrs * SOAP_FMAC2 soap_instantiate_eml23__Cartesian2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Cartesian2dCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -304015,7 +299735,7 @@ SOAP_FMAC1 eml23__AbstractVerticalCrs * SOAP_FMAC2 soap_instantiate_eml23__Abstr return soap_instantiate_eml23__VerticalWktCrs(soap, n, NULL, NULL, size); eml23__AbstractVerticalCrs *p; size_t k = sizeof(eml23__AbstractVerticalCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractVerticalCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractVerticalCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -304030,13 +299750,9 @@ SOAP_FMAC1 eml23__AbstractVerticalCrs * SOAP_FMAC2 soap_instantiate_eml23__Abstr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractVerticalCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -304143,7 +299859,7 @@ SOAP_FMAC1 eml23__AbstractProjectedCrs * SOAP_FMAC2 soap_instantiate_eml23__Abst return soap_instantiate_eml23__ProjectedWktCrs(soap, n, NULL, NULL, size); eml23__AbstractProjectedCrs *p; size_t k = sizeof(eml23__AbstractProjectedCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractProjectedCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractProjectedCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -304158,13 +299874,9 @@ SOAP_FMAC1 eml23__AbstractProjectedCrs * SOAP_FMAC2 soap_instantiate_eml23__Abst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractProjectedCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -304271,7 +299983,7 @@ SOAP_FMAC1 eml23__AbstractGeographic2dCrs * SOAP_FMAC2 soap_instantiate_eml23__A return soap_instantiate_eml23__GeodeticWktCrs(soap, n, NULL, NULL, size); eml23__AbstractGeographic2dCrs *p; size_t k = sizeof(eml23__AbstractGeographic2dCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractGeographic2dCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractGeographic2dCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -304286,13 +299998,9 @@ SOAP_FMAC1 eml23__AbstractGeographic2dCrs * SOAP_FMAC2 soap_instantiate_eml23__A for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractGeographic2dCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -304510,7 +300218,7 @@ SOAP_FMAC1 eml23__AbstractCompoundCrs * SOAP_FMAC2 soap_instantiate_eml23__Abstr return soap_instantiate_eml23__ProjectedCompoundCrs(soap, n, NULL, NULL, size); eml23__AbstractCompoundCrs *p; size_t k = sizeof(eml23__AbstractCompoundCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractCompoundCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractCompoundCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -304525,13 +300233,9 @@ SOAP_FMAC1 eml23__AbstractCompoundCrs * SOAP_FMAC2 soap_instantiate_eml23__Abstr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractCompoundCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -304736,7 +300440,7 @@ SOAP_FMAC1 eml23__Abstract2dCrs * SOAP_FMAC2 soap_instantiate_eml23__Abstract2dC return soap_instantiate_eml23__ProjectedCrs(soap, n, NULL, NULL, size); eml23__Abstract2dCrs *p; size_t k = sizeof(eml23__Abstract2dCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Abstract2dCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Abstract2dCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -304751,13 +300455,9 @@ SOAP_FMAC1 eml23__Abstract2dCrs * SOAP_FMAC2 soap_instantiate_eml23__Abstract2dC for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Abstract2dCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -304905,7 +300605,7 @@ SOAP_FMAC1 eml23__TemperatureInterval * SOAP_FMAC2 soap_instantiate_eml23__Tempe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__TemperatureInterval *p; size_t k = sizeof(eml23__TemperatureInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__TemperatureInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -304920,13 +300620,9 @@ SOAP_FMAC1 eml23__TemperatureInterval * SOAP_FMAC2 soap_instantiate_eml23__Tempe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__TemperatureInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -305060,7 +300756,7 @@ SOAP_FMAC1 eml23__StringXmlArray * SOAP_FMAC2 soap_instantiate_eml23__StringXmlA (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__StringXmlArray *p; size_t k = sizeof(eml23__StringXmlArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__StringXmlArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__StringXmlArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -305075,13 +300771,9 @@ SOAP_FMAC1 eml23__StringXmlArray * SOAP_FMAC2 soap_instantiate_eml23__StringXmlA for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__StringXmlArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -305180,7 +300872,7 @@ SOAP_FMAC1 eml23__StringMeasure * SOAP_FMAC2 soap_instantiate_eml23__StringMeasu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__StringMeasure *p; size_t k = sizeof(eml23__StringMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__StringMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__StringMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -305195,13 +300887,9 @@ SOAP_FMAC1 eml23__StringMeasure * SOAP_FMAC2 soap_instantiate_eml23__StringMeasu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__StringMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -305342,7 +301030,7 @@ SOAP_FMAC1 eml23__StringExternalArray * SOAP_FMAC2 soap_instantiate_eml23__Strin (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__StringExternalArray *p; size_t k = sizeof(eml23__StringExternalArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__StringExternalArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__StringExternalArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -305357,13 +301045,9 @@ SOAP_FMAC1 eml23__StringExternalArray * SOAP_FMAC2 soap_instantiate_eml23__Strin for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__StringExternalArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -305501,7 +301185,7 @@ SOAP_FMAC1 eml23__StringConstantArray * SOAP_FMAC2 soap_instantiate_eml23__Strin (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__StringConstantArray *p; size_t k = sizeof(eml23__StringConstantArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__StringConstantArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__StringConstantArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -305516,13 +301200,9 @@ SOAP_FMAC1 eml23__StringConstantArray * SOAP_FMAC2 soap_instantiate_eml23__Strin for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__StringConstantArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -305643,7 +301323,7 @@ SOAP_FMAC1 eml23__StringArrayStatistics * SOAP_FMAC2 soap_instantiate_eml23__Str (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__StringArrayStatistics *p; size_t k = sizeof(eml23__StringArrayStatistics); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__StringArrayStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__StringArrayStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -305658,13 +301338,9 @@ SOAP_FMAC1 eml23__StringArrayStatistics * SOAP_FMAC2 soap_instantiate_eml23__Str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__StringArrayStatistics location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -305812,7 +301488,7 @@ SOAP_FMAC1 eml23__ScalarInterval * SOAP_FMAC2 soap_instantiate_eml23__ScalarInte (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ScalarInterval *p; size_t k = sizeof(eml23__ScalarInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ScalarInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ScalarInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -305827,13 +301503,9 @@ SOAP_FMAC1 eml23__ScalarInterval * SOAP_FMAC2 soap_instantiate_eml23__ScalarInte for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ScalarInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -305981,7 +301653,7 @@ SOAP_FMAC1 eml23__RelativePressureInterval * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__RelativePressureInterval *p; size_t k = sizeof(eml23__RelativePressureInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__RelativePressureInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__RelativePressureInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -305996,13 +301668,9 @@ SOAP_FMAC1 eml23__RelativePressureInterval * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__RelativePressureInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -306148,7 +301816,7 @@ SOAP_FMAC1 eml23__ReferencePointVerticalDepth * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReferencePointVerticalDepth *p; size_t k = sizeof(eml23__ReferencePointVerticalDepth); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferencePointVerticalDepth, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferencePointVerticalDepth, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -306163,13 +301831,9 @@ SOAP_FMAC1 eml23__ReferencePointVerticalDepth * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReferencePointVerticalDepth location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -306338,7 +302002,7 @@ SOAP_FMAC1 eml23__ReferencePointTvdInterval * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReferencePointTvdInterval *p; size_t k = sizeof(eml23__ReferencePointTvdInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferencePointTvdInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferencePointTvdInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -306353,13 +302017,9 @@ SOAP_FMAC1 eml23__ReferencePointTvdInterval * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReferencePointTvdInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -306496,7 +302156,7 @@ SOAP_FMAC1 eml23__ReferencePointElevation * SOAP_FMAC2 soap_instantiate_eml23__R (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReferencePointElevation *p; size_t k = sizeof(eml23__ReferencePointElevation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferencePointElevation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferencePointElevation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -306511,13 +302171,9 @@ SOAP_FMAC1 eml23__ReferencePointElevation * SOAP_FMAC2 soap_instantiate_eml23__R for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReferencePointElevation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -306650,7 +302306,7 @@ SOAP_FMAC1 eml23__MeasuredDepth * SOAP_FMAC2 soap_instantiate_eml23__MeasuredDep (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MeasuredDepth *p; size_t k = sizeof(eml23__MeasuredDepth); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MeasuredDepth, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MeasuredDepth, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -306665,13 +302321,9 @@ SOAP_FMAC1 eml23__MeasuredDepth * SOAP_FMAC2 soap_instantiate_eml23__MeasuredDep for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MeasuredDepth location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -306834,7 +302486,7 @@ SOAP_FMAC1 eml23__MdInterval * SOAP_FMAC2 soap_instantiate_eml23__MdInterval(str (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__MdInterval *p; size_t k = sizeof(eml23__MdInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MdInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__MdInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -306849,13 +302501,9 @@ SOAP_FMAC1 eml23__MdInterval * SOAP_FMAC2 soap_instantiate_eml23__MdInterval(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__MdInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -306992,7 +302640,7 @@ SOAP_FMAC1 eml23__JaggedArray * SOAP_FMAC2 soap_instantiate_eml23__JaggedArray(s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__JaggedArray *p; size_t k = sizeof(eml23__JaggedArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__JaggedArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__JaggedArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -307007,13 +302655,9 @@ SOAP_FMAC1 eml23__JaggedArray * SOAP_FMAC2 soap_instantiate_eml23__JaggedArray(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__JaggedArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -307161,7 +302805,7 @@ SOAP_FMAC1 eml23__IntegerXmlArray * SOAP_FMAC2 soap_instantiate_eml23__IntegerXm (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__IntegerXmlArray *p; size_t k = sizeof(eml23__IntegerXmlArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerXmlArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerXmlArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -307176,13 +302820,9 @@ SOAP_FMAC1 eml23__IntegerXmlArray * SOAP_FMAC2 soap_instantiate_eml23__IntegerXm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__IntegerXmlArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -307316,7 +302956,7 @@ SOAP_FMAC1 eml23__IntegerLatticeArray * SOAP_FMAC2 soap_instantiate_eml23__Integ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__IntegerLatticeArray *p; size_t k = sizeof(eml23__IntegerLatticeArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerLatticeArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerLatticeArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -307331,13 +302971,9 @@ SOAP_FMAC1 eml23__IntegerLatticeArray * SOAP_FMAC2 soap_instantiate_eml23__Integ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__IntegerLatticeArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -307499,7 +303135,7 @@ SOAP_FMAC1 eml23__IntegerExternalArray * SOAP_FMAC2 soap_instantiate_eml23__Inte (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__IntegerExternalArray *p; size_t k = sizeof(eml23__IntegerExternalArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerExternalArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerExternalArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -307514,13 +303150,9 @@ SOAP_FMAC1 eml23__IntegerExternalArray * SOAP_FMAC2 soap_instantiate_eml23__Inte for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__IntegerExternalArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -307657,7 +303289,7 @@ SOAP_FMAC1 eml23__IntegerConstantArray * SOAP_FMAC2 soap_instantiate_eml23__Inte (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__IntegerConstantArray *p; size_t k = sizeof(eml23__IntegerConstantArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerConstantArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerConstantArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -307672,13 +303304,9 @@ SOAP_FMAC1 eml23__IntegerConstantArray * SOAP_FMAC2 soap_instantiate_eml23__Inte for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__IntegerConstantArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -307843,7 +303471,7 @@ SOAP_FMAC1 eml23__IntegerArrayStatistics * SOAP_FMAC2 soap_instantiate_eml23__In (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__IntegerArrayStatistics *p; size_t k = sizeof(eml23__IntegerArrayStatistics); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerArrayStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerArrayStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -307858,13 +303486,9 @@ SOAP_FMAC1 eml23__IntegerArrayStatistics * SOAP_FMAC2 soap_instantiate_eml23__In for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__IntegerArrayStatistics location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -308005,7 +303629,7 @@ SOAP_FMAC1 eml23__IntegerArrayFromBooleanMaskArray * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__IntegerArrayFromBooleanMaskArray *p; size_t k = sizeof(eml23__IntegerArrayFromBooleanMaskArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerArrayFromBooleanMaskArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__IntegerArrayFromBooleanMaskArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -308020,13 +303644,9 @@ SOAP_FMAC1 eml23__IntegerArrayFromBooleanMaskArray * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__IntegerArrayFromBooleanMaskArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -308111,7 +303731,7 @@ SOAP_FMAC1 eml23__GenericMeasure * SOAP_FMAC2 soap_instantiate_eml23__GenericMea (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__GenericMeasure *p; size_t k = sizeof(eml23__GenericMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GenericMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GenericMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -308126,13 +303746,9 @@ SOAP_FMAC1 eml23__GenericMeasure * SOAP_FMAC2 soap_instantiate_eml23__GenericMea for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__GenericMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -308280,7 +303896,7 @@ SOAP_FMAC1 eml23__GaugePressureInterval * SOAP_FMAC2 soap_instantiate_eml23__Gau (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__GaugePressureInterval *p; size_t k = sizeof(eml23__GaugePressureInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GaugePressureInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GaugePressureInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -308295,13 +303911,9 @@ SOAP_FMAC1 eml23__GaugePressureInterval * SOAP_FMAC2 soap_instantiate_eml23__Gau for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__GaugePressureInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -308438,7 +304050,7 @@ SOAP_FMAC1 eml23__FloatingPointXmlArray * SOAP_FMAC2 soap_instantiate_eml23__Flo (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__FloatingPointXmlArray *p; size_t k = sizeof(eml23__FloatingPointXmlArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FloatingPointXmlArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FloatingPointXmlArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -308453,13 +304065,9 @@ SOAP_FMAC1 eml23__FloatingPointXmlArray * SOAP_FMAC2 soap_instantiate_eml23__Flo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__FloatingPointXmlArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -308593,7 +304201,7 @@ SOAP_FMAC1 eml23__FloatingPointLatticeArray * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__FloatingPointLatticeArray *p; size_t k = sizeof(eml23__FloatingPointLatticeArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FloatingPointLatticeArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FloatingPointLatticeArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -308608,13 +304216,9 @@ SOAP_FMAC1 eml23__FloatingPointLatticeArray * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__FloatingPointLatticeArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -308765,7 +304369,7 @@ SOAP_FMAC1 eml23__FloatingPointExternalArray * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__FloatingPointExternalArray *p; size_t k = sizeof(eml23__FloatingPointExternalArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FloatingPointExternalArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FloatingPointExternalArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -308780,13 +304384,9 @@ SOAP_FMAC1 eml23__FloatingPointExternalArray * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__FloatingPointExternalArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -308923,7 +304523,7 @@ SOAP_FMAC1 eml23__FloatingPointConstantArray * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__FloatingPointConstantArray *p; size_t k = sizeof(eml23__FloatingPointConstantArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FloatingPointConstantArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FloatingPointConstantArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -308938,13 +304538,9 @@ SOAP_FMAC1 eml23__FloatingPointConstantArray * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__FloatingPointConstantArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -309131,7 +304727,7 @@ SOAP_FMAC1 eml23__FloatingPointArrayStatistics * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__FloatingPointArrayStatistics *p; size_t k = sizeof(eml23__FloatingPointArrayStatistics); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FloatingPointArrayStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__FloatingPointArrayStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -309146,13 +304742,9 @@ SOAP_FMAC1 eml23__FloatingPointArrayStatistics * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__FloatingPointArrayStatistics location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -309300,7 +304892,7 @@ SOAP_FMAC1 eml23__ElapsedTimeInterval * SOAP_FMAC2 soap_instantiate_eml23__Elaps (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ElapsedTimeInterval *p; size_t k = sizeof(eml23__ElapsedTimeInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElapsedTimeInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ElapsedTimeInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -309315,13 +304907,9 @@ SOAP_FMAC1 eml23__ElapsedTimeInterval * SOAP_FMAC2 soap_instantiate_eml23__Elaps for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ElapsedTimeInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -309463,7 +305051,7 @@ SOAP_FMAC1 eml23__DatumVerticalDepth * SOAP_FMAC2 soap_instantiate_eml23__DatumV (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DatumVerticalDepth *p; size_t k = sizeof(eml23__DatumVerticalDepth); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DatumVerticalDepth, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DatumVerticalDepth, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -309478,13 +305066,9 @@ SOAP_FMAC1 eml23__DatumVerticalDepth * SOAP_FMAC2 soap_instantiate_eml23__DatumV for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DatumVerticalDepth location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -309649,7 +305233,7 @@ SOAP_FMAC1 eml23__DatumTvdInterval * SOAP_FMAC2 soap_instantiate_eml23__DatumTvd (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DatumTvdInterval *p; size_t k = sizeof(eml23__DatumTvdInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DatumTvdInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DatumTvdInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -309664,13 +305248,9 @@ SOAP_FMAC1 eml23__DatumTvdInterval * SOAP_FMAC2 soap_instantiate_eml23__DatumTvd for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DatumTvdInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -309807,7 +305387,7 @@ SOAP_FMAC1 eml23__DatumElevation * SOAP_FMAC2 soap_instantiate_eml23__DatumEleva (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DatumElevation *p; size_t k = sizeof(eml23__DatumElevation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DatumElevation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DatumElevation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -309822,13 +305402,9 @@ SOAP_FMAC1 eml23__DatumElevation * SOAP_FMAC2 soap_instantiate_eml23__DatumEleva for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DatumElevation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -309970,7 +305546,7 @@ SOAP_FMAC1 eml23__DateTimeInterval * SOAP_FMAC2 soap_instantiate_eml23__DateTime (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DateTimeInterval *p; size_t k = sizeof(eml23__DateTimeInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DateTimeInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DateTimeInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -309985,13 +305561,9 @@ SOAP_FMAC1 eml23__DateTimeInterval * SOAP_FMAC2 soap_instantiate_eml23__DateTime for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DateTimeInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -310076,7 +305648,7 @@ SOAP_FMAC1 eml23__Cost * SOAP_FMAC2 soap_instantiate_eml23__Cost(struct soap *so (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Cost *p; size_t k = sizeof(eml23__Cost); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Cost, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Cost, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -310091,13 +305663,9 @@ SOAP_FMAC1 eml23__Cost * SOAP_FMAC2 soap_instantiate_eml23__Cost(struct soap *so for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Cost location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -310234,7 +305802,7 @@ SOAP_FMAC1 eml23__BooleanXmlArray * SOAP_FMAC2 soap_instantiate_eml23__BooleanXm (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__BooleanXmlArray *p; size_t k = sizeof(eml23__BooleanXmlArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__BooleanXmlArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__BooleanXmlArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -310249,13 +305817,9 @@ SOAP_FMAC1 eml23__BooleanXmlArray * SOAP_FMAC2 soap_instantiate_eml23__BooleanXm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__BooleanXmlArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -310396,7 +305960,7 @@ SOAP_FMAC1 eml23__BooleanExternalArray * SOAP_FMAC2 soap_instantiate_eml23__Bool (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__BooleanExternalArray *p; size_t k = sizeof(eml23__BooleanExternalArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__BooleanExternalArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__BooleanExternalArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -310411,13 +305975,9 @@ SOAP_FMAC1 eml23__BooleanExternalArray * SOAP_FMAC2 soap_instantiate_eml23__Bool for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__BooleanExternalArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -310554,7 +306114,7 @@ SOAP_FMAC1 eml23__BooleanConstantArray * SOAP_FMAC2 soap_instantiate_eml23__Bool (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__BooleanConstantArray *p; size_t k = sizeof(eml23__BooleanConstantArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__BooleanConstantArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__BooleanConstantArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -310569,13 +306129,9 @@ SOAP_FMAC1 eml23__BooleanConstantArray * SOAP_FMAC2 soap_instantiate_eml23__Bool for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__BooleanConstantArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -310696,7 +306252,7 @@ SOAP_FMAC1 eml23__BooleanArrayStatistics * SOAP_FMAC2 soap_instantiate_eml23__Bo (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__BooleanArrayStatistics *p; size_t k = sizeof(eml23__BooleanArrayStatistics); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__BooleanArrayStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__BooleanArrayStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -310711,13 +306267,9 @@ SOAP_FMAC1 eml23__BooleanArrayStatistics * SOAP_FMAC2 soap_instantiate_eml23__Bo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__BooleanArrayStatistics location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -310880,7 +306432,7 @@ SOAP_FMAC1 eml23__BooleanArrayFromIndexArray * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__BooleanArrayFromIndexArray *p; size_t k = sizeof(eml23__BooleanArrayFromIndexArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__BooleanArrayFromIndexArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__BooleanArrayFromIndexArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -310895,13 +306447,9 @@ SOAP_FMAC1 eml23__BooleanArrayFromIndexArray * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__BooleanArrayFromIndexArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -311004,7 +306552,7 @@ SOAP_FMAC1 eml23__AuthorityQualifiedName * SOAP_FMAC2 soap_instantiate_eml23__Au (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AuthorityQualifiedName *p; size_t k = sizeof(eml23__AuthorityQualifiedName); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AuthorityQualifiedName, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AuthorityQualifiedName, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -311019,13 +306567,9 @@ SOAP_FMAC1 eml23__AuthorityQualifiedName * SOAP_FMAC2 soap_instantiate_eml23__Au for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AuthorityQualifiedName location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -311162,7 +306706,7 @@ SOAP_FMAC1 eml23__AbstractVerticalDepth * SOAP_FMAC2 soap_instantiate_eml23__Abs return soap_instantiate_eml23__ReferencePointVerticalDepth(soap, n, NULL, NULL, size); eml23__AbstractVerticalDepth *p; size_t k = sizeof(eml23__AbstractVerticalDepth); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractVerticalDepth, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractVerticalDepth, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -311177,13 +306721,9 @@ SOAP_FMAC1 eml23__AbstractVerticalDepth * SOAP_FMAC2 soap_instantiate_eml23__Abs for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractVerticalDepth location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -311326,7 +306866,7 @@ SOAP_FMAC1 eml23__AbstractValueArray * SOAP_FMAC2 soap_instantiate_eml23__Abstra return soap_instantiate_eml23__IntegerXmlArray(soap, n, NULL, NULL, size); eml23__AbstractValueArray *p; size_t k = sizeof(eml23__AbstractValueArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractValueArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractValueArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -311341,13 +306881,9 @@ SOAP_FMAC1 eml23__AbstractValueArray * SOAP_FMAC2 soap_instantiate_eml23__Abstra for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractValueArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -311514,7 +307050,7 @@ SOAP_FMAC1 eml23__AbstractTvdInterval * SOAP_FMAC2 soap_instantiate_eml23__Abstr return soap_instantiate_eml23__ReferencePointTvdInterval(soap, n, NULL, NULL, size); eml23__AbstractTvdInterval *p; size_t k = sizeof(eml23__AbstractTvdInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractTvdInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractTvdInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -311529,13 +307065,9 @@ SOAP_FMAC1 eml23__AbstractTvdInterval * SOAP_FMAC2 soap_instantiate_eml23__Abstr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractTvdInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -311650,7 +307182,7 @@ SOAP_FMAC1 eml23__AbstractStringArray * SOAP_FMAC2 soap_instantiate_eml23__Abstr return soap_instantiate_eml23__StringXmlArray(soap, n, NULL, NULL, size); eml23__AbstractStringArray *p; size_t k = sizeof(eml23__AbstractStringArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractStringArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractStringArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -311665,13 +307197,9 @@ SOAP_FMAC1 eml23__AbstractStringArray * SOAP_FMAC2 soap_instantiate_eml23__Abstr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractStringArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -311787,7 +307315,7 @@ SOAP_FMAC1 eml23__AbstractPressureInterval * SOAP_FMAC2 soap_instantiate_eml23__ return soap_instantiate_eml23__RelativePressureInterval(soap, n, NULL, NULL, size); eml23__AbstractPressureInterval *p; size_t k = sizeof(eml23__AbstractPressureInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractPressureInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractPressureInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -311802,13 +307330,9 @@ SOAP_FMAC1 eml23__AbstractPressureInterval * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractPressureInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -311931,7 +307455,7 @@ SOAP_FMAC1 eml23__AbstractNumericArray * SOAP_FMAC2 soap_instantiate_eml23__Abst return soap_instantiate_eml23__IntegerXmlArray(soap, n, NULL, NULL, size); eml23__AbstractNumericArray *p; size_t k = sizeof(eml23__AbstractNumericArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractNumericArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractNumericArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -311946,13 +307470,9 @@ SOAP_FMAC1 eml23__AbstractNumericArray * SOAP_FMAC2 soap_instantiate_eml23__Abst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractNumericArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -312088,7 +307608,7 @@ SOAP_FMAC1 eml23__AbstractInterval * SOAP_FMAC2 soap_instantiate_eml23__Abstract return soap_instantiate_eml23__RelativePressureInterval(soap, n, NULL, NULL, size); eml23__AbstractInterval *p; size_t k = sizeof(eml23__AbstractInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -312103,13 +307623,9 @@ SOAP_FMAC1 eml23__AbstractInterval * SOAP_FMAC2 soap_instantiate_eml23__Abstract for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -312228,7 +307744,7 @@ SOAP_FMAC1 eml23__AbstractIntegerArray * SOAP_FMAC2 soap_instantiate_eml23__Abst return soap_instantiate_eml23__IntegerXmlArray(soap, n, NULL, NULL, size); eml23__AbstractIntegerArray *p; size_t k = sizeof(eml23__AbstractIntegerArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractIntegerArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractIntegerArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -312243,13 +307759,9 @@ SOAP_FMAC1 eml23__AbstractIntegerArray * SOAP_FMAC2 soap_instantiate_eml23__Abst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractIntegerArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -312366,7 +307878,7 @@ SOAP_FMAC1 eml23__AbstractFloatingPointArray * SOAP_FMAC2 soap_instantiate_eml23 return soap_instantiate_eml23__FloatingPointXmlArray(soap, n, NULL, NULL, size); eml23__AbstractFloatingPointArray *p; size_t k = sizeof(eml23__AbstractFloatingPointArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractFloatingPointArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractFloatingPointArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -312381,13 +307893,9 @@ SOAP_FMAC1 eml23__AbstractFloatingPointArray * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractFloatingPointArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -312513,7 +308021,7 @@ SOAP_FMAC1 eml23__AbstractElevation * SOAP_FMAC2 soap_instantiate_eml23__Abstrac return soap_instantiate_eml23__ReferencePointElevation(soap, n, NULL, NULL, size); eml23__AbstractElevation *p; size_t k = sizeof(eml23__AbstractElevation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractElevation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractElevation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -312528,13 +308036,9 @@ SOAP_FMAC1 eml23__AbstractElevation * SOAP_FMAC2 soap_instantiate_eml23__Abstrac for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractElevation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -312653,7 +308157,7 @@ SOAP_FMAC1 eml23__AbstractBooleanArray * SOAP_FMAC2 soap_instantiate_eml23__Abst return soap_instantiate_resqml22__BooleanArrayFromDiscretePropertyArray(soap, n, NULL, NULL, size); eml23__AbstractBooleanArray *p; size_t k = sizeof(eml23__AbstractBooleanArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractBooleanArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractBooleanArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -312668,13 +308172,9 @@ SOAP_FMAC1 eml23__AbstractBooleanArray * SOAP_FMAC2 soap_instantiate_eml23__Abst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractBooleanArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -312822,7 +308322,7 @@ SOAP_FMAC1 eml23__AbsolutePressureInterval * SOAP_FMAC2 soap_instantiate_eml23__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AbsolutePressureInterval *p; size_t k = sizeof(eml23__AbsolutePressureInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbsolutePressureInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbsolutePressureInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -312837,13 +308337,9 @@ SOAP_FMAC1 eml23__AbsolutePressureInterval * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbsolutePressureInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -313001,7 +308497,7 @@ SOAP_FMAC1 eml23__ExternalDataArrayPart * SOAP_FMAC2 soap_instantiate_eml23__Ext (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ExternalDataArrayPart *p; size_t k = sizeof(eml23__ExternalDataArrayPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ExternalDataArrayPart, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ExternalDataArrayPart, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -313016,13 +308512,9 @@ SOAP_FMAC1 eml23__ExternalDataArrayPart * SOAP_FMAC2 soap_instantiate_eml23__Ext for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ExternalDataArrayPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -313137,7 +308629,7 @@ SOAP_FMAC1 eml23__ExternalDataArray * SOAP_FMAC2 soap_instantiate_eml23__Externa (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ExternalDataArray *p; size_t k = sizeof(eml23__ExternalDataArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ExternalDataArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ExternalDataArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -313152,13 +308644,9 @@ SOAP_FMAC1 eml23__ExternalDataArray * SOAP_FMAC2 soap_instantiate_eml23__Externa for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ExternalDataArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -313339,7 +308827,7 @@ SOAP_FMAC1 eml23__DataObjectReference * SOAP_FMAC2 soap_instantiate_eml23__DataO return soap_instantiate_resqml22__ContactElement(soap, n, NULL, NULL, size); eml23__DataObjectReference *p; size_t k = sizeof(eml23__DataObjectReference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DataObjectReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DataObjectReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -313354,13 +308842,9 @@ SOAP_FMAC1 eml23__DataObjectReference * SOAP_FMAC2 soap_instantiate_eml23__DataO for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DataObjectReference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -313490,7 +308974,7 @@ SOAP_FMAC1 eml23__DataObjectComponentReference * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__DataObjectComponentReference *p; size_t k = sizeof(eml23__DataObjectComponentReference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DataObjectComponentReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__DataObjectComponentReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -313505,13 +308989,9 @@ SOAP_FMAC1 eml23__DataObjectComponentReference * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__DataObjectComponentReference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -313663,7 +309143,7 @@ SOAP_FMAC1 eml23__ComponentReference * SOAP_FMAC2 soap_instantiate_eml23__Compon (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ComponentReference *p; size_t k = sizeof(eml23__ComponentReference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ComponentReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ComponentReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -313678,13 +309158,9 @@ SOAP_FMAC1 eml23__ComponentReference * SOAP_FMAC2 soap_instantiate_eml23__Compon for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ComponentReference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -313817,7 +309293,7 @@ SOAP_FMAC1 eml23__VerticalPosition1d * SOAP_FMAC2 soap_instantiate_eml23__Vertic (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__VerticalPosition1d *p; size_t k = sizeof(eml23__VerticalPosition1d); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalPosition1d, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__VerticalPosition1d, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -313832,13 +309308,9 @@ SOAP_FMAC1 eml23__VerticalPosition1d * SOAP_FMAC2 soap_instantiate_eml23__Vertic for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__VerticalPosition1d location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -314134,7 +309606,7 @@ SOAP_FMAC1 eml23__ReferencePointInAWellbore * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReferencePointInAWellbore *p; size_t k = sizeof(eml23__ReferencePointInAWellbore); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferencePointInAWellbore, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferencePointInAWellbore, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -314149,13 +309621,9 @@ SOAP_FMAC1 eml23__ReferencePointInAWellbore * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReferencePointInAWellbore location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -314416,7 +309884,7 @@ SOAP_FMAC1 eml23__ReferencePointInALocalEngineeringCompoundCrs * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReferencePointInALocalEngineeringCompoundCrs *p; size_t k = sizeof(eml23__ReferencePointInALocalEngineeringCompoundCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferencePointInALocalEngineeringCompoundCrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferencePointInALocalEngineeringCompoundCrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -314431,13 +309899,9 @@ SOAP_FMAC1 eml23__ReferencePointInALocalEngineeringCompoundCrs * SOAP_FMAC2 soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReferencePointInALocalEngineeringCompoundCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -314694,7 +310158,7 @@ SOAP_FMAC1 eml23__ReferencePointInACrs * SOAP_FMAC2 soap_instantiate_eml23__Refe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ReferencePointInACrs *p; size_t k = sizeof(eml23__ReferencePointInACrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferencePointInACrs, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ReferencePointInACrs, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -314709,13 +310173,9 @@ SOAP_FMAC1 eml23__ReferencePointInACrs * SOAP_FMAC2 soap_instantiate_eml23__Refe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ReferencePointInACrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -314978,7 +310438,7 @@ SOAP_FMAC1 eml23__RecursiveReferencePoint * SOAP_FMAC2 soap_instantiate_eml23__R return soap_instantiate_eml23__ReferencePointInAWellbore(soap, n, NULL, NULL, size); eml23__RecursiveReferencePoint *p; size_t k = sizeof(eml23__RecursiveReferencePoint); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__RecursiveReferencePoint, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__RecursiveReferencePoint, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -314993,13 +310453,9 @@ SOAP_FMAC1 eml23__RecursiveReferencePoint * SOAP_FMAC2 soap_instantiate_eml23__R for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__RecursiveReferencePoint location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -315141,7 +310597,7 @@ SOAP_FMAC1 eml23__PublicLandSurveySystemCoordinates * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PublicLandSurveySystemCoordinates *p; size_t k = sizeof(eml23__PublicLandSurveySystemCoordinates); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PublicLandSurveySystemCoordinates, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PublicLandSurveySystemCoordinates, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -315156,13 +310612,9 @@ SOAP_FMAC1 eml23__PublicLandSurveySystemCoordinates * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PublicLandSurveySystemCoordinates location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -315304,7 +310756,7 @@ SOAP_FMAC1 eml23__PublicLandSurveySystem2dPosition * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__PublicLandSurveySystem2dPosition *p; size_t k = sizeof(eml23__PublicLandSurveySystem2dPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PublicLandSurveySystem2dPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__PublicLandSurveySystem2dPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -315319,13 +310771,9 @@ SOAP_FMAC1 eml23__PublicLandSurveySystem2dPosition * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__PublicLandSurveySystem2dPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -315467,7 +310915,7 @@ SOAP_FMAC1 eml23__ProjectedCoordinates * SOAP_FMAC2 soap_instantiate_eml23__Proj (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ProjectedCoordinates *p; size_t k = sizeof(eml23__ProjectedCoordinates); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedCoordinates, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedCoordinates, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -315482,13 +310930,9 @@ SOAP_FMAC1 eml23__ProjectedCoordinates * SOAP_FMAC2 soap_instantiate_eml23__Proj for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ProjectedCoordinates location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -315645,7 +311089,7 @@ SOAP_FMAC1 eml23__ProjectedCompoundPosition * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ProjectedCompoundPosition *p; size_t k = sizeof(eml23__ProjectedCompoundPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedCompoundPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ProjectedCompoundPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -315660,13 +311104,9 @@ SOAP_FMAC1 eml23__ProjectedCompoundPosition * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ProjectedCompoundPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -315823,7 +311263,7 @@ SOAP_FMAC1 eml23__Projected3dPosition * SOAP_FMAC2 soap_instantiate_eml23__Proje (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Projected3dPosition *p; size_t k = sizeof(eml23__Projected3dPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Projected3dPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Projected3dPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -315838,13 +311278,9 @@ SOAP_FMAC1 eml23__Projected3dPosition * SOAP_FMAC2 soap_instantiate_eml23__Proje for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Projected3dPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -315986,7 +311422,7 @@ SOAP_FMAC1 eml23__Projected2dPosition * SOAP_FMAC2 soap_instantiate_eml23__Proje (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Projected2dPosition *p; size_t k = sizeof(eml23__Projected2dPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Projected2dPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Projected2dPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -316001,13 +311437,9 @@ SOAP_FMAC1 eml23__Projected2dPosition * SOAP_FMAC2 soap_instantiate_eml23__Proje for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Projected2dPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -316149,7 +311581,7 @@ SOAP_FMAC1 eml23__LocalEngineering3dPosition * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LocalEngineering3dPosition *p; size_t k = sizeof(eml23__LocalEngineering3dPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LocalEngineering3dPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LocalEngineering3dPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -316164,13 +311596,9 @@ SOAP_FMAC1 eml23__LocalEngineering3dPosition * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LocalEngineering3dPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -316312,7 +311740,7 @@ SOAP_FMAC1 eml23__LocalEngineering2dPosition * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__LocalEngineering2dPosition *p; size_t k = sizeof(eml23__LocalEngineering2dPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LocalEngineering2dPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__LocalEngineering2dPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -316327,13 +311755,9 @@ SOAP_FMAC1 eml23__LocalEngineering2dPosition * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__LocalEngineering2dPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -316462,7 +311886,7 @@ SOAP_FMAC1 eml23__HorizontalCoordinates * SOAP_FMAC2 soap_instantiate_eml23__Hor (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__HorizontalCoordinates *p; size_t k = sizeof(eml23__HorizontalCoordinates); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HorizontalCoordinates, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__HorizontalCoordinates, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -316477,13 +311901,9 @@ SOAP_FMAC1 eml23__HorizontalCoordinates * SOAP_FMAC2 soap_instantiate_eml23__Hor for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__HorizontalCoordinates location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -316625,7 +312045,7 @@ SOAP_FMAC1 eml23__GeographicCoordinates * SOAP_FMAC2 soap_instantiate_eml23__Geo (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__GeographicCoordinates *p; size_t k = sizeof(eml23__GeographicCoordinates); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeographicCoordinates, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeographicCoordinates, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -316640,13 +312060,9 @@ SOAP_FMAC1 eml23__GeographicCoordinates * SOAP_FMAC2 soap_instantiate_eml23__Geo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__GeographicCoordinates location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -316803,7 +312219,7 @@ SOAP_FMAC1 eml23__GeographicCompoundPosition * SOAP_FMAC2 soap_instantiate_eml23 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__GeographicCompoundPosition *p; size_t k = sizeof(eml23__GeographicCompoundPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeographicCompoundPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GeographicCompoundPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -316818,13 +312234,9 @@ SOAP_FMAC1 eml23__GeographicCompoundPosition * SOAP_FMAC2 soap_instantiate_eml23 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__GeographicCompoundPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -316981,7 +312393,7 @@ SOAP_FMAC1 eml23__Geographic3dPosition * SOAP_FMAC2 soap_instantiate_eml23__Geog (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Geographic3dPosition *p; size_t k = sizeof(eml23__Geographic3dPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Geographic3dPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Geographic3dPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -316996,13 +312408,9 @@ SOAP_FMAC1 eml23__Geographic3dPosition * SOAP_FMAC2 soap_instantiate_eml23__Geog for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Geographic3dPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -317167,7 +312575,7 @@ SOAP_FMAC1 eml23__Geographic2dPosition * SOAP_FMAC2 soap_instantiate_eml23__Geog (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Geographic2dPosition *p; size_t k = sizeof(eml23__Geographic2dPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Geographic2dPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Geographic2dPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -317182,13 +312590,9 @@ SOAP_FMAC1 eml23__Geographic2dPosition * SOAP_FMAC2 soap_instantiate_eml23__Geog for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Geographic2dPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -317345,7 +312749,7 @@ SOAP_FMAC1 eml23__Geocentric3dPosition * SOAP_FMAC2 soap_instantiate_eml23__Geoc (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Geocentric3dPosition *p; size_t k = sizeof(eml23__Geocentric3dPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Geocentric3dPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Geocentric3dPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -317360,13 +312764,9 @@ SOAP_FMAC1 eml23__Geocentric3dPosition * SOAP_FMAC2 soap_instantiate_eml23__Geoc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Geocentric3dPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -317523,7 +312923,7 @@ SOAP_FMAC1 eml23__EngineeringCompoundPosition * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__EngineeringCompoundPosition *p; size_t k = sizeof(eml23__EngineeringCompoundPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EngineeringCompoundPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__EngineeringCompoundPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -317538,13 +312938,9 @@ SOAP_FMAC1 eml23__EngineeringCompoundPosition * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__EngineeringCompoundPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -317782,7 +313178,7 @@ SOAP_FMAC1 eml23__AbstractReferencePoint * SOAP_FMAC2 soap_instantiate_eml23__Ab return soap_instantiate_eml23__ReferencePointInAWellbore(soap, n, NULL, NULL, size); eml23__AbstractReferencePoint *p; size_t k = sizeof(eml23__AbstractReferencePoint); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractReferencePoint, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractReferencePoint, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -317797,13 +313193,9 @@ SOAP_FMAC1 eml23__AbstractReferencePoint * SOAP_FMAC2 soap_instantiate_eml23__Ab for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractReferencePoint location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -317932,7 +313324,7 @@ SOAP_FMAC1 eml23__AbstractPosition * SOAP_FMAC2 soap_instantiate_eml23__Abstract return soap_instantiate_eml23__PublicLandSurveySystem2dPosition(soap, n, NULL, NULL, size); eml23__AbstractPosition *p; size_t k = sizeof(eml23__AbstractPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -317947,13 +313339,9 @@ SOAP_FMAC1 eml23__AbstractPosition * SOAP_FMAC2 soap_instantiate_eml23__Abstract for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -318088,7 +313476,7 @@ SOAP_FMAC1 eml23__AbstractHorizontalCoordinates * SOAP_FMAC2 soap_instantiate_em return soap_instantiate_eml23__PublicLandSurveySystemCoordinates(soap, n, NULL, NULL, size); eml23__AbstractHorizontalCoordinates *p; size_t k = sizeof(eml23__AbstractHorizontalCoordinates); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractHorizontalCoordinates, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractHorizontalCoordinates, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -318103,13 +313491,9 @@ SOAP_FMAC1 eml23__AbstractHorizontalCoordinates * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractHorizontalCoordinates location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -318216,7 +313600,7 @@ SOAP_FMAC1 eml23__AbstractCompoundPosition * SOAP_FMAC2 soap_instantiate_eml23__ return soap_instantiate_eml23__ProjectedCompoundPosition(soap, n, NULL, NULL, size); eml23__AbstractCompoundPosition *p; size_t k = sizeof(eml23__AbstractCompoundPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractCompoundPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractCompoundPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -318231,13 +313615,9 @@ SOAP_FMAC1 eml23__AbstractCompoundPosition * SOAP_FMAC2 soap_instantiate_eml23__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractCompoundPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -318374,7 +313754,7 @@ SOAP_FMAC1 eml23__AbstractCartesian2dPosition * SOAP_FMAC2 soap_instantiate_eml2 return soap_instantiate_eml23__PublicLandSurveySystem2dPosition(soap, n, NULL, NULL, size); eml23__AbstractCartesian2dPosition *p; size_t k = sizeof(eml23__AbstractCartesian2dPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractCartesian2dPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractCartesian2dPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -318389,13 +313769,9 @@ SOAP_FMAC1 eml23__AbstractCartesian2dPosition * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractCartesian2dPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -318504,7 +313880,7 @@ SOAP_FMAC1 eml23__Abstract3dPosition * SOAP_FMAC2 soap_instantiate_eml23__Abstra return soap_instantiate_eml23__Projected3dPosition(soap, n, NULL, NULL, size); eml23__Abstract3dPosition *p; size_t k = sizeof(eml23__Abstract3dPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Abstract3dPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Abstract3dPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -318519,13 +313895,9 @@ SOAP_FMAC1 eml23__Abstract3dPosition * SOAP_FMAC2 soap_instantiate_eml23__Abstra for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Abstract3dPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -318636,7 +314008,7 @@ SOAP_FMAC1 eml23__Abstract2dPosition * SOAP_FMAC2 soap_instantiate_eml23__Abstra return soap_instantiate_eml23__PublicLandSurveySystem2dPosition(soap, n, NULL, NULL, size); eml23__Abstract2dPosition *p; size_t k = sizeof(eml23__Abstract2dPosition); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Abstract2dPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Abstract2dPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -318651,13 +314023,9 @@ SOAP_FMAC1 eml23__Abstract2dPosition * SOAP_FMAC2 soap_instantiate_eml23__Abstra for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Abstract2dPosition location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -318824,7 +314192,7 @@ SOAP_FMAC1 eml23__ObjectAlias * SOAP_FMAC2 soap_instantiate_eml23__ObjectAlias(s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ObjectAlias *p; size_t k = sizeof(eml23__ObjectAlias); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ObjectAlias, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ObjectAlias, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -318839,13 +314207,9 @@ SOAP_FMAC1 eml23__ObjectAlias * SOAP_FMAC2 soap_instantiate_eml23__ObjectAlias(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ObjectAlias location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -319007,7 +314371,7 @@ SOAP_FMAC1 eml23__GrowingObjectIndex * SOAP_FMAC2 soap_instantiate_eml23__Growin (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__GrowingObjectIndex *p; size_t k = sizeof(eml23__GrowingObjectIndex); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GrowingObjectIndex, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__GrowingObjectIndex, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -319022,13 +314386,9 @@ SOAP_FMAC1 eml23__GrowingObjectIndex * SOAP_FMAC2 soap_instantiate_eml23__Growin for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__GrowingObjectIndex location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -319206,7 +314566,7 @@ SOAP_FMAC1 eml23__ExtensionNameValue * SOAP_FMAC2 soap_instantiate_eml23__Extens (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__ExtensionNameValue *p; size_t k = sizeof(eml23__ExtensionNameValue); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ExtensionNameValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__ExtensionNameValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -319221,13 +314581,9 @@ SOAP_FMAC1 eml23__ExtensionNameValue * SOAP_FMAC2 soap_instantiate_eml23__Extens for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__ExtensionNameValue location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -319334,7 +314690,7 @@ SOAP_FMAC1 eml23__CustomData * SOAP_FMAC2 soap_instantiate_eml23__CustomData(str (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__CustomData *p; size_t k = sizeof(eml23__CustomData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__CustomData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__CustomData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -319349,13 +314705,9 @@ SOAP_FMAC1 eml23__CustomData * SOAP_FMAC2 soap_instantiate_eml23__CustomData(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__CustomData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -319562,7 +314914,7 @@ SOAP_FMAC1 eml23__Citation * SOAP_FMAC2 soap_instantiate_eml23__Citation(struct (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__Citation *p; size_t k = sizeof(eml23__Citation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Citation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__Citation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -319577,13 +314929,9 @@ SOAP_FMAC1 eml23__Citation * SOAP_FMAC2 soap_instantiate_eml23__Citation(struct for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__Citation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -319752,7 +315100,7 @@ SOAP_FMAC1 eml23__AbstractTimeIntervalGrowingPart * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AbstractTimeIntervalGrowingPart *p; size_t k = sizeof(eml23__AbstractTimeIntervalGrowingPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractTimeIntervalGrowingPart, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractTimeIntervalGrowingPart, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -319767,13 +315115,9 @@ SOAP_FMAC1 eml23__AbstractTimeIntervalGrowingPart * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractTimeIntervalGrowingPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -319939,7 +315283,7 @@ SOAP_FMAC1 eml23__AbstractTimeGrowingPart * SOAP_FMAC2 soap_instantiate_eml23__A (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AbstractTimeGrowingPart *p; size_t k = sizeof(eml23__AbstractTimeGrowingPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractTimeGrowingPart, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractTimeGrowingPart, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -319954,13 +315298,9 @@ SOAP_FMAC1 eml23__AbstractTimeGrowingPart * SOAP_FMAC2 soap_instantiate_eml23__A for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractTimeGrowingPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -320190,7 +315530,7 @@ SOAP_FMAC1 eml23__AbstractTimeGrowingObject * SOAP_FMAC2 soap_instantiate_eml23_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml23__AbstractTimeGrowingObject *p; size_t k = sizeof(eml23__AbstractTimeGrowingObject); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractTimeGrowingObject, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractTimeGrowingObject, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -320205,13 +315545,9 @@ SOAP_FMAC1 eml23__AbstractTimeGrowingObject * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractTimeGrowingObject location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -320805,7 +316141,7 @@ SOAP_FMAC1 eml23__AbstractObject * SOAP_FMAC2 soap_instantiate_eml23__AbstractOb return soap_instantiate_resqml22__ShotPointLineFeature(soap, n, NULL, NULL, size); eml23__AbstractObject *p; size_t k = sizeof(eml23__AbstractObject); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractObject, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractObject, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -320820,13 +316156,9 @@ SOAP_FMAC1 eml23__AbstractObject * SOAP_FMAC2 soap_instantiate_eml23__AbstractOb for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractObject location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -321005,7 +316337,7 @@ SOAP_FMAC1 eml23__AbstractMdIntervalGrowingPart * SOAP_FMAC2 soap_instantiate_em return soap_instantiate_witsml21__WellboreGeometrySection(soap, n, NULL, NULL, size); eml23__AbstractMdIntervalGrowingPart *p; size_t k = sizeof(eml23__AbstractMdIntervalGrowingPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractMdIntervalGrowingPart, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractMdIntervalGrowingPart, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -321020,13 +316352,9 @@ SOAP_FMAC1 eml23__AbstractMdIntervalGrowingPart * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractMdIntervalGrowingPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -321197,7 +316525,7 @@ SOAP_FMAC1 eml23__AbstractMdGrowingPart * SOAP_FMAC2 soap_instantiate_eml23__Abs return soap_instantiate_witsml21__TrajectoryStation(soap, n, NULL, NULL, size); eml23__AbstractMdGrowingPart *p; size_t k = sizeof(eml23__AbstractMdGrowingPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractMdGrowingPart, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractMdGrowingPart, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -321212,13 +316540,9 @@ SOAP_FMAC1 eml23__AbstractMdGrowingPart * SOAP_FMAC2 soap_instantiate_eml23__Abs for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractMdGrowingPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -321460,7 +316784,7 @@ SOAP_FMAC1 eml23__AbstractMdGrowingObject * SOAP_FMAC2 soap_instantiate_eml23__A return soap_instantiate_witsml21__WellboreGeometry(soap, n, NULL, NULL, size); eml23__AbstractMdGrowingObject *p; size_t k = sizeof(eml23__AbstractMdGrowingObject); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractMdGrowingObject, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractMdGrowingObject, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -321475,13 +316799,9 @@ SOAP_FMAC1 eml23__AbstractMdGrowingObject * SOAP_FMAC2 soap_instantiate_eml23__A for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractMdGrowingObject location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -321663,7 +316983,7 @@ SOAP_FMAC1 eml23__AbstractGrowingObjectPart * SOAP_FMAC2 soap_instantiate_eml23_ return soap_instantiate_witsml21__WellboreGeometrySection(soap, n, NULL, NULL, size); eml23__AbstractGrowingObjectPart *p; size_t k = sizeof(eml23__AbstractGrowingObjectPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractGrowingObjectPart, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractGrowingObjectPart, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -321678,13 +316998,9 @@ SOAP_FMAC1 eml23__AbstractGrowingObjectPart * SOAP_FMAC2 soap_instantiate_eml23_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractGrowingObjectPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -321921,7 +317237,7 @@ SOAP_FMAC1 eml23__AbstractGrowingObject * SOAP_FMAC2 soap_instantiate_eml23__Abs return soap_instantiate_witsml21__WellboreGeometry(soap, n, NULL, NULL, size); eml23__AbstractGrowingObject *p; size_t k = sizeof(eml23__AbstractGrowingObject); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractGrowingObject, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractGrowingObject, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -321936,13 +317252,9 @@ SOAP_FMAC1 eml23__AbstractGrowingObject * SOAP_FMAC2 soap_instantiate_eml23__Abs for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractGrowingObject location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -322183,7 +317495,7 @@ SOAP_FMAC1 eml23__AbstractActiveObject * SOAP_FMAC2 soap_instantiate_eml23__Abst return soap_instantiate_witsml21__WellboreGeometry(soap, n, NULL, NULL, size); eml23__AbstractActiveObject *p; size_t k = sizeof(eml23__AbstractActiveObject); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractActiveObject, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_eml23__AbstractActiveObject, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -322198,13 +317510,9 @@ SOAP_FMAC1 eml23__AbstractActiveObject * SOAP_FMAC2 soap_instantiate_eml23__Abst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml23__AbstractActiveObject location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -322435,7 +317743,7 @@ SOAP_FMAC1 witsml21__WellboreMarkerSet * SOAP_FMAC2 soap_instantiate_witsml21__W (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__WellboreMarkerSet *p; size_t k = sizeof(witsml21__WellboreMarkerSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellboreMarkerSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellboreMarkerSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -322450,13 +317758,9 @@ SOAP_FMAC1 witsml21__WellboreMarkerSet * SOAP_FMAC2 soap_instantiate_witsml21__W for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__WellboreMarkerSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -322855,7 +318159,7 @@ SOAP_FMAC1 witsml21__WellboreMarker * SOAP_FMAC2 soap_instantiate_witsml21__Well (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__WellboreMarker *p; size_t k = sizeof(witsml21__WellboreMarker); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellboreMarker, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellboreMarker, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -322870,13 +318174,9 @@ SOAP_FMAC1 witsml21__WellboreMarker * SOAP_FMAC2 soap_instantiate_witsml21__Well for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__WellboreMarker location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -323184,7 +318484,7 @@ SOAP_FMAC1 witsml21__WellCompletion * SOAP_FMAC2 soap_instantiate_witsml21__Well (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__WellCompletion *p; size_t k = sizeof(witsml21__WellCompletion); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellCompletion, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellCompletion, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -323199,13 +318499,9 @@ SOAP_FMAC1 witsml21__WellCompletion * SOAP_FMAC2 soap_instantiate_witsml21__Well for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__WellCompletion location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -323363,7 +318659,7 @@ SOAP_FMAC1 witsml21__CompletionStatusHistory * SOAP_FMAC2 soap_instantiate_witsm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CompletionStatusHistory *p; size_t k = sizeof(witsml21__CompletionStatusHistory); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CompletionStatusHistory, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CompletionStatusHistory, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -323378,13 +318674,9 @@ SOAP_FMAC1 witsml21__CompletionStatusHistory * SOAP_FMAC2 soap_instantiate_witsm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CompletionStatusHistory location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -323757,7 +319049,7 @@ SOAP_FMAC1 witsml21__Weather * SOAP_FMAC2 soap_instantiate_witsml21__Weather(str (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Weather *p; size_t k = sizeof(witsml21__Weather); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Weather, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Weather, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -323772,13 +319064,9 @@ SOAP_FMAC1 witsml21__Weather * SOAP_FMAC2 soap_instantiate_witsml21__Weather(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Weather location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -323952,7 +319240,7 @@ SOAP_FMAC1 witsml21__SupportCraft * SOAP_FMAC2 soap_instantiate_witsml21__Suppor (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__SupportCraft *p; size_t k = sizeof(witsml21__SupportCraft); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__SupportCraft, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__SupportCraft, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -323967,13 +319255,9 @@ SOAP_FMAC1 witsml21__SupportCraft * SOAP_FMAC2 soap_instantiate_witsml21__Suppor for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__SupportCraft location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -324160,7 +319444,7 @@ SOAP_FMAC1 witsml21__ShakerScreen * SOAP_FMAC2 soap_instantiate_witsml21__Shaker (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ShakerScreen *p; size_t k = sizeof(witsml21__ShakerScreen); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ShakerScreen, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ShakerScreen, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -324175,13 +319459,9 @@ SOAP_FMAC1 witsml21__ShakerScreen * SOAP_FMAC2 soap_instantiate_witsml21__Shaker for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ShakerScreen location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -324370,7 +319650,7 @@ SOAP_FMAC1 witsml21__ShakerOp * SOAP_FMAC2 soap_instantiate_witsml21__ShakerOp(s (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ShakerOp *p; size_t k = sizeof(witsml21__ShakerOp); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ShakerOp, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ShakerOp, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -324385,13 +319665,9 @@ SOAP_FMAC1 witsml21__ShakerOp * SOAP_FMAC2 soap_instantiate_witsml21__ShakerOp(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ShakerOp location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -324588,7 +319864,7 @@ SOAP_FMAC1 witsml21__Scr * SOAP_FMAC2 soap_instantiate_witsml21__Scr(struct soap (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Scr *p; size_t k = sizeof(witsml21__Scr); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Scr, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Scr, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -324603,13 +319879,9 @@ SOAP_FMAC1 witsml21__Scr * SOAP_FMAC2 soap_instantiate_witsml21__Scr(struct soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Scr location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -324969,7 +320241,7 @@ SOAP_FMAC1 witsml21__RigResponse * SOAP_FMAC2 soap_instantiate_witsml21__RigResp (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__RigResponse *p; size_t k = sizeof(witsml21__RigResponse); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__RigResponse, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__RigResponse, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -324984,13 +320256,9 @@ SOAP_FMAC1 witsml21__RigResponse * SOAP_FMAC2 soap_instantiate_witsml21__RigResp for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__RigResponse location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -325231,7 +320499,7 @@ SOAP_FMAC1 witsml21__PumpOp * SOAP_FMAC2 soap_instantiate_witsml21__PumpOp(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__PumpOp *p; size_t k = sizeof(witsml21__PumpOp); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PumpOp, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PumpOp, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -325246,13 +320514,9 @@ SOAP_FMAC1 witsml21__PumpOp * SOAP_FMAC2 soap_instantiate_witsml21__PumpOp(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PumpOp location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -325445,7 +320709,7 @@ SOAP_FMAC1 witsml21__PitVolume * SOAP_FMAC2 soap_instantiate_witsml21__PitVolume (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__PitVolume *p; size_t k = sizeof(witsml21__PitVolume); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PitVolume, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PitVolume, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -325460,13 +320724,9 @@ SOAP_FMAC1 witsml21__PitVolume * SOAP_FMAC2 soap_instantiate_witsml21__PitVolume for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PitVolume location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -325621,7 +320881,7 @@ SOAP_FMAC1 witsml21__Personnel * SOAP_FMAC2 soap_instantiate_witsml21__Personnel (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Personnel *p; size_t k = sizeof(witsml21__Personnel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Personnel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Personnel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -325636,13 +320896,9 @@ SOAP_FMAC1 witsml21__Personnel * SOAP_FMAC2 soap_instantiate_witsml21__Personnel for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Personnel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -326553,7 +321809,7 @@ SOAP_FMAC1 witsml21__OpsReport * SOAP_FMAC2 soap_instantiate_witsml21__OpsReport (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__OpsReport *p; size_t k = sizeof(witsml21__OpsReport); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__OpsReport, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__OpsReport, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -326568,13 +321824,9 @@ SOAP_FMAC1 witsml21__OpsReport * SOAP_FMAC2 soap_instantiate_witsml21__OpsReport for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__OpsReport location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -326794,7 +322046,7 @@ SOAP_FMAC1 witsml21__MudVolume * SOAP_FMAC2 soap_instantiate_witsml21__MudVolume (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__MudVolume *p; size_t k = sizeof(witsml21__MudVolume); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudVolume, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudVolume, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -326809,13 +322061,9 @@ SOAP_FMAC1 witsml21__MudVolume * SOAP_FMAC2 soap_instantiate_witsml21__MudVolume for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MudVolume location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -327057,7 +322305,7 @@ SOAP_FMAC1 witsml21__MudLosses * SOAP_FMAC2 soap_instantiate_witsml21__MudLosses (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__MudLosses *p; size_t k = sizeof(witsml21__MudLosses); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLosses, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLosses, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -327072,13 +322320,9 @@ SOAP_FMAC1 witsml21__MudLosses * SOAP_FMAC2 soap_instantiate_witsml21__MudLosses for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MudLosses location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -327202,7 +322446,7 @@ SOAP_FMAC1 witsml21__ItemWtPerUnit * SOAP_FMAC2 soap_instantiate_witsml21__ItemW (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ItemWtPerUnit *p; size_t k = sizeof(witsml21__ItemWtPerUnit); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ItemWtPerUnit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ItemWtPerUnit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -327217,13 +322461,9 @@ SOAP_FMAC1 witsml21__ItemWtPerUnit * SOAP_FMAC2 soap_instantiate_witsml21__ItemW for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ItemWtPerUnit location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -327347,7 +322587,7 @@ SOAP_FMAC1 witsml21__ItemVolPerUnit * SOAP_FMAC2 soap_instantiate_witsml21__Item (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ItemVolPerUnit *p; size_t k = sizeof(witsml21__ItemVolPerUnit); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ItemVolPerUnit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ItemVolPerUnit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -327362,13 +322602,9 @@ SOAP_FMAC1 witsml21__ItemVolPerUnit * SOAP_FMAC2 soap_instantiate_witsml21__Item for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ItemVolPerUnit location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -327602,7 +322838,7 @@ SOAP_FMAC1 witsml21__Inventory * SOAP_FMAC2 soap_instantiate_witsml21__Inventory (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Inventory *p; size_t k = sizeof(witsml21__Inventory); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Inventory, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Inventory, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -327617,13 +322853,9 @@ SOAP_FMAC1 witsml21__Inventory * SOAP_FMAC2 soap_instantiate_witsml21__Inventory for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Inventory location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -327886,7 +323118,7 @@ SOAP_FMAC1 witsml21__Incident * SOAP_FMAC2 soap_instantiate_witsml21__Incident(s (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Incident *p; size_t k = sizeof(witsml21__Incident); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Incident, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Incident, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -327901,13 +323133,9 @@ SOAP_FMAC1 witsml21__Incident * SOAP_FMAC2 soap_instantiate_witsml21__Incident(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Incident location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -328322,7 +323550,7 @@ SOAP_FMAC1 witsml21__Hse * SOAP_FMAC2 soap_instantiate_witsml21__Hse(struct soap (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Hse *p; size_t k = sizeof(witsml21__Hse); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Hse, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Hse, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -328337,13 +323565,9 @@ SOAP_FMAC1 witsml21__Hse * SOAP_FMAC2 soap_instantiate_witsml21__Hse(struct soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Hse location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -328703,7 +323927,7 @@ SOAP_FMAC1 witsml21__DayCost * SOAP_FMAC2 soap_instantiate_witsml21__DayCost(str (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DayCost *p; size_t k = sizeof(witsml21__DayCost); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DayCost, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DayCost, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -328718,13 +323942,9 @@ SOAP_FMAC1 witsml21__DayCost * SOAP_FMAC2 soap_instantiate_witsml21__DayCost(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DayCost location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -328876,7 +324096,7 @@ SOAP_FMAC1 witsml21__AnchorState * SOAP_FMAC2 soap_instantiate_witsml21__AnchorS (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__AnchorState *p; size_t k = sizeof(witsml21__AnchorState); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AnchorState, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AnchorState, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -328891,13 +324111,9 @@ SOAP_FMAC1 witsml21__AnchorState * SOAP_FMAC2 soap_instantiate_witsml21__AnchorS for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__AnchorState location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -329000,7 +324216,7 @@ SOAP_FMAC1 witsml21__AbstractItemWtOrVolPerUnit * SOAP_FMAC2 soap_instantiate_wi return soap_instantiate_witsml21__ItemWtPerUnit(soap, n, NULL, NULL, size); witsml21__AbstractItemWtOrVolPerUnit *p; size_t k = sizeof(witsml21__AbstractItemWtOrVolPerUnit); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractItemWtOrVolPerUnit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractItemWtOrVolPerUnit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -329015,13 +324231,9 @@ SOAP_FMAC1 witsml21__AbstractItemWtOrVolPerUnit * SOAP_FMAC2 soap_instantiate_wi for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__AbstractItemWtOrVolPerUnit location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -329209,7 +324421,7 @@ SOAP_FMAC1 witsml21__StimTubular * SOAP_FMAC2 soap_instantiate_witsml21__StimTub (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimTubular *p; size_t k = sizeof(witsml21__StimTubular); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimTubular, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimTubular, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -329224,13 +324436,9 @@ SOAP_FMAC1 witsml21__StimTubular * SOAP_FMAC2 soap_instantiate_witsml21__StimTub for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimTubular location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -329360,7 +324568,7 @@ SOAP_FMAC1 witsml21__StimStepTest * SOAP_FMAC2 soap_instantiate_witsml21__StimSt (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimStepTest *p; size_t k = sizeof(witsml21__StimStepTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimStepTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimStepTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -329375,13 +324583,9 @@ SOAP_FMAC1 witsml21__StimStepTest * SOAP_FMAC2 soap_instantiate_witsml21__StimSt for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimStepTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -329566,7 +324770,7 @@ SOAP_FMAC1 witsml21__StimStepDownTest * SOAP_FMAC2 soap_instantiate_witsml21__St (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimStepDownTest *p; size_t k = sizeof(witsml21__StimStepDownTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimStepDownTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimStepDownTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -329581,13 +324785,9 @@ SOAP_FMAC1 witsml21__StimStepDownTest * SOAP_FMAC2 soap_instantiate_witsml21__St for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimStepDownTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -329736,7 +324936,7 @@ SOAP_FMAC1 witsml21__StimShutInPressure * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimShutInPressure *p; size_t k = sizeof(witsml21__StimShutInPressure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimShutInPressure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimShutInPressure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -329751,13 +324951,9 @@ SOAP_FMAC1 witsml21__StimShutInPressure * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimShutInPressure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -330077,7 +325273,7 @@ SOAP_FMAC1 witsml21__StimReservoirInterval * SOAP_FMAC2 soap_instantiate_witsml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimReservoirInterval *p; size_t k = sizeof(witsml21__StimReservoirInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimReservoirInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimReservoirInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -330092,13 +325288,9 @@ SOAP_FMAC1 witsml21__StimReservoirInterval * SOAP_FMAC2 soap_instantiate_witsml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimReservoirInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -330338,7 +325530,7 @@ SOAP_FMAC1 witsml21__StimPumpFlowBackTestStep * SOAP_FMAC2 soap_instantiate_wits (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimPumpFlowBackTestStep *p; size_t k = sizeof(witsml21__StimPumpFlowBackTestStep); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimPumpFlowBackTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimPumpFlowBackTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -330353,13 +325545,9 @@ SOAP_FMAC1 witsml21__StimPumpFlowBackTestStep * SOAP_FMAC2 soap_instantiate_wits for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimPumpFlowBackTestStep location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -330555,7 +325743,7 @@ SOAP_FMAC1 witsml21__StimPumpFlowBackTest * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimPumpFlowBackTest *p; size_t k = sizeof(witsml21__StimPumpFlowBackTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimPumpFlowBackTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimPumpFlowBackTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -330570,13 +325758,9 @@ SOAP_FMAC1 witsml21__StimPumpFlowBackTest * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimPumpFlowBackTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -330806,7 +325990,7 @@ SOAP_FMAC1 witsml21__StimProppantAgent * SOAP_FMAC2 soap_instantiate_witsml21__S (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimProppantAgent *p; size_t k = sizeof(witsml21__StimProppantAgent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimProppantAgent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimProppantAgent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -330821,13 +326005,9 @@ SOAP_FMAC1 witsml21__StimProppantAgent * SOAP_FMAC2 soap_instantiate_witsml21__S for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimProppantAgent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -330960,7 +326140,7 @@ SOAP_FMAC1 witsml21__StimPressureFlowRate * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimPressureFlowRate *p; size_t k = sizeof(witsml21__StimPressureFlowRate); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimPressureFlowRate, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimPressureFlowRate, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -330975,13 +326155,9 @@ SOAP_FMAC1 witsml21__StimPressureFlowRate * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimPressureFlowRate location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -331096,7 +326272,7 @@ SOAP_FMAC1 witsml21__StimPerforationClusterSet * SOAP_FMAC2 soap_instantiate_wit (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimPerforationClusterSet *p; size_t k = sizeof(witsml21__StimPerforationClusterSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimPerforationClusterSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimPerforationClusterSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -331111,13 +326287,9 @@ SOAP_FMAC1 witsml21__StimPerforationClusterSet * SOAP_FMAC2 soap_instantiate_wit for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimPerforationClusterSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -331424,7 +326596,7 @@ SOAP_FMAC1 witsml21__StimPerforationCluster * SOAP_FMAC2 soap_instantiate_witsml (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimPerforationCluster *p; size_t k = sizeof(witsml21__StimPerforationCluster); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimPerforationCluster, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimPerforationCluster, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -331439,13 +326611,9 @@ SOAP_FMAC1 witsml21__StimPerforationCluster * SOAP_FMAC2 soap_instantiate_witsml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimPerforationCluster location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -331656,7 +326824,7 @@ SOAP_FMAC1 witsml21__StimMaterialQuantity * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimMaterialQuantity *p; size_t k = sizeof(witsml21__StimMaterialQuantity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimMaterialQuantity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimMaterialQuantity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -331671,13 +326839,9 @@ SOAP_FMAC1 witsml21__StimMaterialQuantity * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimMaterialQuantity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -331825,7 +326989,7 @@ SOAP_FMAC1 witsml21__StimMaterial * SOAP_FMAC2 soap_instantiate_witsml21__StimMa return soap_instantiate_witsml21__StimProppantAgent(soap, n, NULL, NULL, size); witsml21__StimMaterial *p; size_t k = sizeof(witsml21__StimMaterial); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimMaterial, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimMaterial, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -331840,13 +327004,9 @@ SOAP_FMAC1 witsml21__StimMaterial * SOAP_FMAC2 soap_instantiate_witsml21__StimMa for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimMaterial location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -332645,7 +327805,7 @@ SOAP_FMAC1 witsml21__StimJobStep * SOAP_FMAC2 soap_instantiate_witsml21__StimJob (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimJobStep *p; size_t k = sizeof(witsml21__StimJobStep); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimJobStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimJobStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -332660,13 +327820,9 @@ SOAP_FMAC1 witsml21__StimJobStep * SOAP_FMAC2 soap_instantiate_witsml21__StimJob for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimJobStep location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -333745,7 +328901,7 @@ SOAP_FMAC1 witsml21__StimJobStage * SOAP_FMAC2 soap_instantiate_witsml21__StimJo (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimJobStage *p; size_t k = sizeof(witsml21__StimJobStage); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimJobStage, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimJobStage, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -333760,13 +328916,9 @@ SOAP_FMAC1 witsml21__StimJobStage * SOAP_FMAC2 soap_instantiate_witsml21__StimJo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimJobStage location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -333881,7 +329033,7 @@ SOAP_FMAC1 witsml21__StimJobMaterialCatalog * SOAP_FMAC2 soap_instantiate_witsml (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimJobMaterialCatalog *p; size_t k = sizeof(witsml21__StimJobMaterialCatalog); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimJobMaterialCatalog, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimJobMaterialCatalog, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -333896,13 +329048,9 @@ SOAP_FMAC1 witsml21__StimJobMaterialCatalog * SOAP_FMAC2 soap_instantiate_witsml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimJobMaterialCatalog location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -334017,7 +329165,7 @@ SOAP_FMAC1 witsml21__StimJobLogCatalog * SOAP_FMAC2 soap_instantiate_witsml21__S (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimJobLogCatalog *p; size_t k = sizeof(witsml21__StimJobLogCatalog); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimJobLogCatalog, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimJobLogCatalog, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -334032,13 +329180,9 @@ SOAP_FMAC1 witsml21__StimJobLogCatalog * SOAP_FMAC2 soap_instantiate_witsml21__S for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimJobLogCatalog location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -334181,7 +329325,7 @@ SOAP_FMAC1 witsml21__StimJobDiversion * SOAP_FMAC2 soap_instantiate_witsml21__St (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimJobDiversion *p; size_t k = sizeof(witsml21__StimJobDiversion); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimJobDiversion, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimJobDiversion, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -334196,13 +329340,9 @@ SOAP_FMAC1 witsml21__StimJobDiversion * SOAP_FMAC2 soap_instantiate_witsml21__St for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimJobDiversion location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -334774,7 +329914,7 @@ SOAP_FMAC1 witsml21__StimJobDiagnosticSession * SOAP_FMAC2 soap_instantiate_wits (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimJobDiagnosticSession *p; size_t k = sizeof(witsml21__StimJobDiagnosticSession); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimJobDiagnosticSession, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimJobDiagnosticSession, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -334789,13 +329929,9 @@ SOAP_FMAC1 witsml21__StimJobDiagnosticSession * SOAP_FMAC2 soap_instantiate_wits for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimJobDiagnosticSession location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -335323,7 +330459,7 @@ SOAP_FMAC1 witsml21__StimJob * SOAP_FMAC2 soap_instantiate_witsml21__StimJob(str (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimJob *p; size_t k = sizeof(witsml21__StimJob); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimJob, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimJob, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -335338,13 +330474,9 @@ SOAP_FMAC1 witsml21__StimJob * SOAP_FMAC2 soap_instantiate_witsml21__StimJob(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimJob location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -335515,7 +330647,7 @@ SOAP_FMAC1 witsml21__StimISO13503_USCORE5Point * SOAP_FMAC2 soap_instantiate_wit (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimISO13503_USCORE5Point *p; size_t k = sizeof(witsml21__StimISO13503_USCORE5Point); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimISO13503_USCORE5Point, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimISO13503_USCORE5Point, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -335530,13 +330662,9 @@ SOAP_FMAC1 witsml21__StimISO13503_USCORE5Point * SOAP_FMAC2 soap_instantiate_wit for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimISO13503_USCORE5Point location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -335798,7 +330926,7 @@ SOAP_FMAC1 witsml21__StimISO13503_USCORE2Properties * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimISO13503_USCORE2Properties *p; size_t k = sizeof(witsml21__StimISO13503_USCORE2Properties); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimISO13503_USCORE2Properties, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimISO13503_USCORE2Properties, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -335813,13 +330941,9 @@ SOAP_FMAC1 witsml21__StimISO13503_USCORE2Properties * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimISO13503_USCORE2Properties location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -336091,7 +331215,7 @@ SOAP_FMAC1 witsml21__StimFluid * SOAP_FMAC2 soap_instantiate_witsml21__StimFluid (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimFluid *p; size_t k = sizeof(witsml21__StimFluid); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimFluid, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimFluid, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -336106,13 +331230,9 @@ SOAP_FMAC1 witsml21__StimFluid * SOAP_FMAC2 soap_instantiate_witsml21__StimFluid for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimFluid location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -336351,7 +331471,7 @@ SOAP_FMAC1 witsml21__StimFlowPath * SOAP_FMAC2 soap_instantiate_witsml21__StimFl (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimFlowPath *p; size_t k = sizeof(witsml21__StimFlowPath); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimFlowPath, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimFlowPath, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -336366,13 +331486,9 @@ SOAP_FMAC1 witsml21__StimFlowPath * SOAP_FMAC2 soap_instantiate_witsml21__StimFl for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimFlowPath location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -336656,7 +331772,7 @@ SOAP_FMAC1 witsml21__StimFetTest * SOAP_FMAC2 soap_instantiate_witsml21__StimFet (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimFetTest *p; size_t k = sizeof(witsml21__StimFetTest); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimFetTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimFetTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -336671,13 +331787,9 @@ SOAP_FMAC1 witsml21__StimFetTest * SOAP_FMAC2 soap_instantiate_witsml21__StimFet for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimFetTest location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -336840,7 +331952,7 @@ SOAP_FMAC1 witsml21__StimEvent * SOAP_FMAC2 soap_instantiate_witsml21__StimEvent (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimEvent *p; size_t k = sizeof(witsml21__StimEvent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimEvent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimEvent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -336855,13 +331967,9 @@ SOAP_FMAC1 witsml21__StimEvent * SOAP_FMAC2 soap_instantiate_witsml21__StimEvent for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimEvent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -337041,7 +332149,7 @@ SOAP_FMAC1 witsml21__StimAdditive * SOAP_FMAC2 soap_instantiate_witsml21__StimAd (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StimAdditive *p; size_t k = sizeof(witsml21__StimAdditive); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimAdditive, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StimAdditive, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -337056,13 +332164,9 @@ SOAP_FMAC1 witsml21__StimAdditive * SOAP_FMAC2 soap_instantiate_witsml21__StimAd for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StimAdditive location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -337199,7 +332303,7 @@ SOAP_FMAC1 witsml21__ISO13503_USCORE2SieveAnalysisData * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ISO13503_USCORE2SieveAnalysisData *p; size_t k = sizeof(witsml21__ISO13503_USCORE2SieveAnalysisData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ISO13503_USCORE2SieveAnalysisData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ISO13503_USCORE2SieveAnalysisData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -337214,13 +332318,9 @@ SOAP_FMAC1 witsml21__ISO13503_USCORE2SieveAnalysisData * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ISO13503_USCORE2SieveAnalysisData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -337361,7 +332461,7 @@ SOAP_FMAC1 witsml21__ISO13503_USCORE2CrushTestData * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ISO13503_USCORE2CrushTestData *p; size_t k = sizeof(witsml21__ISO13503_USCORE2CrushTestData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ISO13503_USCORE2CrushTestData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ISO13503_USCORE2CrushTestData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -337376,13 +332476,9 @@ SOAP_FMAC1 witsml21__ISO13503_USCORE2CrushTestData * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ISO13503_USCORE2CrushTestData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -337656,7 +332752,7 @@ SOAP_FMAC1 witsml21__WellboreGeometrySection * SOAP_FMAC2 soap_instantiate_witsm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__WellboreGeometrySection *p; size_t k = sizeof(witsml21__WellboreGeometrySection); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellboreGeometrySection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellboreGeometrySection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -337671,13 +332767,9 @@ SOAP_FMAC1 witsml21__WellboreGeometrySection * SOAP_FMAC2 soap_instantiate_witsm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__WellboreGeometrySection location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -337806,7 +332898,7 @@ SOAP_FMAC1 witsml21__WellboreGeometryReport * SOAP_FMAC2 soap_instantiate_witsml (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__WellboreGeometryReport *p; size_t k = sizeof(witsml21__WellboreGeometryReport); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellboreGeometryReport, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellboreGeometryReport, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -337821,13 +332913,9 @@ SOAP_FMAC1 witsml21__WellboreGeometryReport * SOAP_FMAC2 soap_instantiate_witsml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__WellboreGeometryReport location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -338108,7 +333196,7 @@ SOAP_FMAC1 witsml21__WellboreGeometry * SOAP_FMAC2 soap_instantiate_witsml21__We (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__WellboreGeometry *p; size_t k = sizeof(witsml21__WellboreGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellboreGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellboreGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -338123,13 +333211,9 @@ SOAP_FMAC1 witsml21__WellboreGeometry * SOAP_FMAC2 soap_instantiate_witsml21__We for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__WellboreGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -338310,7 +333394,7 @@ SOAP_FMAC1 witsml21__FluidLocation * SOAP_FMAC2 soap_instantiate_witsml21__Fluid (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__FluidLocation *p; size_t k = sizeof(witsml21__FluidLocation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__FluidLocation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__FluidLocation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -338325,13 +333409,9 @@ SOAP_FMAC1 witsml21__FluidLocation * SOAP_FMAC2 soap_instantiate_witsml21__Fluid for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__FluidLocation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -339171,7 +334251,7 @@ SOAP_FMAC1 witsml21__CementStageReport * SOAP_FMAC2 soap_instantiate_witsml21__C (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CementStageReport *p; size_t k = sizeof(witsml21__CementStageReport); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementStageReport, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementStageReport, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -339186,13 +334266,9 @@ SOAP_FMAC1 witsml21__CementStageReport * SOAP_FMAC2 soap_instantiate_witsml21__C for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CementStageReport location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -339775,7 +334851,7 @@ SOAP_FMAC1 witsml21__CementStageDesign * SOAP_FMAC2 soap_instantiate_witsml21__C (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CementStageDesign *p; size_t k = sizeof(witsml21__CementStageDesign); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementStageDesign, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementStageDesign, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -339790,13 +334866,9 @@ SOAP_FMAC1 witsml21__CementStageDesign * SOAP_FMAC2 soap_instantiate_witsml21__C for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CementStageDesign location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -340010,7 +335082,7 @@ SOAP_FMAC1 witsml21__CementPumpScheduleStep * SOAP_FMAC2 soap_instantiate_witsml (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CementPumpScheduleStep *p; size_t k = sizeof(witsml21__CementPumpScheduleStep); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementPumpScheduleStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementPumpScheduleStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -340025,13 +335097,9 @@ SOAP_FMAC1 witsml21__CementPumpScheduleStep * SOAP_FMAC2 soap_instantiate_witsml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CementPumpScheduleStep location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -340395,7 +335463,7 @@ SOAP_FMAC1 witsml21__CementJobReport * SOAP_FMAC2 soap_instantiate_witsml21__Cem (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CementJobReport *p; size_t k = sizeof(witsml21__CementJobReport); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementJobReport, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementJobReport, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -340410,13 +335478,9 @@ SOAP_FMAC1 witsml21__CementJobReport * SOAP_FMAC2 soap_instantiate_witsml21__Cem for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CementJobReport location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -340947,7 +336011,7 @@ SOAP_FMAC1 witsml21__CementJobEvaluation * SOAP_FMAC2 soap_instantiate_witsml21_ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CementJobEvaluation *p; size_t k = sizeof(witsml21__CementJobEvaluation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementJobEvaluation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementJobEvaluation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -340962,13 +336026,9 @@ SOAP_FMAC1 witsml21__CementJobEvaluation * SOAP_FMAC2 soap_instantiate_witsml21_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CementJobEvaluation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -341211,7 +336271,7 @@ SOAP_FMAC1 witsml21__CementJobDesign * SOAP_FMAC2 soap_instantiate_witsml21__Cem (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CementJobDesign *p; size_t k = sizeof(witsml21__CementJobDesign); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementJobDesign, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementJobDesign, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -341226,13 +336286,9 @@ SOAP_FMAC1 witsml21__CementJobDesign * SOAP_FMAC2 soap_instantiate_witsml21__Cem for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CementJobDesign location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -341694,7 +336750,7 @@ SOAP_FMAC1 witsml21__CementJob * SOAP_FMAC2 soap_instantiate_witsml21__CementJob (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CementJob *p; size_t k = sizeof(witsml21__CementJob); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementJob, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementJob, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -341709,13 +336765,9 @@ SOAP_FMAC1 witsml21__CementJob * SOAP_FMAC2 soap_instantiate_witsml21__CementJob for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CementJob location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -342549,7 +337601,7 @@ SOAP_FMAC1 witsml21__CementingFluid * SOAP_FMAC2 soap_instantiate_witsml21__Ceme (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CementingFluid *p; size_t k = sizeof(witsml21__CementingFluid); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementingFluid, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementingFluid, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -342564,13 +337616,9 @@ SOAP_FMAC1 witsml21__CementingFluid * SOAP_FMAC2 soap_instantiate_witsml21__Ceme for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CementingFluid location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -343153,7 +338201,7 @@ SOAP_FMAC1 witsml21__CementDesignStage * SOAP_FMAC2 soap_instantiate_witsml21__C (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CementDesignStage *p; size_t k = sizeof(witsml21__CementDesignStage); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementDesignStage, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementDesignStage, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -343168,13 +338216,9 @@ SOAP_FMAC1 witsml21__CementDesignStage * SOAP_FMAC2 soap_instantiate_witsml21__C for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CementDesignStage location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -343353,7 +338397,7 @@ SOAP_FMAC1 witsml21__CementAdditive * SOAP_FMAC2 soap_instantiate_witsml21__Ceme (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CementAdditive *p; size_t k = sizeof(witsml21__CementAdditive); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementAdditive, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementAdditive, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -343368,13 +338412,9 @@ SOAP_FMAC1 witsml21__CementAdditive * SOAP_FMAC2 soap_instantiate_witsml21__Ceme for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CementAdditive location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -344070,7 +339110,7 @@ SOAP_FMAC1 witsml21__AbstractCementStage * SOAP_FMAC2 soap_instantiate_witsml21_ return soap_instantiate_witsml21__CementStageReport(soap, n, NULL, NULL, size); witsml21__AbstractCementStage *p; size_t k = sizeof(witsml21__AbstractCementStage); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractCementStage, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractCementStage, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -344085,13 +339125,9 @@ SOAP_FMAC1 witsml21__AbstractCementStage * SOAP_FMAC2 soap_instantiate_witsml21_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__AbstractCementStage location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -344348,7 +339384,7 @@ SOAP_FMAC1 witsml21__AbstractCementJob * SOAP_FMAC2 soap_instantiate_witsml21__A return soap_instantiate_witsml21__CementJobReport(soap, n, NULL, NULL, size); witsml21__AbstractCementJob *p; size_t k = sizeof(witsml21__AbstractCementJob); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractCementJob, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractCementJob, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -344363,13 +339399,9 @@ SOAP_FMAC1 witsml21__AbstractCementJob * SOAP_FMAC2 soap_instantiate_witsml21__A for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__AbstractCementJob location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -344619,7 +339651,7 @@ SOAP_FMAC1 witsml21__SurveySection * SOAP_FMAC2 soap_instantiate_witsml21__Surve (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__SurveySection *p; size_t k = sizeof(witsml21__SurveySection); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__SurveySection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__SurveySection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -344634,13 +339666,9 @@ SOAP_FMAC1 witsml21__SurveySection * SOAP_FMAC2 soap_instantiate_witsml21__Surve for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__SurveySection location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -344893,7 +339921,7 @@ SOAP_FMAC1 witsml21__SurveyProgram * SOAP_FMAC2 soap_instantiate_witsml21__Surve (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__SurveyProgram *p; size_t k = sizeof(witsml21__SurveyProgram); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__SurveyProgram, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__SurveyProgram, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -344908,13 +339936,9 @@ SOAP_FMAC1 witsml21__SurveyProgram * SOAP_FMAC2 soap_instantiate_witsml21__Surve for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__SurveyProgram location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -345047,7 +340071,7 @@ SOAP_FMAC1 witsml21__XyAccelerometer * SOAP_FMAC2 soap_instantiate_witsml21__XyA (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__XyAccelerometer *p; size_t k = sizeof(witsml21__XyAccelerometer); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__XyAccelerometer, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__XyAccelerometer, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -345062,13 +340086,9 @@ SOAP_FMAC1 witsml21__XyAccelerometer * SOAP_FMAC2 soap_instantiate_witsml21__XyA for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__XyAccelerometer location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -345273,7 +340293,7 @@ SOAP_FMAC1 witsml21__WeightingFunctionDictionary * SOAP_FMAC2 soap_instantiate_w (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__WeightingFunctionDictionary *p; size_t k = sizeof(witsml21__WeightingFunctionDictionary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WeightingFunctionDictionary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WeightingFunctionDictionary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -345288,13 +340308,9 @@ SOAP_FMAC1 witsml21__WeightingFunctionDictionary * SOAP_FMAC2 soap_instantiate_w for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__WeightingFunctionDictionary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -345601,7 +340617,7 @@ SOAP_FMAC1 witsml21__WeightingFunction * SOAP_FMAC2 soap_instantiate_witsml21__W (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__WeightingFunction *p; size_t k = sizeof(witsml21__WeightingFunction); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WeightingFunction, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WeightingFunction, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -345616,13 +340632,9 @@ SOAP_FMAC1 witsml21__WeightingFunction * SOAP_FMAC2 soap_instantiate_witsml21__W for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__WeightingFunction location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -345827,7 +340839,7 @@ SOAP_FMAC1 witsml21__ToolErrorModelDictionary * SOAP_FMAC2 soap_instantiate_wits (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ToolErrorModelDictionary *p; size_t k = sizeof(witsml21__ToolErrorModelDictionary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ToolErrorModelDictionary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ToolErrorModelDictionary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -345842,13 +340854,9 @@ SOAP_FMAC1 witsml21__ToolErrorModelDictionary * SOAP_FMAC2 soap_instantiate_wits for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ToolErrorModelDictionary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -346190,7 +341198,7 @@ SOAP_FMAC1 witsml21__ToolErrorModel * SOAP_FMAC2 soap_instantiate_witsml21__Tool (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ToolErrorModel *p; size_t k = sizeof(witsml21__ToolErrorModel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ToolErrorModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ToolErrorModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -346205,13 +341213,9 @@ SOAP_FMAC1 witsml21__ToolErrorModel * SOAP_FMAC2 soap_instantiate_witsml21__Tool for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ToolErrorModel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -346352,7 +341356,7 @@ SOAP_FMAC1 witsml21__StationaryGyro * SOAP_FMAC2 soap_instantiate_witsml21__Stat (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StationaryGyro *p; size_t k = sizeof(witsml21__StationaryGyro); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StationaryGyro, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StationaryGyro, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -346367,13 +341371,9 @@ SOAP_FMAC1 witsml21__StationaryGyro * SOAP_FMAC2 soap_instantiate_witsml21__Stat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StationaryGyro location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -346540,7 +341540,7 @@ SOAP_FMAC1 witsml21__PlaneAngleOperatingRange * SOAP_FMAC2 soap_instantiate_wits return soap_instantiate_witsml21__AzimuthRange(soap, n, NULL, NULL, size); witsml21__PlaneAngleOperatingRange *p; size_t k = sizeof(witsml21__PlaneAngleOperatingRange); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PlaneAngleOperatingRange, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PlaneAngleOperatingRange, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -346555,13 +341555,9 @@ SOAP_FMAC1 witsml21__PlaneAngleOperatingRange * SOAP_FMAC2 soap_instantiate_wits for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PlaneAngleOperatingRange location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -346692,7 +341688,7 @@ SOAP_FMAC1 witsml21__Parameter * SOAP_FMAC2 soap_instantiate_witsml21__Parameter (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Parameter *p; size_t k = sizeof(witsml21__Parameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Parameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Parameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -346707,13 +341703,9 @@ SOAP_FMAC1 witsml21__Parameter * SOAP_FMAC2 soap_instantiate_witsml21__Parameter for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Parameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -346901,7 +341893,7 @@ SOAP_FMAC1 witsml21__OperatingConstraints * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__OperatingConstraints *p; size_t k = sizeof(witsml21__OperatingConstraints); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__OperatingConstraints, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__OperatingConstraints, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -346916,13 +341908,9 @@ SOAP_FMAC1 witsml21__OperatingConstraints * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__OperatingConstraints location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -347078,7 +342066,7 @@ SOAP_FMAC1 witsml21__GyroToolConfiguration * SOAP_FMAC2 soap_instantiate_witsml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__GyroToolConfiguration *p; size_t k = sizeof(witsml21__GyroToolConfiguration); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__GyroToolConfiguration, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__GyroToolConfiguration, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -347093,13 +342081,9 @@ SOAP_FMAC1 witsml21__GyroToolConfiguration * SOAP_FMAC2 soap_instantiate_witsml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__GyroToolConfiguration location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -347247,7 +342231,7 @@ SOAP_FMAC1 witsml21__ErrorTermValue * SOAP_FMAC2 soap_instantiate_witsml21__Erro (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ErrorTermValue *p; size_t k = sizeof(witsml21__ErrorTermValue); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ErrorTermValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ErrorTermValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -347262,13 +342246,9 @@ SOAP_FMAC1 witsml21__ErrorTermValue * SOAP_FMAC2 soap_instantiate_witsml21__Erro for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ErrorTermValue location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -347473,7 +342453,7 @@ SOAP_FMAC1 witsml21__ErrorTermDictionary * SOAP_FMAC2 soap_instantiate_witsml21_ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ErrorTermDictionary *p; size_t k = sizeof(witsml21__ErrorTermDictionary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ErrorTermDictionary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ErrorTermDictionary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -347488,13 +342468,9 @@ SOAP_FMAC1 witsml21__ErrorTermDictionary * SOAP_FMAC2 soap_instantiate_witsml21_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ErrorTermDictionary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -347738,7 +342714,7 @@ SOAP_FMAC1 witsml21__ErrorTerm * SOAP_FMAC2 soap_instantiate_witsml21__ErrorTerm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ErrorTerm *p; size_t k = sizeof(witsml21__ErrorTerm); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ErrorTerm, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ErrorTerm, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -347753,13 +342729,9 @@ SOAP_FMAC1 witsml21__ErrorTerm * SOAP_FMAC2 soap_instantiate_witsml21__ErrorTerm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ErrorTerm location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -347937,7 +342909,7 @@ SOAP_FMAC1 witsml21__CustomOperatingRange * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CustomOperatingRange *p; size_t k = sizeof(witsml21__CustomOperatingRange); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CustomOperatingRange, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CustomOperatingRange, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -347952,13 +342924,9 @@ SOAP_FMAC1 witsml21__CustomOperatingRange * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CustomOperatingRange location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -348143,7 +343111,7 @@ SOAP_FMAC1 witsml21__ContinuousGyro * SOAP_FMAC2 soap_instantiate_witsml21__Cont (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ContinuousGyro *p; size_t k = sizeof(witsml21__ContinuousGyro); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ContinuousGyro, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ContinuousGyro, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -348158,13 +343126,9 @@ SOAP_FMAC1 witsml21__ContinuousGyro * SOAP_FMAC2 soap_instantiate_witsml21__Cont for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ContinuousGyro location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -348299,7 +343263,7 @@ SOAP_FMAC1 witsml21__ContinuousAzimuthFormula * SOAP_FMAC2 soap_instantiate_wits (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ContinuousAzimuthFormula *p; size_t k = sizeof(witsml21__ContinuousAzimuthFormula); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ContinuousAzimuthFormula, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ContinuousAzimuthFormula, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -348314,13 +343278,9 @@ SOAP_FMAC1 witsml21__ContinuousAzimuthFormula * SOAP_FMAC2 soap_instantiate_wits for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ContinuousAzimuthFormula location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -348494,7 +343454,7 @@ SOAP_FMAC1 witsml21__AzimuthRange * SOAP_FMAC2 soap_instantiate_witsml21__Azimut (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__AzimuthRange *p; size_t k = sizeof(witsml21__AzimuthRange); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AzimuthRange, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AzimuthRange, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -348509,13 +343469,9 @@ SOAP_FMAC1 witsml21__AzimuthRange * SOAP_FMAC2 soap_instantiate_witsml21__Azimut for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__AzimuthRange location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -348644,7 +343600,7 @@ SOAP_FMAC1 witsml21__AzimuthFormula * SOAP_FMAC2 soap_instantiate_witsml21__Azim return soap_instantiate_witsml21__ContinuousAzimuthFormula(soap, n, NULL, NULL, size); witsml21__AzimuthFormula *p; size_t k = sizeof(witsml21__AzimuthFormula); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AzimuthFormula, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AzimuthFormula, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -348659,13 +343615,9 @@ SOAP_FMAC1 witsml21__AzimuthFormula * SOAP_FMAC2 soap_instantiate_witsml21__Azim for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__AzimuthFormula location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -348861,7 +343813,7 @@ SOAP_FMAC1 witsml21__Authorization * SOAP_FMAC2 soap_instantiate_witsml21__Autho (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Authorization *p; size_t k = sizeof(witsml21__Authorization); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Authorization, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Authorization, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -348876,13 +343828,9 @@ SOAP_FMAC1 witsml21__Authorization * SOAP_FMAC2 soap_instantiate_witsml21__Autho for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Authorization location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -349050,7 +343998,7 @@ SOAP_FMAC1 witsml21__AbstractOperatingRange * SOAP_FMAC2 soap_instantiate_witsml return soap_instantiate_witsml21__AzimuthRange(soap, n, NULL, NULL, size); witsml21__AbstractOperatingRange *p; size_t k = sizeof(witsml21__AbstractOperatingRange); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractOperatingRange, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractOperatingRange, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -349065,13 +344013,9 @@ SOAP_FMAC1 witsml21__AbstractOperatingRange * SOAP_FMAC2 soap_instantiate_witsml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__AbstractOperatingRange location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -349263,7 +344207,7 @@ SOAP_FMAC1 witsml21__TargetSection * SOAP_FMAC2 soap_instantiate_witsml21__Targe (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TargetSection *p; size_t k = sizeof(witsml21__TargetSection); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TargetSection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TargetSection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -349278,13 +344222,9 @@ SOAP_FMAC1 witsml21__TargetSection * SOAP_FMAC2 soap_instantiate_witsml21__Targe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TargetSection location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -349710,7 +344650,7 @@ SOAP_FMAC1 witsml21__Target * SOAP_FMAC2 soap_instantiate_witsml21__Target(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Target *p; size_t k = sizeof(witsml21__Target); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Target, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Target, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -349725,13 +344665,9 @@ SOAP_FMAC1 witsml21__Target * SOAP_FMAC2 soap_instantiate_witsml21__Target(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Target location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -349863,7 +344799,7 @@ SOAP_FMAC1 witsml21__TrajectoryStationOSDUIntegration * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TrajectoryStationOSDUIntegration *p; size_t k = sizeof(witsml21__TrajectoryStationOSDUIntegration); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TrajectoryStationOSDUIntegration, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TrajectoryStationOSDUIntegration, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -349878,13 +344814,9 @@ SOAP_FMAC1 witsml21__TrajectoryStationOSDUIntegration * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TrajectoryStationOSDUIntegration location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -350671,7 +345603,7 @@ SOAP_FMAC1 witsml21__TrajectoryStation * SOAP_FMAC2 soap_instantiate_witsml21__T (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TrajectoryStation *p; size_t k = sizeof(witsml21__TrajectoryStation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TrajectoryStation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TrajectoryStation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -350686,13 +345618,9 @@ SOAP_FMAC1 witsml21__TrajectoryStation * SOAP_FMAC2 soap_instantiate_witsml21__T for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TrajectoryStation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -350964,7 +345892,7 @@ SOAP_FMAC1 witsml21__TrajectoryReport * SOAP_FMAC2 soap_instantiate_witsml21__Tr (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TrajectoryReport *p; size_t k = sizeof(witsml21__TrajectoryReport); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TrajectoryReport, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TrajectoryReport, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -350979,13 +345907,9 @@ SOAP_FMAC1 witsml21__TrajectoryReport * SOAP_FMAC2 soap_instantiate_witsml21__Tr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TrajectoryReport location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -351136,7 +346060,7 @@ SOAP_FMAC1 witsml21__TrajectoryOSDUIntegration * SOAP_FMAC2 soap_instantiate_wit (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TrajectoryOSDUIntegration *p; size_t k = sizeof(witsml21__TrajectoryOSDUIntegration); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TrajectoryOSDUIntegration, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TrajectoryOSDUIntegration, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -351151,13 +346075,9 @@ SOAP_FMAC1 witsml21__TrajectoryOSDUIntegration * SOAP_FMAC2 soap_instantiate_wit for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TrajectoryOSDUIntegration location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -351702,7 +346622,7 @@ SOAP_FMAC1 witsml21__Trajectory * SOAP_FMAC2 soap_instantiate_witsml21__Trajecto (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Trajectory *p; size_t k = sizeof(witsml21__Trajectory); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Trajectory, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Trajectory, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -351717,13 +346637,9 @@ SOAP_FMAC1 witsml21__Trajectory * SOAP_FMAC2 soap_instantiate_witsml21__Trajecto for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Trajectory location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -351855,7 +346771,7 @@ SOAP_FMAC1 witsml21__StnTrajValid * SOAP_FMAC2 soap_instantiate_witsml21__StnTra (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StnTrajValid *p; size_t k = sizeof(witsml21__StnTrajValid); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StnTrajValid, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StnTrajValid, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -351870,13 +346786,9 @@ SOAP_FMAC1 witsml21__StnTrajValid * SOAP_FMAC2 soap_instantiate_witsml21__StnTra for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StnTrajValid location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -352041,7 +346953,7 @@ SOAP_FMAC1 witsml21__StnTrajRawData * SOAP_FMAC2 soap_instantiate_witsml21__StnT (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StnTrajRawData *p; size_t k = sizeof(witsml21__StnTrajRawData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StnTrajRawData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StnTrajRawData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -352056,13 +346968,9 @@ SOAP_FMAC1 witsml21__StnTrajRawData * SOAP_FMAC2 soap_instantiate_witsml21__StnT for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StnTrajRawData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -352315,7 +347223,7 @@ SOAP_FMAC1 witsml21__StnTrajMatrixCov * SOAP_FMAC2 soap_instantiate_witsml21__St (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StnTrajMatrixCov *p; size_t k = sizeof(witsml21__StnTrajMatrixCov); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StnTrajMatrixCov, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StnTrajMatrixCov, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -352330,13 +347238,9 @@ SOAP_FMAC1 witsml21__StnTrajMatrixCov * SOAP_FMAC2 soap_instantiate_witsml21__St for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StnTrajMatrixCov location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -352600,7 +347504,7 @@ SOAP_FMAC1 witsml21__StnTrajCorUsed * SOAP_FMAC2 soap_instantiate_witsml21__StnT (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StnTrajCorUsed *p; size_t k = sizeof(witsml21__StnTrajCorUsed); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StnTrajCorUsed, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StnTrajCorUsed, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -352615,13 +347519,9 @@ SOAP_FMAC1 witsml21__StnTrajCorUsed * SOAP_FMAC2 soap_instantiate_witsml21__StnT for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StnTrajCorUsed location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -352758,7 +347658,7 @@ SOAP_FMAC1 witsml21__SourceTrajectoryStation * SOAP_FMAC2 soap_instantiate_witsm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__SourceTrajectoryStation *p; size_t k = sizeof(witsml21__SourceTrajectoryStation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__SourceTrajectoryStation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__SourceTrajectoryStation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -352773,13 +347673,9 @@ SOAP_FMAC1 witsml21__SourceTrajectoryStation * SOAP_FMAC2 soap_instantiate_witsm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__SourceTrajectoryStation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -352962,7 +347858,7 @@ SOAP_FMAC1 witsml21__PointMetadata * SOAP_FMAC2 soap_instantiate_witsml21__Point (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__PointMetadata *p; size_t k = sizeof(witsml21__PointMetadata); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PointMetadata, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PointMetadata, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -352977,13 +347873,9 @@ SOAP_FMAC1 witsml21__PointMetadata * SOAP_FMAC2 soap_instantiate_witsml21__Point for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PointMetadata location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -353142,7 +348034,7 @@ SOAP_FMAC1 witsml21__PassIndexedDepthInterval * SOAP_FMAC2 soap_instantiate_wits (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__PassIndexedDepthInterval *p; size_t k = sizeof(witsml21__PassIndexedDepthInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PassIndexedDepthInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PassIndexedDepthInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -353157,13 +348049,9 @@ SOAP_FMAC1 witsml21__PassIndexedDepthInterval * SOAP_FMAC2 soap_instantiate_wits for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PassIndexedDepthInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -353306,7 +348194,7 @@ SOAP_FMAC1 witsml21__PassIndexedDepth * SOAP_FMAC2 soap_instantiate_witsml21__Pa (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__PassIndexedDepth *p; size_t k = sizeof(witsml21__PassIndexedDepth); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PassIndexedDepth, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PassIndexedDepth, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -353321,13 +348209,9 @@ SOAP_FMAC1 witsml21__PassIndexedDepth * SOAP_FMAC2 soap_instantiate_witsml21__Pa for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PassIndexedDepth location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -353456,7 +348340,7 @@ SOAP_FMAC1 witsml21__PassDetail * SOAP_FMAC2 soap_instantiate_witsml21__PassDeta (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__PassDetail *p; size_t k = sizeof(witsml21__PassDetail); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PassDetail, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PassDetail, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -353471,13 +348355,9 @@ SOAP_FMAC1 witsml21__PassDetail * SOAP_FMAC2 soap_instantiate_witsml21__PassDeta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PassDetail location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -353631,7 +348511,7 @@ SOAP_FMAC1 witsml21__LogOSDUIntegration * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__LogOSDUIntegration *p; size_t k = sizeof(witsml21__LogOSDUIntegration); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LogOSDUIntegration, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LogOSDUIntegration, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -353646,13 +348526,9 @@ SOAP_FMAC1 witsml21__LogOSDUIntegration * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__LogOSDUIntegration location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -353831,7 +348707,7 @@ SOAP_FMAC1 witsml21__LogChannelAxis * SOAP_FMAC2 soap_instantiate_witsml21__LogC (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__LogChannelAxis *p; size_t k = sizeof(witsml21__LogChannelAxis); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LogChannelAxis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LogChannelAxis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -353846,13 +348722,9 @@ SOAP_FMAC1 witsml21__LogChannelAxis * SOAP_FMAC2 soap_instantiate_witsml21__LogC for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__LogChannelAxis location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -354294,7 +349166,7 @@ SOAP_FMAC1 witsml21__Log * SOAP_FMAC2 soap_instantiate_witsml21__Log(struct soap (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Log *p; size_t k = sizeof(witsml21__Log); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Log, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Log, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -354309,13 +349181,9 @@ SOAP_FMAC1 witsml21__Log * SOAP_FMAC2 soap_instantiate_witsml21__Log(struct soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Log location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -354469,7 +349337,7 @@ SOAP_FMAC1 witsml21__ChannelSetOSDUIntegration * SOAP_FMAC2 soap_instantiate_wit (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ChannelSetOSDUIntegration *p; size_t k = sizeof(witsml21__ChannelSetOSDUIntegration); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ChannelSetOSDUIntegration, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ChannelSetOSDUIntegration, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -354484,13 +349352,9 @@ SOAP_FMAC1 witsml21__ChannelSetOSDUIntegration * SOAP_FMAC2 soap_instantiate_wit for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ChannelSetOSDUIntegration location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -354951,7 +349815,7 @@ SOAP_FMAC1 witsml21__ChannelSet * SOAP_FMAC2 soap_instantiate_witsml21__ChannelS (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ChannelSet *p; size_t k = sizeof(witsml21__ChannelSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ChannelSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ChannelSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -354966,13 +349830,9 @@ SOAP_FMAC1 witsml21__ChannelSet * SOAP_FMAC2 soap_instantiate_witsml21__ChannelS for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ChannelSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -355148,7 +350008,7 @@ SOAP_FMAC1 witsml21__ChannelOSDUIntegration * SOAP_FMAC2 soap_instantiate_witsml (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ChannelOSDUIntegration *p; size_t k = sizeof(witsml21__ChannelOSDUIntegration); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ChannelOSDUIntegration, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ChannelOSDUIntegration, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -355163,13 +350023,9 @@ SOAP_FMAC1 witsml21__ChannelOSDUIntegration * SOAP_FMAC2 soap_instantiate_witsml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ChannelOSDUIntegration location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -355354,7 +350210,7 @@ SOAP_FMAC1 witsml21__ChannelIndex * SOAP_FMAC2 soap_instantiate_witsml21__Channe (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ChannelIndex *p; size_t k = sizeof(witsml21__ChannelIndex); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ChannelIndex, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ChannelIndex, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -355369,13 +350225,9 @@ SOAP_FMAC1 witsml21__ChannelIndex * SOAP_FMAC2 soap_instantiate_witsml21__Channe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ChannelIndex location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -355496,7 +350348,7 @@ SOAP_FMAC1 witsml21__ChannelData * SOAP_FMAC2 soap_instantiate_witsml21__Channel (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ChannelData *p; size_t k = sizeof(witsml21__ChannelData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ChannelData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ChannelData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -355511,13 +350363,9 @@ SOAP_FMAC1 witsml21__ChannelData * SOAP_FMAC2 soap_instantiate_witsml21__Channel for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ChannelData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -356114,7 +350962,7 @@ SOAP_FMAC1 witsml21__Channel * SOAP_FMAC2 soap_instantiate_witsml21__Channel(str (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Channel *p; size_t k = sizeof(witsml21__Channel); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Channel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Channel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -356129,13 +350977,9 @@ SOAP_FMAC1 witsml21__Channel * SOAP_FMAC2 soap_instantiate_witsml21__Channel(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Channel location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -356404,7 +351248,7 @@ SOAP_FMAC1 witsml21__WellboreGeology * SOAP_FMAC2 soap_instantiate_witsml21__Wel (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__WellboreGeology *p; size_t k = sizeof(witsml21__WellboreGeology); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellboreGeology, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellboreGeology, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -356419,13 +351263,9 @@ SOAP_FMAC1 witsml21__WellboreGeology * SOAP_FMAC2 soap_instantiate_witsml21__Wel for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__WellboreGeology location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -356628,7 +351468,7 @@ SOAP_FMAC1 witsml21__ShowEvaluationInterval * SOAP_FMAC2 soap_instantiate_witsml (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ShowEvaluationInterval *p; size_t k = sizeof(witsml21__ShowEvaluationInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ShowEvaluationInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ShowEvaluationInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -356643,13 +351483,9 @@ SOAP_FMAC1 witsml21__ShowEvaluationInterval * SOAP_FMAC2 soap_instantiate_witsml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ShowEvaluationInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -356900,7 +351736,7 @@ SOAP_FMAC1 witsml21__ShowEvaluation * SOAP_FMAC2 soap_instantiate_witsml21__Show (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ShowEvaluation *p; size_t k = sizeof(witsml21__ShowEvaluation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ShowEvaluation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ShowEvaluation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -356915,13 +351751,9 @@ SOAP_FMAC1 witsml21__ShowEvaluation * SOAP_FMAC2 soap_instantiate_witsml21__Show for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ShowEvaluation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -357012,7 +351844,7 @@ SOAP_FMAC1 witsml21__LithostratigraphicUnit * SOAP_FMAC2 soap_instantiate_witsml (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__LithostratigraphicUnit *p; size_t k = sizeof(witsml21__LithostratigraphicUnit); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LithostratigraphicUnit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LithostratigraphicUnit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -357027,13 +351859,9 @@ SOAP_FMAC1 witsml21__LithostratigraphicUnit * SOAP_FMAC2 soap_instantiate_witsml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__LithostratigraphicUnit location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -357188,7 +352016,7 @@ SOAP_FMAC1 witsml21__LithologyQualifier * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__LithologyQualifier *p; size_t k = sizeof(witsml21__LithologyQualifier); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LithologyQualifier, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LithologyQualifier, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -357203,13 +352031,9 @@ SOAP_FMAC1 witsml21__LithologyQualifier * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__LithologyQualifier location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -357506,7 +352330,7 @@ SOAP_FMAC1 witsml21__InterpretedIntervalLithology * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__InterpretedIntervalLithology *p; size_t k = sizeof(witsml21__InterpretedIntervalLithology); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__InterpretedIntervalLithology, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__InterpretedIntervalLithology, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -357521,13 +352345,9 @@ SOAP_FMAC1 witsml21__InterpretedIntervalLithology * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__InterpretedIntervalLithology location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -357721,7 +352541,7 @@ SOAP_FMAC1 witsml21__InterpretedGeologyInterval * SOAP_FMAC2 soap_instantiate_wi (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__InterpretedGeologyInterval *p; size_t k = sizeof(witsml21__InterpretedGeologyInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__InterpretedGeologyInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__InterpretedGeologyInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -357736,13 +352556,9 @@ SOAP_FMAC1 witsml21__InterpretedGeologyInterval * SOAP_FMAC2 soap_instantiate_wi for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__InterpretedGeologyInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -357993,7 +352809,7 @@ SOAP_FMAC1 witsml21__InterpretedGeology * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__InterpretedGeology *p; size_t k = sizeof(witsml21__InterpretedGeology); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__InterpretedGeology, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__InterpretedGeology, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -358008,13 +352824,9 @@ SOAP_FMAC1 witsml21__InterpretedGeology * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__InterpretedGeology location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -358117,7 +352929,7 @@ SOAP_FMAC1 witsml21__GeochronologicalUnit * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__GeochronologicalUnit *p; size_t k = sizeof(witsml21__GeochronologicalUnit); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__GeochronologicalUnit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__GeochronologicalUnit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -358132,13 +352944,9 @@ SOAP_FMAC1 witsml21__GeochronologicalUnit * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__GeochronologicalUnit location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -358494,7 +353302,7 @@ SOAP_FMAC1 witsml21__CuttingsIntervalShow * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CuttingsIntervalShow *p; size_t k = sizeof(witsml21__CuttingsIntervalShow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CuttingsIntervalShow, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CuttingsIntervalShow, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -358509,13 +353317,9 @@ SOAP_FMAC1 witsml21__CuttingsIntervalShow * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CuttingsIntervalShow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -358835,7 +353639,7 @@ SOAP_FMAC1 witsml21__CuttingsIntervalLithology * SOAP_FMAC2 soap_instantiate_wit (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CuttingsIntervalLithology *p; size_t k = sizeof(witsml21__CuttingsIntervalLithology); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CuttingsIntervalLithology, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CuttingsIntervalLithology, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -358850,13 +353654,9 @@ SOAP_FMAC1 witsml21__CuttingsIntervalLithology * SOAP_FMAC2 soap_instantiate_wit for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CuttingsIntervalLithology location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -359167,7 +353967,7 @@ SOAP_FMAC1 witsml21__CuttingsGeologyInterval * SOAP_FMAC2 soap_instantiate_witsm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CuttingsGeologyInterval *p; size_t k = sizeof(witsml21__CuttingsGeologyInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CuttingsGeologyInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CuttingsGeologyInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -359182,13 +353982,9 @@ SOAP_FMAC1 witsml21__CuttingsGeologyInterval * SOAP_FMAC2 soap_instantiate_witsm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CuttingsGeologyInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -359439,7 +354235,7 @@ SOAP_FMAC1 witsml21__CuttingsGeology * SOAP_FMAC2 soap_instantiate_witsml21__Cut (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CuttingsGeology *p; size_t k = sizeof(witsml21__CuttingsGeology); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CuttingsGeology, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CuttingsGeology, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -359454,13 +354250,9 @@ SOAP_FMAC1 witsml21__CuttingsGeology * SOAP_FMAC2 soap_instantiate_witsml21__Cut for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CuttingsGeology location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -359593,7 +354385,7 @@ SOAP_FMAC1 witsml21__WobStatistics * SOAP_FMAC2 soap_instantiate_witsml21__WobSt (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__WobStatistics *p; size_t k = sizeof(witsml21__WobStatistics); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WobStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WobStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -359608,13 +354400,9 @@ SOAP_FMAC1 witsml21__WobStatistics * SOAP_FMAC2 soap_instantiate_witsml21__WobSt for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__WobStatistics location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -359747,7 +354535,7 @@ SOAP_FMAC1 witsml21__TorqueStatistics * SOAP_FMAC2 soap_instantiate_witsml21__To (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TorqueStatistics *p; size_t k = sizeof(witsml21__TorqueStatistics); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TorqueStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TorqueStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -359762,13 +354550,9 @@ SOAP_FMAC1 witsml21__TorqueStatistics * SOAP_FMAC2 soap_instantiate_witsml21__To for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TorqueStatistics location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -359901,7 +354685,7 @@ SOAP_FMAC1 witsml21__TorqueCurrentStatistics * SOAP_FMAC2 soap_instantiate_witsm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TorqueCurrentStatistics *p; size_t k = sizeof(witsml21__TorqueCurrentStatistics); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TorqueCurrentStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TorqueCurrentStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -359916,13 +354700,9 @@ SOAP_FMAC1 witsml21__TorqueCurrentStatistics * SOAP_FMAC2 soap_instantiate_witsm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TorqueCurrentStatistics location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -360055,7 +354835,7 @@ SOAP_FMAC1 witsml21__RpmStatistics * SOAP_FMAC2 soap_instantiate_witsml21__RpmSt (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__RpmStatistics *p; size_t k = sizeof(witsml21__RpmStatistics); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__RpmStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__RpmStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -360070,13 +354850,9 @@ SOAP_FMAC1 witsml21__RpmStatistics * SOAP_FMAC2 soap_instantiate_witsml21__RpmSt for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__RpmStatistics location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -360219,7 +354995,7 @@ SOAP_FMAC1 witsml21__RopStatistics * SOAP_FMAC2 soap_instantiate_witsml21__RopSt (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__RopStatistics *p; size_t k = sizeof(witsml21__RopStatistics); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__RopStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__RopStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -360234,13 +355010,9 @@ SOAP_FMAC1 witsml21__RopStatistics * SOAP_FMAC2 soap_instantiate_witsml21__RopSt for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__RopStatistics location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -360405,7 +355177,7 @@ SOAP_FMAC1 witsml21__MudLogStringParameter * SOAP_FMAC2 soap_instantiate_witsml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__MudLogStringParameter *p; size_t k = sizeof(witsml21__MudLogStringParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLogStringParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLogStringParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -360420,13 +355192,9 @@ SOAP_FMAC1 witsml21__MudLogStringParameter * SOAP_FMAC2 soap_instantiate_witsml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MudLogStringParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -360668,7 +355436,7 @@ SOAP_FMAC1 witsml21__MudlogReportInterval * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__MudlogReportInterval *p; size_t k = sizeof(witsml21__MudlogReportInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudlogReportInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudlogReportInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -360683,13 +355451,9 @@ SOAP_FMAC1 witsml21__MudlogReportInterval * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MudlogReportInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -361000,7 +355764,7 @@ SOAP_FMAC1 witsml21__MudLogReport * SOAP_FMAC2 soap_instantiate_witsml21__MudLog (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__MudLogReport *p; size_t k = sizeof(witsml21__MudLogReport); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLogReport, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLogReport, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -361015,13 +355779,9 @@ SOAP_FMAC1 witsml21__MudLogReport * SOAP_FMAC2 soap_instantiate_witsml21__MudLog for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MudLogReport location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -361189,7 +355949,7 @@ SOAP_FMAC1 witsml21__MudLogPressureParameter * SOAP_FMAC2 soap_instantiate_witsm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__MudLogPressureParameter *p; size_t k = sizeof(witsml21__MudLogPressureParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLogPressureParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLogPressureParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -361204,13 +355964,9 @@ SOAP_FMAC1 witsml21__MudLogPressureParameter * SOAP_FMAC2 soap_instantiate_witsm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MudLogPressureParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -361378,7 +356134,7 @@ SOAP_FMAC1 witsml21__MudLogPressureGradientParameter * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__MudLogPressureGradientParameter *p; size_t k = sizeof(witsml21__MudLogPressureGradientParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLogPressureGradientParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLogPressureGradientParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -361393,13 +356149,9 @@ SOAP_FMAC1 witsml21__MudLogPressureGradientParameter * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MudLogPressureGradientParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -361558,7 +356310,7 @@ SOAP_FMAC1 witsml21__MudLogParameter * SOAP_FMAC2 soap_instantiate_witsml21__Mud return soap_instantiate_witsml21__MudLogStringParameter(soap, n, NULL, NULL, size); witsml21__MudLogParameter *p; size_t k = sizeof(witsml21__MudLogParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLogParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLogParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -361573,13 +356325,9 @@ SOAP_FMAC1 witsml21__MudLogParameter * SOAP_FMAC2 soap_instantiate_witsml21__Mud for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MudLogParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -361747,7 +356495,7 @@ SOAP_FMAC1 witsml21__MudLogForceParameter * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__MudLogForceParameter *p; size_t k = sizeof(witsml21__MudLogForceParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLogForceParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLogForceParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -361762,13 +356510,9 @@ SOAP_FMAC1 witsml21__MudLogForceParameter * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MudLogForceParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -361936,7 +356680,7 @@ SOAP_FMAC1 witsml21__MudLogConcentrationParameter * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__MudLogConcentrationParameter *p; size_t k = sizeof(witsml21__MudLogConcentrationParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLogConcentrationParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudLogConcentrationParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -361951,13 +356695,9 @@ SOAP_FMAC1 witsml21__MudLogConcentrationParameter * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MudLogConcentrationParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -362075,7 +356815,7 @@ SOAP_FMAC1 witsml21__MudGas * SOAP_FMAC2 soap_instantiate_witsml21__MudGas(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__MudGas *p; size_t k = sizeof(witsml21__MudGas); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudGas, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudGas, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -362090,13 +356830,9 @@ SOAP_FMAC1 witsml21__MudGas * SOAP_FMAC2 soap_instantiate_witsml21__MudGas(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MudGas location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -362229,7 +356965,7 @@ SOAP_FMAC1 witsml21__MudDensityStatistics * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__MudDensityStatistics *p; size_t k = sizeof(witsml21__MudDensityStatistics); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudDensityStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudDensityStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -362244,13 +356980,9 @@ SOAP_FMAC1 witsml21__MudDensityStatistics * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MudDensityStatistics location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -362427,7 +357159,7 @@ SOAP_FMAC1 witsml21__GasPeak * SOAP_FMAC2 soap_instantiate_witsml21__GasPeak(str (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__GasPeak *p; size_t k = sizeof(witsml21__GasPeak); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__GasPeak, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__GasPeak, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -362442,13 +357174,9 @@ SOAP_FMAC1 witsml21__GasPeak * SOAP_FMAC2 soap_instantiate_witsml21__GasPeak(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__GasPeak location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -362592,7 +357320,7 @@ SOAP_FMAC1 witsml21__GasInMud * SOAP_FMAC2 soap_instantiate_witsml21__GasInMud(s (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__GasInMud *p; size_t k = sizeof(witsml21__GasInMud); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__GasInMud, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__GasInMud, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -362607,13 +357335,9 @@ SOAP_FMAC1 witsml21__GasInMud * SOAP_FMAC2 soap_instantiate_witsml21__GasInMud(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__GasInMud location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -362746,7 +357470,7 @@ SOAP_FMAC1 witsml21__EcdStatistics * SOAP_FMAC2 soap_instantiate_witsml21__EcdSt (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__EcdStatistics *p; size_t k = sizeof(witsml21__EcdStatistics); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__EcdStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__EcdStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -362761,13 +357485,9 @@ SOAP_FMAC1 witsml21__EcdStatistics * SOAP_FMAC2 soap_instantiate_witsml21__EcdSt for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__EcdStatistics location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -362900,7 +357620,7 @@ SOAP_FMAC1 witsml21__DxcStatistics * SOAP_FMAC2 soap_instantiate_witsml21__DxcSt (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DxcStatistics *p; size_t k = sizeof(witsml21__DxcStatistics); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DxcStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DxcStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -362915,13 +357635,9 @@ SOAP_FMAC1 witsml21__DxcStatistics * SOAP_FMAC2 soap_instantiate_witsml21__DxcSt for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DxcStatistics location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -363108,7 +357824,7 @@ SOAP_FMAC1 witsml21__DrillingParameters * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillingParameters *p; size_t k = sizeof(witsml21__DrillingParameters); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillingParameters, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillingParameters, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -363123,13 +357839,9 @@ SOAP_FMAC1 witsml21__DrillingParameters * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillingParameters location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -363723,7 +358435,7 @@ SOAP_FMAC1 witsml21__Chromatograph * SOAP_FMAC2 soap_instantiate_witsml21__Chrom (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Chromatograph *p; size_t k = sizeof(witsml21__Chromatograph); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Chromatograph, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Chromatograph, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -363738,13 +358450,9 @@ SOAP_FMAC1 witsml21__Chromatograph * SOAP_FMAC2 soap_instantiate_witsml21__Chrom for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Chromatograph location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -363949,7 +358657,7 @@ SOAP_FMAC1 witsml21__LoggingToolKindDictionary * SOAP_FMAC2 soap_instantiate_wit (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__LoggingToolKindDictionary *p; size_t k = sizeof(witsml21__LoggingToolKindDictionary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LoggingToolKindDictionary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LoggingToolKindDictionary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -363964,13 +358672,9 @@ SOAP_FMAC1 witsml21__LoggingToolKindDictionary * SOAP_FMAC2 soap_instantiate_wit for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__LoggingToolKindDictionary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -364257,7 +358961,7 @@ SOAP_FMAC1 witsml21__LoggingToolKind * SOAP_FMAC2 soap_instantiate_witsml21__Log (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__LoggingToolKind *p; size_t k = sizeof(witsml21__LoggingToolKind); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LoggingToolKind, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LoggingToolKind, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -364272,13 +358976,9 @@ SOAP_FMAC1 witsml21__LoggingToolKind * SOAP_FMAC2 soap_instantiate_witsml21__Log for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__LoggingToolKind location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -364483,7 +359183,7 @@ SOAP_FMAC1 witsml21__ChannelKindDictionary * SOAP_FMAC2 soap_instantiate_witsml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ChannelKindDictionary *p; size_t k = sizeof(witsml21__ChannelKindDictionary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ChannelKindDictionary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ChannelKindDictionary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -364498,13 +359198,9 @@ SOAP_FMAC1 witsml21__ChannelKindDictionary * SOAP_FMAC2 soap_instantiate_witsml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ChannelKindDictionary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -364770,7 +359466,7 @@ SOAP_FMAC1 witsml21__ChannelKind * SOAP_FMAC2 soap_instantiate_witsml21__Channel (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ChannelKind *p; size_t k = sizeof(witsml21__ChannelKind); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ChannelKind, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ChannelKind, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -364785,13 +359481,9 @@ SOAP_FMAC1 witsml21__ChannelKind * SOAP_FMAC2 soap_instantiate_witsml21__Channel for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ChannelKind location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -364901,7 +359593,7 @@ SOAP_FMAC1 witsml21__TubularUmbilicalOSDUIntegration * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TubularUmbilicalOSDUIntegration *p; size_t k = sizeof(witsml21__TubularUmbilicalOSDUIntegration); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TubularUmbilicalOSDUIntegration, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TubularUmbilicalOSDUIntegration, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -364916,13 +359608,9 @@ SOAP_FMAC1 witsml21__TubularUmbilicalOSDUIntegration * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TubularUmbilicalOSDUIntegration location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -365054,7 +359742,7 @@ SOAP_FMAC1 witsml21__TubularUmbilicalCut * SOAP_FMAC2 soap_instantiate_witsml21_ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TubularUmbilicalCut *p; size_t k = sizeof(witsml21__TubularUmbilicalCut); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TubularUmbilicalCut, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TubularUmbilicalCut, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -365069,13 +359757,9 @@ SOAP_FMAC1 witsml21__TubularUmbilicalCut * SOAP_FMAC2 soap_instantiate_witsml21_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TubularUmbilicalCut location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -365239,7 +359923,7 @@ SOAP_FMAC1 witsml21__TubularUmbilical * SOAP_FMAC2 soap_instantiate_witsml21__Tu (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TubularUmbilical *p; size_t k = sizeof(witsml21__TubularUmbilical); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TubularUmbilical, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TubularUmbilical, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -365254,13 +359938,9 @@ SOAP_FMAC1 witsml21__TubularUmbilical * SOAP_FMAC2 soap_instantiate_witsml21__Tu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TubularUmbilical location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -365535,7 +360215,7 @@ SOAP_FMAC1 witsml21__TubularOSDUIntegration * SOAP_FMAC2 soap_instantiate_witsml (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TubularOSDUIntegration *p; size_t k = sizeof(witsml21__TubularOSDUIntegration); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TubularOSDUIntegration, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TubularOSDUIntegration, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -365550,13 +360230,9 @@ SOAP_FMAC1 witsml21__TubularOSDUIntegration * SOAP_FMAC2 soap_instantiate_witsml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TubularOSDUIntegration location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -365787,7 +360463,7 @@ SOAP_FMAC1 witsml21__TubularComponentOSDUIntegration * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TubularComponentOSDUIntegration *p; size_t k = sizeof(witsml21__TubularComponentOSDUIntegration); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TubularComponentOSDUIntegration, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TubularComponentOSDUIntegration, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -365802,13 +360478,9 @@ SOAP_FMAC1 witsml21__TubularComponentOSDUIntegration * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TubularComponentOSDUIntegration location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -366474,7 +361146,7 @@ SOAP_FMAC1 witsml21__TubularComponent * SOAP_FMAC2 soap_instantiate_witsml21__Tu (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TubularComponent *p; size_t k = sizeof(witsml21__TubularComponent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TubularComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TubularComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -366489,13 +361161,9 @@ SOAP_FMAC1 witsml21__TubularComponent * SOAP_FMAC2 soap_instantiate_witsml21__Tu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TubularComponent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -366799,7 +361467,7 @@ SOAP_FMAC1 witsml21__Tubular * SOAP_FMAC2 soap_instantiate_witsml21__Tubular(str (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Tubular *p; size_t k = sizeof(witsml21__Tubular); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Tubular, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Tubular, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -366814,13 +361482,9 @@ SOAP_FMAC1 witsml21__Tubular * SOAP_FMAC2 soap_instantiate_witsml21__Tubular(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Tubular location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -367019,7 +361683,7 @@ SOAP_FMAC1 witsml21__Stabilizer * SOAP_FMAC2 soap_instantiate_witsml21__Stabiliz (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Stabilizer *p; size_t k = sizeof(witsml21__Stabilizer); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Stabilizer, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Stabilizer, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -367034,13 +361698,9 @@ SOAP_FMAC1 witsml21__Stabilizer * SOAP_FMAC2 soap_instantiate_witsml21__Stabiliz for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Stabilizer location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -367184,7 +361844,7 @@ SOAP_FMAC1 witsml21__Sensor * SOAP_FMAC2 soap_instantiate_witsml21__Sensor(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Sensor *p; size_t k = sizeof(witsml21__Sensor); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Sensor, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Sensor, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -367199,13 +361859,9 @@ SOAP_FMAC1 witsml21__Sensor * SOAP_FMAC2 soap_instantiate_witsml21__Sensor(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Sensor location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -367529,7 +362185,7 @@ SOAP_FMAC1 witsml21__RotarySteerableTool * SOAP_FMAC2 soap_instantiate_witsml21_ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__RotarySteerableTool *p; size_t k = sizeof(witsml21__RotarySteerableTool); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__RotarySteerableTool, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__RotarySteerableTool, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -367544,13 +362200,9 @@ SOAP_FMAC1 witsml21__RotarySteerableTool * SOAP_FMAC2 soap_instantiate_witsml21_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__RotarySteerableTool location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -367682,7 +362334,7 @@ SOAP_FMAC1 witsml21__OSDUTubularAssemblyStatus * SOAP_FMAC2 soap_instantiate_wit (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__OSDUTubularAssemblyStatus *p; size_t k = sizeof(witsml21__OSDUTubularAssemblyStatus); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__OSDUTubularAssemblyStatus, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__OSDUTubularAssemblyStatus, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -367697,13 +362349,9 @@ SOAP_FMAC1 witsml21__OSDUTubularAssemblyStatus * SOAP_FMAC2 soap_instantiate_wit for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__OSDUTubularAssemblyStatus location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -367869,7 +362517,7 @@ SOAP_FMAC1 witsml21__Nozzle * SOAP_FMAC2 soap_instantiate_witsml21__Nozzle(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Nozzle *p; size_t k = sizeof(witsml21__Nozzle); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Nozzle, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Nozzle, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -367884,13 +362532,9 @@ SOAP_FMAC1 witsml21__Nozzle * SOAP_FMAC2 soap_instantiate_witsml21__Nozzle(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Nozzle location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -368049,7 +362693,7 @@ SOAP_FMAC1 witsml21__MwdTool * SOAP_FMAC2 soap_instantiate_witsml21__MwdTool(str (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__MwdTool *p; size_t k = sizeof(witsml21__MwdTool); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MwdTool, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MwdTool, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -368064,13 +362708,9 @@ SOAP_FMAC1 witsml21__MwdTool * SOAP_FMAC2 soap_instantiate_witsml21__MwdTool(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MwdTool location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -368361,7 +363001,7 @@ SOAP_FMAC1 witsml21__Motor * SOAP_FMAC2 soap_instantiate_witsml21__Motor(struct (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Motor *p; size_t k = sizeof(witsml21__Motor); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Motor, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Motor, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -368376,13 +363016,9 @@ SOAP_FMAC1 witsml21__Motor * SOAP_FMAC2 soap_instantiate_witsml21__Motor(struct for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Motor location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -368577,7 +363213,7 @@ SOAP_FMAC1 witsml21__Jar * SOAP_FMAC2 soap_instantiate_witsml21__Jar(struct soap (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Jar *p; size_t k = sizeof(witsml21__Jar); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Jar, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Jar, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -368592,13 +363228,9 @@ SOAP_FMAC1 witsml21__Jar * SOAP_FMAC2 soap_instantiate_witsml21__Jar(struct soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Jar location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -368749,7 +363381,7 @@ SOAP_FMAC1 witsml21__HoleOpener * SOAP_FMAC2 soap_instantiate_witsml21__HoleOpen (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__HoleOpener *p; size_t k = sizeof(witsml21__HoleOpener); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__HoleOpener, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__HoleOpener, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -368764,13 +363396,9 @@ SOAP_FMAC1 witsml21__HoleOpener * SOAP_FMAC2 soap_instantiate_witsml21__HoleOpen for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__HoleOpener location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -369004,7 +363632,7 @@ SOAP_FMAC1 witsml21__Connection * SOAP_FMAC2 soap_instantiate_witsml21__Connecti return soap_instantiate_witsml21__EquipmentConnection(soap, n, NULL, NULL, size); witsml21__Connection *p; size_t k = sizeof(witsml21__Connection); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Connection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Connection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -369019,13 +363647,9 @@ SOAP_FMAC1 witsml21__Connection * SOAP_FMAC2 soap_instantiate_witsml21__Connecti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Connection location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -369445,7 +364069,7 @@ SOAP_FMAC1 witsml21__BitRecord * SOAP_FMAC2 soap_instantiate_witsml21__BitRecord (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__BitRecord *p; size_t k = sizeof(witsml21__BitRecord); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BitRecord, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BitRecord, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -369460,13 +364084,9 @@ SOAP_FMAC1 witsml21__BitRecord * SOAP_FMAC2 soap_instantiate_witsml21__BitRecord for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__BitRecord location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -369578,7 +364198,7 @@ SOAP_FMAC1 witsml21__BendOffset * SOAP_FMAC2 soap_instantiate_witsml21__BendOffs (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__BendOffset *p; size_t k = sizeof(witsml21__BendOffset); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BendOffset, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BendOffset, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -369593,13 +364213,9 @@ SOAP_FMAC1 witsml21__BendOffset * SOAP_FMAC2 soap_instantiate_witsml21__BendOffs for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__BendOffset location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -369711,7 +364327,7 @@ SOAP_FMAC1 witsml21__BendAngle * SOAP_FMAC2 soap_instantiate_witsml21__BendAngle (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__BendAngle *p; size_t k = sizeof(witsml21__BendAngle); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BendAngle, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BendAngle, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -369726,13 +364342,9 @@ SOAP_FMAC1 witsml21__BendAngle * SOAP_FMAC2 soap_instantiate_witsml21__BendAngle for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__BendAngle location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -369865,7 +364477,7 @@ SOAP_FMAC1 witsml21__Bend * SOAP_FMAC2 soap_instantiate_witsml21__Bend(struct so (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Bend *p; size_t k = sizeof(witsml21__Bend); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Bend, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Bend, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -369880,13 +364492,9 @@ SOAP_FMAC1 witsml21__Bend * SOAP_FMAC2 soap_instantiate_witsml21__Bend(struct so for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Bend location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -369989,7 +364597,7 @@ SOAP_FMAC1 witsml21__AbstractRotarySteerableTool * SOAP_FMAC2 soap_instantiate_w return soap_instantiate_witsml21__BendOffset(soap, n, NULL, NULL, size); witsml21__AbstractRotarySteerableTool *p; size_t k = sizeof(witsml21__AbstractRotarySteerableTool); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractRotarySteerableTool, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractRotarySteerableTool, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -370004,13 +364612,9 @@ SOAP_FMAC1 witsml21__AbstractRotarySteerableTool * SOAP_FMAC2 soap_instantiate_w for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__AbstractRotarySteerableTool location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -370147,7 +364751,7 @@ SOAP_FMAC1 witsml21__RheometerViscosity * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__RheometerViscosity *p; size_t k = sizeof(witsml21__RheometerViscosity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__RheometerViscosity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__RheometerViscosity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -370162,13 +364766,9 @@ SOAP_FMAC1 witsml21__RheometerViscosity * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__RheometerViscosity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -370309,7 +364909,7 @@ SOAP_FMAC1 witsml21__Rheometer * SOAP_FMAC2 soap_instantiate_witsml21__Rheometer (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Rheometer *p; size_t k = sizeof(witsml21__Rheometer); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Rheometer, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Rheometer, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -370324,13 +364924,9 @@ SOAP_FMAC1 witsml21__Rheometer * SOAP_FMAC2 soap_instantiate_witsml21__Rheometer for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Rheometer location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -370599,7 +365195,7 @@ SOAP_FMAC1 witsml21__FluidsReport * SOAP_FMAC2 soap_instantiate_witsml21__Fluids (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__FluidsReport *p; size_t k = sizeof(witsml21__FluidsReport); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__FluidsReport, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__FluidsReport, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -370614,13 +365210,9 @@ SOAP_FMAC1 witsml21__FluidsReport * SOAP_FMAC2 soap_instantiate_witsml21__Fluids for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__FluidsReport location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -371685,7 +366277,7 @@ SOAP_FMAC1 witsml21__Fluid * SOAP_FMAC2 soap_instantiate_witsml21__Fluid(struct (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Fluid *p; size_t k = sizeof(witsml21__Fluid); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Fluid, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Fluid, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -371700,13 +366292,9 @@ SOAP_FMAC1 witsml21__Fluid * SOAP_FMAC2 soap_instantiate_witsml21__Fluid(struct for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Fluid location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -372478,7 +367066,7 @@ SOAP_FMAC1 witsml21__DrillingParams * SOAP_FMAC2 soap_instantiate_witsml21__Dril (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillingParams *p; size_t k = sizeof(witsml21__DrillingParams); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillingParams, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillingParams, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -372493,13 +367081,9 @@ SOAP_FMAC1 witsml21__DrillingParams * SOAP_FMAC2 soap_instantiate_witsml21__Dril for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillingParams location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -372862,7 +367446,7 @@ SOAP_FMAC1 witsml21__BhaRun * SOAP_FMAC2 soap_instantiate_witsml21__BhaRun(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__BhaRun *p; size_t k = sizeof(witsml21__BhaRun); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BhaRun, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BhaRun, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -372877,13 +367461,9 @@ SOAP_FMAC1 witsml21__BhaRun * SOAP_FMAC2 soap_instantiate_witsml21__BhaRun(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__BhaRun location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -373090,7 +367670,7 @@ SOAP_FMAC1 witsml21__NameTag * SOAP_FMAC2 soap_instantiate_witsml21__NameTag(str (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__NameTag *p; size_t k = sizeof(witsml21__NameTag); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__NameTag, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__NameTag, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -373105,13 +367685,9 @@ SOAP_FMAC1 witsml21__NameTag * SOAP_FMAC2 soap_instantiate_witsml21__NameTag(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__NameTag location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -373624,7 +368200,7 @@ SOAP_FMAC1 witsml21__SurfaceEquipment * SOAP_FMAC2 soap_instantiate_witsml21__Su (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__SurfaceEquipment *p; size_t k = sizeof(witsml21__SurfaceEquipment); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__SurfaceEquipment, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__SurfaceEquipment, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -373639,13 +368215,9 @@ SOAP_FMAC1 witsml21__SurfaceEquipment * SOAP_FMAC2 soap_instantiate_witsml21__Su for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__SurfaceEquipment location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -373916,7 +368488,7 @@ SOAP_FMAC1 witsml21__Shaker * SOAP_FMAC2 soap_instantiate_witsml21__Shaker(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Shaker *p; size_t k = sizeof(witsml21__Shaker); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Shaker, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Shaker, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -373931,13 +368503,9 @@ SOAP_FMAC1 witsml21__Shaker * SOAP_FMAC2 soap_instantiate_witsml21__Shaker(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Shaker location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -374823,7 +369391,7 @@ SOAP_FMAC1 witsml21__RigUtilization * SOAP_FMAC2 soap_instantiate_witsml21__RigU (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__RigUtilization *p; size_t k = sizeof(witsml21__RigUtilization); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__RigUtilization, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__RigUtilization, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -374838,13 +369406,9 @@ SOAP_FMAC1 witsml21__RigUtilization * SOAP_FMAC2 soap_instantiate_witsml21__RigU for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__RigUtilization location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -375259,7 +369823,7 @@ SOAP_FMAC1 witsml21__Rig * SOAP_FMAC2 soap_instantiate_witsml21__Rig(struct soap (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Rig *p; size_t k = sizeof(witsml21__Rig); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Rig, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Rig, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -375274,13 +369838,9 @@ SOAP_FMAC1 witsml21__Rig * SOAP_FMAC2 soap_instantiate_witsml21__Rig(struct soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Rig location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -375488,7 +370048,7 @@ SOAP_FMAC1 witsml21__Pit * SOAP_FMAC2 soap_instantiate_witsml21__Pit(struct soap (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Pit *p; size_t k = sizeof(witsml21__Pit); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Pit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Pit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -375503,13 +370063,9 @@ SOAP_FMAC1 witsml21__Pit * SOAP_FMAC2 soap_instantiate_witsml21__Pit(struct soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Pit location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -375864,7 +370420,7 @@ SOAP_FMAC1 witsml21__MudPump * SOAP_FMAC2 soap_instantiate_witsml21__MudPump(str (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__MudPump *p; size_t k = sizeof(witsml21__MudPump); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudPump, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MudPump, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -375879,13 +370435,9 @@ SOAP_FMAC1 witsml21__MudPump * SOAP_FMAC2 soap_instantiate_witsml21__MudPump(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MudPump location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -376081,7 +370633,7 @@ SOAP_FMAC1 witsml21__Hydrocyclone * SOAP_FMAC2 soap_instantiate_witsml21__Hydroc (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Hydrocyclone *p; size_t k = sizeof(witsml21__Hydrocyclone); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Hydrocyclone, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Hydrocyclone, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -376096,13 +370648,9 @@ SOAP_FMAC1 witsml21__Hydrocyclone * SOAP_FMAC2 soap_instantiate_witsml21__Hydroc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Hydrocyclone location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -376430,7 +370978,7 @@ SOAP_FMAC1 witsml21__Degasser * SOAP_FMAC2 soap_instantiate_witsml21__Degasser(s (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Degasser *p; size_t k = sizeof(witsml21__Degasser); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Degasser, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Degasser, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -376445,13 +370993,9 @@ SOAP_FMAC1 witsml21__Degasser * SOAP_FMAC2 soap_instantiate_witsml21__Degasser(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Degasser location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -376647,7 +371191,7 @@ SOAP_FMAC1 witsml21__Centrifuge * SOAP_FMAC2 soap_instantiate_witsml21__Centrifu (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Centrifuge *p; size_t k = sizeof(witsml21__Centrifuge); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Centrifuge, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Centrifuge, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -376662,13 +371206,9 @@ SOAP_FMAC1 witsml21__Centrifuge * SOAP_FMAC2 soap_instantiate_witsml21__Centrifu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Centrifuge location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -376867,7 +371407,7 @@ SOAP_FMAC1 witsml21__BopComponent * SOAP_FMAC2 soap_instantiate_witsml21__BopCom (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__BopComponent *p; size_t k = sizeof(witsml21__BopComponent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BopComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BopComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -376882,13 +371422,9 @@ SOAP_FMAC1 witsml21__BopComponent * SOAP_FMAC2 soap_instantiate_witsml21__BopCom for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__BopComponent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -377382,7 +371918,7 @@ SOAP_FMAC1 witsml21__Bop * SOAP_FMAC2 soap_instantiate_witsml21__Bop(struct soap (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Bop *p; size_t k = sizeof(witsml21__Bop); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Bop, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Bop, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -377397,13 +371933,9 @@ SOAP_FMAC1 witsml21__Bop * SOAP_FMAC2 soap_instantiate_witsml21__Bop(struct soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Bop location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -377490,7 +372022,7 @@ SOAP_FMAC1 witsml21__TimestampedCommentString * SOAP_FMAC2 soap_instantiate_wits (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TimestampedCommentString *p; size_t k = sizeof(witsml21__TimestampedCommentString); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TimestampedCommentString, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TimestampedCommentString, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -377505,13 +372037,9 @@ SOAP_FMAC1 witsml21__TimestampedCommentString * SOAP_FMAC2 soap_instantiate_wits for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TimestampedCommentString location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -377886,7 +372414,7 @@ SOAP_FMAC1 witsml21__DrillReportWellTestInfo * SOAP_FMAC2 soap_instantiate_witsm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportWellTestInfo *p; size_t k = sizeof(witsml21__DrillReportWellTestInfo); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportWellTestInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportWellTestInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -377901,13 +372429,9 @@ SOAP_FMAC1 witsml21__DrillReportWellTestInfo * SOAP_FMAC2 soap_instantiate_witsm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportWellTestInfo location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -378069,7 +372593,7 @@ SOAP_FMAC1 witsml21__DrillReportWellboreInfo * SOAP_FMAC2 soap_instantiate_witsm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportWellboreInfo *p; size_t k = sizeof(witsml21__DrillReportWellboreInfo); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportWellboreInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportWellboreInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -378084,13 +372608,9 @@ SOAP_FMAC1 witsml21__DrillReportWellboreInfo * SOAP_FMAC2 soap_instantiate_witsm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportWellboreInfo location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -378362,7 +372882,7 @@ SOAP_FMAC1 witsml21__DrillReportSurveyStationReport * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportSurveyStationReport *p; size_t k = sizeof(witsml21__DrillReportSurveyStationReport); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportSurveyStationReport, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportSurveyStationReport, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -378377,13 +372897,9 @@ SOAP_FMAC1 witsml21__DrillReportSurveyStationReport * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportSurveyStationReport location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -378592,7 +373108,7 @@ SOAP_FMAC1 witsml21__DrillReportSurveyStation * SOAP_FMAC2 soap_instantiate_wits (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportSurveyStation *p; size_t k = sizeof(witsml21__DrillReportSurveyStation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportSurveyStation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportSurveyStation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -378607,13 +373123,9 @@ SOAP_FMAC1 witsml21__DrillReportSurveyStation * SOAP_FMAC2 soap_instantiate_wits for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportSurveyStation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -378768,7 +373280,7 @@ SOAP_FMAC1 witsml21__DrillReportStratInfo * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportStratInfo *p; size_t k = sizeof(witsml21__DrillReportStratInfo); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportStratInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportStratInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -378783,13 +373295,9 @@ SOAP_FMAC1 witsml21__DrillReportStratInfo * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportStratInfo location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -379557,7 +374065,7 @@ SOAP_FMAC1 witsml21__DrillReportStatusInfo * SOAP_FMAC2 soap_instantiate_witsml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportStatusInfo *p; size_t k = sizeof(witsml21__DrillReportStatusInfo); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportStatusInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportStatusInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -379572,13 +374080,9 @@ SOAP_FMAC1 witsml21__DrillReportStatusInfo * SOAP_FMAC2 soap_instantiate_witsml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportStatusInfo location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -379755,7 +374259,7 @@ SOAP_FMAC1 witsml21__DrillReportPorePressure * SOAP_FMAC2 soap_instantiate_witsm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportPorePressure *p; size_t k = sizeof(witsml21__DrillReportPorePressure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportPorePressure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportPorePressure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -379770,13 +374274,9 @@ SOAP_FMAC1 witsml21__DrillReportPorePressure * SOAP_FMAC2 soap_instantiate_witsm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportPorePressure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -379931,7 +374431,7 @@ SOAP_FMAC1 witsml21__DrillReportPerfInfo * SOAP_FMAC2 soap_instantiate_witsml21_ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportPerfInfo *p; size_t k = sizeof(witsml21__DrillReportPerfInfo); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportPerfInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportPerfInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -379946,13 +374446,9 @@ SOAP_FMAC1 witsml21__DrillReportPerfInfo * SOAP_FMAC2 soap_instantiate_witsml21_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportPerfInfo location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -380162,7 +374658,7 @@ SOAP_FMAC1 witsml21__DrillReportLogInfo * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportLogInfo *p; size_t k = sizeof(witsml21__DrillReportLogInfo); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportLogInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportLogInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -380177,13 +374673,9 @@ SOAP_FMAC1 witsml21__DrillReportLogInfo * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportLogInfo location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -380349,7 +374841,7 @@ SOAP_FMAC1 witsml21__DrillReportLithShowInfo * SOAP_FMAC2 soap_instantiate_witsm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportLithShowInfo *p; size_t k = sizeof(witsml21__DrillReportLithShowInfo); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportLithShowInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportLithShowInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -380364,13 +374856,9 @@ SOAP_FMAC1 witsml21__DrillReportLithShowInfo * SOAP_FMAC2 soap_instantiate_witsm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportLithShowInfo location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -380613,7 +375101,7 @@ SOAP_FMAC1 witsml21__DrillReportGasReadingInfo * SOAP_FMAC2 soap_instantiate_wit (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportGasReadingInfo *p; size_t k = sizeof(witsml21__DrillReportGasReadingInfo); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportGasReadingInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportGasReadingInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -380628,13 +375116,9 @@ SOAP_FMAC1 witsml21__DrillReportGasReadingInfo * SOAP_FMAC2 soap_instantiate_wit for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportGasReadingInfo location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -380855,7 +375339,7 @@ SOAP_FMAC1 witsml21__DrillReportFormTestInfo * SOAP_FMAC2 soap_instantiate_witsm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportFormTestInfo *p; size_t k = sizeof(witsml21__DrillReportFormTestInfo); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportFormTestInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportFormTestInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -380870,13 +375354,9 @@ SOAP_FMAC1 witsml21__DrillReportFormTestInfo * SOAP_FMAC2 soap_instantiate_witsm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportFormTestInfo location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -381064,7 +375544,7 @@ SOAP_FMAC1 witsml21__DrillReportEquipFailureInfo * SOAP_FMAC2 soap_instantiate_w (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportEquipFailureInfo *p; size_t k = sizeof(witsml21__DrillReportEquipFailureInfo); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportEquipFailureInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportEquipFailureInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -381079,13 +375559,9 @@ SOAP_FMAC1 witsml21__DrillReportEquipFailureInfo * SOAP_FMAC2 soap_instantiate_w for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportEquipFailureInfo location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -381295,7 +375771,7 @@ SOAP_FMAC1 witsml21__DrillReportCoreInfo * SOAP_FMAC2 soap_instantiate_witsml21_ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportCoreInfo *p; size_t k = sizeof(witsml21__DrillReportCoreInfo); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportCoreInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportCoreInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -381310,13 +375786,9 @@ SOAP_FMAC1 witsml21__DrillReportCoreInfo * SOAP_FMAC2 soap_instantiate_witsml21_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportCoreInfo location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -381700,7 +376172,7 @@ SOAP_FMAC1 witsml21__DrillReportControlIncidentInfo * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReportControlIncidentInfo *p; size_t k = sizeof(witsml21__DrillReportControlIncidentInfo); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportControlIncidentInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReportControlIncidentInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -381715,13 +376187,9 @@ SOAP_FMAC1 witsml21__DrillReportControlIncidentInfo * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReportControlIncidentInfo location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -382140,7 +376608,7 @@ SOAP_FMAC1 witsml21__DrillReport * SOAP_FMAC2 soap_instantiate_witsml21__DrillRe (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillReport *p; size_t k = sizeof(witsml21__DrillReport); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReport, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillReport, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -382155,13 +376623,9 @@ SOAP_FMAC1 witsml21__DrillReport * SOAP_FMAC2 soap_instantiate_witsml21__DrillRe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillReport location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -382511,7 +376975,7 @@ SOAP_FMAC1 witsml21__DrillActivity * SOAP_FMAC2 soap_instantiate_witsml21__Drill (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DrillActivity *p; size_t k = sizeof(witsml21__DrillActivity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillActivity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DrillActivity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -382526,13 +376990,9 @@ SOAP_FMAC1 witsml21__DrillActivity * SOAP_FMAC2 soap_instantiate_witsml21__Drill for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DrillActivity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -382669,7 +377129,7 @@ SOAP_FMAC1 witsml21__BottomHoleStaticTemperature * SOAP_FMAC2 soap_instantiate_w (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__BottomHoleStaticTemperature *p; size_t k = sizeof(witsml21__BottomHoleStaticTemperature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BottomHoleStaticTemperature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BottomHoleStaticTemperature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -382684,13 +377144,9 @@ SOAP_FMAC1 witsml21__BottomHoleStaticTemperature * SOAP_FMAC2 soap_instantiate_w for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__BottomHoleStaticTemperature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -382812,7 +377268,7 @@ SOAP_FMAC1 witsml21__BottomHoleCirculatingTemperature * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__BottomHoleCirculatingTemperature *p; size_t k = sizeof(witsml21__BottomHoleCirculatingTemperature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BottomHoleCirculatingTemperature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BottomHoleCirculatingTemperature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -382827,13 +377283,9 @@ SOAP_FMAC1 witsml21__BottomHoleCirculatingTemperature * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__BottomHoleCirculatingTemperature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -382959,7 +377411,7 @@ SOAP_FMAC1 witsml21__AbstractBottomHoleTemperature * SOAP_FMAC2 soap_instantiate return soap_instantiate_witsml21__BottomHoleStaticTemperature(soap, n, NULL, NULL, size); witsml21__AbstractBottomHoleTemperature *p; size_t k = sizeof(witsml21__AbstractBottomHoleTemperature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractBottomHoleTemperature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractBottomHoleTemperature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -382974,13 +377426,9 @@ SOAP_FMAC1 witsml21__AbstractBottomHoleTemperature * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__AbstractBottomHoleTemperature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -383469,7 +377917,7 @@ SOAP_FMAC1 witsml21__WellCMLedger * SOAP_FMAC2 soap_instantiate_witsml21__WellCM (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__WellCMLedger *p; size_t k = sizeof(witsml21__WellCMLedger); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellCMLedger, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellCMLedger, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -383484,13 +377932,9 @@ SOAP_FMAC1 witsml21__WellCMLedger * SOAP_FMAC2 soap_instantiate_witsml21__WellCM for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__WellCMLedger location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -383643,7 +378087,7 @@ SOAP_FMAC1 witsml21__WaitingOnExtension * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__WaitingOnExtension *p; size_t k = sizeof(witsml21__WaitingOnExtension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WaitingOnExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WaitingOnExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -383658,13 +378102,9 @@ SOAP_FMAC1 witsml21__WaitingOnExtension * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__WaitingOnExtension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -383982,7 +378422,7 @@ SOAP_FMAC1 witsml21__PressureTestExtension * SOAP_FMAC2 soap_instantiate_witsml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__PressureTestExtension *p; size_t k = sizeof(witsml21__PressureTestExtension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PressureTestExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PressureTestExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -383997,13 +378437,9 @@ SOAP_FMAC1 witsml21__PressureTestExtension * SOAP_FMAC2 soap_instantiate_witsml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PressureTestExtension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -384143,7 +378579,7 @@ SOAP_FMAC1 witsml21__PerforatingExtension * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__PerforatingExtension *p; size_t k = sizeof(witsml21__PerforatingExtension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PerforatingExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PerforatingExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -384158,13 +378594,9 @@ SOAP_FMAC1 witsml21__PerforatingExtension * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PerforatingExtension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -384572,7 +379004,7 @@ SOAP_FMAC1 witsml21__Perforating * SOAP_FMAC2 soap_instantiate_witsml21__Perfora (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Perforating *p; size_t k = sizeof(witsml21__Perforating); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Perforating, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Perforating, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -384587,13 +379019,9 @@ SOAP_FMAC1 witsml21__Perforating * SOAP_FMAC2 soap_instantiate_witsml21__Perfora for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Perforating location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -384708,7 +379136,7 @@ SOAP_FMAC1 witsml21__Participant * SOAP_FMAC2 soap_instantiate_witsml21__Partici (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Participant *p; size_t k = sizeof(witsml21__Participant); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Participant, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Participant, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -384723,13 +379151,9 @@ SOAP_FMAC1 witsml21__Participant * SOAP_FMAC2 soap_instantiate_witsml21__Partici for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Participant location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -384963,7 +379387,7 @@ SOAP_FMAC1 witsml21__MemberObject * SOAP_FMAC2 soap_instantiate_witsml21__Member (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__MemberObject *p; size_t k = sizeof(witsml21__MemberObject); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MemberObject, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__MemberObject, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -384978,13 +379402,9 @@ SOAP_FMAC1 witsml21__MemberObject * SOAP_FMAC2 soap_instantiate_witsml21__Member for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__MemberObject location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -385104,7 +379524,7 @@ SOAP_FMAC1 witsml21__LostCirculationExtension * SOAP_FMAC2 soap_instantiate_wits (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__LostCirculationExtension *p; size_t k = sizeof(witsml21__LostCirculationExtension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LostCirculationExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LostCirculationExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -385119,13 +379539,9 @@ SOAP_FMAC1 witsml21__LostCirculationExtension * SOAP_FMAC2 soap_instantiate_wits for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__LostCirculationExtension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -385267,7 +379683,7 @@ SOAP_FMAC1 witsml21__JobExtension * SOAP_FMAC2 soap_instantiate_witsml21__JobExt (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__JobExtension *p; size_t k = sizeof(witsml21__JobExtension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__JobExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__JobExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -385282,13 +379698,9 @@ SOAP_FMAC1 witsml21__JobExtension * SOAP_FMAC2 soap_instantiate_witsml21__JobExt for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__JobExtension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -385408,7 +379820,7 @@ SOAP_FMAC1 witsml21__FluidReportExtension * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__FluidReportExtension *p; size_t k = sizeof(witsml21__FluidReportExtension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__FluidReportExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__FluidReportExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -385423,13 +379835,9 @@ SOAP_FMAC1 witsml21__FluidReportExtension * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__FluidReportExtension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -385516,7 +379924,7 @@ SOAP_FMAC1 witsml21__EventType * SOAP_FMAC2 soap_instantiate_witsml21__EventType (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__EventType *p; size_t k = sizeof(witsml21__EventType); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__EventType, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__EventType, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -385531,13 +379939,9 @@ SOAP_FMAC1 witsml21__EventType * SOAP_FMAC2 soap_instantiate_witsml21__EventType for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__EventType location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -385667,7 +380071,7 @@ SOAP_FMAC1 witsml21__DownholeStringReference * SOAP_FMAC2 soap_instantiate_witsm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DownholeStringReference *p; size_t k = sizeof(witsml21__DownholeStringReference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DownholeStringReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DownholeStringReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -385682,13 +380086,9 @@ SOAP_FMAC1 witsml21__DownholeStringReference * SOAP_FMAC2 soap_instantiate_witsm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DownholeStringReference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -385808,7 +380208,7 @@ SOAP_FMAC1 witsml21__DownholeExtension * SOAP_FMAC2 soap_instantiate_witsml21__D (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DownholeExtension *p; size_t k = sizeof(witsml21__DownholeExtension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DownholeExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DownholeExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -385823,13 +380223,9 @@ SOAP_FMAC1 witsml21__DownholeExtension * SOAP_FMAC2 soap_instantiate_witsml21__D for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DownholeExtension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -385960,7 +380356,7 @@ SOAP_FMAC1 witsml21__DownholeComponentReference * SOAP_FMAC2 soap_instantiate_wi (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DownholeComponentReference *p; size_t k = sizeof(witsml21__DownholeComponentReference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DownholeComponentReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DownholeComponentReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -385975,13 +380371,9 @@ SOAP_FMAC1 witsml21__DownholeComponentReference * SOAP_FMAC2 soap_instantiate_wi for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DownholeComponentReference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -386101,7 +380493,7 @@ SOAP_FMAC1 witsml21__DirectionalSurveyExtension * SOAP_FMAC2 soap_instantiate_wi (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DirectionalSurveyExtension *p; size_t k = sizeof(witsml21__DirectionalSurveyExtension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DirectionalSurveyExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DirectionalSurveyExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -386116,13 +380508,9 @@ SOAP_FMAC1 witsml21__DirectionalSurveyExtension * SOAP_FMAC2 soap_instantiate_wi for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DirectionalSurveyExtension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -386253,7 +380641,7 @@ SOAP_FMAC1 witsml21__CleanFillExtension * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CleanFillExtension *p; size_t k = sizeof(witsml21__CleanFillExtension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CleanFillExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CleanFillExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -386268,13 +380656,9 @@ SOAP_FMAC1 witsml21__CleanFillExtension * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CleanFillExtension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -386394,7 +380778,7 @@ SOAP_FMAC1 witsml21__CementExtension * SOAP_FMAC2 soap_instantiate_witsml21__Cem (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CementExtension *p; size_t k = sizeof(witsml21__CementExtension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CementExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -386409,13 +380793,9 @@ SOAP_FMAC1 witsml21__CementExtension * SOAP_FMAC2 soap_instantiate_witsml21__Cem for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CementExtension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -386545,7 +380925,7 @@ SOAP_FMAC1 witsml21__BoreholeStringReference * SOAP_FMAC2 soap_instantiate_witsm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__BoreholeStringReference *p; size_t k = sizeof(witsml21__BoreholeStringReference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BoreholeStringReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BoreholeStringReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -386560,13 +380940,9 @@ SOAP_FMAC1 witsml21__BoreholeStringReference * SOAP_FMAC2 soap_instantiate_witsm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__BoreholeStringReference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -386686,7 +381062,7 @@ SOAP_FMAC1 witsml21__BHPExtension * SOAP_FMAC2 soap_instantiate_witsml21__BHPExt (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__BHPExtension *p; size_t k = sizeof(witsml21__BHPExtension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BHPExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BHPExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -386701,13 +381077,9 @@ SOAP_FMAC1 witsml21__BHPExtension * SOAP_FMAC2 soap_instantiate_witsml21__BHPExt for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__BHPExtension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -386827,7 +381199,7 @@ SOAP_FMAC1 witsml21__AcidizeFracExtension * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__AcidizeFracExtension *p; size_t k = sizeof(witsml21__AcidizeFracExtension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AcidizeFracExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AcidizeFracExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -386842,13 +381214,9 @@ SOAP_FMAC1 witsml21__AcidizeFracExtension * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__AcidizeFracExtension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -386971,7 +381339,7 @@ SOAP_FMAC1 witsml21__AbstractEventExtension * SOAP_FMAC2 soap_instantiate_witsml return soap_instantiate_witsml21__WaitingOnExtension(soap, n, NULL, NULL, size); witsml21__AbstractEventExtension *p; size_t k = sizeof(witsml21__AbstractEventExtension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractEventExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractEventExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -386986,13 +381354,9 @@ SOAP_FMAC1 witsml21__AbstractEventExtension * SOAP_FMAC2 soap_instantiate_witsml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__AbstractEventExtension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -387111,7 +381475,7 @@ SOAP_FMAC1 witsml21__TubingConnectionType * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__TubingConnectionType *p; size_t k = sizeof(witsml21__TubingConnectionType); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TubingConnectionType, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__TubingConnectionType, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -387126,13 +381490,9 @@ SOAP_FMAC1 witsml21__TubingConnectionType * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__TubingConnectionType location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -387247,7 +381607,7 @@ SOAP_FMAC1 witsml21__StringEquipmentSet * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StringEquipmentSet *p; size_t k = sizeof(witsml21__StringEquipmentSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StringEquipmentSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StringEquipmentSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -387262,13 +381622,9 @@ SOAP_FMAC1 witsml21__StringEquipmentSet * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StringEquipmentSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -387706,7 +382062,7 @@ SOAP_FMAC1 witsml21__StringEquipment * SOAP_FMAC2 soap_instantiate_witsml21__Str (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StringEquipment *p; size_t k = sizeof(witsml21__StringEquipment); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StringEquipment, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StringEquipment, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -387721,13 +382077,9 @@ SOAP_FMAC1 witsml21__StringEquipment * SOAP_FMAC2 soap_instantiate_witsml21__Str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StringEquipment location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -387842,7 +382194,7 @@ SOAP_FMAC1 witsml21__StringAccessory * SOAP_FMAC2 soap_instantiate_witsml21__Str (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__StringAccessory *p; size_t k = sizeof(witsml21__StringAccessory); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StringAccessory, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__StringAccessory, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -387857,13 +382209,9 @@ SOAP_FMAC1 witsml21__StringAccessory * SOAP_FMAC2 soap_instantiate_witsml21__Str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__StringAccessory location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -387982,7 +382330,7 @@ SOAP_FMAC1 witsml21__RodConnectionType * SOAP_FMAC2 soap_instantiate_witsml21__R (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__RodConnectionType *p; size_t k = sizeof(witsml21__RodConnectionType); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__RodConnectionType, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__RodConnectionType, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -387997,13 +382345,9 @@ SOAP_FMAC1 witsml21__RodConnectionType * SOAP_FMAC2 soap_instantiate_witsml21__R for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__RodConnectionType location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -388167,7 +382511,7 @@ SOAP_FMAC1 witsml21__ReferenceContainer * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ReferenceContainer *p; size_t k = sizeof(witsml21__ReferenceContainer); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ReferenceContainer, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ReferenceContainer, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -388182,13 +382526,9 @@ SOAP_FMAC1 witsml21__ReferenceContainer * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ReferenceContainer location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -388354,7 +382694,7 @@ SOAP_FMAC1 witsml21__PerfSlot * SOAP_FMAC2 soap_instantiate_witsml21__PerfSlot(s (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__PerfSlot *p; size_t k = sizeof(witsml21__PerfSlot); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PerfSlot, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PerfSlot, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -388369,13 +382709,9 @@ SOAP_FMAC1 witsml21__PerfSlot * SOAP_FMAC2 soap_instantiate_witsml21__PerfSlot(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PerfSlot location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -388490,7 +382826,7 @@ SOAP_FMAC1 witsml21__PerforationSets * SOAP_FMAC2 soap_instantiate_witsml21__Per (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__PerforationSets *p; size_t k = sizeof(witsml21__PerforationSets); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PerforationSets, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PerforationSets, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -388505,13 +382841,9 @@ SOAP_FMAC1 witsml21__PerforationSets * SOAP_FMAC2 soap_instantiate_witsml21__Per for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PerforationSets location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -388817,7 +383149,7 @@ SOAP_FMAC1 witsml21__PerforationSet * SOAP_FMAC2 soap_instantiate_witsml21__Perf (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__PerforationSet *p; size_t k = sizeof(witsml21__PerforationSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PerforationSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PerforationSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -388832,13 +383164,9 @@ SOAP_FMAC1 witsml21__PerforationSet * SOAP_FMAC2 soap_instantiate_witsml21__Perf for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PerforationSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -389037,7 +383365,7 @@ SOAP_FMAC1 witsml21__PerfHole * SOAP_FMAC2 soap_instantiate_witsml21__PerfHole(s (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__PerfHole *p; size_t k = sizeof(witsml21__PerfHole); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PerfHole, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PerfHole, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -389052,13 +383380,9 @@ SOAP_FMAC1 witsml21__PerfHole * SOAP_FMAC2 soap_instantiate_witsml21__PerfHole(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PerfHole location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -389177,7 +383501,7 @@ SOAP_FMAC1 witsml21__OtherConnectionType * SOAP_FMAC2 soap_instantiate_witsml21_ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__OtherConnectionType *p; size_t k = sizeof(witsml21__OtherConnectionType); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__OtherConnectionType, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__OtherConnectionType, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -389192,13 +383516,9 @@ SOAP_FMAC1 witsml21__OtherConnectionType * SOAP_FMAC2 soap_instantiate_witsml21_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__OtherConnectionType location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -389301,7 +383621,7 @@ SOAP_FMAC1 witsml21__ObjectSequence * SOAP_FMAC2 soap_instantiate_witsml21__Obje (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ObjectSequence *p; size_t k = sizeof(witsml21__ObjectSequence); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ObjectSequence, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ObjectSequence, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -389316,13 +383636,9 @@ SOAP_FMAC1 witsml21__ObjectSequence * SOAP_FMAC2 soap_instantiate_witsml21__Obje for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ObjectSequence location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -389488,7 +383804,7 @@ SOAP_FMAC1 witsml21__GeologyFeature * SOAP_FMAC2 soap_instantiate_witsml21__Geol (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__GeologyFeature *p; size_t k = sizeof(witsml21__GeologyFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__GeologyFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__GeologyFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -389503,13 +383819,9 @@ SOAP_FMAC1 witsml21__GeologyFeature * SOAP_FMAC2 soap_instantiate_witsml21__Geol for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__GeologyFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -389634,7 +383946,7 @@ SOAP_FMAC1 witsml21__ExtPropNameValue * SOAP_FMAC2 soap_instantiate_witsml21__Ex (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ExtPropNameValue *p; size_t k = sizeof(witsml21__ExtPropNameValue); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ExtPropNameValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ExtPropNameValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -389649,13 +383961,9 @@ SOAP_FMAC1 witsml21__ExtPropNameValue * SOAP_FMAC2 soap_instantiate_witsml21__Ex for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ExtPropNameValue location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -389776,7 +384084,7 @@ SOAP_FMAC1 witsml21__EventRefInfo * SOAP_FMAC2 soap_instantiate_witsml21__EventR (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__EventRefInfo *p; size_t k = sizeof(witsml21__EventRefInfo); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__EventRefInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__EventRefInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -389791,13 +384099,9 @@ SOAP_FMAC1 witsml21__EventRefInfo * SOAP_FMAC2 soap_instantiate_witsml21__EventR for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__EventRefInfo location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -389926,7 +384230,7 @@ SOAP_FMAC1 witsml21__EventInfo * SOAP_FMAC2 soap_instantiate_witsml21__EventInfo (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__EventInfo *p; size_t k = sizeof(witsml21__EventInfo); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__EventInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__EventInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -389941,13 +384245,9 @@ SOAP_FMAC1 witsml21__EventInfo * SOAP_FMAC2 soap_instantiate_witsml21__EventInfo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__EventInfo location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -390062,7 +384362,7 @@ SOAP_FMAC1 witsml21__EquipmentSet * SOAP_FMAC2 soap_instantiate_witsml21__Equipm (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__EquipmentSet *p; size_t k = sizeof(witsml21__EquipmentSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__EquipmentSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__EquipmentSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -390077,13 +384377,9 @@ SOAP_FMAC1 witsml21__EquipmentSet * SOAP_FMAC2 soap_instantiate_witsml21__Equipm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__EquipmentSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -390359,7 +384655,7 @@ SOAP_FMAC1 witsml21__EquipmentConnection * SOAP_FMAC2 soap_instantiate_witsml21_ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__EquipmentConnection *p; size_t k = sizeof(witsml21__EquipmentConnection); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__EquipmentConnection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__EquipmentConnection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -390374,13 +384670,9 @@ SOAP_FMAC1 witsml21__EquipmentConnection * SOAP_FMAC2 soap_instantiate_witsml21_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__EquipmentConnection location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -390920,7 +385212,7 @@ SOAP_FMAC1 witsml21__Equipment * SOAP_FMAC2 soap_instantiate_witsml21__Equipment (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Equipment *p; size_t k = sizeof(witsml21__Equipment); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Equipment, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Equipment, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -390935,13 +385227,9 @@ SOAP_FMAC1 witsml21__Equipment * SOAP_FMAC2 soap_instantiate_witsml21__Equipment for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Equipment location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -391056,7 +385344,7 @@ SOAP_FMAC1 witsml21__DownholeStringSet * SOAP_FMAC2 soap_instantiate_witsml21__D (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DownholeStringSet *p; size_t k = sizeof(witsml21__DownholeStringSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DownholeStringSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DownholeStringSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -391071,13 +385359,9 @@ SOAP_FMAC1 witsml21__DownholeStringSet * SOAP_FMAC2 soap_instantiate_witsml21__D for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DownholeStringSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -391309,7 +385593,7 @@ SOAP_FMAC1 witsml21__DownholeString * SOAP_FMAC2 soap_instantiate_witsml21__Down (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DownholeString *p; size_t k = sizeof(witsml21__DownholeString); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DownholeString, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DownholeString, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -391324,13 +385608,9 @@ SOAP_FMAC1 witsml21__DownholeString * SOAP_FMAC2 soap_instantiate_witsml21__Down for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DownholeString location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -391619,7 +385899,7 @@ SOAP_FMAC1 witsml21__DownholeComponent * SOAP_FMAC2 soap_instantiate_witsml21__D (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__DownholeComponent *p; size_t k = sizeof(witsml21__DownholeComponent); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DownholeComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__DownholeComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -391634,13 +385914,9 @@ SOAP_FMAC1 witsml21__DownholeComponent * SOAP_FMAC2 soap_instantiate_witsml21__D for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__DownholeComponent location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -391759,7 +386035,7 @@ SOAP_FMAC1 witsml21__CasingConnectionType * SOAP_FMAC2 soap_instantiate_witsml21 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__CasingConnectionType *p; size_t k = sizeof(witsml21__CasingConnectionType); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CasingConnectionType, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__CasingConnectionType, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -391774,13 +386050,9 @@ SOAP_FMAC1 witsml21__CasingConnectionType * SOAP_FMAC2 soap_instantiate_witsml21 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__CasingConnectionType location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -391895,7 +386167,7 @@ SOAP_FMAC1 witsml21__BoreholeStringSet * SOAP_FMAC2 soap_instantiate_witsml21__B (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__BoreholeStringSet *p; size_t k = sizeof(witsml21__BoreholeStringSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BoreholeStringSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BoreholeStringSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -391910,13 +386182,9 @@ SOAP_FMAC1 witsml21__BoreholeStringSet * SOAP_FMAC2 soap_instantiate_witsml21__B for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__BoreholeStringSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -392080,7 +386348,7 @@ SOAP_FMAC1 witsml21__BoreholeString * SOAP_FMAC2 soap_instantiate_witsml21__Bore (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__BoreholeString *p; size_t k = sizeof(witsml21__BoreholeString); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BoreholeString, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BoreholeString, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -392095,13 +386363,9 @@ SOAP_FMAC1 witsml21__BoreholeString * SOAP_FMAC2 soap_instantiate_witsml21__Bore for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__BoreholeString location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -392289,7 +386553,7 @@ SOAP_FMAC1 witsml21__Borehole * SOAP_FMAC2 soap_instantiate_witsml21__Borehole(s (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Borehole *p; size_t k = sizeof(witsml21__Borehole); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Borehole, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Borehole, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -392304,13 +386568,9 @@ SOAP_FMAC1 witsml21__Borehole * SOAP_FMAC2 soap_instantiate_witsml21__Borehole(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Borehole location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -392417,7 +386677,7 @@ SOAP_FMAC1 witsml21__Assembly * SOAP_FMAC2 soap_instantiate_witsml21__Assembly(s (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Assembly *p; size_t k = sizeof(witsml21__Assembly); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Assembly, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Assembly, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -392432,13 +386692,9 @@ SOAP_FMAC1 witsml21__Assembly * SOAP_FMAC2 soap_instantiate_witsml21__Assembly(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Assembly location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -392545,7 +386801,7 @@ SOAP_FMAC1 witsml21__AbstractConnectionType * SOAP_FMAC2 soap_instantiate_witsml return soap_instantiate_witsml21__TubingConnectionType(soap, n, NULL, NULL, size); witsml21__AbstractConnectionType *p; size_t k = sizeof(witsml21__AbstractConnectionType); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractConnectionType, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__AbstractConnectionType, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -392560,13 +386816,9 @@ SOAP_FMAC1 witsml21__AbstractConnectionType * SOAP_FMAC2 soap_instantiate_witsml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__AbstractConnectionType location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -392904,7 +387156,7 @@ SOAP_FMAC1 witsml21__WellboreCompletion * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__WellboreCompletion *p; size_t k = sizeof(witsml21__WellboreCompletion); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellboreCompletion, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellboreCompletion, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -392919,13 +387171,9 @@ SOAP_FMAC1 witsml21__WellboreCompletion * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__WellboreCompletion location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -393104,7 +387352,7 @@ SOAP_FMAC1 witsml21__SlotsInterval * SOAP_FMAC2 soap_instantiate_witsml21__Slots (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__SlotsInterval *p; size_t k = sizeof(witsml21__SlotsInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__SlotsInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__SlotsInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -393119,13 +387367,9 @@ SOAP_FMAC1 witsml21__SlotsInterval * SOAP_FMAC2 soap_instantiate_witsml21__Slots for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__SlotsInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -393305,7 +387549,7 @@ SOAP_FMAC1 witsml21__PerforationStatusHistory * SOAP_FMAC2 soap_instantiate_wits (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__PerforationStatusHistory *p; size_t k = sizeof(witsml21__PerforationStatusHistory); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PerforationStatusHistory, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PerforationStatusHistory, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -393320,13 +387564,9 @@ SOAP_FMAC1 witsml21__PerforationStatusHistory * SOAP_FMAC2 soap_instantiate_wits for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PerforationStatusHistory location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -393505,7 +387745,7 @@ SOAP_FMAC1 witsml21__PerforationSetInterval * SOAP_FMAC2 soap_instantiate_witsml (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__PerforationSetInterval *p; size_t k = sizeof(witsml21__PerforationSetInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PerforationSetInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__PerforationSetInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -393520,13 +387760,9 @@ SOAP_FMAC1 witsml21__PerforationSetInterval * SOAP_FMAC2 soap_instantiate_witsml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__PerforationSetInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -393705,7 +387941,7 @@ SOAP_FMAC1 witsml21__OpenHoleInterval * SOAP_FMAC2 soap_instantiate_witsml21__Op (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__OpenHoleInterval *p; size_t k = sizeof(witsml21__OpenHoleInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__OpenHoleInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__OpenHoleInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -393720,13 +387956,9 @@ SOAP_FMAC1 witsml21__OpenHoleInterval * SOAP_FMAC2 soap_instantiate_witsml21__Op for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__OpenHoleInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -393895,7 +388127,7 @@ SOAP_FMAC1 witsml21__IntervalStatusHistory * SOAP_FMAC2 soap_instantiate_witsml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__IntervalStatusHistory *p; size_t k = sizeof(witsml21__IntervalStatusHistory); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__IntervalStatusHistory, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__IntervalStatusHistory, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -393910,13 +388142,9 @@ SOAP_FMAC1 witsml21__IntervalStatusHistory * SOAP_FMAC2 soap_instantiate_witsml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__IntervalStatusHistory location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -394095,7 +388323,7 @@ SOAP_FMAC1 witsml21__GravelPackInterval * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__GravelPackInterval *p; size_t k = sizeof(witsml21__GravelPackInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__GravelPackInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__GravelPackInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -394110,13 +388338,9 @@ SOAP_FMAC1 witsml21__GravelPackInterval * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__GravelPackInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -394247,7 +388471,7 @@ SOAP_FMAC1 witsml21__ContactIntervalSet * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__ContactIntervalSet *p; size_t k = sizeof(witsml21__ContactIntervalSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ContactIntervalSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__ContactIntervalSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -394262,13 +388486,9 @@ SOAP_FMAC1 witsml21__ContactIntervalSet * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__ContactIntervalSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -394911,7 +389131,7 @@ SOAP_FMAC1 witsml21__Wellbore * SOAP_FMAC2 soap_instantiate_witsml21__Wellbore(s (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Wellbore *p; size_t k = sizeof(witsml21__Wellbore); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Wellbore, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Wellbore, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -394926,13 +389146,9 @@ SOAP_FMAC1 witsml21__Wellbore * SOAP_FMAC2 soap_instantiate_witsml21__Wellbore(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Wellbore location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -395065,7 +389281,7 @@ SOAP_FMAC1 witsml21__BottomHoleLocation * SOAP_FMAC2 soap_instantiate_witsml21__ (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__BottomHoleLocation *p; size_t k = sizeof(witsml21__BottomHoleLocation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BottomHoleLocation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__BottomHoleLocation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -395080,13 +389296,9 @@ SOAP_FMAC1 witsml21__BottomHoleLocation * SOAP_FMAC2 soap_instantiate_witsml21__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__BottomHoleLocation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -395226,7 +389438,7 @@ SOAP_FMAC1 witsml21__WellPurposePeriod * SOAP_FMAC2 soap_instantiate_witsml21__W (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__WellPurposePeriod *p; size_t k = sizeof(witsml21__WellPurposePeriod); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellPurposePeriod, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__WellPurposePeriod, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -395241,13 +389453,9 @@ SOAP_FMAC1 witsml21__WellPurposePeriod * SOAP_FMAC2 soap_instantiate_witsml21__W for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__WellPurposePeriod location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -395908,7 +390116,7 @@ SOAP_FMAC1 witsml21__Well * SOAP_FMAC2 soap_instantiate_witsml21__Well(struct so (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__Well *p; size_t k = sizeof(witsml21__Well); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Well, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__Well, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -395923,13 +390131,9 @@ SOAP_FMAC1 witsml21__Well * SOAP_FMAC2 soap_instantiate_witsml21__Well(struct so for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__Well location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -396070,7 +390274,7 @@ SOAP_FMAC1 witsml21__LicensePeriod * SOAP_FMAC2 soap_instantiate_witsml21__Licen (void)type; (void)arrayType; /* appease -Wall -Werror */ witsml21__LicensePeriod *p; size_t k = sizeof(witsml21__LicensePeriod); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LicensePeriod, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_witsml21__LicensePeriod, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -396085,13 +390289,9 @@ SOAP_FMAC1 witsml21__LicensePeriod * SOAP_FMAC2 soap_instantiate_witsml21__Licen for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated witsml21__LicensePeriod location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -396322,7 +390522,7 @@ SOAP_FMAC1 std::string * SOAP_FMAC2 soap_instantiate_std__string(struct soap *so (void)type; (void)arrayType; /* appease -Wall -Werror */ std::string *p; size_t k = sizeof(std::string); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__string, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__string, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -396332,13 +390532,9 @@ SOAP_FMAC1 std::string * SOAP_FMAC2 soap_instantiate_std__string(struct soap *so { p = SOAP_NEW_ARRAY(soap, std::string, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::string location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -396459,7 +390655,7 @@ SOAP_FMAC1 xsd__base64Binary * SOAP_FMAC2 soap_instantiate_xsd__base64Binary(str (void)type; (void)arrayType; /* appease -Wall -Werror */ xsd__base64Binary *p; size_t k = sizeof(xsd__base64Binary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_xsd__base64Binary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_xsd__base64Binary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -396469,13 +390665,9 @@ SOAP_FMAC1 xsd__base64Binary * SOAP_FMAC2 soap_instantiate_xsd__base64Binary(str { p = SOAP_NEW_ARRAY(soap, xsd__base64Binary, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated xsd__base64Binary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -396659,7 +390851,7 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault( (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Fault *p; size_t k = sizeof(struct SOAP_ENV__Fault); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_SOAP_ENV__Fault, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_SOAP_ENV__Fault, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -396669,13 +390861,9 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault( { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Fault, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Fault location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -396768,7 +390956,7 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reaso (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Reason *p; size_t k = sizeof(struct SOAP_ENV__Reason); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_SOAP_ENV__Reason, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_SOAP_ENV__Reason, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -396778,13 +390966,9 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reaso { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Reason, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Reason location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -396886,7 +391070,7 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detai (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Detail *p; size_t k = sizeof(struct SOAP_ENV__Detail); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_SOAP_ENV__Detail, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_SOAP_ENV__Detail, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -396896,13 +391080,9 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detai { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Detail, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Detail location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -397006,7 +391186,7 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(st (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Code *p; size_t k = sizeof(struct SOAP_ENV__Code); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_SOAP_ENV__Code, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_SOAP_ENV__Code, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -397016,13 +391196,9 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(st { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Code, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Code location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -397102,7 +391278,7 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Heade (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Header *p; size_t k = sizeof(struct SOAP_ENV__Header); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_SOAP_ENV__Header, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_SOAP_ENV__Header, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -397112,13 +391288,9 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Heade { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Header, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Header location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -397168,7 +391340,7 @@ SOAP_FMAC1 struct tm * SOAP_FMAC2 soap_instantiate_xsd__dateTime(struct soap *so (void)type; (void)arrayType; /* appease -Wall -Werror */ struct tm *p; size_t k = sizeof(struct tm); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_xsd__dateTime, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_xsd__dateTime, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -397178,13 +391350,9 @@ SOAP_FMAC1 struct tm * SOAP_FMAC2 soap_instantiate_xsd__dateTime(struct soap *so { p = SOAP_NEW_ARRAY(soap, struct tm, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct tm location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -397340,7 +391508,7 @@ SOAP_FMAC1 struct tm * SOAP_FMAC2 soap_instantiate_tm(struct soap *soap, int n, (void)type; (void)arrayType; /* appease -Wall -Werror */ struct tm *p; size_t k = sizeof(struct tm); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_tm, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_tm, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -397350,13 +391518,9 @@ SOAP_FMAC1 struct tm * SOAP_FMAC2 soap_instantiate_tm(struct soap *soap, int n, { p = SOAP_NEW_ARRAY(soap, struct tm, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct tm location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -451391,7 +445555,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__SealedContact, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__SealedContact, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -451401,13 +445565,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -451483,7 +445643,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__AbstractSurfaceFrameworkContact, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__AbstractSurfaceFrameworkContact, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -451493,13 +445653,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -451575,7 +445731,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ShowEvaluationInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ShowEvaluationInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -451585,13 +445741,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -451667,7 +445819,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__InterpretedGeologyInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__InterpretedGeologyInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -451677,13 +445829,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -451759,7 +445907,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CuttingsGeologyInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CuttingsGeologyInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -451769,13 +445917,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -451851,7 +445995,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__MudLogParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__MudLogParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -451861,13 +446005,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -451943,7 +446083,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__MudlogReportInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__MudlogReportInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -451953,13 +446093,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -452035,7 +446171,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__UnstructuredGpGridPatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__UnstructuredGpGridPatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -452045,13 +446181,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -452127,7 +446259,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ColumnLayerGpGrid, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ColumnLayerGpGrid, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -452137,13 +446269,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -452219,7 +446347,7 @@ SOAP_FMAC1 std::vector * SOAP_F (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ReservoirCompartmentInterpretation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ReservoirCompartmentInterpretation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -452229,13 +446357,9 @@ SOAP_FMAC1 std::vector * SOAP_F { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -452311,7 +446435,7 @@ SOAP_FMAC1 std::vector * (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__BoundaryFeatureInterpretationPlusItsRank, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__BoundaryFeatureInterpretationPlusItsRank, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -452321,13 +446445,9 @@ SOAP_FMAC1 std::vector * { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -452401,7 +446521,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfresqml22__StratigraphicRole, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfresqml22__StratigraphicRole, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -452411,13 +446531,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -452493,7 +446609,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__FaultThrow, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__FaultThrow, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -452503,13 +446619,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -452585,7 +446697,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__TrianglePatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__TrianglePatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -452595,13 +446707,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -452677,7 +446785,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__VolumeRegion, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__VolumeRegion, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -452687,13 +446795,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -452769,7 +446873,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__AbstractPlaneGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__AbstractPlaneGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -452779,13 +446883,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -452861,7 +446961,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ContactIdentity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ContactIdentity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -452871,13 +446971,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -452953,7 +447049,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__PrsvParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__PrsvParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -452963,13 +447059,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -453045,7 +447137,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__IntegerConstantArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__IntegerConstantArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -453055,13 +447147,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -453137,7 +447225,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__FloatingPointConstantArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__FloatingPointConstantArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -453147,13 +447235,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -453229,7 +447313,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__MarkerInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__MarkerInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -453239,13 +447323,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -453321,7 +447401,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__MarkerBoundary, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__MarkerBoundary, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -453331,13 +447411,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -453413,7 +447489,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__IntervalStratigraphicUnits, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__IntervalStratigraphicUnits, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -453423,13 +447499,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -453505,7 +447577,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__AbstractPoint3dArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__AbstractPoint3dArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -453515,13 +447587,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -453597,7 +447665,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__AbstractValueArray, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__AbstractValueArray, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -453607,13 +447675,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -453689,7 +447753,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__DiscreteColorMapEntry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__DiscreteColorMapEntry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -453699,13 +447763,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -453781,7 +447841,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ContinuousColorMapEntry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ContinuousColorMapEntry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -453791,13 +447851,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -453873,7 +447929,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__AdditionalGridPoints, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__AdditionalGridPoints, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -453883,13 +447939,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -453965,7 +448017,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__SubRepresentationPatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__SubRepresentationPatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -453975,13 +448027,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -454057,7 +448105,7 @@ SOAP_FMAC1 std::vector * SOAP_FM (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__AbstractContactInterpretationPart, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__AbstractContactInterpretationPart, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -454067,13 +448115,9 @@ SOAP_FMAC1 std::vector * SOAP_FM { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -454149,7 +448193,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__PolylineSetPatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__PolylineSetPatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -454159,13 +448203,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -454241,7 +448281,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__PointGeometry, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__PointGeometry, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -454251,13 +448291,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -454333,7 +448369,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__PatchBoundaries, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__PatchBoundaries, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -454343,13 +448379,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -454425,7 +448457,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ThreePoint3d, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ThreePoint3d, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -454435,13 +448467,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -454517,7 +448545,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ReservoirZoneSubModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ReservoirZoneSubModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -454527,13 +448555,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -454609,7 +448633,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__InternalFaultSubModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__InternalFaultSubModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -454619,13 +448643,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -454701,7 +448721,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SingleBoundarySubModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SingleBoundarySubModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -454711,13 +448731,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -454793,7 +448809,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SingleFractureSubModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SingleFractureSubModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -454803,13 +448819,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -454885,7 +448897,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FlowTestMeasurementSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FlowTestMeasurementSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -454895,13 +448907,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -454977,7 +448985,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__WaterSampleComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__WaterSampleComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -454987,13 +448995,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -455069,7 +449073,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__WaterAnalysisTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__WaterAnalysisTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -455079,13 +449083,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -455161,7 +449161,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__NonHydrocarbonTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__NonHydrocarbonTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -455171,13 +449171,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -455253,7 +449249,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__InterfacialTensionTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__InterfacialTensionTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -455263,13 +449259,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -455345,7 +449337,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__STOAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__STOAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -455355,13 +449347,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -455437,7 +449425,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__MultipleContactMiscibilityTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__MultipleContactMiscibilityTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -455447,13 +449435,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -455529,7 +449513,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SlimTubeTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SlimTubeTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -455539,13 +449523,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -455621,7 +449601,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SwellingTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SwellingTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -455631,13 +449611,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -455713,7 +449689,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__VaporLiquidEquilibriumTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__VaporLiquidEquilibriumTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -455723,13 +449699,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -455805,7 +449777,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__OtherMeasurementTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__OtherMeasurementTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -455815,13 +449787,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -455897,7 +449865,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidSeparatorTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidSeparatorTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -455907,13 +449875,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -455989,7 +449953,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ConstantVolumeDepletionTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ConstantVolumeDepletionTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -455999,13 +449963,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -456081,7 +450041,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__DifferentialLiberationTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__DifferentialLiberationTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -456091,13 +450051,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -456173,7 +450129,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SaturationTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SaturationTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -456183,13 +450139,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -456265,7 +450217,7 @@ SOAP_FMAC1 std::vector * SOAP_FMA (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ConstantCompositionExpansionTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ConstantCompositionExpansionTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -456275,13 +450227,9 @@ SOAP_FMAC1 std::vector * SOAP_FMA { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -456357,7 +450305,7 @@ SOAP_FMAC1 std::vector (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AtmosphericFlashTestAndCompositionalAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AtmosphericFlashTestAndCompositionalAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -456367,13 +450315,9 @@ SOAP_FMAC1 std::vector { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -456449,7 +450393,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__IntegerArrayStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__IntegerArrayStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -456459,13 +450403,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -456541,7 +450481,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__FloatingPointArrayStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__FloatingPointArrayStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -456551,13 +450491,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -456633,7 +450569,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__SourceTrajectoryStation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__SourceTrajectoryStation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -456643,13 +450579,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -456725,7 +450657,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ChannelSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ChannelSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -456735,13 +450667,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -456817,7 +450745,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Channel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Channel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -456827,13 +450755,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -456909,7 +450833,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PointMetadata, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PointMetadata, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -456919,13 +450843,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -457001,7 +450921,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ChannelIndex, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ChannelIndex, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -457011,13 +450931,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -457093,7 +451009,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PassDetail, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PassDetail, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -457103,13 +451019,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -457185,7 +451097,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__LithostratigraphicUnit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__LithostratigraphicUnit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -457195,13 +451107,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -457277,7 +451185,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__GeochronologicalUnit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__GeochronologicalUnit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -457287,13 +451195,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -457369,7 +451273,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CuttingsIntervalLithology, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CuttingsIntervalLithology, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -457379,13 +451283,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -457461,7 +451361,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__v (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__MudGas, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__MudGas, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -457471,13 +451371,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__v { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -457553,7 +451449,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillingParameters, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillingParameters, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -457563,13 +451459,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -457645,7 +451537,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__v (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Shaker, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Shaker, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -457655,13 +451547,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__v { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -457737,7 +451625,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Degasser, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Degasser, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -457747,13 +451635,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -457829,7 +451713,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Hydrocyclone, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Hydrocyclone, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -457839,13 +451723,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -457921,7 +451801,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Centrifuge, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Centrifuge, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -457931,13 +451811,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -458013,7 +451889,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__MudPump, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__MudPump, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -458023,13 +451899,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -458105,7 +451977,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vect (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Pit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Pit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -458115,13 +451987,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vect { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -458197,7 +452065,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__AbstractPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__AbstractPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -458207,13 +452075,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -458289,7 +452153,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__WellPurposePeriod, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__WellPurposePeriod, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -458299,13 +452163,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -458381,7 +452241,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__WellStatusPeriod, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__WellStatusPeriod, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -458391,13 +452251,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -458473,7 +452329,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__FacilityOperator, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__FacilityOperator, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -458483,13 +452339,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -458565,7 +452417,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__FacilityLifecyclePeriod, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__FacilityLifecyclePeriod, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -458575,13 +452427,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -458657,7 +452505,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__LicensePeriod, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__LicensePeriod, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -458667,13 +452515,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -458749,7 +452593,7 @@ SOAP_FMAC1 std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__AbstractGraphicalInformationForIndexableElement, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__AbstractGraphicalInformationForIndexableElement, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -458759,13 +452603,9 @@ SOAP_FMAC1 std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -458841,7 +452681,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__AbstractColorMap, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__AbstractColorMap, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -458851,13 +452691,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -458933,7 +452769,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ColumnSubnodePatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ColumnSubnodePatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -458943,13 +452779,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -459025,7 +452857,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__RepresentationIdentity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__RepresentationIdentity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -459035,13 +452867,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -459117,7 +452945,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ContactPatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ContactPatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -459127,13 +452955,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -459209,7 +453033,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__Point3dLatticeDimension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__Point3dLatticeDimension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -459219,13 +453043,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -459301,7 +453121,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AbstractValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AbstractValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -459311,13 +453131,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -459393,7 +453209,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__KeywordValueStruct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__KeywordValueStruct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -459403,13 +453219,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -459483,7 +453295,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfprodml23__FlowQualifier, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfprodml23__FlowQualifier, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -459493,13 +453305,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -459575,7 +453383,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowNetwork, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowNetwork, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -459585,13 +453393,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -459667,7 +453471,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowExternalReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowExternalReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -459677,13 +453481,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -459759,7 +453559,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeBusinessUnit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeBusinessUnit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -459769,13 +453569,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -459851,7 +453647,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeFacility, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeFacility, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -459861,13 +453657,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -459941,7 +453733,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTemplat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfdouble, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfdouble, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -459951,13 +453743,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTemplat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -460033,7 +453821,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidSampleAcquisition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidSampleAcquisition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -460043,13 +453831,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -460125,7 +453909,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidSampleChainOfCustodyEvent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidSampleChainOfCustodyEvent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -460135,13 +453919,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -460217,7 +453997,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AbstractDeconvolutionOutput, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AbstractDeconvolutionOutput, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -460227,13 +454007,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -460321,7 +454097,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfprodml23__DataConditioningExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfprodml23__DataConditioningExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -460331,13 +454107,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -460413,7 +454185,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AbstractFlowTestData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AbstractFlowTestData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -460423,13 +454195,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -460505,7 +454273,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SpecializedAnalysis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SpecializedAnalysis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -460515,13 +454283,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -460597,7 +454361,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__InterferingFlowTestInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__InterferingFlowTestInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -460607,13 +454371,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -460689,7 +454449,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__LayerModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__LayerModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -460699,13 +454459,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -460781,7 +454537,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__Channel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__Channel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -460791,13 +454547,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -460885,7 +454637,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfstd__string, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfstd__string, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -460895,13 +454647,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -460977,7 +454725,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SampleContaminant, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SampleContaminant, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -460987,13 +454735,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -461069,7 +454813,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidAnalysisReport, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidAnalysisReport, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -461079,13 +454823,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -461161,7 +454901,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCharacterizationModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCharacterizationModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -461171,13 +454911,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -461253,7 +454989,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCharacterizationSource, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCharacterizationSource, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -461263,13 +454999,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -461345,7 +455077,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__AbstractGraphicalInformation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__AbstractGraphicalInformation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -461355,13 +455087,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -461437,7 +455165,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__FailingRule, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__FailingRule, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -461447,13 +455175,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -461529,7 +455253,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__SingleCollectionAssociation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__SingleCollectionAssociation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -461539,13 +455263,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -461621,7 +455341,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__AbstractObject, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__AbstractObject, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -461631,13 +455351,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -461713,7 +455429,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__ParameterTemplate, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__ParameterTemplate, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -461723,13 +455439,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -461805,7 +455517,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__EmailQualifierStruct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__EmailQualifierStruct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -461815,13 +455527,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -461897,7 +455605,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__PhoneNumberStruct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__PhoneNumberStruct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -461907,13 +455615,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -461989,7 +455693,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__GeologicTime, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__GeologicTime, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -461999,13 +455703,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -462081,7 +455781,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__PropertyKind, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__PropertyKind, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -462091,13 +455791,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -462173,7 +455869,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__StringArrayStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__StringArrayStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -462183,13 +455879,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -462265,7 +455957,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__BooleanArrayStatistics, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__BooleanArrayStatistics, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -462275,13 +455967,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -462357,7 +456045,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__WellboreMarker, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__WellboreMarker, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -462367,13 +456055,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -462449,7 +456133,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PitVolume, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PitVolume, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -462459,13 +456143,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -462541,7 +456221,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__v (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PumpOp, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PumpOp, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -462551,13 +456231,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__v { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -462633,7 +456309,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Personnel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Personnel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -462643,13 +456319,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -462725,7 +456397,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Inventory, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Inventory, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -462735,13 +456407,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -462817,7 +456485,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Weather, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Weather, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -462827,13 +456495,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -462909,7 +456573,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__SupportCraft, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__SupportCraft, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -462919,13 +456583,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -463001,7 +456661,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ShakerOp, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ShakerOp, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -463011,13 +456671,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -463093,7 +456749,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vect (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Scr, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Scr, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -463103,13 +456759,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vect { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -463185,7 +456837,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimISO13503_USCORE5Point, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimISO13503_USCORE5Point, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -463195,13 +456847,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -463277,7 +456925,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimISO13503_USCORE2Properties, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimISO13503_USCORE2Properties, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -463287,13 +456935,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -463369,7 +457013,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimReservoirInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimReservoirInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -463379,13 +457023,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -463461,7 +457101,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimJobStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimJobStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -463471,13 +457111,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -463553,7 +457189,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimEvent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimEvent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -463563,13 +457199,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -463645,7 +457277,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimShutInPressure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimShutInPressure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -463655,13 +457287,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -463737,7 +457365,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimJobDiagnosticSession, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimJobDiagnosticSession, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -463747,13 +457375,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -463829,7 +457453,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimJobLogCatalog, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimJobLogCatalog, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -463839,13 +457463,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -463921,7 +457541,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimJobStage, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimJobStage, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -463931,13 +457551,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -464013,7 +457629,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CementStageReport, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CementStageReport, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -464023,13 +457639,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -464105,7 +457717,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CementStageDesign, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CementStageDesign, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -464115,13 +457727,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -464197,7 +457805,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CementingFluid, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CementingFluid, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -464207,13 +457815,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -464289,7 +457893,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__SurveySection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__SurveySection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -464299,13 +457903,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -464381,7 +457981,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__WeightingFunction, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__WeightingFunction, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -464391,13 +457991,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -464473,7 +458069,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ContinuousAzimuthFormula, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ContinuousAzimuthFormula, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -464483,13 +458079,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -464565,7 +458157,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ToolErrorModel, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ToolErrorModel, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -464575,13 +458167,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -464657,7 +458245,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ErrorTermValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ErrorTermValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -464667,13 +458255,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -464761,7 +458345,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfwitsml21__CorrectionConsideredExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfwitsml21__CorrectionConsideredExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -464771,13 +458355,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -464865,7 +458445,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfwitsml21__OperatingConditionExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfwitsml21__OperatingConditionExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -464875,13 +458455,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -464969,7 +458545,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfwitsml21__ToolSubKindExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfwitsml21__ToolSubKindExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -464979,13 +458555,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -465061,7 +458633,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ErrorTerm, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ErrorTerm, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -465071,13 +458643,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -465153,7 +458721,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__TargetSection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__TargetSection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -465163,13 +458731,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -465245,7 +458809,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__LoggingToolKind, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__LoggingToolKind, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -465255,13 +458819,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -465337,7 +458897,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ChannelKind, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ChannelKind, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -465347,13 +458907,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -465429,7 +458985,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__TubularComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__TubularComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -465439,13 +458995,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -465521,7 +459073,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__TubularUmbilical, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__TubularUmbilical, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -465531,13 +459083,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -465613,7 +459161,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillingParams, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillingParams, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -465623,13 +459171,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -465705,7 +459249,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportGasReadingInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportGasReadingInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -465715,13 +459259,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -465797,7 +459337,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportPerfInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportPerfInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -465807,13 +459347,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -465889,7 +459425,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportStratInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportStratInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -465899,13 +459435,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -465981,7 +459513,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportControlIncidentInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportControlIncidentInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -465991,13 +459523,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -466073,7 +459601,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportEquipFailureInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportEquipFailureInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -466083,13 +459611,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -466165,7 +459689,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportLithShowInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportLithShowInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -466175,13 +459699,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -466257,7 +459777,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportFormTestInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportFormTestInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -466267,13 +459787,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -466349,7 +459865,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportWellTestInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportWellTestInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -466359,13 +459875,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -466441,7 +459953,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportCoreInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportCoreInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -466451,13 +459963,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -466533,7 +460041,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportLogInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportLogInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -466543,13 +460051,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -466625,7 +460129,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillActivity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillActivity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -466635,13 +460139,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -466717,7 +460217,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportPorePressure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportPorePressure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -466727,13 +460227,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -466809,7 +460305,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ve (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Fluid, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Fluid, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -466819,13 +460315,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ve { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -466901,7 +460393,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportStatusInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportStatusInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -466911,13 +460403,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -466993,7 +460481,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__BitRecord, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__BitRecord, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -467003,13 +460491,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -467085,7 +460569,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DayCost, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DayCost, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -467095,13 +460579,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -467177,7 +460657,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__AbstractEventExtension, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__AbstractEventExtension, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -467187,13 +460667,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -467269,7 +460745,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Perforating, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Perforating, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -467279,13 +460755,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -467361,7 +460833,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CompletionStatusHistory, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CompletionStatusHistory, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -467371,13 +460843,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -467453,7 +460921,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__UniformSubnodePatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__UniformSubnodePatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -467463,13 +460931,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -467545,7 +461009,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__VariableSubnodePatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__VariableSubnodePatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -467555,13 +461019,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -467637,7 +461097,7 @@ SOAP_FMAC1 std::vector * SOAP_F (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__UnstructuredColumnLayerGpGridPatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__UnstructuredColumnLayerGpGridPatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -467647,13 +461107,9 @@ SOAP_FMAC1 std::vector * SOAP_F { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -467729,7 +461185,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__IjkGpGridPatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__IjkGpGridPatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -467739,13 +461195,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -467821,7 +461273,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ElementIdentity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__ElementIdentity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -467831,13 +461283,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -467925,7 +461373,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfresqml22__ThrowKindExt, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfresqml22__ThrowKindExt, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -467935,13 +461383,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -468017,7 +461461,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__VolumeShell, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__VolumeShell, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -468027,13 +461471,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -468109,7 +461549,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__EdgePatch, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__EdgePatch, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -468119,13 +461559,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -468201,7 +461637,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__Point3d, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToresqml22__Point3d, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -468211,13 +461647,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -468293,7 +461725,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowPort, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowPort, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -468303,13 +461735,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -468385,7 +461813,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FacilityIdentifierStruct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FacilityIdentifierStruct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -468395,13 +461823,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -468477,7 +461901,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowExpectedUnitProperty, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowExpectedUnitProperty, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -468487,13 +461911,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -468569,7 +461989,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ConnectedNode, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ConnectedNode, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -468579,13 +461999,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -468661,7 +462077,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowQualifierExpected, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowQualifierExpected, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -468671,13 +462087,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -468753,7 +462165,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumePeriod, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumePeriod, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -468763,13 +462175,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -468845,7 +462253,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeBalanceSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeBalanceSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -468855,13 +462263,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -468937,7 +462341,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AbstractMeasureData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AbstractMeasureData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -468947,13 +462351,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -469029,7 +462429,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__CurveDefinition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__CurveDefinition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -469039,13 +462439,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -469121,7 +462517,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeParameterValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeParameterValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -469131,13 +462527,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -469213,7 +462605,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeProduct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeProduct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -469223,13 +462615,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -469305,7 +462693,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__DatedComment, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__DatedComment, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -469315,13 +462703,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -469397,7 +462781,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeParameterSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeParameterSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -469407,13 +462791,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -469489,7 +462869,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeFlow, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeFlow, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -469499,13 +462879,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -469581,7 +462957,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeBusinessSubUnit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeBusinessSubUnit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -469591,13 +462967,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -469673,7 +463045,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeBalanceDetail, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeBalanceDetail, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -469683,13 +463055,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -469765,7 +463133,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeBalanceEvent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeBalanceEvent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -469775,13 +463143,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -469857,7 +463221,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeComponentContent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumeComponentContent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -469867,13 +463231,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -469949,7 +463309,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__FlowRateValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__FlowRateValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -469959,13 +463319,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -470041,7 +463397,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumePortDifference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductVolumePortDifference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -470051,13 +463407,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -470133,7 +463485,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__VolumeValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__VolumeValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -470143,13 +463495,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -470225,7 +463573,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__DensityValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__DensityValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -470235,13 +463583,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -470317,7 +463661,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__RecombinedSampleFraction, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__RecombinedSampleFraction, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -470327,13 +463671,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -470409,7 +463749,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__CustomParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__CustomParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -470419,13 +463759,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -470501,7 +463837,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AbstractParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AbstractParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -470511,13 +463847,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -470593,7 +463925,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__LocationIn2D, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__LocationIn2D, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -470603,13 +463935,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -470685,7 +464013,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AnalysisLine, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AnalysisLine, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -470695,13 +464023,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -470777,7 +464101,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__LayerToLayerConnection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__LayerToLayerConnection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -470787,13 +464111,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -470869,7 +464189,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ReportingHierarchyNode, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ReportingHierarchyNode, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -470879,13 +464199,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -470961,7 +464277,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductRate, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductRate, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -470971,13 +464287,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -471053,7 +464365,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__MeasuredPressureData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__MeasuredPressureData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -471063,13 +464375,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -471145,7 +464453,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AbstractPtaFlowData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__AbstractPtaFlowData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -471155,13 +464463,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -471237,7 +464541,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__OtherData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__OtherData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -471247,13 +464551,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -471329,7 +464629,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__WaterAnalysisTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__WaterAnalysisTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -471339,13 +464639,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -471421,7 +464717,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__LiquidComposition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__LiquidComposition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -471431,13 +464727,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -471513,7 +464805,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__PhaseDensity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__PhaseDensity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -471523,13 +464815,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -471605,7 +464893,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__RefInjectedGasAdded, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__RefInjectedGasAdded, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -471615,13 +464903,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -471697,7 +464981,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SwellingTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SwellingTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -471707,13 +464991,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -471789,7 +465069,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vec (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__Sara, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__Sara, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -471799,13 +465079,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vec { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -471881,7 +465157,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ViscosityAtTemperature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ViscosityAtTemperature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -471891,13 +465167,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -471973,7 +465245,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SlimTubeTestVolumeStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SlimTubeTestVolumeStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -471983,13 +465255,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -472065,7 +465333,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SlimTubeSpecification, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SlimTubeSpecification, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -472075,13 +465343,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -472157,7 +465421,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SlimTubeTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SlimTubeTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -472167,13 +465431,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -472249,7 +465509,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__InjectedGas, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__InjectedGas, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -472259,13 +465519,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -472341,7 +465597,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SampleRestoration, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SampleRestoration, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -472351,13 +465607,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -472433,7 +465685,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__VaporComposition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__VaporComposition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -472443,13 +465695,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -472525,7 +465773,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__OtherMeasurementTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__OtherMeasurementTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -472535,13 +465783,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -472617,7 +465861,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__InterfacialTensionTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__InterfacialTensionTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -472627,13 +465871,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -472709,7 +465949,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidSeparatorTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidSeparatorTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -472719,13 +465959,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -472801,7 +466037,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ReportLocation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ReportLocation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -472811,13 +466047,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -472893,7 +466125,7 @@ SOAP_FMAC1 std::vector * SOAP_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidDifferentialLiberationTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidDifferentialLiberationTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -472903,13 +466135,9 @@ SOAP_FMAC1 std::vector * SOAP_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -472985,7 +466213,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCvdTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCvdTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -472995,13 +466223,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -473077,7 +466301,7 @@ SOAP_FMAC1 std::vector * SOAP (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ConstantCompositionExpansionTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ConstantCompositionExpansionTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -473087,13 +466311,9 @@ SOAP_FMAC1 std::vector * SOAP { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -473169,7 +466389,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidVolumeReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidVolumeReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -473179,13 +466399,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -473261,7 +466477,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowUnit, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowUnit, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -473271,13 +466487,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -473353,7 +466565,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowChangeLog, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowChangeLog, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -473363,13 +466575,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -473445,7 +466653,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowNetworkPlan, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowNetworkPlan, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -473455,13 +466663,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -473537,7 +466741,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowExternalPort, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ProductFlowExternalPort, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -473547,13 +466751,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -473629,7 +466829,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidComponentFraction, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidComponentFraction, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -473639,13 +466839,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -473721,7 +466917,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SulfurFluidComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__SulfurFluidComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -473731,13 +466927,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -473813,7 +467005,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__PlusFluidComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__PlusFluidComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -473823,13 +467015,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -473905,7 +467093,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__PseudoFluidComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__PseudoFluidComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -473915,13 +467103,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -473997,7 +467181,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__PureFluidComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__PureFluidComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -474007,13 +467191,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -474089,7 +467269,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FormationWater, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FormationWater, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -474099,13 +467279,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -474181,7 +467357,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__NaturalGas, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__NaturalGas, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -474191,13 +467367,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -474273,7 +467445,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__StockTankOil, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__StockTankOil, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -474283,13 +467455,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -474365,7 +467533,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__PvtModelParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__PvtModelParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -474375,13 +467543,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -474457,7 +467621,7 @@ SOAP_FMAC1 std::vector * SOAP_FMA (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCharacterizationTableFormat, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCharacterizationTableFormat, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -474467,13 +467631,9 @@ SOAP_FMAC1 std::vector * SOAP_FMA { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -474549,7 +467709,7 @@ SOAP_FMAC1 std::vector * SOAP_FMA (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCharacterizationTableColumn, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCharacterizationTableColumn, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -474559,13 +467719,9 @@ SOAP_FMAC1 std::vector * SOAP_FMA { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -474641,7 +467797,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCharacterizationTableRow, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCharacterizationTableRow, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -474651,13 +467807,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -474733,7 +467885,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCharacterizationParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCharacterizationParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -474743,13 +467895,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -474825,7 +467973,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ReferenceSeparatorStage, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__ReferenceSeparatorStage, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -474835,13 +467983,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -474917,7 +468061,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCharacterizationTable, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidCharacterizationTable, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -474927,13 +468071,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -475009,7 +468149,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__CustomPvtModelParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__CustomPvtModelParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -475019,13 +468159,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -475101,7 +468237,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidComponentProperty, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__FluidComponentProperty, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -475111,13 +468247,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -475193,7 +468325,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__BinaryInteractionCoefficient, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToprodml23__BinaryInteractionCoefficient, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -475203,13 +468335,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -475285,7 +468413,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vect (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__Column, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__Column, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -475295,13 +468423,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vect { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -475377,7 +468501,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__PropertyKindFacet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__PropertyKindFacet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -475387,13 +468511,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -475469,7 +468589,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__AbstractActivityParameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__AbstractActivityParameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -475479,13 +468599,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -475573,7 +468689,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfeml23__String2000, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfeml23__String2000, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -475583,13 +468699,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -475663,7 +468775,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfeml23__ActivityParameterKind, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfeml23__ActivityParameterKind, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -475673,13 +468785,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -475755,7 +468863,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__AbstractParameterKey, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__AbstractParameterKey, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -475765,13 +468873,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -475847,7 +468951,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__OSDULineageAssertion, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__OSDULineageAssertion, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -475857,13 +468961,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -475937,7 +469037,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTemplat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfeml23__NonNegativeLong, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfeml23__NonNegativeLong, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -475947,13 +469047,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTemplat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -476027,7 +469123,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTemplat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfeml23__PositiveLong, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfeml23__PositiveLong, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -476037,13 +469133,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTemplat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -476119,7 +469211,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__ExternalDataArrayPart, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__ExternalDataArrayPart, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -476129,13 +469221,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -476223,7 +469311,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfxsd__anyURI, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfxsd__anyURI, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -476233,13 +469321,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -476313,7 +469397,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTemplat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOf_XML, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOf_XML, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -476323,13 +469407,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTemplat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -476417,7 +469497,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfeml23__String64, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfeml23__String64, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -476427,13 +469507,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -476509,7 +469585,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__ObjectAlias, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__ObjectAlias, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -476519,13 +469595,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -476601,7 +469673,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__AnchorState, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__AnchorState, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -476611,13 +469683,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -476693,7 +469761,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Incident, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Incident, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -476703,13 +469771,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -476785,7 +469849,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimPressureFlowRate, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimPressureFlowRate, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -476795,13 +469859,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -476877,7 +469937,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimPumpFlowBackTestStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimPumpFlowBackTestStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -476887,13 +469947,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -476969,7 +470025,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimPerforationCluster, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimPerforationCluster, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -476979,13 +470035,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -477061,7 +470113,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimProppantAgent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimProppantAgent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -477071,13 +470123,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -477153,7 +470201,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimAdditive, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimAdditive, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -477163,13 +470211,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -477245,7 +470289,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimPumpFlowBackTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimPumpFlowBackTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -477255,13 +470299,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -477337,7 +470377,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimStepDownTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimStepDownTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -477347,13 +470387,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -477429,7 +470465,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimStepTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimStepTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -477439,13 +470475,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -477521,7 +470553,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimFetTest, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimFetTest, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -477531,13 +470563,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -477613,7 +470641,7 @@ SOAP_FMAC1 std::vector * SOAP_FM (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ISO13503_USCORE2SieveAnalysisData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ISO13503_USCORE2SieveAnalysisData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -477623,13 +470651,9 @@ SOAP_FMAC1 std::vector * SOAP_FM { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -477705,7 +470729,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ISO13503_USCORE2CrushTestData, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ISO13503_USCORE2CrushTestData, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -477715,13 +470739,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -477797,7 +470817,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimMaterialQuantity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimMaterialQuantity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -477807,13 +470827,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -477889,7 +470905,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimTubular, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StimTubular, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -477899,13 +470915,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -477979,7 +470991,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfwitsml21__StimFetTestAnalysisMethod, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfwitsml21__StimFetTestAnalysisMethod, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -477989,13 +471001,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -478071,7 +471079,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__WellboreGeometrySection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__WellboreGeometrySection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -478081,13 +471089,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -478163,7 +471167,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CementAdditive, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CementAdditive, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -478173,13 +471177,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -478255,7 +471255,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__FluidLocation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__FluidLocation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -478265,13 +471265,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -478347,7 +471343,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CementPumpScheduleStep, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CementPumpScheduleStep, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -478357,13 +471353,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -478439,7 +471431,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__AzimuthRange, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__AzimuthRange, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -478449,13 +471441,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -478531,7 +471519,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PlaneAngleOperatingRange, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PlaneAngleOperatingRange, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -478541,13 +471529,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -478623,7 +471607,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CustomOperatingRange, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CustomOperatingRange, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -478633,13 +471617,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -478715,7 +471695,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__AbstractTvdInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__AbstractTvdInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -478725,13 +471705,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -478807,7 +471783,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__MdInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__MdInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -478817,13 +471793,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -478899,7 +471871,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__GenericMeasure, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__GenericMeasure, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -478909,13 +471881,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -478991,7 +471959,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StationaryGyro, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StationaryGyro, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -479001,13 +471969,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -479083,7 +472047,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ContinuousGyro, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ContinuousGyro, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -479093,13 +472057,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -479175,7 +472135,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Parameter, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Parameter, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -479185,13 +472145,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -479267,7 +472223,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__Abstract3dPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__Abstract3dPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -479277,13 +472233,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -479359,7 +472311,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__TrajectoryStation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__TrajectoryStation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -479369,13 +472321,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -479463,7 +472411,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfeml23__String256, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfeml23__String256, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -479473,13 +472421,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -479555,7 +472499,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__LogChannelAxis, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__LogChannelAxis, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -479565,13 +472509,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -479647,7 +472587,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__LithologyQualifier, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__LithologyQualifier, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -479657,13 +472597,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -479739,7 +472675,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CuttingsIntervalShow, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__CuttingsIntervalShow, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -479749,13 +472685,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -479831,7 +472763,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__GasPeak, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__GasPeak, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -479841,13 +472773,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -479923,7 +472851,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__TubularUmbilicalCut, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__TubularUmbilicalCut, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -479933,13 +472861,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -480015,7 +472939,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__v (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Nozzle, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Nozzle, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -480025,13 +472949,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__v { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -480107,7 +473027,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vec (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Bend, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Bend, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -480117,13 +473037,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vec { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -480199,7 +473115,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Stabilizer, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Stabilizer, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -480209,13 +473125,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -480291,7 +473203,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Connection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Connection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -480301,13 +473213,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -480383,7 +473291,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__v (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Sensor, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Sensor, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -480393,13 +473301,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__v { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -480475,7 +473379,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__RheometerViscosity, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__RheometerViscosity, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -480485,13 +473389,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -480567,7 +473467,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Rheometer, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Rheometer, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -480577,13 +473477,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -480659,7 +473555,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__BopComponent, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__BopComponent, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -480669,13 +473565,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -480751,7 +473643,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__NameTag, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__NameTag, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -480761,13 +473653,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -480843,7 +473731,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportSurveyStation, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DrillReportSurveyStation, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -480853,13 +473741,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -480935,7 +473819,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__Abstract2dPosition, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__Abstract2dPosition, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -480945,13 +473829,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -481027,7 +473907,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__NameStruct, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__NameStruct, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -481037,13 +473917,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -481119,7 +473995,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__MemberObject, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__MemberObject, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -481129,13 +474005,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -481211,7 +474083,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DownholeStringReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DownholeStringReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -481221,13 +474093,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -481303,7 +474171,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__BoreholeStringReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__BoreholeStringReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -481313,13 +474181,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -481395,7 +474259,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__EquipmentConnection, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__EquipmentConnection, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -481405,13 +474269,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -481487,7 +474347,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ReferenceContainer, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ReferenceContainer, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -481497,13 +474357,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -481579,7 +474435,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__EventInfo, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__EventInfo, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -481589,13 +474445,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -481671,7 +474523,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PerforationSet, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PerforationSet, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -481681,13 +474533,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -481763,7 +474611,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__ComponentReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__ComponentReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -481773,13 +474621,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -481855,7 +474699,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Equipment, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Equipment, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -481865,13 +474709,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -481947,7 +474787,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PerfHole, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PerfHole, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -481957,13 +474797,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -482039,7 +474875,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PerfSlot, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PerfSlot, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -482049,13 +474885,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -482131,7 +474963,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ExtPropNameValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__ExtPropNameValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -482141,13 +474973,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -482223,7 +475051,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DownholeString, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__DownholeString, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -482233,13 +475061,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -482315,7 +475139,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__BoreholeString, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__BoreholeString, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -482325,13 +475149,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -482407,7 +475227,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__GeologyFeature, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__GeologyFeature, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -482417,13 +475237,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -482499,7 +475315,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Borehole, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__Borehole, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -482509,13 +475325,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -482591,7 +475403,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StringEquipment, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__StringEquipment, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -482601,13 +475413,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -482683,7 +475491,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PerforationStatusHistory, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PerforationStatusHistory, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -482693,13 +475501,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -482775,7 +475579,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__IntervalStatusHistory, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__IntervalStatusHistory, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -482785,13 +475589,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -482867,7 +475667,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__ExtensionNameValue, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__ExtensionNameValue, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -482877,13 +475677,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -482959,7 +475755,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__DataObjectReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__DataObjectReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -482969,13 +475765,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -483051,7 +475843,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__DataObjectComponentReference, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerToeml23__DataObjectComponentReference, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -483061,13 +475853,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -483143,7 +475931,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__SlotsInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__SlotsInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -483153,13 +475941,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -483235,7 +476019,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PerforationSetInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__PerforationSetInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -483245,13 +476029,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -483327,7 +476107,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__OpenHoleInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__OpenHoleInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -483337,13 +476117,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -483419,7 +476195,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__GravelPackInterval, n, gsoap_eml2_3_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_eml2_3_std__vectorTemplateOfPointerTowitsml21__GravelPackInterval, n, gsoap_eml2_3_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -483429,13 +476205,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } diff --git a/src/proxies/gsoap_eml2_3H.h b/src/proxies/gsoap_eml2_3H.h index 0611de606..926e8f158 100644 --- a/src/proxies/gsoap_eml2_3H.h +++ b/src/proxies/gsoap_eml2_3H.h @@ -1,8 +1,8 @@ /* gsoap_eml2_3H.h - Generated by gSOAP 2.8.139E for eml2_3ForGsoap.h + Generated by gSOAP 2.8.140E for eml2_3ForGsoap.h gSOAP XML Web services tools -Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved. +Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved. The soapcpp2 tool is licensed for commercial use and protected by law. ** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED. -------------------------------------------------------------------------------- diff --git a/src/proxies/gsoap_eml2_3Stub.h b/src/proxies/gsoap_eml2_3Stub.h index 43e471568..9a46de328 100644 --- a/src/proxies/gsoap_eml2_3Stub.h +++ b/src/proxies/gsoap_eml2_3Stub.h @@ -1,8 +1,8 @@ /* gsoap_eml2_3Stub.h - Generated by gSOAP 2.8.139E for eml2_3ForGsoap.h + Generated by gSOAP 2.8.140E for eml2_3ForGsoap.h gSOAP XML Web services tools -Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved. +Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved. The soapcpp2 tool is licensed for commercial use and protected by law. ** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED. -------------------------------------------------------------------------------- @@ -23,8 +23,8 @@ Product and source code licensed by Genivia Inc., contact@genivia.com #define WITH_NOGLOBAL #endif #include "stdsoap2.h" -#if GSOAP_VERSION != 208139 -# error "GSOAP VERSION 208139 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE" +#if GSOAP_VERSION != 208140 +# error "GSOAP VERSION 208140 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE" #endif diff --git a/src/proxies/gsoap_resqml2_0_1C.cpp b/src/proxies/gsoap_resqml2_0_1C.cpp index e68a28d46..01cc8fbbc 100644 --- a/src/proxies/gsoap_resqml2_0_1C.cpp +++ b/src/proxies/gsoap_resqml2_0_1C.cpp @@ -1,8 +1,8 @@ /* gsoap_resqml2_0_1C.cpp - Generated by gSOAP 2.8.139E for resqml2_0_1ForGsoap.h + Generated by gSOAP 2.8.140E for resqml2_0_1ForGsoap.h gSOAP XML Web services tools -Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved. +Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved. The soapcpp2 tool is licensed for commercial use and protected by law. ** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED. -------------------------------------------------------------------------------- @@ -27,7 +27,7 @@ Product and source code licensed by Genivia Inc., contact@genivia.com namespace gsoap_resqml2_0_1 { -SOAP_SOURCE_STAMP("@(#) gsoap_resqml2_0_1C.cpp ver 2.8.139E 2025-09-19 16:13:39 GMT") +SOAP_SOURCE_STAMP("@(#) gsoap_resqml2_0_1C.cpp ver 2.8.140E 2026-02-16 09:13:52 GMT") #ifndef WITH_NOGLOBAL @@ -38888,7 +38888,7 @@ SOAP_FMAC1 ptm__equivalentPropertyType * SOAP_FMAC2 soap_instantiate_ptm__equiva (void)type; (void)arrayType; /* appease -Wall -Werror */ ptm__equivalentPropertyType *p; size_t k = sizeof(ptm__equivalentPropertyType); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_ptm__equivalentPropertyType, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_ptm__equivalentPropertyType, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -38903,13 +38903,9 @@ SOAP_FMAC1 ptm__equivalentPropertyType * SOAP_FMAC2 soap_instantiate_ptm__equiva for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated ptm__equivalentPropertyType location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -39101,7 +39097,7 @@ SOAP_FMAC1 ptm__standardEnergisticsPropertyType * SOAP_FMAC2 soap_instantiate_pt (void)type; (void)arrayType; /* appease -Wall -Werror */ ptm__standardEnergisticsPropertyType *p; size_t k = sizeof(ptm__standardEnergisticsPropertyType); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_ptm__standardEnergisticsPropertyType, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_ptm__standardEnergisticsPropertyType, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -39116,13 +39112,9 @@ SOAP_FMAC1 ptm__standardEnergisticsPropertyType * SOAP_FMAC2 soap_instantiate_pt for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated ptm__standardEnergisticsPropertyType location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -39237,7 +39229,7 @@ SOAP_FMAC1 ptm__standardEnergisticsPropertyTypeSet * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ ptm__standardEnergisticsPropertyTypeSet *p; size_t k = sizeof(ptm__standardEnergisticsPropertyTypeSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_ptm__standardEnergisticsPropertyTypeSet, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_ptm__standardEnergisticsPropertyTypeSet, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -39252,13 +39244,9 @@ SOAP_FMAC1 ptm__standardEnergisticsPropertyTypeSet * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated ptm__standardEnergisticsPropertyTypeSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -39343,7 +39331,7 @@ SOAP_FMAC1 eml20__MobilityMeasure * SOAP_FMAC2 soap_instantiate_eml20__MobilityM (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MobilityMeasure *p; size_t k = sizeof(eml20__MobilityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MobilityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MobilityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -39358,13 +39346,9 @@ SOAP_FMAC1 eml20__MobilityMeasure * SOAP_FMAC2 soap_instantiate_eml20__MobilityM for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MobilityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -39449,7 +39433,7 @@ SOAP_FMAC1 eml20__LengthPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml20__Leng (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LengthPerMassMeasure *p; size_t k = sizeof(eml20__LengthPerMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LengthPerMassMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LengthPerMassMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -39464,13 +39448,9 @@ SOAP_FMAC1 eml20__LengthPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml20__Leng for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LengthPerMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -39555,7 +39535,7 @@ SOAP_FMAC1 eml20__AreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__AreaMeasure(s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AreaMeasure *p; size_t k = sizeof(eml20__AreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -39570,13 +39550,9 @@ SOAP_FMAC1 eml20__AreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__AreaMeasure(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -39661,7 +39637,7 @@ SOAP_FMAC1 eml20__VolumePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Vo (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumePerVolumeMeasure *p; size_t k = sizeof(eml20__VolumePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -39676,13 +39652,9 @@ SOAP_FMAC1 eml20__VolumePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Vo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -39767,7 +39739,7 @@ SOAP_FMAC1 eml20__ElectricResistanceMeasure * SOAP_FMAC2 soap_instantiate_eml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ElectricResistanceMeasure *p; size_t k = sizeof(eml20__ElectricResistanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricResistanceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricResistanceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -39782,13 +39754,9 @@ SOAP_FMAC1 eml20__ElectricResistanceMeasure * SOAP_FMAC2 soap_instantiate_eml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ElectricResistanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -39873,7 +39841,7 @@ SOAP_FMAC1 eml20__AreaPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Area (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AreaPerVolumeMeasure *p; size_t k = sizeof(eml20__AreaPerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AreaPerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AreaPerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -39888,13 +39856,9 @@ SOAP_FMAC1 eml20__AreaPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Area for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AreaPerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -39979,7 +39943,7 @@ SOAP_FMAC1 eml20__TimePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__TimePe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__TimePerTimeMeasure *p; size_t k = sizeof(eml20__TimePerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TimePerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TimePerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -39994,13 +39958,9 @@ SOAP_FMAC1 eml20__TimePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__TimePe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__TimePerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -40085,7 +40045,7 @@ SOAP_FMAC1 eml20__AmountOfSubstancePerVolumeMeasure * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AmountOfSubstancePerVolumeMeasure *p; size_t k = sizeof(eml20__AmountOfSubstancePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AmountOfSubstancePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AmountOfSubstancePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -40100,13 +40060,9 @@ SOAP_FMAC1 eml20__AmountOfSubstancePerVolumeMeasure * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AmountOfSubstancePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -40191,7 +40147,7 @@ SOAP_FMAC1 eml20__MassPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__MassPe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MassPerAreaMeasure *p; size_t k = sizeof(eml20__MassPerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -40206,13 +40162,9 @@ SOAP_FMAC1 eml20__MassPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__MassPe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MassPerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -40297,7 +40249,7 @@ SOAP_FMAC1 eml20__VolumePerPressureMeasure * SOAP_FMAC2 soap_instantiate_eml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumePerPressureMeasure *p; size_t k = sizeof(eml20__VolumePerPressureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerPressureMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerPressureMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -40312,13 +40264,9 @@ SOAP_FMAC1 eml20__VolumePerPressureMeasure * SOAP_FMAC2 soap_instantiate_eml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumePerPressureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -40403,7 +40351,7 @@ SOAP_FMAC1 eml20__MassPerTimePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MassPerTimePerAreaMeasure *p; size_t k = sizeof(eml20__MassPerTimePerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerTimePerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerTimePerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -40418,13 +40366,9 @@ SOAP_FMAC1 eml20__MassPerTimePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MassPerTimePerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -40509,7 +40453,7 @@ SOAP_FMAC1 eml20__DoseEquivalentMeasure * SOAP_FMAC2 soap_instantiate_eml20__Dos (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__DoseEquivalentMeasure *p; size_t k = sizeof(eml20__DoseEquivalentMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DoseEquivalentMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DoseEquivalentMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -40524,13 +40468,9 @@ SOAP_FMAC1 eml20__DoseEquivalentMeasure * SOAP_FMAC2 soap_instantiate_eml20__Dos for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__DoseEquivalentMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -40615,7 +40555,7 @@ SOAP_FMAC1 eml20__PermeabilityRockMeasure * SOAP_FMAC2 soap_instantiate_eml20__P (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PermeabilityRockMeasure *p; size_t k = sizeof(eml20__PermeabilityRockMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PermeabilityRockMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PermeabilityRockMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -40630,13 +40570,9 @@ SOAP_FMAC1 eml20__PermeabilityRockMeasure * SOAP_FMAC2 soap_instantiate_eml20__P for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PermeabilityRockMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -40721,7 +40657,7 @@ SOAP_FMAC1 eml20__MagneticFieldStrengthMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MagneticFieldStrengthMeasure *p; size_t k = sizeof(eml20__MagneticFieldStrengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MagneticFieldStrengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MagneticFieldStrengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -40736,13 +40672,9 @@ SOAP_FMAC1 eml20__MagneticFieldStrengthMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MagneticFieldStrengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -40827,7 +40759,7 @@ SOAP_FMAC1 eml20__VolumePerTimePerPressureLengthMeasure * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumePerTimePerPressureLengthMeasure *p; size_t k = sizeof(eml20__VolumePerTimePerPressureLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimePerPressureLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimePerPressureLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -40842,13 +40774,9 @@ SOAP_FMAC1 eml20__VolumePerTimePerPressureLengthMeasure * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumePerTimePerPressureLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -40933,7 +40861,7 @@ SOAP_FMAC1 eml20__PressureMeasure * SOAP_FMAC2 soap_instantiate_eml20__PressureM (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PressureMeasure *p; size_t k = sizeof(eml20__PressureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PressureMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PressureMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -40948,13 +40876,9 @@ SOAP_FMAC1 eml20__PressureMeasure * SOAP_FMAC2 soap_instantiate_eml20__PressureM for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PressureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -41039,7 +40963,7 @@ SOAP_FMAC1 eml20__MagneticFluxDensityPerLengthMeasure * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MagneticFluxDensityPerLengthMeasure *p; size_t k = sizeof(eml20__MagneticFluxDensityPerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MagneticFluxDensityPerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MagneticFluxDensityPerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -41054,13 +40978,9 @@ SOAP_FMAC1 eml20__MagneticFluxDensityPerLengthMeasure * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MagneticFluxDensityPerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -41145,7 +41065,7 @@ SOAP_FMAC1 eml20__PowerPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__Power (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PowerPerAreaMeasure *p; size_t k = sizeof(eml20__PowerPerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PowerPerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PowerPerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -41160,13 +41080,9 @@ SOAP_FMAC1 eml20__PowerPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__Power for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PowerPerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -41251,7 +41167,7 @@ SOAP_FMAC1 eml20__ElectricFieldStrengthMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ElectricFieldStrengthMeasure *p; size_t k = sizeof(eml20__ElectricFieldStrengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricFieldStrengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricFieldStrengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -41266,13 +41182,9 @@ SOAP_FMAC1 eml20__ElectricFieldStrengthMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ElectricFieldStrengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -41357,7 +41269,7 @@ SOAP_FMAC1 eml20__AmountOfSubstancePerAmountOfSubstanceMeasure * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AmountOfSubstancePerAmountOfSubstanceMeasure *p; size_t k = sizeof(eml20__AmountOfSubstancePerAmountOfSubstanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AmountOfSubstancePerAmountOfSubstanceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AmountOfSubstancePerAmountOfSubstanceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -41372,13 +41284,9 @@ SOAP_FMAC1 eml20__AmountOfSubstancePerAmountOfSubstanceMeasure * SOAP_FMAC2 soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AmountOfSubstancePerAmountOfSubstanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -41463,7 +41371,7 @@ SOAP_FMAC1 eml20__ElectricConductivityMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ElectricConductivityMeasure *p; size_t k = sizeof(eml20__ElectricConductivityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricConductivityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricConductivityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -41478,13 +41386,9 @@ SOAP_FMAC1 eml20__ElectricConductivityMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ElectricConductivityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -41569,7 +41473,7 @@ SOAP_FMAC1 eml20__AngularVelocityMeasure * SOAP_FMAC2 soap_instantiate_eml20__An (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AngularVelocityMeasure *p; size_t k = sizeof(eml20__AngularVelocityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AngularVelocityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AngularVelocityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -41584,13 +41488,9 @@ SOAP_FMAC1 eml20__AngularVelocityMeasure * SOAP_FMAC2 soap_instantiate_eml20__An for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AngularVelocityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -41675,7 +41575,7 @@ SOAP_FMAC1 eml20__EnergyPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml20__Ener (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__EnergyPerMassMeasure *p; size_t k = sizeof(eml20__EnergyPerMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyPerMassMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyPerMassMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -41690,13 +41590,9 @@ SOAP_FMAC1 eml20__EnergyPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml20__Ener for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__EnergyPerMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -41781,7 +41677,7 @@ SOAP_FMAC1 eml20__EnergyLengthPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__EnergyLengthPerAreaMeasure *p; size_t k = sizeof(eml20__EnergyLengthPerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyLengthPerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyLengthPerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -41796,13 +41692,9 @@ SOAP_FMAC1 eml20__EnergyLengthPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__EnergyLengthPerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -41887,7 +41779,7 @@ SOAP_FMAC1 eml20__PlaneAngleMeasure * SOAP_FMAC2 soap_instantiate_eml20__PlaneAn (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PlaneAngleMeasure *p; size_t k = sizeof(eml20__PlaneAngleMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PlaneAngleMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PlaneAngleMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -41902,13 +41794,9 @@ SOAP_FMAC1 eml20__PlaneAngleMeasure * SOAP_FMAC2 soap_instantiate_eml20__PlaneAn for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PlaneAngleMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -41993,7 +41881,7 @@ SOAP_FMAC1 eml20__ReciprocalForceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Re (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ReciprocalForceMeasure *p; size_t k = sizeof(eml20__ReciprocalForceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalForceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalForceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -42008,13 +41896,9 @@ SOAP_FMAC1 eml20__ReciprocalForceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ReciprocalForceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -42099,7 +41983,7 @@ SOAP_FMAC1 eml20__ReciprocalMassMeasure * SOAP_FMAC2 soap_instantiate_eml20__Rec (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ReciprocalMassMeasure *p; size_t k = sizeof(eml20__ReciprocalMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalMassMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalMassMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -42114,13 +41998,9 @@ SOAP_FMAC1 eml20__ReciprocalMassMeasure * SOAP_FMAC2 soap_instantiate_eml20__Rec for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ReciprocalMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -42205,7 +42085,7 @@ SOAP_FMAC1 eml20__AngularAccelerationMeasure * SOAP_FMAC2 soap_instantiate_eml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AngularAccelerationMeasure *p; size_t k = sizeof(eml20__AngularAccelerationMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AngularAccelerationMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AngularAccelerationMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -42220,13 +42100,9 @@ SOAP_FMAC1 eml20__AngularAccelerationMeasure * SOAP_FMAC2 soap_instantiate_eml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AngularAccelerationMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -42311,7 +42187,7 @@ SOAP_FMAC1 eml20__LogarithmicPowerRatioMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LogarithmicPowerRatioMeasure *p; size_t k = sizeof(eml20__LogarithmicPowerRatioMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LogarithmicPowerRatioMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LogarithmicPowerRatioMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -42326,13 +42202,9 @@ SOAP_FMAC1 eml20__LogarithmicPowerRatioMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LogarithmicPowerRatioMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -42417,7 +42289,7 @@ SOAP_FMAC1 eml20__NormalizedPowerMeasure * SOAP_FMAC2 soap_instantiate_eml20__No (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__NormalizedPowerMeasure *p; size_t k = sizeof(eml20__NormalizedPowerMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__NormalizedPowerMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__NormalizedPowerMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -42432,13 +42304,9 @@ SOAP_FMAC1 eml20__NormalizedPowerMeasure * SOAP_FMAC2 soap_instantiate_eml20__No for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__NormalizedPowerMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -42523,7 +42391,7 @@ SOAP_FMAC1 eml20__MassMeasure * SOAP_FMAC2 soap_instantiate_eml20__MassMeasure(s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MassMeasure *p; size_t k = sizeof(eml20__MassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -42538,13 +42406,9 @@ SOAP_FMAC1 eml20__MassMeasure * SOAP_FMAC2 soap_instantiate_eml20__MassMeasure(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -42629,7 +42493,7 @@ SOAP_FMAC1 eml20__ThermalConductivityMeasure * SOAP_FMAC2 soap_instantiate_eml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ThermalConductivityMeasure *p; size_t k = sizeof(eml20__ThermalConductivityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ThermalConductivityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ThermalConductivityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -42644,13 +42508,9 @@ SOAP_FMAC1 eml20__ThermalConductivityMeasure * SOAP_FMAC2 soap_instantiate_eml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ThermalConductivityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -42735,7 +42595,7 @@ SOAP_FMAC1 eml20__LengthPerPressureMeasure * SOAP_FMAC2 soap_instantiate_eml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LengthPerPressureMeasure *p; size_t k = sizeof(eml20__LengthPerPressureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LengthPerPressureMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LengthPerPressureMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -42750,13 +42610,9 @@ SOAP_FMAC1 eml20__LengthPerPressureMeasure * SOAP_FMAC2 soap_instantiate_eml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LengthPerPressureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -42841,7 +42697,7 @@ SOAP_FMAC1 eml20__AnglePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Ang (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AnglePerVolumeMeasure *p; size_t k = sizeof(eml20__AnglePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AnglePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AnglePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -42856,13 +42712,9 @@ SOAP_FMAC1 eml20__AnglePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Ang for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AnglePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -42947,7 +42799,7 @@ SOAP_FMAC1 eml20__PressureSquaredPerForceTimePerAreaMeasure * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PressureSquaredPerForceTimePerAreaMeasure *p; size_t k = sizeof(eml20__PressureSquaredPerForceTimePerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PressureSquaredPerForceTimePerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PressureSquaredPerForceTimePerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -42962,13 +42814,9 @@ SOAP_FMAC1 eml20__PressureSquaredPerForceTimePerAreaMeasure * SOAP_FMAC2 soap_in for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PressureSquaredPerForceTimePerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -43053,7 +42901,7 @@ SOAP_FMAC1 eml20__VolumePerTimeLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumePerTimeLengthMeasure *p; size_t k = sizeof(eml20__VolumePerTimeLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimeLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimeLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -43068,13 +42916,9 @@ SOAP_FMAC1 eml20__VolumePerTimeLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumePerTimeLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -43159,7 +43003,7 @@ SOAP_FMAC1 eml20__LengthPerTemperatureMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LengthPerTemperatureMeasure *p; size_t k = sizeof(eml20__LengthPerTemperatureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LengthPerTemperatureMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LengthPerTemperatureMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -43174,13 +43018,9 @@ SOAP_FMAC1 eml20__LengthPerTemperatureMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LengthPerTemperatureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -43265,7 +43105,7 @@ SOAP_FMAC1 eml20__AmountOfSubstancePerTimeMeasure * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AmountOfSubstancePerTimeMeasure *p; size_t k = sizeof(eml20__AmountOfSubstancePerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AmountOfSubstancePerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AmountOfSubstancePerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -43280,13 +43120,9 @@ SOAP_FMAC1 eml20__AmountOfSubstancePerTimeMeasure * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AmountOfSubstancePerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -43371,7 +43207,7 @@ SOAP_FMAC1 eml20__ForcePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__For (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ForcePerLengthMeasure *p; size_t k = sizeof(eml20__ForcePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ForcePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ForcePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -43386,13 +43222,9 @@ SOAP_FMAC1 eml20__ForcePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__For for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ForcePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -43477,7 +43309,7 @@ SOAP_FMAC1 eml20__PressurePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Pr (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PressurePerTimeMeasure *p; size_t k = sizeof(eml20__PressurePerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PressurePerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PressurePerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -43492,13 +43324,9 @@ SOAP_FMAC1 eml20__PressurePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PressurePerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -43583,7 +43411,7 @@ SOAP_FMAC1 eml20__MassPerVolumePerLengthMeasure * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MassPerVolumePerLengthMeasure *p; size_t k = sizeof(eml20__MassPerVolumePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerVolumePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerVolumePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -43598,13 +43426,9 @@ SOAP_FMAC1 eml20__MassPerVolumePerLengthMeasure * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MassPerVolumePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -43689,7 +43513,7 @@ SOAP_FMAC1 eml20__IsothermalCompressibilityMeasure * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__IsothermalCompressibilityMeasure *p; size_t k = sizeof(eml20__IsothermalCompressibilityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__IsothermalCompressibilityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__IsothermalCompressibilityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -43704,13 +43528,9 @@ SOAP_FMAC1 eml20__IsothermalCompressibilityMeasure * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__IsothermalCompressibilityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -43795,7 +43615,7 @@ SOAP_FMAC1 eml20__ElectricPotentialDifferenceMeasure * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ElectricPotentialDifferenceMeasure *p; size_t k = sizeof(eml20__ElectricPotentialDifferenceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricPotentialDifferenceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricPotentialDifferenceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -43810,13 +43630,9 @@ SOAP_FMAC1 eml20__ElectricPotentialDifferenceMeasure * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ElectricPotentialDifferenceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -43901,7 +43717,7 @@ SOAP_FMAC1 eml20__DiffusionCoefficientMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__DiffusionCoefficientMeasure *p; size_t k = sizeof(eml20__DiffusionCoefficientMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DiffusionCoefficientMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DiffusionCoefficientMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -43916,13 +43732,9 @@ SOAP_FMAC1 eml20__DiffusionCoefficientMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__DiffusionCoefficientMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -44007,7 +43819,7 @@ SOAP_FMAC1 eml20__APIGammaRayMeasure * SOAP_FMAC2 soap_instantiate_eml20__APIGam (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__APIGammaRayMeasure *p; size_t k = sizeof(eml20__APIGammaRayMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__APIGammaRayMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__APIGammaRayMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -44022,13 +43834,9 @@ SOAP_FMAC1 eml20__APIGammaRayMeasure * SOAP_FMAC2 soap_instantiate_eml20__APIGam for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__APIGammaRayMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -44113,7 +43921,7 @@ SOAP_FMAC1 eml20__ElectricChargePerMassMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ElectricChargePerMassMeasure *p; size_t k = sizeof(eml20__ElectricChargePerMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricChargePerMassMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricChargePerMassMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -44128,13 +43936,9 @@ SOAP_FMAC1 eml20__ElectricChargePerMassMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ElectricChargePerMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -44219,7 +44023,7 @@ SOAP_FMAC1 eml20__ReciprocalElectricPotentialDifferenceMeasure * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ReciprocalElectricPotentialDifferenceMeasure *p; size_t k = sizeof(eml20__ReciprocalElectricPotentialDifferenceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalElectricPotentialDifferenceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalElectricPotentialDifferenceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -44234,13 +44038,9 @@ SOAP_FMAC1 eml20__ReciprocalElectricPotentialDifferenceMeasure * SOAP_FMAC2 soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ReciprocalElectricPotentialDifferenceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -44325,7 +44125,7 @@ SOAP_FMAC1 eml20__DynamicViscosityMeasure * SOAP_FMAC2 soap_instantiate_eml20__D (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__DynamicViscosityMeasure *p; size_t k = sizeof(eml20__DynamicViscosityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DynamicViscosityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DynamicViscosityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -44340,13 +44140,9 @@ SOAP_FMAC1 eml20__DynamicViscosityMeasure * SOAP_FMAC2 soap_instantiate_eml20__D for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__DynamicViscosityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -44431,7 +44227,7 @@ SOAP_FMAC1 eml20__ReciprocalLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__R (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ReciprocalLengthMeasure *p; size_t k = sizeof(eml20__ReciprocalLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -44446,13 +44242,9 @@ SOAP_FMAC1 eml20__ReciprocalLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__R for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ReciprocalLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -44537,7 +44329,7 @@ SOAP_FMAC1 eml20__TimePerMassMeasure * SOAP_FMAC2 soap_instantiate_eml20__TimePe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__TimePerMassMeasure *p; size_t k = sizeof(eml20__TimePerMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TimePerMassMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TimePerMassMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -44552,13 +44344,9 @@ SOAP_FMAC1 eml20__TimePerMassMeasure * SOAP_FMAC2 soap_instantiate_eml20__TimePe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__TimePerMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -44643,7 +44431,7 @@ SOAP_FMAC1 eml20__PressurePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PressurePerVolumeMeasure *p; size_t k = sizeof(eml20__PressurePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PressurePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PressurePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -44658,13 +44446,9 @@ SOAP_FMAC1 eml20__PressurePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PressurePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -44749,7 +44533,7 @@ SOAP_FMAC1 eml20__VolumetricHeatTransferCoefficientMeasure * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumetricHeatTransferCoefficientMeasure *p; size_t k = sizeof(eml20__VolumetricHeatTransferCoefficientMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumetricHeatTransferCoefficientMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumetricHeatTransferCoefficientMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -44764,13 +44548,9 @@ SOAP_FMAC1 eml20__VolumetricHeatTransferCoefficientMeasure * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumetricHeatTransferCoefficientMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -44855,7 +44635,7 @@ SOAP_FMAC1 eml20__ElectricChargePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ElectricChargePerVolumeMeasure *p; size_t k = sizeof(eml20__ElectricChargePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricChargePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricChargePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -44870,13 +44650,9 @@ SOAP_FMAC1 eml20__ElectricChargePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ElectricChargePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -44961,7 +44737,7 @@ SOAP_FMAC1 eml20__EnergyPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__En (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__EnergyPerVolumeMeasure *p; size_t k = sizeof(eml20__EnergyPerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyPerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyPerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -44976,13 +44752,9 @@ SOAP_FMAC1 eml20__EnergyPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__En for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__EnergyPerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -45067,7 +44839,7 @@ SOAP_FMAC1 eml20__ElectromagneticMomentMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ElectromagneticMomentMeasure *p; size_t k = sizeof(eml20__ElectromagneticMomentMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectromagneticMomentMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectromagneticMomentMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -45082,13 +44854,9 @@ SOAP_FMAC1 eml20__ElectromagneticMomentMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ElectromagneticMomentMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -45173,7 +44941,7 @@ SOAP_FMAC1 eml20__TimePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Time (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__TimePerVolumeMeasure *p; size_t k = sizeof(eml20__TimePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TimePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TimePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -45188,13 +44956,9 @@ SOAP_FMAC1 eml20__TimePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Time for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__TimePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -45279,7 +45043,7 @@ SOAP_FMAC1 eml20__InductanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Inducta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__InductanceMeasure *p; size_t k = sizeof(eml20__InductanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__InductanceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__InductanceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -45294,13 +45058,9 @@ SOAP_FMAC1 eml20__InductanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Inducta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__InductanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -45385,7 +45145,7 @@ SOAP_FMAC1 eml20__KinematicViscosityMeasure * SOAP_FMAC2 soap_instantiate_eml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__KinematicViscosityMeasure *p; size_t k = sizeof(eml20__KinematicViscosityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__KinematicViscosityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__KinematicViscosityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -45400,13 +45160,9 @@ SOAP_FMAC1 eml20__KinematicViscosityMeasure * SOAP_FMAC2 soap_instantiate_eml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__KinematicViscosityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -45491,7 +45247,7 @@ SOAP_FMAC1 eml20__ReciprocalAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__Rec (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ReciprocalAreaMeasure *p; size_t k = sizeof(eml20__ReciprocalAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -45506,13 +45262,9 @@ SOAP_FMAC1 eml20__ReciprocalAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__Rec for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ReciprocalAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -45597,7 +45349,7 @@ SOAP_FMAC1 eml20__MassLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__MassLen (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MassLengthMeasure *p; size_t k = sizeof(eml20__MassLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -45612,13 +45364,9 @@ SOAP_FMAC1 eml20__MassLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__MassLen for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MassLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -45703,7 +45451,7 @@ SOAP_FMAC1 eml20__ElectricalResistivityMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ElectricalResistivityMeasure *p; size_t k = sizeof(eml20__ElectricalResistivityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricalResistivityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricalResistivityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -45718,13 +45466,9 @@ SOAP_FMAC1 eml20__ElectricalResistivityMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ElectricalResistivityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -45809,7 +45553,7 @@ SOAP_FMAC1 eml20__CapacitanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Capaci (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__CapacitanceMeasure *p; size_t k = sizeof(eml20__CapacitanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__CapacitanceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__CapacitanceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -45824,13 +45568,9 @@ SOAP_FMAC1 eml20__CapacitanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Capaci for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__CapacitanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -45915,7 +45655,7 @@ SOAP_FMAC1 eml20__FrequencyIntervalMeasure * SOAP_FMAC2 soap_instantiate_eml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__FrequencyIntervalMeasure *p; size_t k = sizeof(eml20__FrequencyIntervalMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__FrequencyIntervalMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__FrequencyIntervalMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -45930,13 +45670,9 @@ SOAP_FMAC1 eml20__FrequencyIntervalMeasure * SOAP_FMAC2 soap_instantiate_eml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__FrequencyIntervalMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -46021,7 +45757,7 @@ SOAP_FMAC1 eml20__FrequencyMeasure * SOAP_FMAC2 soap_instantiate_eml20__Frequenc (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__FrequencyMeasure *p; size_t k = sizeof(eml20__FrequencyMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__FrequencyMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__FrequencyMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -46036,13 +45772,9 @@ SOAP_FMAC1 eml20__FrequencyMeasure * SOAP_FMAC2 soap_instantiate_eml20__Frequenc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__FrequencyMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -46127,7 +45859,7 @@ SOAP_FMAC1 eml20__SignalingEventPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__SignalingEventPerTimeMeasure *p; size_t k = sizeof(eml20__SignalingEventPerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__SignalingEventPerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__SignalingEventPerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -46142,13 +45874,9 @@ SOAP_FMAC1 eml20__SignalingEventPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__SignalingEventPerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -46233,7 +45961,7 @@ SOAP_FMAC1 eml20__ActivityOfRadioactivityMeasure * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ActivityOfRadioactivityMeasure *p; size_t k = sizeof(eml20__ActivityOfRadioactivityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ActivityOfRadioactivityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ActivityOfRadioactivityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -46248,13 +45976,9 @@ SOAP_FMAC1 eml20__ActivityOfRadioactivityMeasure * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ActivityOfRadioactivityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -46339,7 +46063,7 @@ SOAP_FMAC1 eml20__MolecularWeightMeasure * SOAP_FMAC2 soap_instantiate_eml20__Mo (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MolecularWeightMeasure *p; size_t k = sizeof(eml20__MolecularWeightMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MolecularWeightMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MolecularWeightMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -46354,13 +46078,9 @@ SOAP_FMAC1 eml20__MolecularWeightMeasure * SOAP_FMAC2 soap_instantiate_eml20__Mo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MolecularWeightMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -46445,7 +46165,7 @@ SOAP_FMAC1 eml20__MassPerTimePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MassPerTimePerLengthMeasure *p; size_t k = sizeof(eml20__MassPerTimePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerTimePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerTimePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -46460,13 +46180,9 @@ SOAP_FMAC1 eml20__MassPerTimePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MassPerTimePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -46551,7 +46267,7 @@ SOAP_FMAC1 eml20__MomentOfInertiaMeasure * SOAP_FMAC2 soap_instantiate_eml20__Mo (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MomentOfInertiaMeasure *p; size_t k = sizeof(eml20__MomentOfInertiaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MomentOfInertiaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MomentOfInertiaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -46566,13 +46282,9 @@ SOAP_FMAC1 eml20__MomentOfInertiaMeasure * SOAP_FMAC2 soap_instantiate_eml20__Mo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MomentOfInertiaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -46657,7 +46369,7 @@ SOAP_FMAC1 eml20__PotentialDifferencePerPowerDropMeasure * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PotentialDifferencePerPowerDropMeasure *p; size_t k = sizeof(eml20__PotentialDifferencePerPowerDropMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PotentialDifferencePerPowerDropMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PotentialDifferencePerPowerDropMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -46672,13 +46384,9 @@ SOAP_FMAC1 eml20__PotentialDifferencePerPowerDropMeasure * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PotentialDifferencePerPowerDropMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -46763,7 +46471,7 @@ SOAP_FMAC1 eml20__SpecificHeatCapacityMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__SpecificHeatCapacityMeasure *p; size_t k = sizeof(eml20__SpecificHeatCapacityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__SpecificHeatCapacityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__SpecificHeatCapacityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -46778,13 +46486,9 @@ SOAP_FMAC1 eml20__SpecificHeatCapacityMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__SpecificHeatCapacityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -46869,7 +46573,7 @@ SOAP_FMAC1 eml20__ReciprocalTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Rec (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ReciprocalTimeMeasure *p; size_t k = sizeof(eml20__ReciprocalTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalTimeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalTimeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -46884,13 +46588,9 @@ SOAP_FMAC1 eml20__ReciprocalTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Rec for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ReciprocalTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -46975,7 +46675,7 @@ SOAP_FMAC1 eml20__LogarithmicPowerRatioPerLengthMeasure * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LogarithmicPowerRatioPerLengthMeasure *p; size_t k = sizeof(eml20__LogarithmicPowerRatioPerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LogarithmicPowerRatioPerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LogarithmicPowerRatioPerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -46990,13 +46690,9 @@ SOAP_FMAC1 eml20__LogarithmicPowerRatioPerLengthMeasure * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LogarithmicPowerRatioPerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -47081,7 +46777,7 @@ SOAP_FMAC1 eml20__ThermalDiffusivityMeasure * SOAP_FMAC2 soap_instantiate_eml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ThermalDiffusivityMeasure *p; size_t k = sizeof(eml20__ThermalDiffusivityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ThermalDiffusivityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ThermalDiffusivityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -47096,13 +46792,9 @@ SOAP_FMAC1 eml20__ThermalDiffusivityMeasure * SOAP_FMAC2 soap_instantiate_eml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ThermalDiffusivityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -47187,7 +46879,7 @@ SOAP_FMAC1 eml20__PowerPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Pow (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PowerPerVolumeMeasure *p; size_t k = sizeof(eml20__PowerPerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PowerPerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PowerPerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -47202,13 +46894,9 @@ SOAP_FMAC1 eml20__PowerPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Pow for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PowerPerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -47293,7 +46981,7 @@ SOAP_FMAC1 eml20__MomentumMeasure * SOAP_FMAC2 soap_instantiate_eml20__MomentumM (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MomentumMeasure *p; size_t k = sizeof(eml20__MomentumMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MomentumMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MomentumMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -47308,13 +46996,9 @@ SOAP_FMAC1 eml20__MomentumMeasure * SOAP_FMAC2 soap_instantiate_eml20__MomentumM for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MomentumMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -47399,7 +47083,7 @@ SOAP_FMAC1 eml20__VolumeFlowRatePerVolumeFlowRateMeasure * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumeFlowRatePerVolumeFlowRateMeasure *p; size_t k = sizeof(eml20__VolumeFlowRatePerVolumeFlowRateMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumeFlowRatePerVolumeFlowRateMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumeFlowRatePerVolumeFlowRateMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -47414,13 +47098,9 @@ SOAP_FMAC1 eml20__VolumeFlowRatePerVolumeFlowRateMeasure * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumeFlowRatePerVolumeFlowRateMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -47505,7 +47185,7 @@ SOAP_FMAC1 eml20__AreaPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__AreaPe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AreaPerTimeMeasure *p; size_t k = sizeof(eml20__AreaPerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AreaPerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AreaPerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -47520,13 +47200,9 @@ SOAP_FMAC1 eml20__AreaPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__AreaPe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AreaPerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -47611,7 +47287,7 @@ SOAP_FMAC1 eml20__LuminousEfficacyMeasure * SOAP_FMAC2 soap_instantiate_eml20__L (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LuminousEfficacyMeasure *p; size_t k = sizeof(eml20__LuminousEfficacyMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LuminousEfficacyMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LuminousEfficacyMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -47626,13 +47302,9 @@ SOAP_FMAC1 eml20__LuminousEfficacyMeasure * SOAP_FMAC2 soap_instantiate_eml20__L for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LuminousEfficacyMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -47717,7 +47389,7 @@ SOAP_FMAC1 eml20__QuantityOfLightMeasure * SOAP_FMAC2 soap_instantiate_eml20__Qu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__QuantityOfLightMeasure *p; size_t k = sizeof(eml20__QuantityOfLightMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__QuantityOfLightMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__QuantityOfLightMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -47732,13 +47404,9 @@ SOAP_FMAC1 eml20__QuantityOfLightMeasure * SOAP_FMAC2 soap_instantiate_eml20__Qu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__QuantityOfLightMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -47823,7 +47491,7 @@ SOAP_FMAC1 eml20__VolumePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__Volu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumePerAreaMeasure *p; size_t k = sizeof(eml20__VolumePerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -47838,13 +47506,9 @@ SOAP_FMAC1 eml20__VolumePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__Volu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumePerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -47929,7 +47593,7 @@ SOAP_FMAC1 eml20__MagneticFluxDensityMeasure * SOAP_FMAC2 soap_instantiate_eml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MagneticFluxDensityMeasure *p; size_t k = sizeof(eml20__MagneticFluxDensityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MagneticFluxDensityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MagneticFluxDensityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -47944,13 +47608,9 @@ SOAP_FMAC1 eml20__MagneticFluxDensityMeasure * SOAP_FMAC2 soap_instantiate_eml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MagneticFluxDensityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -48035,7 +47695,7 @@ SOAP_FMAC1 eml20__SecondMomentOfAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__SecondMomentOfAreaMeasure *p; size_t k = sizeof(eml20__SecondMomentOfAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__SecondMomentOfAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__SecondMomentOfAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -48050,13 +47710,9 @@ SOAP_FMAC1 eml20__SecondMomentOfAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__SecondMomentOfAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -48141,7 +47797,7 @@ SOAP_FMAC1 eml20__LengthPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Le (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LengthPerVolumeMeasure *p; size_t k = sizeof(eml20__LengthPerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LengthPerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LengthPerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -48156,13 +47812,9 @@ SOAP_FMAC1 eml20__LengthPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Le for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LengthPerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -48247,7 +47899,7 @@ SOAP_FMAC1 eml20__MolarEnergyMeasure * SOAP_FMAC2 soap_instantiate_eml20__MolarE (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MolarEnergyMeasure *p; size_t k = sizeof(eml20__MolarEnergyMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MolarEnergyMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MolarEnergyMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -48262,13 +47914,9 @@ SOAP_FMAC1 eml20__MolarEnergyMeasure * SOAP_FMAC2 soap_instantiate_eml20__MolarE for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MolarEnergyMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -48353,7 +48001,7 @@ SOAP_FMAC1 eml20__LuminousIntensityMeasure * SOAP_FMAC2 soap_instantiate_eml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LuminousIntensityMeasure *p; size_t k = sizeof(eml20__LuminousIntensityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LuminousIntensityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LuminousIntensityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -48368,13 +48016,9 @@ SOAP_FMAC1 eml20__LuminousIntensityMeasure * SOAP_FMAC2 soap_instantiate_eml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LuminousIntensityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -48459,7 +48103,7 @@ SOAP_FMAC1 eml20__ElectricChargeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Ele (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ElectricChargeMeasure *p; size_t k = sizeof(eml20__ElectricChargeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricChargeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricChargeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -48474,13 +48118,9 @@ SOAP_FMAC1 eml20__ElectricChargeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Ele for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ElectricChargeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -48565,7 +48205,7 @@ SOAP_FMAC1 eml20__DigitalStorageMeasure * SOAP_FMAC2 soap_instantiate_eml20__Dig (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__DigitalStorageMeasure *p; size_t k = sizeof(eml20__DigitalStorageMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DigitalStorageMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DigitalStorageMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -48580,13 +48220,9 @@ SOAP_FMAC1 eml20__DigitalStorageMeasure * SOAP_FMAC2 soap_instantiate_eml20__Dig for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__DigitalStorageMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -48671,7 +48307,7 @@ SOAP_FMAC1 eml20__MolarHeatCapacityMeasure * SOAP_FMAC2 soap_instantiate_eml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MolarHeatCapacityMeasure *p; size_t k = sizeof(eml20__MolarHeatCapacityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MolarHeatCapacityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MolarHeatCapacityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -48686,13 +48322,9 @@ SOAP_FMAC1 eml20__MolarHeatCapacityMeasure * SOAP_FMAC2 soap_instantiate_eml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MolarHeatCapacityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -48777,7 +48409,7 @@ SOAP_FMAC1 eml20__ForcePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__For (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ForcePerVolumeMeasure *p; size_t k = sizeof(eml20__ForcePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ForcePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ForcePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -48792,13 +48424,9 @@ SOAP_FMAC1 eml20__ForcePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__For for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ForcePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -48883,7 +48511,7 @@ SOAP_FMAC1 eml20__LuminanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Luminanc (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LuminanceMeasure *p; size_t k = sizeof(eml20__LuminanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LuminanceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LuminanceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -48898,13 +48526,9 @@ SOAP_FMAC1 eml20__LuminanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Luminanc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LuminanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -48989,7 +48613,7 @@ SOAP_FMAC1 eml20__MomentOfForceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Mome (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MomentOfForceMeasure *p; size_t k = sizeof(eml20__MomentOfForceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MomentOfForceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MomentOfForceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -49004,13 +48628,9 @@ SOAP_FMAC1 eml20__MomentOfForceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Mome for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MomentOfForceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -49095,7 +48715,7 @@ SOAP_FMAC1 eml20__TimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__TimeMeasure(s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__TimeMeasure *p; size_t k = sizeof(eml20__TimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TimeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TimeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -49110,13 +48730,9 @@ SOAP_FMAC1 eml20__TimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__TimeMeasure(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__TimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -49201,7 +48817,7 @@ SOAP_FMAC1 eml20__VolumePerTimePerPressureMeasure * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumePerTimePerPressureMeasure *p; size_t k = sizeof(eml20__VolumePerTimePerPressureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimePerPressureMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimePerPressureMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -49216,13 +48832,9 @@ SOAP_FMAC1 eml20__VolumePerTimePerPressureMeasure * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumePerTimePerPressureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -49307,7 +48919,7 @@ SOAP_FMAC1 eml20__VolumePerTimePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumePerTimePerVolumeMeasure *p; size_t k = sizeof(eml20__VolumePerTimePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -49322,13 +48934,9 @@ SOAP_FMAC1 eml20__VolumePerTimePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumePerTimePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -49413,7 +49021,7 @@ SOAP_FMAC1 eml20__VolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__VolumeMeasu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumeMeasure *p; size_t k = sizeof(eml20__VolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -49428,13 +49036,9 @@ SOAP_FMAC1 eml20__VolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__VolumeMeasu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -49519,7 +49123,7 @@ SOAP_FMAC1 eml20__VolumePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__Vo (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumePerLengthMeasure *p; size_t k = sizeof(eml20__VolumePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -49534,13 +49138,9 @@ SOAP_FMAC1 eml20__VolumePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__Vo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -49625,7 +49225,7 @@ SOAP_FMAC1 eml20__APIGravityMeasure * SOAP_FMAC2 soap_instantiate_eml20__APIGrav (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__APIGravityMeasure *p; size_t k = sizeof(eml20__APIGravityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__APIGravityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__APIGravityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -49640,13 +49240,9 @@ SOAP_FMAC1 eml20__APIGravityMeasure * SOAP_FMAC2 soap_instantiate_eml20__APIGrav for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__APIGravityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -49731,7 +49327,7 @@ SOAP_FMAC1 eml20__MagneticPermeabilityMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MagneticPermeabilityMeasure *p; size_t k = sizeof(eml20__MagneticPermeabilityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MagneticPermeabilityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MagneticPermeabilityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -49746,13 +49342,9 @@ SOAP_FMAC1 eml20__MagneticPermeabilityMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MagneticPermeabilityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -49837,7 +49429,7 @@ SOAP_FMAC1 eml20__MassPerEnergyMeasure * SOAP_FMAC2 soap_instantiate_eml20__Mass (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MassPerEnergyMeasure *p; size_t k = sizeof(eml20__MassPerEnergyMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerEnergyMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerEnergyMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -49852,13 +49444,9 @@ SOAP_FMAC1 eml20__MassPerEnergyMeasure * SOAP_FMAC2 soap_instantiate_eml20__Mass for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MassPerEnergyMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -49943,7 +49531,7 @@ SOAP_FMAC1 eml20__MagneticDipoleMomentMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MagneticDipoleMomentMeasure *p; size_t k = sizeof(eml20__MagneticDipoleMomentMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MagneticDipoleMomentMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MagneticDipoleMomentMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -49958,13 +49546,9 @@ SOAP_FMAC1 eml20__MagneticDipoleMomentMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MagneticDipoleMomentMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -50049,7 +49633,7 @@ SOAP_FMAC1 eml20__DataTransferSpeedMeasure * SOAP_FMAC2 soap_instantiate_eml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__DataTransferSpeedMeasure *p; size_t k = sizeof(eml20__DataTransferSpeedMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DataTransferSpeedMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DataTransferSpeedMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -50064,13 +49648,9 @@ SOAP_FMAC1 eml20__DataTransferSpeedMeasure * SOAP_FMAC2 soap_instantiate_eml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__DataTransferSpeedMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -50155,7 +49735,7 @@ SOAP_FMAC1 eml20__MassPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml20__MassPe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MassPerMassMeasure *p; size_t k = sizeof(eml20__MassPerMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerMassMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerMassMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -50170,13 +49750,9 @@ SOAP_FMAC1 eml20__MassPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml20__MassPe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MassPerMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -50261,7 +49837,7 @@ SOAP_FMAC1 eml20__ElectricCurrentDensityMeasure * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ElectricCurrentDensityMeasure *p; size_t k = sizeof(eml20__ElectricCurrentDensityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricCurrentDensityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricCurrentDensityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -50276,13 +49852,9 @@ SOAP_FMAC1 eml20__ElectricCurrentDensityMeasure * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ElectricCurrentDensityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -50367,7 +49939,7 @@ SOAP_FMAC1 eml20__EnergyPerMassPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__EnergyPerMassPerTimeMeasure *p; size_t k = sizeof(eml20__EnergyPerMassPerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyPerMassPerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyPerMassPerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -50382,13 +49954,9 @@ SOAP_FMAC1 eml20__EnergyPerMassPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__EnergyPerMassPerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -50473,7 +50041,7 @@ SOAP_FMAC1 eml20__AreaPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml20__AreaPe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AreaPerMassMeasure *p; size_t k = sizeof(eml20__AreaPerMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AreaPerMassMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AreaPerMassMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -50488,13 +50056,9 @@ SOAP_FMAC1 eml20__AreaPerMassMeasure * SOAP_FMAC2 soap_instantiate_eml20__AreaPe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AreaPerMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -50579,7 +50143,7 @@ SOAP_FMAC1 eml20__RadianceMeasure * SOAP_FMAC2 soap_instantiate_eml20__RadianceM (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__RadianceMeasure *p; size_t k = sizeof(eml20__RadianceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__RadianceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__RadianceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -50594,13 +50158,9 @@ SOAP_FMAC1 eml20__RadianceMeasure * SOAP_FMAC2 soap_instantiate_eml20__RadianceM for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__RadianceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -50685,7 +50245,7 @@ SOAP_FMAC1 eml20__DipoleMomentMeasure * SOAP_FMAC2 soap_instantiate_eml20__Dipol (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__DipoleMomentMeasure *p; size_t k = sizeof(eml20__DipoleMomentMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DipoleMomentMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DipoleMomentMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -50700,13 +50260,9 @@ SOAP_FMAC1 eml20__DipoleMomentMeasure * SOAP_FMAC2 soap_instantiate_eml20__Dipol for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__DipoleMomentMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -50791,7 +50347,7 @@ SOAP_FMAC1 eml20__PressureTimePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PressureTimePerVolumeMeasure *p; size_t k = sizeof(eml20__PressureTimePerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PressureTimePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PressureTimePerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -50806,13 +50362,9 @@ SOAP_FMAC1 eml20__PressureTimePerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PressureTimePerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -50897,7 +50449,7 @@ SOAP_FMAC1 eml20__PermittivityMeasure * SOAP_FMAC2 soap_instantiate_eml20__Permi (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PermittivityMeasure *p; size_t k = sizeof(eml20__PermittivityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PermittivityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PermittivityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -50912,13 +50464,9 @@ SOAP_FMAC1 eml20__PermittivityMeasure * SOAP_FMAC2 soap_instantiate_eml20__Permi for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PermittivityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -51003,7 +50551,7 @@ SOAP_FMAC1 eml20__ThermodynamicTemperatureMeasure * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ThermodynamicTemperatureMeasure *p; size_t k = sizeof(eml20__ThermodynamicTemperatureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ThermodynamicTemperatureMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ThermodynamicTemperatureMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -51018,13 +50566,9 @@ SOAP_FMAC1 eml20__ThermodynamicTemperatureMeasure * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ThermodynamicTemperatureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -51109,7 +50653,7 @@ SOAP_FMAC1 eml20__ReluctanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Relucta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ReluctanceMeasure *p; size_t k = sizeof(eml20__ReluctanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReluctanceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReluctanceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -51124,13 +50668,9 @@ SOAP_FMAC1 eml20__ReluctanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Relucta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ReluctanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -51215,7 +50755,7 @@ SOAP_FMAC1 eml20__AreaPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__AreaPe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AreaPerAreaMeasure *p; size_t k = sizeof(eml20__AreaPerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AreaPerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AreaPerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -51230,13 +50770,9 @@ SOAP_FMAC1 eml20__AreaPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__AreaPe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AreaPerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -51321,7 +50857,7 @@ SOAP_FMAC1 eml20__EnergyPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__Ener (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__EnergyPerAreaMeasure *p; size_t k = sizeof(eml20__EnergyPerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyPerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyPerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -51336,13 +50872,9 @@ SOAP_FMAC1 eml20__EnergyPerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__Ener for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__EnergyPerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -51427,7 +50959,7 @@ SOAP_FMAC1 eml20__MassPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__Mass (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MassPerLengthMeasure *p; size_t k = sizeof(eml20__MassPerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -51442,13 +50974,9 @@ SOAP_FMAC1 eml20__MassPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__Mass for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MassPerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -51533,7 +51061,7 @@ SOAP_FMAC1 eml20__LengthPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Leng (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LengthPerTimeMeasure *p; size_t k = sizeof(eml20__LengthPerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LengthPerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LengthPerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -51548,13 +51076,9 @@ SOAP_FMAC1 eml20__LengthPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Leng for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LengthPerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -51639,7 +51163,7 @@ SOAP_FMAC1 eml20__AnglePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__Ang (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AnglePerLengthMeasure *p; size_t k = sizeof(eml20__AnglePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AnglePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AnglePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -51654,13 +51178,9 @@ SOAP_FMAC1 eml20__AnglePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__Ang for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AnglePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -51745,7 +51265,7 @@ SOAP_FMAC1 eml20__ThermalResistanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ThermalResistanceMeasure *p; size_t k = sizeof(eml20__ThermalResistanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ThermalResistanceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ThermalResistanceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -51760,13 +51280,9 @@ SOAP_FMAC1 eml20__ThermalResistanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ThermalResistanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -51851,7 +51367,7 @@ SOAP_FMAC1 eml20__AttenuationPerFrequencyIntervalMeasure * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AttenuationPerFrequencyIntervalMeasure *p; size_t k = sizeof(eml20__AttenuationPerFrequencyIntervalMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AttenuationPerFrequencyIntervalMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AttenuationPerFrequencyIntervalMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -51866,13 +51382,9 @@ SOAP_FMAC1 eml20__AttenuationPerFrequencyIntervalMeasure * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AttenuationPerFrequencyIntervalMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -51957,7 +51469,7 @@ SOAP_FMAC1 eml20__TemperatureIntervalPerPressureMeasure * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__TemperatureIntervalPerPressureMeasure *p; size_t k = sizeof(eml20__TemperatureIntervalPerPressureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TemperatureIntervalPerPressureMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TemperatureIntervalPerPressureMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -51972,13 +51484,9 @@ SOAP_FMAC1 eml20__TemperatureIntervalPerPressureMeasure * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__TemperatureIntervalPerPressureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -52063,7 +51571,7 @@ SOAP_FMAC1 eml20__AbsorbedDoseMeasure * SOAP_FMAC2 soap_instantiate_eml20__Absor (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AbsorbedDoseMeasure *p; size_t k = sizeof(eml20__AbsorbedDoseMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AbsorbedDoseMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AbsorbedDoseMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -52078,13 +51586,9 @@ SOAP_FMAC1 eml20__AbsorbedDoseMeasure * SOAP_FMAC2 soap_instantiate_eml20__Absor for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AbsorbedDoseMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -52169,7 +51673,7 @@ SOAP_FMAC1 eml20__ElectricResistancePerLengthMeasure * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ElectricResistancePerLengthMeasure *p; size_t k = sizeof(eml20__ElectricResistancePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricResistancePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricResistancePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -52184,13 +51688,9 @@ SOAP_FMAC1 eml20__ElectricResistancePerLengthMeasure * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ElectricResistancePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -52275,7 +51775,7 @@ SOAP_FMAC1 eml20__HeatCapacityMeasure * SOAP_FMAC2 soap_instantiate_eml20__HeatC (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__HeatCapacityMeasure *p; size_t k = sizeof(eml20__HeatCapacityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__HeatCapacityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__HeatCapacityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -52290,13 +51790,9 @@ SOAP_FMAC1 eml20__HeatCapacityMeasure * SOAP_FMAC2 soap_instantiate_eml20__HeatC for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__HeatCapacityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -52381,7 +51877,7 @@ SOAP_FMAC1 eml20__LuminousFluxMeasure * SOAP_FMAC2 soap_instantiate_eml20__Lumin (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LuminousFluxMeasure *p; size_t k = sizeof(eml20__LuminousFluxMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LuminousFluxMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LuminousFluxMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -52396,13 +51892,9 @@ SOAP_FMAC1 eml20__LuminousFluxMeasure * SOAP_FMAC2 soap_instantiate_eml20__Lumin for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LuminousFluxMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -52487,7 +51979,7 @@ SOAP_FMAC1 eml20__ElectricCurrentMeasure * SOAP_FMAC2 soap_instantiate_eml20__El (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ElectricCurrentMeasure *p; size_t k = sizeof(eml20__ElectricCurrentMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricCurrentMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricCurrentMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -52502,13 +51994,9 @@ SOAP_FMAC1 eml20__ElectricCurrentMeasure * SOAP_FMAC2 soap_instantiate_eml20__El for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ElectricCurrentMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -52593,7 +52081,7 @@ SOAP_FMAC1 eml20__LightExposureMeasure * SOAP_FMAC2 soap_instantiate_eml20__Ligh (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LightExposureMeasure *p; size_t k = sizeof(eml20__LightExposureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LightExposureMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LightExposureMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -52608,13 +52096,9 @@ SOAP_FMAC1 eml20__LightExposureMeasure * SOAP_FMAC2 soap_instantiate_eml20__Ligh for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LightExposureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -52699,7 +52183,7 @@ SOAP_FMAC1 eml20__ElectricChargePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ElectricChargePerAreaMeasure *p; size_t k = sizeof(eml20__ElectricChargePerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricChargePerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricChargePerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -52714,13 +52198,9 @@ SOAP_FMAC1 eml20__ElectricChargePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ElectricChargePerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -52805,7 +52285,7 @@ SOAP_FMAC1 eml20__VolumePerRotationMeasure * SOAP_FMAC2 soap_instantiate_eml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumePerRotationMeasure *p; size_t k = sizeof(eml20__VolumePerRotationMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerRotationMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerRotationMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -52820,13 +52300,9 @@ SOAP_FMAC1 eml20__VolumePerRotationMeasure * SOAP_FMAC2 soap_instantiate_eml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumePerRotationMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -52911,7 +52387,7 @@ SOAP_FMAC1 eml20__PowerMeasure * SOAP_FMAC2 soap_instantiate_eml20__PowerMeasure (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PowerMeasure *p; size_t k = sizeof(eml20__PowerMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PowerMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PowerMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -52926,13 +52402,9 @@ SOAP_FMAC1 eml20__PowerMeasure * SOAP_FMAC2 soap_instantiate_eml20__PowerMeasure for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PowerMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -53017,7 +52489,7 @@ SOAP_FMAC1 eml20__EnergyLengthPerTimeAreaTemperatureMeasure * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__EnergyLengthPerTimeAreaTemperatureMeasure *p; size_t k = sizeof(eml20__EnergyLengthPerTimeAreaTemperatureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyLengthPerTimeAreaTemperatureMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyLengthPerTimeAreaTemperatureMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -53032,13 +52504,9 @@ SOAP_FMAC1 eml20__EnergyLengthPerTimeAreaTemperatureMeasure * SOAP_FMAC2 soap_in for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__EnergyLengthPerTimeAreaTemperatureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -53123,7 +52591,7 @@ SOAP_FMAC1 eml20__SolidAngleMeasure * SOAP_FMAC2 soap_instantiate_eml20__SolidAn (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__SolidAngleMeasure *p; size_t k = sizeof(eml20__SolidAngleMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__SolidAngleMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__SolidAngleMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -53138,13 +52606,9 @@ SOAP_FMAC1 eml20__SolidAngleMeasure * SOAP_FMAC2 soap_instantiate_eml20__SolidAn for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__SolidAngleMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -53229,7 +52693,7 @@ SOAP_FMAC1 eml20__ThermalConductanceMeasure * SOAP_FMAC2 soap_instantiate_eml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ThermalConductanceMeasure *p; size_t k = sizeof(eml20__ThermalConductanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ThermalConductanceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ThermalConductanceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -53244,13 +52708,9 @@ SOAP_FMAC1 eml20__ThermalConductanceMeasure * SOAP_FMAC2 soap_instantiate_eml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ThermalConductanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -53335,7 +52795,7 @@ SOAP_FMAC1 eml20__TemperatureIntervalPerTimeMeasure * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__TemperatureIntervalPerTimeMeasure *p; size_t k = sizeof(eml20__TemperatureIntervalPerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TemperatureIntervalPerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TemperatureIntervalPerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -53350,13 +52810,9 @@ SOAP_FMAC1 eml20__TemperatureIntervalPerTimeMeasure * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__TemperatureIntervalPerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -53441,7 +52897,7 @@ SOAP_FMAC1 eml20__EnergyPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__En (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__EnergyPerLengthMeasure *p; size_t k = sizeof(eml20__EnergyPerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyPerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyPerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -53456,13 +52912,9 @@ SOAP_FMAC1 eml20__EnergyPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__En for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__EnergyPerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -53547,7 +52999,7 @@ SOAP_FMAC1 eml20__LinearThermalExpansionMeasure * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LinearThermalExpansionMeasure *p; size_t k = sizeof(eml20__LinearThermalExpansionMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LinearThermalExpansionMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LinearThermalExpansionMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -53562,13 +53014,9 @@ SOAP_FMAC1 eml20__LinearThermalExpansionMeasure * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LinearThermalExpansionMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -53653,7 +53101,7 @@ SOAP_FMAC1 eml20__ForcePerForceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Forc (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ForcePerForceMeasure *p; size_t k = sizeof(eml20__ForcePerForceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ForcePerForceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ForcePerForceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -53668,13 +53116,9 @@ SOAP_FMAC1 eml20__ForcePerForceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Forc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ForcePerForceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -53759,7 +53203,7 @@ SOAP_FMAC1 eml20__ReciprocalVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__R (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ReciprocalVolumeMeasure *p; size_t k = sizeof(eml20__ReciprocalVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -53774,13 +53218,9 @@ SOAP_FMAC1 eml20__ReciprocalVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__R for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ReciprocalVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -53865,7 +53305,7 @@ SOAP_FMAC1 eml20__ReciprocalMassTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ReciprocalMassTimeMeasure *p; size_t k = sizeof(eml20__ReciprocalMassTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalMassTimeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalMassTimeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -53880,13 +53320,9 @@ SOAP_FMAC1 eml20__ReciprocalMassTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ReciprocalMassTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -53971,7 +53407,7 @@ SOAP_FMAC1 eml20__TimePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__Time (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__TimePerLengthMeasure *p; size_t k = sizeof(eml20__TimePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TimePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TimePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -53986,13 +53422,9 @@ SOAP_FMAC1 eml20__TimePerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__Time for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__TimePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -54077,7 +53509,7 @@ SOAP_FMAC1 eml20__AmountOfSubstanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AmountOfSubstanceMeasure *p; size_t k = sizeof(eml20__AmountOfSubstanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AmountOfSubstanceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AmountOfSubstanceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -54092,13 +53524,9 @@ SOAP_FMAC1 eml20__AmountOfSubstanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AmountOfSubstanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -54183,7 +53611,7 @@ SOAP_FMAC1 eml20__AmountOfSubstancePerAreaMeasure * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AmountOfSubstancePerAreaMeasure *p; size_t k = sizeof(eml20__AmountOfSubstancePerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AmountOfSubstancePerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AmountOfSubstancePerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -54198,13 +53626,9 @@ SOAP_FMAC1 eml20__AmountOfSubstancePerAreaMeasure * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AmountOfSubstancePerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -54289,7 +53713,7 @@ SOAP_FMAC1 eml20__TemperatureIntervalPerLengthMeasure * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__TemperatureIntervalPerLengthMeasure *p; size_t k = sizeof(eml20__TemperatureIntervalPerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TemperatureIntervalPerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TemperatureIntervalPerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -54304,13 +53728,9 @@ SOAP_FMAC1 eml20__TemperatureIntervalPerLengthMeasure * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__TemperatureIntervalPerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -54395,7 +53815,7 @@ SOAP_FMAC1 eml20__MassPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Mass (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MassPerVolumeMeasure *p; size_t k = sizeof(eml20__MassPerVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -54410,13 +53830,9 @@ SOAP_FMAC1 eml20__MassPerVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Mass for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MassPerVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -54501,7 +53917,7 @@ SOAP_FMAC1 eml20__LengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__LengthMeasu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LengthMeasure *p; size_t k = sizeof(eml20__LengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -54516,13 +53932,9 @@ SOAP_FMAC1 eml20__LengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__LengthMeasu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -54607,7 +54019,7 @@ SOAP_FMAC1 eml20__AreaPerAmountOfSubstanceMeasure * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AreaPerAmountOfSubstanceMeasure *p; size_t k = sizeof(eml20__AreaPerAmountOfSubstanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AreaPerAmountOfSubstanceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AreaPerAmountOfSubstanceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -54622,13 +54034,9 @@ SOAP_FMAC1 eml20__AreaPerAmountOfSubstanceMeasure * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AreaPerAmountOfSubstanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -54713,7 +54121,7 @@ SOAP_FMAC1 eml20__ReciprocalPressureMeasure * SOAP_FMAC2 soap_instantiate_eml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ReciprocalPressureMeasure *p; size_t k = sizeof(eml20__ReciprocalPressureMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalPressureMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ReciprocalPressureMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -54728,13 +54136,9 @@ SOAP_FMAC1 eml20__ReciprocalPressureMeasure * SOAP_FMAC2 soap_instantiate_eml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ReciprocalPressureMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -54819,7 +54223,7 @@ SOAP_FMAC1 eml20__ElectricConductanceMeasure * SOAP_FMAC2 soap_instantiate_eml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ElectricConductanceMeasure *p; size_t k = sizeof(eml20__ElectricConductanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricConductanceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ElectricConductanceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -54834,13 +54238,9 @@ SOAP_FMAC1 eml20__ElectricConductanceMeasure * SOAP_FMAC2 soap_instantiate_eml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ElectricConductanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -54925,7 +54325,7 @@ SOAP_FMAC1 eml20__MolarVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__MolarV (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MolarVolumeMeasure *p; size_t k = sizeof(eml20__MolarVolumeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MolarVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MolarVolumeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -54940,13 +54340,9 @@ SOAP_FMAC1 eml20__MolarVolumeMeasure * SOAP_FMAC2 soap_instantiate_eml20__MolarV for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MolarVolumeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -55031,7 +54427,7 @@ SOAP_FMAC1 eml20__VolumePerMassMeasure * SOAP_FMAC2 soap_instantiate_eml20__Volu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumePerMassMeasure *p; size_t k = sizeof(eml20__VolumePerMassMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerMassMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerMassMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -55046,13 +54442,9 @@ SOAP_FMAC1 eml20__VolumePerMassMeasure * SOAP_FMAC2 soap_instantiate_eml20__Volu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumePerMassMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -55137,7 +54529,7 @@ SOAP_FMAC1 eml20__MassPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__MassPe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MassPerTimeMeasure *p; size_t k = sizeof(eml20__MassPerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MassPerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -55152,13 +54544,9 @@ SOAP_FMAC1 eml20__MassPerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__MassPe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MassPerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -55243,7 +54631,7 @@ SOAP_FMAC1 eml20__HeatFlowRateMeasure * SOAP_FMAC2 soap_instantiate_eml20__HeatF (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__HeatFlowRateMeasure *p; size_t k = sizeof(eml20__HeatFlowRateMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__HeatFlowRateMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__HeatFlowRateMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -55258,13 +54646,9 @@ SOAP_FMAC1 eml20__HeatFlowRateMeasure * SOAP_FMAC2 soap_instantiate_eml20__HeatF for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__HeatFlowRateMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -55349,7 +54733,7 @@ SOAP_FMAC1 eml20__VolumetricThermalExpansionMeasure * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumetricThermalExpansionMeasure *p; size_t k = sizeof(eml20__VolumetricThermalExpansionMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumetricThermalExpansionMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumetricThermalExpansionMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -55364,13 +54748,9 @@ SOAP_FMAC1 eml20__VolumetricThermalExpansionMeasure * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumetricThermalExpansionMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -55455,7 +54835,7 @@ SOAP_FMAC1 eml20__MagneticFluxMeasure * SOAP_FMAC2 soap_instantiate_eml20__Magne (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MagneticFluxMeasure *p; size_t k = sizeof(eml20__MagneticFluxMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MagneticFluxMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MagneticFluxMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -55470,13 +54850,9 @@ SOAP_FMAC1 eml20__MagneticFluxMeasure * SOAP_FMAC2 soap_instantiate_eml20__Magne for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MagneticFluxMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -55561,7 +54937,7 @@ SOAP_FMAC1 eml20__VolumePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Volu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumePerTimeMeasure *p; size_t k = sizeof(eml20__VolumePerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -55576,13 +54952,9 @@ SOAP_FMAC1 eml20__VolumePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml20__Volu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumePerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -55667,7 +55039,7 @@ SOAP_FMAC1 eml20__LinearAccelerationMeasure * SOAP_FMAC2 soap_instantiate_eml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LinearAccelerationMeasure *p; size_t k = sizeof(eml20__LinearAccelerationMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LinearAccelerationMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LinearAccelerationMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -55682,13 +55054,9 @@ SOAP_FMAC1 eml20__LinearAccelerationMeasure * SOAP_FMAC2 soap_instantiate_eml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LinearAccelerationMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -55773,7 +55141,7 @@ SOAP_FMAC1 eml20__MagneticVectorPotentialMeasure * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__MagneticVectorPotentialMeasure *p; size_t k = sizeof(eml20__MagneticVectorPotentialMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MagneticVectorPotentialMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__MagneticVectorPotentialMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -55788,13 +55156,9 @@ SOAP_FMAC1 eml20__MagneticVectorPotentialMeasure * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__MagneticVectorPotentialMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -55879,7 +55243,7 @@ SOAP_FMAC1 eml20__APINeutronMeasure * SOAP_FMAC2 soap_instantiate_eml20__APINeut (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__APINeutronMeasure *p; size_t k = sizeof(eml20__APINeutronMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__APINeutronMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__APINeutronMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -55894,13 +55258,9 @@ SOAP_FMAC1 eml20__APINeutronMeasure * SOAP_FMAC2 soap_instantiate_eml20__APINeut for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__APINeutronMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -55985,7 +55345,7 @@ SOAP_FMAC1 eml20__HeatTransferCoefficientMeasure * SOAP_FMAC2 soap_instantiate_e (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__HeatTransferCoefficientMeasure *p; size_t k = sizeof(eml20__HeatTransferCoefficientMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__HeatTransferCoefficientMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__HeatTransferCoefficientMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -56000,13 +55360,9 @@ SOAP_FMAC1 eml20__HeatTransferCoefficientMeasure * SOAP_FMAC2 soap_instantiate_e for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__HeatTransferCoefficientMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -56091,7 +55447,7 @@ SOAP_FMAC1 eml20__DimensionlessMeasure * SOAP_FMAC2 soap_instantiate_eml20__Dime (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__DimensionlessMeasure *p; size_t k = sizeof(eml20__DimensionlessMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DimensionlessMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DimensionlessMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -56106,13 +55462,9 @@ SOAP_FMAC1 eml20__DimensionlessMeasure * SOAP_FMAC2 soap_instantiate_eml20__Dime for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__DimensionlessMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -56197,7 +55549,7 @@ SOAP_FMAC1 eml20__PowerPerPowerMeasure * SOAP_FMAC2 soap_instantiate_eml20__Powe (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PowerPerPowerMeasure *p; size_t k = sizeof(eml20__PowerPerPowerMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PowerPerPowerMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PowerPerPowerMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -56212,13 +55564,9 @@ SOAP_FMAC1 eml20__PowerPerPowerMeasure * SOAP_FMAC2 soap_instantiate_eml20__Powe for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PowerPerPowerMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -56303,7 +55651,7 @@ SOAP_FMAC1 eml20__RadiantIntensityMeasure * SOAP_FMAC2 soap_instantiate_eml20__R (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__RadiantIntensityMeasure *p; size_t k = sizeof(eml20__RadiantIntensityMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__RadiantIntensityMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__RadiantIntensityMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -56318,13 +55666,9 @@ SOAP_FMAC1 eml20__RadiantIntensityMeasure * SOAP_FMAC2 soap_instantiate_eml20__R for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__RadiantIntensityMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -56409,7 +55753,7 @@ SOAP_FMAC1 eml20__ForceMeasure * SOAP_FMAC2 soap_instantiate_eml20__ForceMeasure (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ForceMeasure *p; size_t k = sizeof(eml20__ForceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ForceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ForceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -56424,13 +55768,9 @@ SOAP_FMAC1 eml20__ForceMeasure * SOAP_FMAC2 soap_instantiate_eml20__ForceMeasure for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ForceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -56515,7 +55855,7 @@ SOAP_FMAC1 eml20__IlluminanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Illumi (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__IlluminanceMeasure *p; size_t k = sizeof(eml20__IlluminanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__IlluminanceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__IlluminanceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -56530,13 +55870,9 @@ SOAP_FMAC1 eml20__IlluminanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__Illumi for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__IlluminanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -56621,7 +55957,7 @@ SOAP_FMAC1 eml20__EnergyMeasure * SOAP_FMAC2 soap_instantiate_eml20__EnergyMeasu (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__EnergyMeasure *p; size_t k = sizeof(eml20__EnergyMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__EnergyMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -56636,13 +55972,9 @@ SOAP_FMAC1 eml20__EnergyMeasure * SOAP_FMAC2 soap_instantiate_eml20__EnergyMeasu for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__EnergyMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -56727,7 +56059,7 @@ SOAP_FMAC1 eml20__ForceAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__ForceAre (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ForceAreaMeasure *p; size_t k = sizeof(eml20__ForceAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ForceAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ForceAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -56742,13 +56074,9 @@ SOAP_FMAC1 eml20__ForceAreaMeasure * SOAP_FMAC2 soap_instantiate_eml20__ForceAre for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ForceAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -56833,7 +56161,7 @@ SOAP_FMAC1 eml20__ThermalInsulanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__T (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ThermalInsulanceMeasure *p; size_t k = sizeof(eml20__ThermalInsulanceMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ThermalInsulanceMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ThermalInsulanceMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -56848,13 +56176,9 @@ SOAP_FMAC1 eml20__ThermalInsulanceMeasure * SOAP_FMAC2 soap_instantiate_eml20__T for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ThermalInsulanceMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -56939,7 +56263,7 @@ SOAP_FMAC1 eml20__PermeabilityLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PermeabilityLengthMeasure *p; size_t k = sizeof(eml20__PermeabilityLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PermeabilityLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PermeabilityLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -56954,13 +56278,9 @@ SOAP_FMAC1 eml20__PermeabilityLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PermeabilityLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -57045,7 +56365,7 @@ SOAP_FMAC1 eml20__VolumePerTimePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumePerTimePerTimeMeasure *p; size_t k = sizeof(eml20__VolumePerTimePerTimeMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimePerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimePerTimeMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -57060,13 +56380,9 @@ SOAP_FMAC1 eml20__VolumePerTimePerTimeMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumePerTimePerTimeMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -57151,7 +56467,7 @@ SOAP_FMAC1 eml20__VolumePerTimePerLengthMeasure * SOAP_FMAC2 soap_instantiate_em (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumePerTimePerLengthMeasure *p; size_t k = sizeof(eml20__VolumePerTimePerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimePerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -57166,13 +56482,9 @@ SOAP_FMAC1 eml20__VolumePerTimePerLengthMeasure * SOAP_FMAC2 soap_instantiate_em for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumePerTimePerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -57257,7 +56569,7 @@ SOAP_FMAC1 eml20__TemperatureIntervalMeasure * SOAP_FMAC2 soap_instantiate_eml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__TemperatureIntervalMeasure *p; size_t k = sizeof(eml20__TemperatureIntervalMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TemperatureIntervalMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__TemperatureIntervalMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -57272,13 +56584,9 @@ SOAP_FMAC1 eml20__TemperatureIntervalMeasure * SOAP_FMAC2 soap_instantiate_eml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__TemperatureIntervalMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -57363,7 +56671,7 @@ SOAP_FMAC1 eml20__LengthPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__Le (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__LengthPerLengthMeasure *p; size_t k = sizeof(eml20__LengthPerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LengthPerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__LengthPerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -57378,13 +56686,9 @@ SOAP_FMAC1 eml20__LengthPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml20__Le for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__LengthPerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -57469,7 +56773,7 @@ SOAP_FMAC1 eml20__VolumePerTimePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VolumePerTimePerAreaMeasure *p; size_t k = sizeof(eml20__VolumePerTimePerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimePerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VolumePerTimePerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -57484,13 +56788,9 @@ SOAP_FMAC1 eml20__VolumePerTimePerAreaMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VolumePerTimePerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -57575,7 +56875,7 @@ SOAP_FMAC1 eml20__AmountOfSubstancePerTimePerAreaMeasure * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AmountOfSubstancePerTimePerAreaMeasure *p; size_t k = sizeof(eml20__AmountOfSubstancePerTimePerAreaMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AmountOfSubstancePerTimePerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AmountOfSubstancePerTimePerAreaMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -57590,13 +56890,9 @@ SOAP_FMAC1 eml20__AmountOfSubstancePerTimePerAreaMeasure * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AmountOfSubstancePerTimePerAreaMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -57681,7 +56977,7 @@ SOAP_FMAC1 eml20__ForceLengthPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ForceLengthPerLengthMeasure *p; size_t k = sizeof(eml20__ForceLengthPerLengthMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ForceLengthPerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ForceLengthPerLengthMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -57696,13 +56992,9 @@ SOAP_FMAC1 eml20__ForceLengthPerLengthMeasure * SOAP_FMAC2 soap_instantiate_eml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ForceLengthPerLengthMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -57787,7 +57079,7 @@ SOAP_FMAC1 eml20__PressureSquaredMeasure * SOAP_FMAC2 soap_instantiate_eml20__Pr (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__PressureSquaredMeasure *p; size_t k = sizeof(eml20__PressureSquaredMeasure); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PressureSquaredMeasure, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__PressureSquaredMeasure, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -57802,13 +57094,9 @@ SOAP_FMAC1 eml20__PressureSquaredMeasure * SOAP_FMAC2 soap_instantiate_eml20__Pr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__PressureSquaredMeasure location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -57974,7 +57262,7 @@ SOAP_FMAC1 eml20__DataObjectReference * SOAP_FMAC2 soap_instantiate_eml20__DataO return soap_instantiate_resqml20__ContactElementReference(soap, n, NULL, NULL, size); eml20__DataObjectReference *p; size_t k = sizeof(eml20__DataObjectReference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DataObjectReference, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__DataObjectReference, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -57989,13 +57277,9 @@ SOAP_FMAC1 eml20__DataObjectReference * SOAP_FMAC2 soap_instantiate_eml20__DataO for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__DataObjectReference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -58150,7 +57434,7 @@ SOAP_FMAC1 eml20__obj_USCOREEpcExternalPartReference * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__obj_USCOREEpcExternalPartReference *p; size_t k = sizeof(eml20__obj_USCOREEpcExternalPartReference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__obj_USCOREEpcExternalPartReference, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__obj_USCOREEpcExternalPartReference, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -58165,13 +57449,9 @@ SOAP_FMAC1 eml20__obj_USCOREEpcExternalPartReference * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__obj_USCOREEpcExternalPartReference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -58305,7 +57585,7 @@ SOAP_FMAC1 eml20__Hdf5Dataset * SOAP_FMAC2 soap_instantiate_eml20__Hdf5Dataset(s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__Hdf5Dataset *p; size_t k = sizeof(eml20__Hdf5Dataset); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__Hdf5Dataset, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__Hdf5Dataset, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -58320,13 +57600,9 @@ SOAP_FMAC1 eml20__Hdf5Dataset * SOAP_FMAC2 soap_instantiate_eml20__Hdf5Dataset(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__Hdf5Dataset location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -58447,7 +57723,7 @@ SOAP_FMAC1 eml20__ProjectedUnknownCrs * SOAP_FMAC2 soap_instantiate_eml20__Proje (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ProjectedUnknownCrs *p; size_t k = sizeof(eml20__ProjectedUnknownCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ProjectedUnknownCrs, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ProjectedUnknownCrs, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -58462,13 +57738,9 @@ SOAP_FMAC1 eml20__ProjectedUnknownCrs * SOAP_FMAC2 soap_instantiate_eml20__Proje for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ProjectedUnknownCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -58587,7 +57859,7 @@ SOAP_FMAC1 eml20__ProjectedCrsEpsgCode * SOAP_FMAC2 soap_instantiate_eml20__Proj (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ProjectedCrsEpsgCode *p; size_t k = sizeof(eml20__ProjectedCrsEpsgCode); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ProjectedCrsEpsgCode, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ProjectedCrsEpsgCode, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -58602,13 +57874,9 @@ SOAP_FMAC1 eml20__ProjectedCrsEpsgCode * SOAP_FMAC2 soap_instantiate_eml20__Proj for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ProjectedCrsEpsgCode location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -58711,7 +57979,7 @@ SOAP_FMAC1 eml20__AbstractProjectedCrs * SOAP_FMAC2 soap_instantiate_eml20__Abst return soap_instantiate_eml20__ProjectedUnknownCrs(soap, n, NULL, NULL, size); eml20__AbstractProjectedCrs *p; size_t k = sizeof(eml20__AbstractProjectedCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AbstractProjectedCrs, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AbstractProjectedCrs, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -58726,13 +57994,9 @@ SOAP_FMAC1 eml20__AbstractProjectedCrs * SOAP_FMAC2 soap_instantiate_eml20__Abst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AbstractProjectedCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -58835,7 +58099,7 @@ SOAP_FMAC1 eml20__AbstractVerticalCrs * SOAP_FMAC2 soap_instantiate_eml20__Abstr return soap_instantiate_eml20__VerticalUnknownCrs(soap, n, NULL, NULL, size); eml20__AbstractVerticalCrs *p; size_t k = sizeof(eml20__AbstractVerticalCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AbstractVerticalCrs, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AbstractVerticalCrs, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -58850,13 +58114,9 @@ SOAP_FMAC1 eml20__AbstractVerticalCrs * SOAP_FMAC2 soap_instantiate_eml20__Abstr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AbstractVerticalCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -59028,7 +58288,7 @@ SOAP_FMAC1 eml20__VerticalCrs * SOAP_FMAC2 soap_instantiate_eml20__VerticalCrs(s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VerticalCrs *p; size_t k = sizeof(eml20__VerticalCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VerticalCrs, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VerticalCrs, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -59043,13 +58303,9 @@ SOAP_FMAC1 eml20__VerticalCrs * SOAP_FMAC2 soap_instantiate_eml20__VerticalCrs(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VerticalCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -59233,7 +58489,7 @@ SOAP_FMAC1 eml20__ProjectedCrs * SOAP_FMAC2 soap_instantiate_eml20__ProjectedCrs (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ProjectedCrs *p; size_t k = sizeof(eml20__ProjectedCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ProjectedCrs, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ProjectedCrs, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -59248,13 +58504,9 @@ SOAP_FMAC1 eml20__ProjectedCrs * SOAP_FMAC2 soap_instantiate_eml20__ProjectedCrs for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ProjectedCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -59375,7 +58627,7 @@ SOAP_FMAC1 eml20__VerticalUnknownCrs * SOAP_FMAC2 soap_instantiate_eml20__Vertic (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VerticalUnknownCrs *p; size_t k = sizeof(eml20__VerticalUnknownCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VerticalUnknownCrs, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VerticalUnknownCrs, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -59390,13 +58642,9 @@ SOAP_FMAC1 eml20__VerticalUnknownCrs * SOAP_FMAC2 soap_instantiate_eml20__Vertic for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VerticalUnknownCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -59515,7 +58763,7 @@ SOAP_FMAC1 eml20__VerticalCrsEpsgCode * SOAP_FMAC2 soap_instantiate_eml20__Verti (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__VerticalCrsEpsgCode *p; size_t k = sizeof(eml20__VerticalCrsEpsgCode); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VerticalCrsEpsgCode, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__VerticalCrsEpsgCode, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -59530,13 +58778,9 @@ SOAP_FMAC1 eml20__VerticalCrsEpsgCode * SOAP_FMAC2 soap_instantiate_eml20__Verti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__VerticalCrsEpsgCode location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -59682,7 +58926,7 @@ SOAP_FMAC1 eml20__ObjectAlias * SOAP_FMAC2 soap_instantiate_eml20__ObjectAlias(s (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__ObjectAlias *p; size_t k = sizeof(eml20__ObjectAlias); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ObjectAlias, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__ObjectAlias, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -59697,13 +58941,9 @@ SOAP_FMAC1 eml20__ObjectAlias * SOAP_FMAC2 soap_instantiate_eml20__ObjectAlias(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__ObjectAlias location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -59856,7 +59096,7 @@ SOAP_FMAC1 eml20__AbstractObject * SOAP_FMAC2 soap_instantiate_eml20__AbstractOb (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__AbstractObject *p; size_t k = sizeof(eml20__AbstractObject); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AbstractObject, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AbstractObject, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -59871,13 +59111,9 @@ SOAP_FMAC1 eml20__AbstractObject * SOAP_FMAC2 soap_instantiate_eml20__AbstractOb for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AbstractObject location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -60087,7 +59323,7 @@ SOAP_FMAC1 eml20__Citation * SOAP_FMAC2 soap_instantiate_eml20__Citation(struct (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__Citation *p; size_t k = sizeof(eml20__Citation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__Citation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__Citation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -60102,13 +59338,9 @@ SOAP_FMAC1 eml20__Citation * SOAP_FMAC2 soap_instantiate_eml20__Citation(struct for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__Citation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -60215,7 +59447,7 @@ SOAP_FMAC1 eml20__CustomData * SOAP_FMAC2 soap_instantiate_eml20__CustomData(str (void)type; (void)arrayType; /* appease -Wall -Werror */ eml20__CustomData *p; size_t k = sizeof(eml20__CustomData); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__CustomData, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__CustomData, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -60230,13 +59462,9 @@ SOAP_FMAC1 eml20__CustomData * SOAP_FMAC2 soap_instantiate_eml20__CustomData(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__CustomData location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -60589,7 +59817,7 @@ SOAP_FMAC1 eml20__AbstractCitedDataObject * SOAP_FMAC2 soap_instantiate_eml20__A return soap_instantiate_resqml20__obj_USCOREDiscretePropertySeries(soap, n, NULL, NULL, size); eml20__AbstractCitedDataObject *p; size_t k = sizeof(eml20__AbstractCitedDataObject); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AbstractCitedDataObject, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_eml20__AbstractCitedDataObject, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -60604,13 +59832,9 @@ SOAP_FMAC1 eml20__AbstractCitedDataObject * SOAP_FMAC2 soap_instantiate_eml20__A for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated eml20__AbstractCitedDataObject location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -60885,7 +60109,7 @@ SOAP_FMAC1 resqml20__obj_USCOREDiscretePropertySeries * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREDiscretePropertySeries *p; size_t k = sizeof(resqml20__obj_USCOREDiscretePropertySeries); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREDiscretePropertySeries, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREDiscretePropertySeries, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -60900,13 +60124,9 @@ SOAP_FMAC1 resqml20__obj_USCOREDiscretePropertySeries * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREDiscretePropertySeries location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -61178,7 +60398,7 @@ SOAP_FMAC1 resqml20__obj_USCORECommentPropertySeries * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORECommentPropertySeries *p; size_t k = sizeof(resqml20__obj_USCORECommentPropertySeries); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORECommentPropertySeries, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORECommentPropertySeries, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -61193,13 +60413,9 @@ SOAP_FMAC1 resqml20__obj_USCORECommentPropertySeries * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORECommentPropertySeries location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -61475,7 +60691,7 @@ SOAP_FMAC1 resqml20__obj_USCORECategoricalPropertySeries * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORECategoricalPropertySeries *p; size_t k = sizeof(resqml20__obj_USCORECategoricalPropertySeries); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORECategoricalPropertySeries, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORECategoricalPropertySeries, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -61490,13 +60706,9 @@ SOAP_FMAC1 resqml20__obj_USCORECategoricalPropertySeries * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORECategoricalPropertySeries location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -61780,7 +60992,7 @@ SOAP_FMAC1 resqml20__obj_USCOREContinuousPropertySeries * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREContinuousPropertySeries *p; size_t k = sizeof(resqml20__obj_USCOREContinuousPropertySeries); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREContinuousPropertySeries, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREContinuousPropertySeries, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -61795,13 +61007,9 @@ SOAP_FMAC1 resqml20__obj_USCOREContinuousPropertySeries * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREContinuousPropertySeries location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -61966,7 +61174,7 @@ SOAP_FMAC1 resqml20__TimeIndices * SOAP_FMAC2 soap_instantiate_resqml20__TimeInd (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__TimeIndices *p; size_t k = sizeof(resqml20__TimeIndices); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TimeIndices, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TimeIndices, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -61981,13 +61189,9 @@ SOAP_FMAC1 resqml20__TimeIndices * SOAP_FMAC2 soap_instantiate_resqml20__TimeInd for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__TimeIndices location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -62157,7 +61361,7 @@ SOAP_FMAC1 resqml20__IntervalGridCells * SOAP_FMAC2 soap_instantiate_resqml20__I (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__IntervalGridCells *p; size_t k = sizeof(resqml20__IntervalGridCells); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntervalGridCells, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntervalGridCells, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -62172,13 +61376,9 @@ SOAP_FMAC1 resqml20__IntervalGridCells * SOAP_FMAC2 soap_instantiate_resqml20__I for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__IntervalGridCells location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -62323,7 +61523,7 @@ SOAP_FMAC1 resqml20__StreamlineWellbores * SOAP_FMAC2 soap_instantiate_resqml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__StreamlineWellbores *p; size_t k = sizeof(resqml20__StreamlineWellbores); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__StreamlineWellbores, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__StreamlineWellbores, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -62338,13 +61538,9 @@ SOAP_FMAC1 resqml20__StreamlineWellbores * SOAP_FMAC2 soap_instantiate_resqml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__StreamlineWellbores location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -62534,7 +61730,7 @@ SOAP_FMAC1 resqml20__obj_USCOREStreamlinesRepresentation * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREStreamlinesRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREStreamlinesRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStreamlinesRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStreamlinesRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -62549,13 +61745,9 @@ SOAP_FMAC1 resqml20__obj_USCOREStreamlinesRepresentation * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREStreamlinesRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -62740,7 +61932,7 @@ SOAP_FMAC1 resqml20__obj_USCOREStreamlinesFeature * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREStreamlinesFeature *p; size_t k = sizeof(resqml20__obj_USCOREStreamlinesFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStreamlinesFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStreamlinesFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -62755,13 +61947,9 @@ SOAP_FMAC1 resqml20__obj_USCOREStreamlinesFeature * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREStreamlinesFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -62940,7 +62128,7 @@ SOAP_FMAC1 resqml20__StreamlinePolylineSetPatch * SOAP_FMAC2 soap_instantiate_re (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__StreamlinePolylineSetPatch *p; size_t k = sizeof(resqml20__StreamlinePolylineSetPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__StreamlinePolylineSetPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__StreamlinePolylineSetPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -62955,13 +62143,9 @@ SOAP_FMAC1 resqml20__StreamlinePolylineSetPatch * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__StreamlinePolylineSetPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -63118,7 +62302,7 @@ SOAP_FMAC1 resqml20__obj_USCOREActivityTemplate * SOAP_FMAC2 soap_instantiate_re (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREActivityTemplate *p; size_t k = sizeof(resqml20__obj_USCOREActivityTemplate); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREActivityTemplate, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREActivityTemplate, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -63133,13 +62317,9 @@ SOAP_FMAC1 resqml20__obj_USCOREActivityTemplate * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREActivityTemplate location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -63298,7 +62478,7 @@ SOAP_FMAC1 resqml20__AbstractActivityParameter * SOAP_FMAC2 soap_instantiate_res return soap_instantiate_resqml20__TimeIndexParameter(soap, n, NULL, NULL, size); resqml20__AbstractActivityParameter *p; size_t k = sizeof(resqml20__AbstractActivityParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractActivityParameter, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractActivityParameter, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -63313,13 +62493,9 @@ SOAP_FMAC1 resqml20__AbstractActivityParameter * SOAP_FMAC2 soap_instantiate_res for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractActivityParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -63476,7 +62652,7 @@ SOAP_FMAC1 resqml20__TimeIndexParameter * SOAP_FMAC2 soap_instantiate_resqml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__TimeIndexParameter *p; size_t k = sizeof(resqml20__TimeIndexParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TimeIndexParameter, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TimeIndexParameter, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -63491,13 +62667,9 @@ SOAP_FMAC1 resqml20__TimeIndexParameter * SOAP_FMAC2 soap_instantiate_resqml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__TimeIndexParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -63600,7 +62772,7 @@ SOAP_FMAC1 resqml20__AbstractParameterKey * SOAP_FMAC2 soap_instantiate_resqml20 return soap_instantiate_resqml20__TimeIndexParameterKey(soap, n, NULL, NULL, size); resqml20__AbstractParameterKey *p; size_t k = sizeof(resqml20__AbstractParameterKey); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractParameterKey, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractParameterKey, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -63615,13 +62787,9 @@ SOAP_FMAC1 resqml20__AbstractParameterKey * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractParameterKey location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -63783,7 +62951,7 @@ SOAP_FMAC1 resqml20__FloatingPointQuantityParameter * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__FloatingPointQuantityParameter *p; size_t k = sizeof(resqml20__FloatingPointQuantityParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__FloatingPointQuantityParameter, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__FloatingPointQuantityParameter, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -63798,13 +62966,9 @@ SOAP_FMAC1 resqml20__FloatingPointQuantityParameter * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__FloatingPointQuantityParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -63928,7 +63092,7 @@ SOAP_FMAC1 resqml20__TimeIndexParameterKey * SOAP_FMAC2 soap_instantiate_resqml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__TimeIndexParameterKey *p; size_t k = sizeof(resqml20__TimeIndexParameterKey); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TimeIndexParameterKey, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TimeIndexParameterKey, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -63943,13 +63107,9 @@ SOAP_FMAC1 resqml20__TimeIndexParameterKey * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__TimeIndexParameterKey location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -64102,7 +63262,7 @@ SOAP_FMAC1 resqml20__IntegerQuantityParameter * SOAP_FMAC2 soap_instantiate_resq (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__IntegerQuantityParameter *p; size_t k = sizeof(resqml20__IntegerQuantityParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntegerQuantityParameter, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntegerQuantityParameter, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -64117,13 +63277,9 @@ SOAP_FMAC1 resqml20__IntegerQuantityParameter * SOAP_FMAC2 soap_instantiate_resq for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__IntegerQuantityParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -64332,7 +63488,7 @@ SOAP_FMAC1 resqml20__ParameterTemplate * SOAP_FMAC2 soap_instantiate_resqml20__P (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ParameterTemplate *p; size_t k = sizeof(resqml20__ParameterTemplate); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ParameterTemplate, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ParameterTemplate, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -64347,13 +63503,9 @@ SOAP_FMAC1 resqml20__ParameterTemplate * SOAP_FMAC2 soap_instantiate_resqml20__P for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ParameterTemplate location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -64507,7 +63659,7 @@ SOAP_FMAC1 resqml20__StringParameter * SOAP_FMAC2 soap_instantiate_resqml20__Str (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__StringParameter *p; size_t k = sizeof(resqml20__StringParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__StringParameter, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__StringParameter, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -64522,13 +63674,9 @@ SOAP_FMAC1 resqml20__StringParameter * SOAP_FMAC2 soap_instantiate_resqml20__Str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__StringParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -64711,7 +63859,7 @@ SOAP_FMAC1 resqml20__obj_USCOREActivity * SOAP_FMAC2 soap_instantiate_resqml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREActivity *p; size_t k = sizeof(resqml20__obj_USCOREActivity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREActivity, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREActivity, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -64726,13 +63874,9 @@ SOAP_FMAC1 resqml20__obj_USCOREActivity * SOAP_FMAC2 soap_instantiate_resqml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREActivity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -64856,7 +64000,7 @@ SOAP_FMAC1 resqml20__ObjectParameterKey * SOAP_FMAC2 soap_instantiate_resqml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ObjectParameterKey *p; size_t k = sizeof(resqml20__ObjectParameterKey); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ObjectParameterKey, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ObjectParameterKey, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -64871,13 +64015,9 @@ SOAP_FMAC1 resqml20__ObjectParameterKey * SOAP_FMAC2 soap_instantiate_resqml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ObjectParameterKey location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -65034,7 +64174,7 @@ SOAP_FMAC1 resqml20__DataObjectParameter * SOAP_FMAC2 soap_instantiate_resqml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__DataObjectParameter *p; size_t k = sizeof(resqml20__DataObjectParameter); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__DataObjectParameter, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__DataObjectParameter, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -65049,13 +64189,9 @@ SOAP_FMAC1 resqml20__DataObjectParameter * SOAP_FMAC2 soap_instantiate_resqml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__DataObjectParameter location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -65192,7 +64328,7 @@ SOAP_FMAC1 resqml20__WitsmlWellboreReference * SOAP_FMAC2 soap_instantiate_resqm (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__WitsmlWellboreReference *p; size_t k = sizeof(resqml20__WitsmlWellboreReference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__WitsmlWellboreReference, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__WitsmlWellboreReference, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -65207,13 +64343,9 @@ SOAP_FMAC1 resqml20__WitsmlWellboreReference * SOAP_FMAC2 soap_instantiate_resqm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__WitsmlWellboreReference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -65370,7 +64502,7 @@ SOAP_FMAC1 resqml20__AbstractSeismicSurveyFeature * SOAP_FMAC2 soap_instantiate_ return soap_instantiate_resqml20__obj_USCORESeismicLatticeFeature(soap, n, NULL, NULL, size); resqml20__AbstractSeismicSurveyFeature *p; size_t k = sizeof(resqml20__AbstractSeismicSurveyFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractSeismicSurveyFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractSeismicSurveyFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -65385,13 +64517,9 @@ SOAP_FMAC1 resqml20__AbstractSeismicSurveyFeature * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractSeismicSurveyFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -65611,7 +64739,7 @@ SOAP_FMAC1 resqml20__obj_USCORESeismicLatticeFeature * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORESeismicLatticeFeature *p; size_t k = sizeof(resqml20__obj_USCORESeismicLatticeFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORESeismicLatticeFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORESeismicLatticeFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -65626,13 +64754,9 @@ SOAP_FMAC1 resqml20__obj_USCORESeismicLatticeFeature * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORESeismicLatticeFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -65822,7 +64946,7 @@ SOAP_FMAC1 resqml20__obj_USCORESeismicLineFeature * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORESeismicLineFeature *p; size_t k = sizeof(resqml20__obj_USCORESeismicLineFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORESeismicLineFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORESeismicLineFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -65837,13 +64961,9 @@ SOAP_FMAC1 resqml20__obj_USCORESeismicLineFeature * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORESeismicLineFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -66003,7 +65123,7 @@ SOAP_FMAC1 resqml20__obj_USCOREWellboreFeature * SOAP_FMAC2 soap_instantiate_res (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREWellboreFeature *p; size_t k = sizeof(resqml20__obj_USCOREWellboreFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREWellboreFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREWellboreFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -66018,13 +65138,9 @@ SOAP_FMAC1 resqml20__obj_USCOREWellboreFeature * SOAP_FMAC2 soap_instantiate_res for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREWellboreFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -66173,7 +65289,7 @@ SOAP_FMAC1 resqml20__obj_USCORESeismicLineSetFeature * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORESeismicLineSetFeature *p; size_t k = sizeof(resqml20__obj_USCORESeismicLineSetFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORESeismicLineSetFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORESeismicLineSetFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -66188,13 +65304,9 @@ SOAP_FMAC1 resqml20__obj_USCORESeismicLineSetFeature * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORESeismicLineSetFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -66343,7 +65455,7 @@ SOAP_FMAC1 resqml20__SeismicLatticeSetFeature * SOAP_FMAC2 soap_instantiate_resq (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__SeismicLatticeSetFeature *p; size_t k = sizeof(resqml20__SeismicLatticeSetFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SeismicLatticeSetFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SeismicLatticeSetFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -66358,13 +65470,9 @@ SOAP_FMAC1 resqml20__SeismicLatticeSetFeature * SOAP_FMAC2 soap_instantiate_resq for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__SeismicLatticeSetFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -66513,7 +65621,7 @@ SOAP_FMAC1 resqml20__obj_USCOREFrontierFeature * SOAP_FMAC2 soap_instantiate_res (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREFrontierFeature *p; size_t k = sizeof(resqml20__obj_USCOREFrontierFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREFrontierFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREFrontierFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -66528,13 +65636,9 @@ SOAP_FMAC1 resqml20__obj_USCOREFrontierFeature * SOAP_FMAC2 soap_instantiate_res for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREFrontierFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -66699,7 +65803,7 @@ SOAP_FMAC1 resqml20__AbstractTechnicalFeature * SOAP_FMAC2 soap_instantiate_resq return soap_instantiate_resqml20__obj_USCORESeismicLatticeFeature(soap, n, NULL, NULL, size); resqml20__AbstractTechnicalFeature *p; size_t k = sizeof(resqml20__AbstractTechnicalFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractTechnicalFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractTechnicalFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -66714,13 +65818,9 @@ SOAP_FMAC1 resqml20__AbstractTechnicalFeature * SOAP_FMAC2 soap_instantiate_resq for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractTechnicalFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -66853,7 +65953,7 @@ SOAP_FMAC1 resqml20__ContactRepresentationReference * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ContactRepresentationReference *p; size_t k = sizeof(resqml20__ContactRepresentationReference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ContactRepresentationReference, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ContactRepresentationReference, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -66868,13 +65968,9 @@ SOAP_FMAC1 resqml20__ContactRepresentationReference * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ContactRepresentationReference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -67017,7 +66113,7 @@ SOAP_FMAC1 resqml20__ContactIdentity * SOAP_FMAC2 soap_instantiate_resqml20__Con (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ContactIdentity *p; size_t k = sizeof(resqml20__ContactIdentity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ContactIdentity, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ContactIdentity, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -67032,13 +66128,9 @@ SOAP_FMAC1 resqml20__ContactIdentity * SOAP_FMAC2 soap_instantiate_resqml20__Con for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ContactIdentity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -67178,7 +66270,7 @@ SOAP_FMAC1 resqml20__OrientedMacroFace * SOAP_FMAC2 soap_instantiate_resqml20__O (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__OrientedMacroFace *p; size_t k = sizeof(resqml20__OrientedMacroFace); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__OrientedMacroFace, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__OrientedMacroFace, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -67193,13 +66285,9 @@ SOAP_FMAC1 resqml20__OrientedMacroFace * SOAP_FMAC2 soap_instantiate_resqml20__O for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__OrientedMacroFace location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -67362,7 +66450,7 @@ SOAP_FMAC1 resqml20__PolylineSetPatch * SOAP_FMAC2 soap_instantiate_resqml20__Po (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__PolylineSetPatch *p; size_t k = sizeof(resqml20__PolylineSetPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PolylineSetPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PolylineSetPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -67377,13 +66465,9 @@ SOAP_FMAC1 resqml20__PolylineSetPatch * SOAP_FMAC2 soap_instantiate_resqml20__Po for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__PolylineSetPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -67564,7 +66648,7 @@ SOAP_FMAC1 resqml20__obj_USCOREGrid2dSetRepresentation * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREGrid2dSetRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREGrid2dSetRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGrid2dSetRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGrid2dSetRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -67579,13 +66663,9 @@ SOAP_FMAC1 resqml20__obj_USCOREGrid2dSetRepresentation * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREGrid2dSetRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -67738,7 +66818,7 @@ SOAP_FMAC1 resqml20__Grid2dPatch * SOAP_FMAC2 soap_instantiate_resqml20__Grid2dP (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Grid2dPatch *p; size_t k = sizeof(resqml20__Grid2dPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Grid2dPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Grid2dPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -67753,13 +66833,9 @@ SOAP_FMAC1 resqml20__Grid2dPatch * SOAP_FMAC2 soap_instantiate_resqml20__Grid2dP for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Grid2dPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -67943,7 +67019,7 @@ SOAP_FMAC1 resqml20__AbstractSurfaceRepresentation * SOAP_FMAC2 soap_instantiate return soap_instantiate_resqml20__obj_USCOREGrid2dSetRepresentation(soap, n, NULL, NULL, size); resqml20__AbstractSurfaceRepresentation *p; size_t k = sizeof(resqml20__AbstractSurfaceRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractSurfaceRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractSurfaceRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -67958,13 +67034,9 @@ SOAP_FMAC1 resqml20__AbstractSurfaceRepresentation * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractSurfaceRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -68101,7 +67173,7 @@ SOAP_FMAC1 resqml20__PatchBoundaries * SOAP_FMAC2 soap_instantiate_resqml20__Pat (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__PatchBoundaries *p; size_t k = sizeof(resqml20__PatchBoundaries); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PatchBoundaries, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PatchBoundaries, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -68116,13 +67188,9 @@ SOAP_FMAC1 resqml20__PatchBoundaries * SOAP_FMAC2 soap_instantiate_resqml20__Pat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__PatchBoundaries location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -68310,7 +67378,7 @@ SOAP_FMAC1 resqml20__obj_USCOREGrid2dRepresentation * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREGrid2dRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREGrid2dRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGrid2dRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGrid2dRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -68325,13 +67393,9 @@ SOAP_FMAC1 resqml20__obj_USCOREGrid2dRepresentation * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREGrid2dRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -68526,7 +67590,7 @@ SOAP_FMAC1 resqml20__obj_USCOREPolylineRepresentation * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREPolylineRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREPolylineRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREPolylineRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREPolylineRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -68541,13 +67605,9 @@ SOAP_FMAC1 resqml20__obj_USCOREPolylineRepresentation * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREPolylineRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -68723,7 +67783,7 @@ SOAP_FMAC1 resqml20__TrianglePatch * SOAP_FMAC2 soap_instantiate_resqml20__Trian (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__TrianglePatch *p; size_t k = sizeof(resqml20__TrianglePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TrianglePatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TrianglePatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -68738,13 +67798,9 @@ SOAP_FMAC1 resqml20__TrianglePatch * SOAP_FMAC2 soap_instantiate_resqml20__Trian for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__TrianglePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -68931,7 +67987,7 @@ SOAP_FMAC1 resqml20__obj_USCORESealedSurfaceFrameworkRepresentation * SOAP_FMAC2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORESealedSurfaceFrameworkRepresentation *p; size_t k = sizeof(resqml20__obj_USCORESealedSurfaceFrameworkRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORESealedSurfaceFrameworkRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORESealedSurfaceFrameworkRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -68946,13 +68002,9 @@ SOAP_FMAC1 resqml20__obj_USCORESealedSurfaceFrameworkRepresentation * SOAP_FMAC2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORESealedSurfaceFrameworkRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -69094,7 +68146,7 @@ SOAP_FMAC1 resqml20__NodePatch * SOAP_FMAC2 soap_instantiate_resqml20__NodePatch (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__NodePatch *p; size_t k = sizeof(resqml20__NodePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__NodePatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__NodePatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -69109,13 +68161,9 @@ SOAP_FMAC1 resqml20__NodePatch * SOAP_FMAC2 soap_instantiate_resqml20__NodePatch for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__NodePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -69292,7 +68340,7 @@ SOAP_FMAC1 resqml20__obj_USCOREPolylineSetRepresentation * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREPolylineSetRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREPolylineSetRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREPolylineSetRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREPolylineSetRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -69307,13 +68355,9 @@ SOAP_FMAC1 resqml20__obj_USCOREPolylineSetRepresentation * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREPolylineSetRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -69440,7 +68484,7 @@ SOAP_FMAC1 resqml20__VolumeShell * SOAP_FMAC2 soap_instantiate_resqml20__VolumeS (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__VolumeShell *p; size_t k = sizeof(resqml20__VolumeShell); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__VolumeShell, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__VolumeShell, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -69455,13 +68499,9 @@ SOAP_FMAC1 resqml20__VolumeShell * SOAP_FMAC2 soap_instantiate_resqml20__VolumeS for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__VolumeShell location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -69617,7 +68657,7 @@ SOAP_FMAC1 resqml20__VolumeRegion * SOAP_FMAC2 soap_instantiate_resqml20__Volume (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__VolumeRegion *p; size_t k = sizeof(resqml20__VolumeRegion); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__VolumeRegion, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__VolumeRegion, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -69632,13 +68672,9 @@ SOAP_FMAC1 resqml20__VolumeRegion * SOAP_FMAC2 soap_instantiate_resqml20__Volume for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__VolumeRegion location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -69776,7 +68812,7 @@ SOAP_FMAC1 resqml20__EdgePatch * SOAP_FMAC2 soap_instantiate_resqml20__EdgePatch (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__EdgePatch *p; size_t k = sizeof(resqml20__EdgePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__EdgePatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__EdgePatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -69791,13 +68827,9 @@ SOAP_FMAC1 resqml20__EdgePatch * SOAP_FMAC2 soap_instantiate_resqml20__EdgePatch for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__EdgePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -70001,7 +69033,7 @@ SOAP_FMAC1 resqml20__obj_USCORESealedVolumeFrameworkRepresentation * SOAP_FMAC2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORESealedVolumeFrameworkRepresentation *p; size_t k = sizeof(resqml20__obj_USCORESealedVolumeFrameworkRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORESealedVolumeFrameworkRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORESealedVolumeFrameworkRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -70016,13 +69048,9 @@ SOAP_FMAC1 resqml20__obj_USCORESealedVolumeFrameworkRepresentation * SOAP_FMAC2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORESealedVolumeFrameworkRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -70188,7 +69216,7 @@ SOAP_FMAC1 resqml20__obj_USCOREPointSetRepresentation * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREPointSetRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREPointSetRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREPointSetRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREPointSetRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -70203,13 +69231,9 @@ SOAP_FMAC1 resqml20__obj_USCOREPointSetRepresentation * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREPointSetRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -70394,7 +69418,7 @@ SOAP_FMAC1 resqml20__AbstractSurfaceFrameworkRepresentation * SOAP_FMAC2 soap_in return soap_instantiate_resqml20__obj_USCORESealedSurfaceFrameworkRepresentation(soap, n, NULL, NULL, size); resqml20__AbstractSurfaceFrameworkRepresentation *p; size_t k = sizeof(resqml20__AbstractSurfaceFrameworkRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractSurfaceFrameworkRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractSurfaceFrameworkRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -70409,13 +69433,9 @@ SOAP_FMAC1 resqml20__AbstractSurfaceFrameworkRepresentation * SOAP_FMAC2 soap_in for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractSurfaceFrameworkRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -70539,7 +69559,7 @@ SOAP_FMAC1 resqml20__AbstractContactRepresentationPart * SOAP_FMAC2 soap_instant return soap_instantiate_resqml20__ContactRepresentationReference(soap, n, NULL, NULL, size); resqml20__AbstractContactRepresentationPart *p; size_t k = sizeof(resqml20__AbstractContactRepresentationPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractContactRepresentationPart, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractContactRepresentationPart, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -70554,13 +69574,9 @@ SOAP_FMAC1 resqml20__AbstractContactRepresentationPart * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractContactRepresentationPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -70741,7 +69757,7 @@ SOAP_FMAC1 resqml20__obj_USCOREPlaneSetRepresentation * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREPlaneSetRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREPlaneSetRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREPlaneSetRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREPlaneSetRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -70756,13 +69772,9 @@ SOAP_FMAC1 resqml20__obj_USCOREPlaneSetRepresentation * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREPlaneSetRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -70915,7 +69927,7 @@ SOAP_FMAC1 resqml20__ContactPatch * SOAP_FMAC2 soap_instantiate_resqml20__Contac (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ContactPatch *p; size_t k = sizeof(resqml20__ContactPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ContactPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ContactPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -70930,13 +69942,9 @@ SOAP_FMAC1 resqml20__ContactPatch * SOAP_FMAC2 soap_instantiate_resqml20__Contac for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ContactPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -71083,7 +70091,7 @@ SOAP_FMAC1 resqml20__SealedContactRepresentationPart * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__SealedContactRepresentationPart *p; size_t k = sizeof(resqml20__SealedContactRepresentationPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SealedContactRepresentationPart, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SealedContactRepresentationPart, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -71098,13 +70106,9 @@ SOAP_FMAC1 resqml20__SealedContactRepresentationPart * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__SealedContactRepresentationPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -71245,7 +70249,7 @@ SOAP_FMAC1 resqml20__NonSealedContactRepresentationPart * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__NonSealedContactRepresentationPart *p; size_t k = sizeof(resqml20__NonSealedContactRepresentationPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__NonSealedContactRepresentationPart, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__NonSealedContactRepresentationPart, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -71260,13 +70264,9 @@ SOAP_FMAC1 resqml20__NonSealedContactRepresentationPart * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__NonSealedContactRepresentationPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -71447,7 +70447,7 @@ SOAP_FMAC1 resqml20__obj_USCORETriangulatedSetRepresentation * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORETriangulatedSetRepresentation *p; size_t k = sizeof(resqml20__obj_USCORETriangulatedSetRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORETriangulatedSetRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORETriangulatedSetRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -71462,13 +70462,9 @@ SOAP_FMAC1 resqml20__obj_USCORETriangulatedSetRepresentation * SOAP_FMAC2 soap_i for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORETriangulatedSetRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -71655,7 +70651,7 @@ SOAP_FMAC1 resqml20__obj_USCORENonSealedSurfaceFrameworkRepresentation * SOAP_FM (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORENonSealedSurfaceFrameworkRepresentation *p; size_t k = sizeof(resqml20__obj_USCORENonSealedSurfaceFrameworkRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORENonSealedSurfaceFrameworkRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORENonSealedSurfaceFrameworkRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -71670,13 +70666,9 @@ SOAP_FMAC1 resqml20__obj_USCORENonSealedSurfaceFrameworkRepresentation * SOAP_FM for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORENonSealedSurfaceFrameworkRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -71904,7 +70896,7 @@ SOAP_FMAC1 resqml20__obj_USCOREWellboreMarkerFrameRepresentation * SOAP_FMAC2 so (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREWellboreMarkerFrameRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREWellboreMarkerFrameRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREWellboreMarkerFrameRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREWellboreMarkerFrameRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -71919,13 +70911,9 @@ SOAP_FMAC1 resqml20__obj_USCOREWellboreMarkerFrameRepresentation * SOAP_FMAC2 so for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREWellboreMarkerFrameRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -72129,7 +71117,7 @@ SOAP_FMAC1 resqml20__WellboreMarker * SOAP_FMAC2 soap_instantiate_resqml20__Well (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__WellboreMarker *p; size_t k = sizeof(resqml20__WellboreMarker); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__WellboreMarker, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__WellboreMarker, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -72144,13 +71132,9 @@ SOAP_FMAC1 resqml20__WellboreMarker * SOAP_FMAC2 soap_instantiate_resqml20__Well for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__WellboreMarker location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -72339,7 +71323,7 @@ SOAP_FMAC1 resqml20__obj_USCOREMdDatum * SOAP_FMAC2 soap_instantiate_resqml20__o (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREMdDatum *p; size_t k = sizeof(resqml20__obj_USCOREMdDatum); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREMdDatum, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREMdDatum, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -72354,13 +71338,9 @@ SOAP_FMAC1 resqml20__obj_USCOREMdDatum * SOAP_FMAC2 soap_instantiate_resqml20__o for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREMdDatum location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -72619,7 +71599,7 @@ SOAP_FMAC1 resqml20__obj_USCOREWellboreTrajectoryRepresentation * SOAP_FMAC2 soa (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREWellboreTrajectoryRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREWellboreTrajectoryRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREWellboreTrajectoryRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREWellboreTrajectoryRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -72634,13 +71614,9 @@ SOAP_FMAC1 resqml20__obj_USCOREWellboreTrajectoryRepresentation * SOAP_FMAC2 soa for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREWellboreTrajectoryRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -72875,7 +71851,7 @@ SOAP_FMAC1 resqml20__obj_USCOREWellboreFrameRepresentation * SOAP_FMAC2 soap_ins return soap_instantiate_resqml20__obj_USCOREWellboreMarkerFrameRepresentation(soap, n, NULL, NULL, size); resqml20__obj_USCOREWellboreFrameRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREWellboreFrameRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREWellboreFrameRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREWellboreFrameRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -72890,13 +71866,9 @@ SOAP_FMAC1 resqml20__obj_USCOREWellboreFrameRepresentation * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREWellboreFrameRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -73193,7 +72165,7 @@ SOAP_FMAC1 resqml20__obj_USCOREDeviationSurveyRepresentation * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREDeviationSurveyRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREDeviationSurveyRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREDeviationSurveyRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREDeviationSurveyRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -73208,13 +72180,9 @@ SOAP_FMAC1 resqml20__obj_USCOREDeviationSurveyRepresentation * SOAP_FMAC2 soap_i for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREDeviationSurveyRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -73356,7 +72324,7 @@ SOAP_FMAC1 resqml20__WellboreTrajectoryParentIntersection * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__WellboreTrajectoryParentIntersection *p; size_t k = sizeof(resqml20__WellboreTrajectoryParentIntersection); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__WellboreTrajectoryParentIntersection, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__WellboreTrajectoryParentIntersection, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -73371,13 +72339,9 @@ SOAP_FMAC1 resqml20__WellboreTrajectoryParentIntersection * SOAP_FMAC2 soap_inst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__WellboreTrajectoryParentIntersection location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -73661,7 +72625,7 @@ SOAP_FMAC1 resqml20__obj_USCOREBlockedWellboreRepresentation * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREBlockedWellboreRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREBlockedWellboreRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREBlockedWellboreRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREBlockedWellboreRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -73676,13 +72640,9 @@ SOAP_FMAC1 resqml20__obj_USCOREBlockedWellboreRepresentation * SOAP_FMAC2 soap_i for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREBlockedWellboreRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -74029,7 +72989,7 @@ SOAP_FMAC1 resqml20__AbstractResqmlDataObject * SOAP_FMAC2 soap_instantiate_resq return soap_instantiate_resqml20__obj_USCOREDiscretePropertySeries(soap, n, NULL, NULL, size); resqml20__AbstractResqmlDataObject *p; size_t k = sizeof(resqml20__AbstractResqmlDataObject); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractResqmlDataObject, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractResqmlDataObject, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -74044,13 +73004,9 @@ SOAP_FMAC1 resqml20__AbstractResqmlDataObject * SOAP_FMAC2 soap_instantiate_resq for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractResqmlDataObject location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -74218,7 +73174,7 @@ SOAP_FMAC1 resqml20__obj_USCORETimeSeries * SOAP_FMAC2 soap_instantiate_resqml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORETimeSeries *p; size_t k = sizeof(resqml20__obj_USCORETimeSeries); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORETimeSeries, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORETimeSeries, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -74233,13 +73189,9 @@ SOAP_FMAC1 resqml20__obj_USCORETimeSeries * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORETimeSeries location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -74490,7 +73442,7 @@ SOAP_FMAC1 resqml20__obj_USCORELocalDepth3dCrs * SOAP_FMAC2 soap_instantiate_res (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORELocalDepth3dCrs *p; size_t k = sizeof(resqml20__obj_USCORELocalDepth3dCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORELocalDepth3dCrs, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORELocalDepth3dCrs, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -74505,13 +73457,9 @@ SOAP_FMAC1 resqml20__obj_USCORELocalDepth3dCrs * SOAP_FMAC2 soap_instantiate_res for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORELocalDepth3dCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -74642,7 +73590,7 @@ SOAP_FMAC1 resqml20__NameValuePair * SOAP_FMAC2 soap_instantiate_resqml20__NameV (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__NameValuePair *p; size_t k = sizeof(resqml20__NameValuePair); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__NameValuePair, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__NameValuePair, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -74657,13 +73605,9 @@ SOAP_FMAC1 resqml20__NameValuePair * SOAP_FMAC2 soap_instantiate_resqml20__NameV for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__NameValuePair location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -74800,7 +73744,7 @@ SOAP_FMAC1 resqml20__ResqmlJaggedArray * SOAP_FMAC2 soap_instantiate_resqml20__R (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ResqmlJaggedArray *p; size_t k = sizeof(resqml20__ResqmlJaggedArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ResqmlJaggedArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ResqmlJaggedArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -74815,13 +73759,9 @@ SOAP_FMAC1 resqml20__ResqmlJaggedArray * SOAP_FMAC2 soap_instantiate_resqml20__R for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ResqmlJaggedArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -75092,7 +74032,7 @@ SOAP_FMAC1 resqml20__AbstractLocal3dCrs * SOAP_FMAC2 soap_instantiate_resqml20__ return soap_instantiate_resqml20__obj_USCORELocalDepth3dCrs(soap, n, NULL, NULL, size); resqml20__AbstractLocal3dCrs *p; size_t k = sizeof(resqml20__AbstractLocal3dCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractLocal3dCrs, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractLocal3dCrs, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -75107,13 +74047,9 @@ SOAP_FMAC1 resqml20__AbstractLocal3dCrs * SOAP_FMAC2 soap_instantiate_resqml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractLocal3dCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -75243,7 +74179,7 @@ SOAP_FMAC1 resqml20__Timestamp * SOAP_FMAC2 soap_instantiate_resqml20__Timestamp (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Timestamp *p; size_t k = sizeof(resqml20__Timestamp); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Timestamp, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Timestamp, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -75258,13 +74194,9 @@ SOAP_FMAC1 resqml20__Timestamp * SOAP_FMAC2 soap_instantiate_resqml20__Timestamp for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Timestamp location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -75397,7 +74329,7 @@ SOAP_FMAC1 resqml20__TimeIndex * SOAP_FMAC2 soap_instantiate_resqml20__TimeIndex (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__TimeIndex *p; size_t k = sizeof(resqml20__TimeIndex); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TimeIndex, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TimeIndex, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -75412,13 +74344,9 @@ SOAP_FMAC1 resqml20__TimeIndex * SOAP_FMAC2 soap_instantiate_resqml20__TimeIndex for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__TimeIndex location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -75679,7 +74607,7 @@ SOAP_FMAC1 resqml20__obj_USCORELocalTime3dCrs * SOAP_FMAC2 soap_instantiate_resq (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORELocalTime3dCrs *p; size_t k = sizeof(resqml20__obj_USCORELocalTime3dCrs); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORELocalTime3dCrs, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORELocalTime3dCrs, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -75694,13 +74622,9 @@ SOAP_FMAC1 resqml20__obj_USCORELocalTime3dCrs * SOAP_FMAC2 soap_instantiate_resq for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORELocalTime3dCrs location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -75833,7 +74757,7 @@ SOAP_FMAC1 resqml20__TimeSeriesParentage * SOAP_FMAC2 soap_instantiate_resqml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__TimeSeriesParentage *p; size_t k = sizeof(resqml20__TimeSeriesParentage); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TimeSeriesParentage, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TimeSeriesParentage, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -75848,13 +74772,9 @@ SOAP_FMAC1 resqml20__TimeSeriesParentage * SOAP_FMAC2 soap_instantiate_resqml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__TimeSeriesParentage location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -75991,7 +74911,7 @@ SOAP_FMAC1 resqml20__Point3d * SOAP_FMAC2 soap_instantiate_resqml20__Point3d(str (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Point3d *p; size_t k = sizeof(resqml20__Point3d); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point3d, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point3d, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -76006,13 +74926,9 @@ SOAP_FMAC1 resqml20__Point3d * SOAP_FMAC2 soap_instantiate_resqml20__Point3d(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Point3d location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -76199,7 +75115,7 @@ SOAP_FMAC1 resqml20__AbstractFeature * SOAP_FMAC2 soap_instantiate_resqml20__Abs return soap_instantiate_resqml20__obj_USCORESeismicLatticeFeature(soap, n, NULL, NULL, size); resqml20__AbstractFeature *p; size_t k = sizeof(resqml20__AbstractFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -76214,13 +75130,9 @@ SOAP_FMAC1 resqml20__AbstractFeature * SOAP_FMAC2 soap_instantiate_resqml20__Abs for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -76379,7 +75291,7 @@ SOAP_FMAC1 resqml20__obj_USCORETectonicBoundaryFeature * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORETectonicBoundaryFeature *p; size_t k = sizeof(resqml20__obj_USCORETectonicBoundaryFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORETectonicBoundaryFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORETectonicBoundaryFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -76394,13 +75306,9 @@ SOAP_FMAC1 resqml20__obj_USCORETectonicBoundaryFeature * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORETectonicBoundaryFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -76559,7 +75467,7 @@ SOAP_FMAC1 resqml20__obj_USCOREOrganizationFeature * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREOrganizationFeature *p; size_t k = sizeof(resqml20__obj_USCOREOrganizationFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREOrganizationFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREOrganizationFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -76574,13 +75482,9 @@ SOAP_FMAC1 resqml20__obj_USCOREOrganizationFeature * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREOrganizationFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -76729,7 +75633,7 @@ SOAP_FMAC1 resqml20__obj_USCOREGeobodyFeature * SOAP_FMAC2 soap_instantiate_resq (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREGeobodyFeature *p; size_t k = sizeof(resqml20__obj_USCOREGeobodyFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGeobodyFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGeobodyFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -76744,13 +75648,9 @@ SOAP_FMAC1 resqml20__obj_USCOREGeobodyFeature * SOAP_FMAC2 soap_instantiate_resq for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREGeobodyFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -76920,7 +75820,7 @@ SOAP_FMAC1 resqml20__obj_USCOREGeneticBoundaryFeature * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREGeneticBoundaryFeature *p; size_t k = sizeof(resqml20__obj_USCOREGeneticBoundaryFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGeneticBoundaryFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGeneticBoundaryFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -76935,13 +75835,9 @@ SOAP_FMAC1 resqml20__obj_USCOREGeneticBoundaryFeature * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREGeneticBoundaryFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -77108,7 +76004,7 @@ SOAP_FMAC1 resqml20__AbstractGeologicFeature * SOAP_FMAC2 soap_instantiate_resqm return soap_instantiate_resqml20__obj_USCORETectonicBoundaryFeature(soap, n, NULL, NULL, size); resqml20__AbstractGeologicFeature *p; size_t k = sizeof(resqml20__AbstractGeologicFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractGeologicFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractGeologicFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -77123,13 +76019,9 @@ SOAP_FMAC1 resqml20__AbstractGeologicFeature * SOAP_FMAC2 soap_instantiate_resqm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractGeologicFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -77300,7 +76192,7 @@ SOAP_FMAC1 resqml20__obj_USCOREStratigraphicUnitFeature * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREStratigraphicUnitFeature *p; size_t k = sizeof(resqml20__obj_USCOREStratigraphicUnitFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStratigraphicUnitFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStratigraphicUnitFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -77315,13 +76207,9 @@ SOAP_FMAC1 resqml20__obj_USCOREStratigraphicUnitFeature * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREStratigraphicUnitFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -77478,7 +76366,7 @@ SOAP_FMAC1 resqml20__obj_USCOREGlobalChronostratigraphicColumn * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREGlobalChronostratigraphicColumn *p; size_t k = sizeof(resqml20__obj_USCOREGlobalChronostratigraphicColumn); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGlobalChronostratigraphicColumn, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGlobalChronostratigraphicColumn, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -77493,13 +76381,9 @@ SOAP_FMAC1 resqml20__obj_USCOREGlobalChronostratigraphicColumn * SOAP_FMAC2 soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREGlobalChronostratigraphicColumn location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -77626,7 +76510,7 @@ SOAP_FMAC1 resqml20__ChronostratigraphicRank * SOAP_FMAC2 soap_instantiate_resqm (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ChronostratigraphicRank *p; size_t k = sizeof(resqml20__ChronostratigraphicRank); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ChronostratigraphicRank, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ChronostratigraphicRank, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -77641,13 +76525,9 @@ SOAP_FMAC1 resqml20__ChronostratigraphicRank * SOAP_FMAC2 soap_instantiate_resqm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ChronostratigraphicRank location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -77802,7 +76682,7 @@ SOAP_FMAC1 resqml20__obj_USCOREBoundaryFeature * SOAP_FMAC2 soap_instantiate_res return soap_instantiate_resqml20__obj_USCORETectonicBoundaryFeature(soap, n, NULL, NULL, size); resqml20__obj_USCOREBoundaryFeature *p; size_t k = sizeof(resqml20__obj_USCOREBoundaryFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREBoundaryFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREBoundaryFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -77817,13 +76697,9 @@ SOAP_FMAC1 resqml20__obj_USCOREBoundaryFeature * SOAP_FMAC2 soap_instantiate_res for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREBoundaryFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -78013,7 +76889,7 @@ SOAP_FMAC1 resqml20__obj_USCORERockFluidUnitFeature * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORERockFluidUnitFeature *p; size_t k = sizeof(resqml20__obj_USCORERockFluidUnitFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORERockFluidUnitFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORERockFluidUnitFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -78028,13 +76904,9 @@ SOAP_FMAC1 resqml20__obj_USCORERockFluidUnitFeature * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORERockFluidUnitFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -78189,7 +77061,7 @@ SOAP_FMAC1 resqml20__obj_USCOREGeologicUnitFeature * SOAP_FMAC2 soap_instantiate return soap_instantiate_resqml20__obj_USCOREGeobodyFeature(soap, n, NULL, NULL, size); resqml20__obj_USCOREGeologicUnitFeature *p; size_t k = sizeof(resqml20__obj_USCOREGeologicUnitFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGeologicUnitFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGeologicUnitFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -78204,13 +77076,9 @@ SOAP_FMAC1 resqml20__obj_USCOREGeologicUnitFeature * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREGeologicUnitFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -78370,7 +77238,7 @@ SOAP_FMAC1 resqml20__obj_USCOREFluidBoundaryFeature * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREFluidBoundaryFeature *p; size_t k = sizeof(resqml20__obj_USCOREFluidBoundaryFeature); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREFluidBoundaryFeature, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREFluidBoundaryFeature, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -78385,13 +77253,9 @@ SOAP_FMAC1 resqml20__obj_USCOREFluidBoundaryFeature * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREFluidBoundaryFeature location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -78605,7 +77469,7 @@ SOAP_FMAC1 resqml20__obj_USCOREStratigraphicOccurrenceInterpretation * SOAP_FMAC (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREStratigraphicOccurrenceInterpretation *p; size_t k = sizeof(resqml20__obj_USCOREStratigraphicOccurrenceInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStratigraphicOccurrenceInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStratigraphicOccurrenceInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -78620,13 +77484,9 @@ SOAP_FMAC1 resqml20__obj_USCOREStratigraphicOccurrenceInterpretation * SOAP_FMAC for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREStratigraphicOccurrenceInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -78857,7 +77717,7 @@ SOAP_FMAC1 resqml20__obj_USCOREStratigraphicUnitInterpretation * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREStratigraphicUnitInterpretation *p; size_t k = sizeof(resqml20__obj_USCOREStratigraphicUnitInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStratigraphicUnitInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStratigraphicUnitInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -78872,13 +77732,9 @@ SOAP_FMAC1 resqml20__obj_USCOREStratigraphicUnitInterpretation * SOAP_FMAC2 soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREStratigraphicUnitInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -79086,7 +77942,7 @@ SOAP_FMAC1 resqml20__obj_USCOREGeologicUnitInterpretation * SOAP_FMAC2 soap_inst return soap_instantiate_resqml20__obj_USCOREStratigraphicUnitInterpretation(soap, n, NULL, NULL, size); resqml20__obj_USCOREGeologicUnitInterpretation *p; size_t k = sizeof(resqml20__obj_USCOREGeologicUnitInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGeologicUnitInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGeologicUnitInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -79101,13 +77957,9 @@ SOAP_FMAC1 resqml20__obj_USCOREGeologicUnitInterpretation * SOAP_FMAC2 soap_inst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREGeologicUnitInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -79306,7 +78158,7 @@ SOAP_FMAC1 resqml20__obj_USCOREHorizonInterpretation * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREHorizonInterpretation *p; size_t k = sizeof(resqml20__obj_USCOREHorizonInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREHorizonInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREHorizonInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -79321,13 +78173,9 @@ SOAP_FMAC1 resqml20__obj_USCOREHorizonInterpretation * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREHorizonInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -79460,7 +78308,7 @@ SOAP_FMAC1 resqml20__RockFluidUnitInterpretationIndex * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__RockFluidUnitInterpretationIndex *p; size_t k = sizeof(resqml20__RockFluidUnitInterpretationIndex); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__RockFluidUnitInterpretationIndex, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__RockFluidUnitInterpretationIndex, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -79475,13 +78323,9 @@ SOAP_FMAC1 resqml20__RockFluidUnitInterpretationIndex * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__RockFluidUnitInterpretationIndex location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -79681,7 +78525,7 @@ SOAP_FMAC1 resqml20__AbstractStratigraphicOrganizationInterpretation * SOAP_FMAC return soap_instantiate_resqml20__obj_USCOREStratigraphicOccurrenceInterpretation(soap, n, NULL, NULL, size); resqml20__AbstractStratigraphicOrganizationInterpretation *p; size_t k = sizeof(resqml20__AbstractStratigraphicOrganizationInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractStratigraphicOrganizationInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractStratigraphicOrganizationInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -79696,13 +78540,9 @@ SOAP_FMAC1 resqml20__AbstractStratigraphicOrganizationInterpretation * SOAP_FMAC for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractStratigraphicOrganizationInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -79916,7 +78756,7 @@ SOAP_FMAC1 resqml20__obj_USCOREStratigraphicColumnRankInterpretation * SOAP_FMAC (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREStratigraphicColumnRankInterpretation *p; size_t k = sizeof(resqml20__obj_USCOREStratigraphicColumnRankInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStratigraphicColumnRankInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStratigraphicColumnRankInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -79931,13 +78771,9 @@ SOAP_FMAC1 resqml20__obj_USCOREStratigraphicColumnRankInterpretation * SOAP_FMAC for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREStratigraphicColumnRankInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -80063,7 +78899,7 @@ SOAP_FMAC1 resqml20__FaultThrow * SOAP_FMAC2 soap_instantiate_resqml20__FaultThr (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__FaultThrow *p; size_t k = sizeof(resqml20__FaultThrow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__FaultThrow, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__FaultThrow, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -80078,13 +78914,9 @@ SOAP_FMAC1 resqml20__FaultThrow * SOAP_FMAC2 soap_instantiate_resqml20__FaultThr for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__FaultThrow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -80305,7 +79137,7 @@ SOAP_FMAC1 resqml20__obj_USCOREEarthModelInterpretation * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREEarthModelInterpretation *p; size_t k = sizeof(resqml20__obj_USCOREEarthModelInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREEarthModelInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREEarthModelInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -80320,13 +79152,9 @@ SOAP_FMAC1 resqml20__obj_USCOREEarthModelInterpretation * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREEarthModelInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -80469,7 +79297,7 @@ SOAP_FMAC1 resqml20__AbstractContactInterpretationPart * SOAP_FMAC2 soap_instant return soap_instantiate_resqml20__MultipleContactInterpretationPart(soap, n, NULL, NULL, size); resqml20__AbstractContactInterpretationPart *p; size_t k = sizeof(resqml20__AbstractContactInterpretationPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractContactInterpretationPart, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractContactInterpretationPart, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -80484,13 +79312,9 @@ SOAP_FMAC1 resqml20__AbstractContactInterpretationPart * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractContactInterpretationPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -80676,7 +79500,7 @@ SOAP_FMAC1 resqml20__obj_USCOREBoundaryFeatureInterpretation * SOAP_FMAC2 soap_i return soap_instantiate_resqml20__obj_USCOREHorizonInterpretation(soap, n, NULL, NULL, size); resqml20__obj_USCOREBoundaryFeatureInterpretation *p; size_t k = sizeof(resqml20__obj_USCOREBoundaryFeatureInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREBoundaryFeatureInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREBoundaryFeatureInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -80691,13 +79515,9 @@ SOAP_FMAC1 resqml20__obj_USCOREBoundaryFeatureInterpretation * SOAP_FMAC2 soap_i for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREBoundaryFeatureInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -80906,7 +79726,7 @@ SOAP_FMAC1 resqml20__obj_USCOREGeobodyInterpretation * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREGeobodyInterpretation *p; size_t k = sizeof(resqml20__obj_USCOREGeobodyInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGeobodyInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGeobodyInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -80921,13 +79741,9 @@ SOAP_FMAC1 resqml20__obj_USCOREGeobodyInterpretation * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREGeobodyInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -81084,7 +79900,7 @@ SOAP_FMAC1 resqml20__obj_USCOREStratigraphicColumn * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREStratigraphicColumn *p; size_t k = sizeof(resqml20__obj_USCOREStratigraphicColumn); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStratigraphicColumn, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStratigraphicColumn, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -81099,13 +79915,9 @@ SOAP_FMAC1 resqml20__obj_USCOREStratigraphicColumn * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREStratigraphicColumn location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -81337,7 +80149,7 @@ SOAP_FMAC1 resqml20__obj_USCOREFaultInterpretation * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREFaultInterpretation *p; size_t k = sizeof(resqml20__obj_USCOREFaultInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREFaultInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREFaultInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -81352,13 +80164,9 @@ SOAP_FMAC1 resqml20__obj_USCOREFaultInterpretation * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREFaultInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -81502,7 +80310,7 @@ SOAP_FMAC1 resqml20__HorizonInterpretationIndex * SOAP_FMAC2 soap_instantiate_re (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__HorizonInterpretationIndex *p; size_t k = sizeof(resqml20__HorizonInterpretationIndex); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__HorizonInterpretationIndex, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__HorizonInterpretationIndex, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -81517,13 +80325,9 @@ SOAP_FMAC1 resqml20__HorizonInterpretationIndex * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__HorizonInterpretationIndex location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -81667,7 +80471,7 @@ SOAP_FMAC1 resqml20__MultipleContactInterpretationPart * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__MultipleContactInterpretationPart *p; size_t k = sizeof(resqml20__MultipleContactInterpretationPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__MultipleContactInterpretationPart, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__MultipleContactInterpretationPart, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -81682,13 +80486,9 @@ SOAP_FMAC1 resqml20__MultipleContactInterpretationPart * SOAP_FMAC2 soap_instant for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__MultipleContactInterpretationPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -81924,7 +80724,7 @@ SOAP_FMAC1 resqml20__obj_USCOREStructuralOrganizationInterpretation * SOAP_FMAC2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREStructuralOrganizationInterpretation *p; size_t k = sizeof(resqml20__obj_USCOREStructuralOrganizationInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStructuralOrganizationInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStructuralOrganizationInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -81939,13 +80739,9 @@ SOAP_FMAC1 resqml20__obj_USCOREStructuralOrganizationInterpretation * SOAP_FMAC2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREStructuralOrganizationInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -82133,7 +80929,7 @@ SOAP_FMAC1 resqml20__obj_USCOREGeobodyBoundaryInterpretation * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREGeobodyBoundaryInterpretation *p; size_t k = sizeof(resqml20__obj_USCOREGeobodyBoundaryInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGeobodyBoundaryInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGeobodyBoundaryInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -82148,13 +80944,9 @@ SOAP_FMAC1 resqml20__obj_USCOREGeobodyBoundaryInterpretation * SOAP_FMAC2 soap_i for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREGeobodyBoundaryInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -82287,7 +81079,7 @@ SOAP_FMAC1 resqml20__GeologicUnitInterpretationIndex * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__GeologicUnitInterpretationIndex *p; size_t k = sizeof(resqml20__GeologicUnitInterpretationIndex); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__GeologicUnitInterpretationIndex, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__GeologicUnitInterpretationIndex, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -82302,13 +81094,9 @@ SOAP_FMAC1 resqml20__GeologicUnitInterpretationIndex * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__GeologicUnitInterpretationIndex location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -82499,7 +81287,7 @@ SOAP_FMAC1 resqml20__obj_USCOREWellboreInterpretation * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREWellboreInterpretation *p; size_t k = sizeof(resqml20__obj_USCOREWellboreInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREWellboreInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREWellboreInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -82514,13 +81302,9 @@ SOAP_FMAC1 resqml20__obj_USCOREWellboreInterpretation * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREWellboreInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -82700,7 +81484,7 @@ SOAP_FMAC1 resqml20__obj_USCOREGenericFeatureInterpretation * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREGenericFeatureInterpretation *p; size_t k = sizeof(resqml20__obj_USCOREGenericFeatureInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGenericFeatureInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGenericFeatureInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -82715,13 +81499,9 @@ SOAP_FMAC1 resqml20__obj_USCOREGenericFeatureInterpretation * SOAP_FMAC2 soap_in for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREGenericFeatureInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -82930,7 +81710,7 @@ SOAP_FMAC1 resqml20__obj_USCORERockFluidUnitInterpretation * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORERockFluidUnitInterpretation *p; size_t k = sizeof(resqml20__obj_USCORERockFluidUnitInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORERockFluidUnitInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORERockFluidUnitInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -82945,13 +81725,9 @@ SOAP_FMAC1 resqml20__obj_USCORERockFluidUnitInterpretation * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORERockFluidUnitInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -83127,7 +81903,7 @@ SOAP_FMAC1 resqml20__ContactElementReference * SOAP_FMAC2 soap_instantiate_resqm (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ContactElementReference *p; size_t k = sizeof(resqml20__ContactElementReference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ContactElementReference, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ContactElementReference, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -83142,13 +81918,9 @@ SOAP_FMAC1 resqml20__ContactElementReference * SOAP_FMAC2 soap_instantiate_resqm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ContactElementReference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -83281,7 +82053,7 @@ SOAP_FMAC1 resqml20__StratigraphicUnitInterpretationIndex * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__StratigraphicUnitInterpretationIndex *p; size_t k = sizeof(resqml20__StratigraphicUnitInterpretationIndex); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__StratigraphicUnitInterpretationIndex, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__StratigraphicUnitInterpretationIndex, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -83296,13 +82068,9 @@ SOAP_FMAC1 resqml20__StratigraphicUnitInterpretationIndex * SOAP_FMAC2 soap_inst for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__StratigraphicUnitInterpretationIndex location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -83478,7 +82246,7 @@ SOAP_FMAC1 resqml20__BinaryContactInterpretationPart * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__BinaryContactInterpretationPart *p; size_t k = sizeof(resqml20__BinaryContactInterpretationPart); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__BinaryContactInterpretationPart, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__BinaryContactInterpretationPart, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -83493,13 +82261,9 @@ SOAP_FMAC1 resqml20__BinaryContactInterpretationPart * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__BinaryContactInterpretationPart location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -83697,7 +82461,7 @@ SOAP_FMAC1 resqml20__AbstractOrganizationInterpretation * SOAP_FMAC2 soap_instan return soap_instantiate_resqml20__obj_USCOREStratigraphicOccurrenceInterpretation(soap, n, NULL, NULL, size); resqml20__AbstractOrganizationInterpretation *p; size_t k = sizeof(resqml20__AbstractOrganizationInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractOrganizationInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractOrganizationInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -83712,13 +82476,9 @@ SOAP_FMAC1 resqml20__AbstractOrganizationInterpretation * SOAP_FMAC2 soap_instan for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractOrganizationInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -83855,7 +82615,7 @@ SOAP_FMAC1 resqml20__TimeInterval * SOAP_FMAC2 soap_instantiate_resqml20__TimeIn (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__TimeInterval *p; size_t k = sizeof(resqml20__TimeInterval); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TimeInterval, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TimeInterval, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -83870,13 +82630,9 @@ SOAP_FMAC1 resqml20__TimeInterval * SOAP_FMAC2 soap_instantiate_resqml20__TimeIn for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__TimeInterval location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -84077,7 +82833,7 @@ SOAP_FMAC1 resqml20__obj_USCORERockFluidOrganizationInterpretation * SOAP_FMAC2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORERockFluidOrganizationInterpretation *p; size_t k = sizeof(resqml20__obj_USCORERockFluidOrganizationInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORERockFluidOrganizationInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORERockFluidOrganizationInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -84092,13 +82848,9 @@ SOAP_FMAC1 resqml20__obj_USCORERockFluidOrganizationInterpretation * SOAP_FMAC2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORERockFluidOrganizationInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -84317,7 +83069,7 @@ SOAP_FMAC1 resqml20__AbstractFeatureInterpretation * SOAP_FMAC2 soap_instantiate return soap_instantiate_resqml20__obj_USCOREStratigraphicOccurrenceInterpretation(soap, n, NULL, NULL, size); resqml20__AbstractFeatureInterpretation *p; size_t k = sizeof(resqml20__AbstractFeatureInterpretation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractFeatureInterpretation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractFeatureInterpretation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -84332,13 +83084,9 @@ SOAP_FMAC1 resqml20__AbstractFeatureInterpretation * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractFeatureInterpretation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -84454,7 +83202,7 @@ SOAP_FMAC1 resqml20__AbstractParentWindow * SOAP_FMAC2 soap_instantiate_resqml20 return soap_instantiate_resqml20__CellParentWindow(soap, n, NULL, NULL, size); resqml20__AbstractParentWindow *p; size_t k = sizeof(resqml20__AbstractParentWindow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractParentWindow, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractParentWindow, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -84469,13 +83217,9 @@ SOAP_FMAC1 resqml20__AbstractParentWindow * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractParentWindow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -84739,7 +83483,7 @@ SOAP_FMAC1 resqml20__AbstractColumnLayerGridGeometry * SOAP_FMAC2 soap_instantia return soap_instantiate_resqml20__IjkGridGeometry(soap, n, NULL, NULL, size); resqml20__AbstractColumnLayerGridGeometry *p; size_t k = sizeof(resqml20__AbstractColumnLayerGridGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractColumnLayerGridGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractColumnLayerGridGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -84754,13 +83498,9 @@ SOAP_FMAC1 resqml20__AbstractColumnLayerGridGeometry * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractColumnLayerGridGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -84918,7 +83658,7 @@ SOAP_FMAC1 resqml20__Intervals * SOAP_FMAC2 soap_instantiate_resqml20__Intervals (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Intervals *p; size_t k = sizeof(resqml20__Intervals); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Intervals, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Intervals, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -84933,13 +83673,9 @@ SOAP_FMAC1 resqml20__Intervals * SOAP_FMAC2 soap_instantiate_resqml20__Intervals for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Intervals location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -85049,7 +83785,7 @@ SOAP_FMAC1 resqml20__OverlapVolume * SOAP_FMAC2 soap_instantiate_resqml20__Overl (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__OverlapVolume *p; size_t k = sizeof(resqml20__OverlapVolume); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__OverlapVolume, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__OverlapVolume, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -85064,13 +83800,9 @@ SOAP_FMAC1 resqml20__OverlapVolume * SOAP_FMAC2 soap_instantiate_resqml20__Overl for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__OverlapVolume location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -85240,7 +83972,7 @@ SOAP_FMAC1 resqml20__VariableSubnodePatch * SOAP_FMAC2 soap_instantiate_resqml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__VariableSubnodePatch *p; size_t k = sizeof(resqml20__VariableSubnodePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__VariableSubnodePatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__VariableSubnodePatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -85255,13 +83987,9 @@ SOAP_FMAC1 resqml20__VariableSubnodePatch * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__VariableSubnodePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -85408,7 +84136,7 @@ SOAP_FMAC1 resqml20__ColumnLayerSplitColumnEdges * SOAP_FMAC2 soap_instantiate_r (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ColumnLayerSplitColumnEdges *p; size_t k = sizeof(resqml20__ColumnLayerSplitColumnEdges); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ColumnLayerSplitColumnEdges, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ColumnLayerSplitColumnEdges, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -85423,13 +84151,9 @@ SOAP_FMAC1 resqml20__ColumnLayerSplitColumnEdges * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ColumnLayerSplitColumnEdges location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -85539,7 +84263,7 @@ SOAP_FMAC1 resqml20__CellOverlap * SOAP_FMAC2 soap_instantiate_resqml20__CellOve (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__CellOverlap *p; size_t k = sizeof(resqml20__CellOverlap); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__CellOverlap, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__CellOverlap, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -85554,13 +84278,9 @@ SOAP_FMAC1 resqml20__CellOverlap * SOAP_FMAC2 soap_instantiate_resqml20__CellOve for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__CellOverlap location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -85692,7 +84412,7 @@ SOAP_FMAC1 resqml20__UnstructuredGridHingeNodeFaces * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__UnstructuredGridHingeNodeFaces *p; size_t k = sizeof(resqml20__UnstructuredGridHingeNodeFaces); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__UnstructuredGridHingeNodeFaces, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__UnstructuredGridHingeNodeFaces, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -85707,13 +84427,9 @@ SOAP_FMAC1 resqml20__UnstructuredGridHingeNodeFaces * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__UnstructuredGridHingeNodeFaces location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -85882,7 +84598,7 @@ SOAP_FMAC1 resqml20__AbstractGridGeometry * SOAP_FMAC2 soap_instantiate_resqml20 return soap_instantiate_resqml20__IjkGridGeometry(soap, n, NULL, NULL, size); resqml20__AbstractGridGeometry *p; size_t k = sizeof(resqml20__AbstractGridGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractGridGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractGridGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -85897,13 +84613,9 @@ SOAP_FMAC1 resqml20__AbstractGridGeometry * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractGridGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -86127,7 +84839,7 @@ SOAP_FMAC1 resqml20__obj_USCOREGridConnectionSetRepresentation * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREGridConnectionSetRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREGridConnectionSetRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGridConnectionSetRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGridConnectionSetRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -86142,13 +84854,9 @@ SOAP_FMAC1 resqml20__obj_USCOREGridConnectionSetRepresentation * SOAP_FMAC2 soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREGridConnectionSetRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -86390,7 +85098,7 @@ SOAP_FMAC1 resqml20__obj_USCORETruncatedIjkGridRepresentation * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORETruncatedIjkGridRepresentation *p; size_t k = sizeof(resqml20__obj_USCORETruncatedIjkGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORETruncatedIjkGridRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORETruncatedIjkGridRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -86405,13 +85113,9 @@ SOAP_FMAC1 resqml20__obj_USCORETruncatedIjkGridRepresentation * SOAP_FMAC2 soap_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORETruncatedIjkGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -86584,7 +85288,7 @@ SOAP_FMAC1 resqml20__GpGridIjkGridPatch * SOAP_FMAC2 soap_instantiate_resqml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__GpGridIjkGridPatch *p; size_t k = sizeof(resqml20__GpGridIjkGridPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__GpGridIjkGridPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__GpGridIjkGridPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -86599,13 +85303,9 @@ SOAP_FMAC1 resqml20__GpGridIjkGridPatch * SOAP_FMAC2 soap_instantiate_resqml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__GpGridIjkGridPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -86815,7 +85515,7 @@ SOAP_FMAC1 resqml20__AbstractColumnLayerGridRepresentation * SOAP_FMAC2 soap_ins return soap_instantiate_resqml20__obj_USCOREIjkGridRepresentation(soap, n, NULL, NULL, size); resqml20__AbstractColumnLayerGridRepresentation *p; size_t k = sizeof(resqml20__AbstractColumnLayerGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractColumnLayerGridRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractColumnLayerGridRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -86830,13 +85530,9 @@ SOAP_FMAC1 resqml20__AbstractColumnLayerGridRepresentation * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractColumnLayerGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -86984,7 +85680,7 @@ SOAP_FMAC1 resqml20__CellParentWindow * SOAP_FMAC2 soap_instantiate_resqml20__Ce (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__CellParentWindow *p; size_t k = sizeof(resqml20__CellParentWindow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__CellParentWindow, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__CellParentWindow, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -86999,13 +85695,9 @@ SOAP_FMAC1 resqml20__CellParentWindow * SOAP_FMAC2 soap_instantiate_resqml20__Ce for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__CellParentWindow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -87237,7 +85929,7 @@ SOAP_FMAC1 resqml20__obj_USCORETruncatedUnstructuredColumnLayerGridRepresentatio (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORETruncatedUnstructuredColumnLayerGridRepresentation *p; size_t k = sizeof(resqml20__obj_USCORETruncatedUnstructuredColumnLayerGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORETruncatedUnstructuredColumnLayerGridRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORETruncatedUnstructuredColumnLayerGridRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -87252,13 +85944,9 @@ SOAP_FMAC1 resqml20__obj_USCORETruncatedUnstructuredColumnLayerGridRepresentatio for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORETruncatedUnstructuredColumnLayerGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -87390,7 +86078,7 @@ SOAP_FMAC1 resqml20__Edges * SOAP_FMAC2 soap_instantiate_resqml20__Edges(struct (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Edges *p; size_t k = sizeof(resqml20__Edges); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Edges, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Edges, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -87405,13 +86093,9 @@ SOAP_FMAC1 resqml20__Edges * SOAP_FMAC2 soap_instantiate_resqml20__Edges(struct for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Edges location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -87667,7 +86351,7 @@ SOAP_FMAC1 resqml20__UnstructuredGridGeometry * SOAP_FMAC2 soap_instantiate_resq (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__UnstructuredGridGeometry *p; size_t k = sizeof(resqml20__UnstructuredGridGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__UnstructuredGridGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__UnstructuredGridGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -87682,13 +86366,9 @@ SOAP_FMAC1 resqml20__UnstructuredGridGeometry * SOAP_FMAC2 soap_instantiate_resq for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__UnstructuredGridGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -87810,7 +86490,7 @@ SOAP_FMAC1 resqml20__NodesPerCell * SOAP_FMAC2 soap_instantiate_resqml20__NodesP (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__NodesPerCell *p; size_t k = sizeof(resqml20__NodesPerCell); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__NodesPerCell, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__NodesPerCell, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -87825,13 +86505,9 @@ SOAP_FMAC1 resqml20__NodesPerCell * SOAP_FMAC2 soap_instantiate_resqml20__NodesP for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__NodesPerCell location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -87968,7 +86644,7 @@ SOAP_FMAC1 resqml20__CellFluidPhaseUnits * SOAP_FMAC2 soap_instantiate_resqml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__CellFluidPhaseUnits *p; size_t k = sizeof(resqml20__CellFluidPhaseUnits); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__CellFluidPhaseUnits, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__CellFluidPhaseUnits, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -87983,13 +86659,9 @@ SOAP_FMAC1 resqml20__CellFluidPhaseUnits * SOAP_FMAC2 soap_instantiate_resqml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__CellFluidPhaseUnits location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -88136,7 +86808,7 @@ SOAP_FMAC1 resqml20__SplitEdges * SOAP_FMAC2 soap_instantiate_resqml20__SplitEdg (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__SplitEdges *p; size_t k = sizeof(resqml20__SplitEdges); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SplitEdges, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SplitEdges, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -88151,13 +86823,9 @@ SOAP_FMAC1 resqml20__SplitEdges * SOAP_FMAC2 soap_instantiate_resqml20__SplitEdg for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__SplitEdges location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -88371,7 +87039,7 @@ SOAP_FMAC1 resqml20__AbstractTruncatedColumnLayerGridRepresentation * SOAP_FMAC2 return soap_instantiate_resqml20__obj_USCORETruncatedIjkGridRepresentation(soap, n, NULL, NULL, size); resqml20__AbstractTruncatedColumnLayerGridRepresentation *p; size_t k = sizeof(resqml20__AbstractTruncatedColumnLayerGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractTruncatedColumnLayerGridRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractTruncatedColumnLayerGridRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -88386,13 +87054,9 @@ SOAP_FMAC1 resqml20__AbstractTruncatedColumnLayerGridRepresentation * SOAP_FMAC2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractTruncatedColumnLayerGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -88522,7 +87186,7 @@ SOAP_FMAC1 resqml20__ConnectionInterpretations * SOAP_FMAC2 soap_instantiate_res (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ConnectionInterpretations *p; size_t k = sizeof(resqml20__ConnectionInterpretations); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ConnectionInterpretations, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ConnectionInterpretations, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -88537,13 +87201,9 @@ SOAP_FMAC1 resqml20__ConnectionInterpretations * SOAP_FMAC2 soap_instantiate_res for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ConnectionInterpretations location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -88809,7 +87469,7 @@ SOAP_FMAC1 resqml20__IjkGridGeometry * SOAP_FMAC2 soap_instantiate_resqml20__Ijk (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__IjkGridGeometry *p; size_t k = sizeof(resqml20__IjkGridGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IjkGridGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IjkGridGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -88824,13 +87484,9 @@ SOAP_FMAC1 resqml20__IjkGridGeometry * SOAP_FMAC2 soap_instantiate_resqml20__Ijk for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__IjkGridGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -89135,7 +87791,7 @@ SOAP_FMAC1 resqml20__UnstructuredColumnLayerGridGeometry * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__UnstructuredColumnLayerGridGeometry *p; size_t k = sizeof(resqml20__UnstructuredColumnLayerGridGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__UnstructuredColumnLayerGridGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__UnstructuredColumnLayerGridGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -89150,13 +87806,9 @@ SOAP_FMAC1 resqml20__UnstructuredColumnLayerGridGeometry * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__UnstructuredColumnLayerGridGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -89293,7 +87945,7 @@ SOAP_FMAC1 resqml20__Activation * SOAP_FMAC2 soap_instantiate_resqml20__Activati (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Activation *p; size_t k = sizeof(resqml20__Activation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Activation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Activation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -89308,13 +87960,9 @@ SOAP_FMAC1 resqml20__Activation * SOAP_FMAC2 soap_instantiate_resqml20__Activati for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Activation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -89443,7 +88091,7 @@ SOAP_FMAC1 resqml20__Regrid * SOAP_FMAC2 soap_instantiate_resqml20__Regrid(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Regrid *p; size_t k = sizeof(resqml20__Regrid); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Regrid, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Regrid, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -89458,13 +88106,9 @@ SOAP_FMAC1 resqml20__Regrid * SOAP_FMAC2 soap_instantiate_resqml20__Regrid(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Regrid location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -89601,7 +88245,7 @@ SOAP_FMAC1 resqml20__IntervalStratigraphicUnits * SOAP_FMAC2 soap_instantiate_re (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__IntervalStratigraphicUnits *p; size_t k = sizeof(resqml20__IntervalStratigraphicUnits); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntervalStratigraphicUnits, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntervalStratigraphicUnits, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -89616,13 +88260,9 @@ SOAP_FMAC1 resqml20__IntervalStratigraphicUnits * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__IntervalStratigraphicUnits location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -89762,7 +88402,7 @@ SOAP_FMAC1 resqml20__GpGridUnstructuredGridPatch * SOAP_FMAC2 soap_instantiate_r (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__GpGridUnstructuredGridPatch *p; size_t k = sizeof(resqml20__GpGridUnstructuredGridPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__GpGridUnstructuredGridPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__GpGridUnstructuredGridPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -89777,13 +88417,9 @@ SOAP_FMAC1 resqml20__GpGridUnstructuredGridPatch * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__GpGridUnstructuredGridPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -90006,7 +88642,7 @@ SOAP_FMAC1 resqml20__TruncationCellPatch * SOAP_FMAC2 soap_instantiate_resqml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__TruncationCellPatch *p; size_t k = sizeof(resqml20__TruncationCellPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TruncationCellPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TruncationCellPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -90021,13 +88657,9 @@ SOAP_FMAC1 resqml20__TruncationCellPatch * SOAP_FMAC2 soap_instantiate_resqml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__TruncationCellPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -90159,7 +88791,7 @@ SOAP_FMAC1 resqml20__IjSplitColumnEdges * SOAP_FMAC2 soap_instantiate_resqml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__IjSplitColumnEdges *p; size_t k = sizeof(resqml20__IjSplitColumnEdges); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IjSplitColumnEdges, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IjSplitColumnEdges, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -90174,13 +88806,9 @@ SOAP_FMAC1 resqml20__IjSplitColumnEdges * SOAP_FMAC2 soap_instantiate_resqml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__IjSplitColumnEdges location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -90323,7 +88951,7 @@ SOAP_FMAC1 resqml20__AdditionalGridPoints * SOAP_FMAC2 soap_instantiate_resqml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__AdditionalGridPoints *p; size_t k = sizeof(resqml20__AdditionalGridPoints); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AdditionalGridPoints, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AdditionalGridPoints, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -90338,13 +88966,9 @@ SOAP_FMAC1 resqml20__AdditionalGridPoints * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AdditionalGridPoints location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -90476,7 +89100,7 @@ SOAP_FMAC1 resqml20__UnstructuredColumnEdges * SOAP_FMAC2 soap_instantiate_resqm (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__UnstructuredColumnEdges *p; size_t k = sizeof(resqml20__UnstructuredColumnEdges); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__UnstructuredColumnEdges, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__UnstructuredColumnEdges, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -90491,13 +89115,9 @@ SOAP_FMAC1 resqml20__UnstructuredColumnEdges * SOAP_FMAC2 soap_instantiate_resqm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__UnstructuredColumnEdges location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -90618,7 +89238,7 @@ SOAP_FMAC1 resqml20__ColumnLayerSubnodeTopology * SOAP_FMAC2 soap_instantiate_re (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ColumnLayerSubnodeTopology *p; size_t k = sizeof(resqml20__ColumnLayerSubnodeTopology); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ColumnLayerSubnodeTopology, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ColumnLayerSubnodeTopology, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -90633,13 +89253,9 @@ SOAP_FMAC1 resqml20__ColumnLayerSubnodeTopology * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ColumnLayerSubnodeTopology location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -90788,7 +89404,7 @@ SOAP_FMAC1 resqml20__SubnodePatch * SOAP_FMAC2 soap_instantiate_resqml20__Subnod return soap_instantiate_resqml20__VariableSubnodePatch(soap, n, NULL, NULL, size); resqml20__SubnodePatch *p; size_t k = sizeof(resqml20__SubnodePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SubnodePatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SubnodePatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -90803,13 +89419,9 @@ SOAP_FMAC1 resqml20__SubnodePatch * SOAP_FMAC2 soap_instantiate_resqml20__Subnod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__SubnodePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -90919,7 +89531,7 @@ SOAP_FMAC1 resqml20__KGaps * SOAP_FMAC2 soap_instantiate_resqml20__KGaps(struct (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__KGaps *p; size_t k = sizeof(resqml20__KGaps); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__KGaps, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__KGaps, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -90934,13 +89546,9 @@ SOAP_FMAC1 resqml20__KGaps * SOAP_FMAC2 soap_instantiate_resqml20__KGaps(struct for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__KGaps location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -91090,7 +89698,7 @@ SOAP_FMAC1 resqml20__UniformSubnodePatch * SOAP_FMAC2 soap_instantiate_resqml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__UniformSubnodePatch *p; size_t k = sizeof(resqml20__UniformSubnodePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__UniformSubnodePatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__UniformSubnodePatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -91105,13 +89713,9 @@ SOAP_FMAC1 resqml20__UniformSubnodePatch * SOAP_FMAC2 soap_instantiate_resqml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__UniformSubnodePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -91269,7 +89873,7 @@ SOAP_FMAC1 resqml20__ColumnLayerSplitCoordinateLines * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ColumnLayerSplitCoordinateLines *p; size_t k = sizeof(resqml20__ColumnLayerSplitCoordinateLines); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ColumnLayerSplitCoordinateLines, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ColumnLayerSplitCoordinateLines, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -91284,13 +89888,9 @@ SOAP_FMAC1 resqml20__ColumnLayerSplitCoordinateLines * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ColumnLayerSplitCoordinateLines location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -91435,7 +90035,7 @@ SOAP_FMAC1 resqml20__GpGridColumnLayerGrid * SOAP_FMAC2 soap_instantiate_resqml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__GpGridColumnLayerGrid *p; size_t k = sizeof(resqml20__GpGridColumnLayerGrid); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__GpGridColumnLayerGrid, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__GpGridColumnLayerGrid, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -91450,13 +90050,9 @@ SOAP_FMAC1 resqml20__GpGridColumnLayerGrid * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__GpGridColumnLayerGrid location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -91607,7 +90203,7 @@ SOAP_FMAC1 resqml20__GpGridUnstructuredColumnLayerGridPatch * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__GpGridUnstructuredColumnLayerGridPatch *p; size_t k = sizeof(resqml20__GpGridUnstructuredColumnLayerGridPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__GpGridUnstructuredColumnLayerGridPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__GpGridUnstructuredColumnLayerGridPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -91622,13 +90218,9 @@ SOAP_FMAC1 resqml20__GpGridUnstructuredColumnLayerGridPatch * SOAP_FMAC2 soap_in for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__GpGridUnstructuredColumnLayerGridPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -91763,7 +90355,7 @@ SOAP_FMAC1 resqml20__UnstructuredSubnodeTopology * SOAP_FMAC2 soap_instantiate_r (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__UnstructuredSubnodeTopology *p; size_t k = sizeof(resqml20__UnstructuredSubnodeTopology); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__UnstructuredSubnodeTopology, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__UnstructuredSubnodeTopology, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -91778,13 +90370,9 @@ SOAP_FMAC1 resqml20__UnstructuredSubnodeTopology * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__UnstructuredSubnodeTopology location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -91958,7 +90546,7 @@ SOAP_FMAC1 resqml20__ColumnLayerParentWindow * SOAP_FMAC2 soap_instantiate_resqm (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ColumnLayerParentWindow *p; size_t k = sizeof(resqml20__ColumnLayerParentWindow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ColumnLayerParentWindow, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ColumnLayerParentWindow, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -91973,13 +90561,9 @@ SOAP_FMAC1 resqml20__ColumnLayerParentWindow * SOAP_FMAC2 soap_instantiate_resqm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ColumnLayerParentWindow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -92235,7 +90819,7 @@ SOAP_FMAC1 resqml20__obj_USCOREIjkGridRepresentation * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREIjkGridRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREIjkGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREIjkGridRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREIjkGridRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -92250,13 +90834,9 @@ SOAP_FMAC1 resqml20__obj_USCOREIjkGridRepresentation * SOAP_FMAC2 soap_instantia for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREIjkGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -92366,7 +90946,7 @@ SOAP_FMAC1 resqml20__IjGaps * SOAP_FMAC2 soap_instantiate_resqml20__IjGaps(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__IjGaps *p; size_t k = sizeof(resqml20__IjGaps); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IjGaps, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IjGaps, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -92381,13 +90961,9 @@ SOAP_FMAC1 resqml20__IjGaps * SOAP_FMAC2 soap_instantiate_resqml20__IjGaps(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__IjGaps location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -92611,7 +91187,7 @@ SOAP_FMAC1 resqml20__obj_USCOREUnstructuredColumnLayerGridRepresentation * SOAP_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREUnstructuredColumnLayerGridRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREUnstructuredColumnLayerGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREUnstructuredColumnLayerGridRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREUnstructuredColumnLayerGridRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -92626,13 +91202,9 @@ SOAP_FMAC1 resqml20__obj_USCOREUnstructuredColumnLayerGridRepresentation * SOAP_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREUnstructuredColumnLayerGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -92790,7 +91362,7 @@ SOAP_FMAC1 resqml20__SplitFaces * SOAP_FMAC2 soap_instantiate_resqml20__SplitFac (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__SplitFaces *p; size_t k = sizeof(resqml20__SplitFaces); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SplitFaces, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SplitFaces, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -92805,13 +91377,9 @@ SOAP_FMAC1 resqml20__SplitFaces * SOAP_FMAC2 soap_instantiate_resqml20__SplitFac for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__SplitFaces location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -92930,7 +91498,7 @@ SOAP_FMAC1 resqml20__SubnodeTopology * SOAP_FMAC2 soap_instantiate_resqml20__Sub return soap_instantiate_resqml20__ColumnLayerSubnodeTopology(soap, n, NULL, NULL, size); resqml20__SubnodeTopology *p; size_t k = sizeof(resqml20__SubnodeTopology); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SubnodeTopology, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SubnodeTopology, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -92945,13 +91513,9 @@ SOAP_FMAC1 resqml20__SubnodeTopology * SOAP_FMAC2 soap_instantiate_resqml20__Sub for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__SubnodeTopology location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -93158,7 +91722,7 @@ SOAP_FMAC1 resqml20__AbstractGridRepresentation * SOAP_FMAC2 soap_instantiate_re return soap_instantiate_resqml20__obj_USCORETruncatedIjkGridRepresentation(soap, n, NULL, NULL, size); resqml20__AbstractGridRepresentation *p; size_t k = sizeof(resqml20__AbstractGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractGridRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractGridRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -93173,13 +91737,9 @@ SOAP_FMAC1 resqml20__AbstractGridRepresentation * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -93347,7 +91907,7 @@ SOAP_FMAC1 resqml20__obj_USCORELocalGridSet * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORELocalGridSet *p; size_t k = sizeof(resqml20__obj_USCORELocalGridSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORELocalGridSet, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORELocalGridSet, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -93362,13 +91922,9 @@ SOAP_FMAC1 resqml20__obj_USCORELocalGridSet * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORELocalGridSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -93505,7 +92061,7 @@ SOAP_FMAC1 resqml20__CellStratigraphicUnits * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__CellStratigraphicUnits *p; size_t k = sizeof(resqml20__CellStratigraphicUnits); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__CellStratigraphicUnits, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__CellStratigraphicUnits, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -93520,13 +92076,9 @@ SOAP_FMAC1 resqml20__CellStratigraphicUnits * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__CellStratigraphicUnits location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -93681,7 +92233,7 @@ SOAP_FMAC1 resqml20__ColumnSubnodePatch * SOAP_FMAC2 soap_instantiate_resqml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ColumnSubnodePatch *p; size_t k = sizeof(resqml20__ColumnSubnodePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ColumnSubnodePatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ColumnSubnodePatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -93696,13 +92248,9 @@ SOAP_FMAC1 resqml20__ColumnSubnodePatch * SOAP_FMAC2 soap_instantiate_resqml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ColumnSubnodePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -93891,7 +92439,7 @@ SOAP_FMAC1 resqml20__IjkParentWindow * SOAP_FMAC2 soap_instantiate_resqml20__Ijk (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__IjkParentWindow *p; size_t k = sizeof(resqml20__IjkParentWindow); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IjkParentWindow, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IjkParentWindow, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -93906,13 +92454,9 @@ SOAP_FMAC1 resqml20__IjkParentWindow * SOAP_FMAC2 soap_instantiate_resqml20__Ijk for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__IjkParentWindow location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -94081,7 +92625,7 @@ SOAP_FMAC1 resqml20__SplitNodePatch * SOAP_FMAC2 soap_instantiate_resqml20__Spli (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__SplitNodePatch *p; size_t k = sizeof(resqml20__SplitNodePatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SplitNodePatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SplitNodePatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -94096,13 +92640,9 @@ SOAP_FMAC1 resqml20__SplitNodePatch * SOAP_FMAC2 soap_instantiate_resqml20__Spli for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__SplitNodePatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -94303,7 +92843,7 @@ SOAP_FMAC1 resqml20__obj_USCOREGpGridRepresentation * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREGpGridRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREGpGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGpGridRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREGpGridRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -94318,13 +92858,9 @@ SOAP_FMAC1 resqml20__obj_USCOREGpGridRepresentation * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREGpGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -94511,7 +93047,7 @@ SOAP_FMAC1 resqml20__AdditionalGridTopology * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__AdditionalGridTopology *p; size_t k = sizeof(resqml20__AdditionalGridTopology); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AdditionalGridTopology, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AdditionalGridTopology, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -94526,13 +93062,9 @@ SOAP_FMAC1 resqml20__AdditionalGridTopology * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AdditionalGridTopology location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -94738,7 +93270,7 @@ SOAP_FMAC1 resqml20__obj_USCOREUnstructuredGridRepresentation * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREUnstructuredGridRepresentation *p; size_t k = sizeof(resqml20__obj_USCOREUnstructuredGridRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREUnstructuredGridRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREUnstructuredGridRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -94753,13 +93285,9 @@ SOAP_FMAC1 resqml20__obj_USCOREUnstructuredGridRepresentation * SOAP_FMAC2 soap_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREUnstructuredGridRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -94951,7 +93479,7 @@ SOAP_FMAC1 resqml20__obj_USCORESubRepresentation * SOAP_FMAC2 soap_instantiate_r (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORESubRepresentation *p; size_t k = sizeof(resqml20__obj_USCORESubRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORESubRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORESubRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -94966,13 +93494,9 @@ SOAP_FMAC1 resqml20__obj_USCORESubRepresentation * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORESubRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -95105,7 +93629,7 @@ SOAP_FMAC1 resqml20__PatchOfGeometry * SOAP_FMAC2 soap_instantiate_resqml20__Pat (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__PatchOfGeometry *p; size_t k = sizeof(resqml20__PatchOfGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PatchOfGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PatchOfGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -95120,13 +93644,9 @@ SOAP_FMAC1 resqml20__PatchOfGeometry * SOAP_FMAC2 soap_instantiate_resqml20__Pat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__PatchOfGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -95348,7 +93868,7 @@ SOAP_FMAC1 resqml20__AbstractRepresentation * SOAP_FMAC2 soap_instantiate_resqml return soap_instantiate_resqml20__obj_USCORESealedSurfaceFrameworkRepresentation(soap, n, NULL, NULL, size); resqml20__AbstractRepresentation *p; size_t k = sizeof(resqml20__AbstractRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -95363,13 +93883,9 @@ SOAP_FMAC1 resqml20__AbstractRepresentation * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -95544,7 +94060,7 @@ SOAP_FMAC1 resqml20__ElementIdentity * SOAP_FMAC2 soap_instantiate_resqml20__Ele (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ElementIdentity *p; size_t k = sizeof(resqml20__ElementIdentity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ElementIdentity, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ElementIdentity, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -95559,13 +94075,9 @@ SOAP_FMAC1 resqml20__ElementIdentity * SOAP_FMAC2 soap_instantiate_resqml20__Ele for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ElementIdentity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -95722,7 +94234,7 @@ SOAP_FMAC1 resqml20__obj_USCORERepresentationIdentitySet * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORERepresentationIdentitySet *p; size_t k = sizeof(resqml20__obj_USCORERepresentationIdentitySet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORERepresentationIdentitySet, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORERepresentationIdentitySet, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -95737,13 +94249,9 @@ SOAP_FMAC1 resqml20__obj_USCORERepresentationIdentitySet * SOAP_FMAC2 soap_insta for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORERepresentationIdentitySet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -95879,7 +94387,7 @@ SOAP_FMAC1 resqml20__RepresentationIdentity * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__RepresentationIdentity *p; size_t k = sizeof(resqml20__RepresentationIdentity); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__RepresentationIdentity, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__RepresentationIdentity, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -95894,13 +94402,9 @@ SOAP_FMAC1 resqml20__RepresentationIdentity * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__RepresentationIdentity location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -96081,7 +94585,7 @@ SOAP_FMAC1 resqml20__obj_USCORERedefinedGeometryRepresentation * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCORERedefinedGeometryRepresentation *p; size_t k = sizeof(resqml20__obj_USCORERedefinedGeometryRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORERedefinedGeometryRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORERedefinedGeometryRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -96096,13 +94600,9 @@ SOAP_FMAC1 resqml20__obj_USCORERedefinedGeometryRepresentation * SOAP_FMAC2 soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORERedefinedGeometryRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -96287,7 +94787,7 @@ SOAP_FMAC1 resqml20__obj_USCORERepresentationSetRepresentation * SOAP_FMAC2 soap return soap_instantiate_resqml20__obj_USCORESealedSurfaceFrameworkRepresentation(soap, n, NULL, NULL, size); resqml20__obj_USCORERepresentationSetRepresentation *p; size_t k = sizeof(resqml20__obj_USCORERepresentationSetRepresentation); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORERepresentationSetRepresentation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORERepresentationSetRepresentation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -96302,13 +94802,9 @@ SOAP_FMAC1 resqml20__obj_USCORERepresentationSetRepresentation * SOAP_FMAC2 soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORERepresentationSetRepresentation location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -96443,7 +94939,7 @@ SOAP_FMAC1 resqml20__SubRepresentationPatch * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__SubRepresentationPatch *p; size_t k = sizeof(resqml20__SubRepresentationPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SubRepresentationPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__SubRepresentationPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -96458,13 +94954,9 @@ SOAP_FMAC1 resqml20__SubRepresentationPatch * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__SubRepresentationPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -96596,7 +95088,7 @@ SOAP_FMAC1 resqml20__ElementIndices * SOAP_FMAC2 soap_instantiate_resqml20__Elem (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ElementIndices *p; size_t k = sizeof(resqml20__ElementIndices); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ElementIndices, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ElementIndices, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -96611,13 +95103,9 @@ SOAP_FMAC1 resqml20__ElementIndices * SOAP_FMAC2 soap_instantiate_resqml20__Elem for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ElementIndices location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -96771,7 +95259,7 @@ SOAP_FMAC1 resqml20__Patch * SOAP_FMAC2 soap_instantiate_resqml20__Patch(struct return soap_instantiate_resqml20__TrianglePatch(soap, n, NULL, NULL, size); resqml20__Patch *p; size_t k = sizeof(resqml20__Patch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Patch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Patch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -96786,13 +95274,9 @@ SOAP_FMAC1 resqml20__Patch * SOAP_FMAC2 soap_instantiate_resqml20__Patch(struct for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Patch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -96930,7 +95414,7 @@ SOAP_FMAC1 resqml20__Patch1d * SOAP_FMAC2 soap_instantiate_resqml20__Patch1d(str return soap_instantiate_resqml20__TrianglePatch(soap, n, NULL, NULL, size); resqml20__Patch1d *p; size_t k = sizeof(resqml20__Patch1d); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Patch1d, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Patch1d, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -96945,13 +95429,9 @@ SOAP_FMAC1 resqml20__Patch1d * SOAP_FMAC2 soap_instantiate_resqml20__Patch1d(str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Patch1d location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -97099,7 +95579,7 @@ SOAP_FMAC1 resqml20__Seismic2dCoordinates * SOAP_FMAC2 soap_instantiate_resqml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Seismic2dCoordinates *p; size_t k = sizeof(resqml20__Seismic2dCoordinates); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Seismic2dCoordinates, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Seismic2dCoordinates, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -97114,13 +95594,9 @@ SOAP_FMAC1 resqml20__Seismic2dCoordinates * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Seismic2dCoordinates location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -97246,7 +95722,7 @@ SOAP_FMAC1 resqml20__AbstractSeismicCoordinates * SOAP_FMAC2 soap_instantiate_re return soap_instantiate_resqml20__Seismic2dCoordinates(soap, n, NULL, NULL, size); resqml20__AbstractSeismicCoordinates *p; size_t k = sizeof(resqml20__AbstractSeismicCoordinates); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractSeismicCoordinates, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractSeismicCoordinates, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -97261,13 +95737,9 @@ SOAP_FMAC1 resqml20__AbstractSeismicCoordinates * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractSeismicCoordinates location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -97430,7 +95902,7 @@ SOAP_FMAC1 resqml20__Seismic3dCoordinates * SOAP_FMAC2 soap_instantiate_resqml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Seismic3dCoordinates *p; size_t k = sizeof(resqml20__Seismic3dCoordinates); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Seismic3dCoordinates, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Seismic3dCoordinates, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -97445,13 +95917,9 @@ SOAP_FMAC1 resqml20__Seismic3dCoordinates * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Seismic3dCoordinates location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -97590,7 +96058,7 @@ SOAP_FMAC1 resqml20__Point3dFromRepresentationLatticeArray * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Point3dFromRepresentationLatticeArray *p; size_t k = sizeof(resqml20__Point3dFromRepresentationLatticeArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point3dFromRepresentationLatticeArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point3dFromRepresentationLatticeArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -97605,13 +96073,9 @@ SOAP_FMAC1 resqml20__Point3dFromRepresentationLatticeArray * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Point3dFromRepresentationLatticeArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -97746,7 +96210,7 @@ SOAP_FMAC1 resqml20__AbstractParametricLineGeometry * SOAP_FMAC2 soap_instantiat return soap_instantiate_resqml20__ParametricLineFromRepresentationGeometry(soap, n, NULL, NULL, size); resqml20__AbstractParametricLineGeometry *p; size_t k = sizeof(resqml20__AbstractParametricLineGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractParametricLineGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractParametricLineGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -97761,13 +96225,9 @@ SOAP_FMAC1 resqml20__AbstractParametricLineGeometry * SOAP_FMAC2 soap_instantiat for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractParametricLineGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -97902,7 +96362,7 @@ SOAP_FMAC1 resqml20__AbstractPlaneGeometry * SOAP_FMAC2 soap_instantiate_resqml2 return soap_instantiate_resqml20__TiltedPlaneGeometry(soap, n, NULL, NULL, size); resqml20__AbstractPlaneGeometry *p; size_t k = sizeof(resqml20__AbstractPlaneGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractPlaneGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractPlaneGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -97917,13 +96377,9 @@ SOAP_FMAC1 resqml20__AbstractPlaneGeometry * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractPlaneGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -98062,7 +96518,7 @@ SOAP_FMAC1 resqml20__TiltedPlaneGeometry * SOAP_FMAC2 soap_instantiate_resqml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__TiltedPlaneGeometry *p; size_t k = sizeof(resqml20__TiltedPlaneGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TiltedPlaneGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__TiltedPlaneGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -98077,13 +96533,9 @@ SOAP_FMAC1 resqml20__TiltedPlaneGeometry * SOAP_FMAC2 soap_instantiate_resqml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__TiltedPlaneGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -98230,7 +96682,7 @@ SOAP_FMAC1 resqml20__ParametricLineIntersections * SOAP_FMAC2 soap_instantiate_r (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ParametricLineIntersections *p; size_t k = sizeof(resqml20__ParametricLineIntersections); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ParametricLineIntersections, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ParametricLineIntersections, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -98245,13 +96697,9 @@ SOAP_FMAC1 resqml20__ParametricLineIntersections * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ParametricLineIntersections location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -98354,7 +96802,7 @@ SOAP_FMAC1 resqml20__AbstractParametricLineArray * SOAP_FMAC2 soap_instantiate_r return soap_instantiate_resqml20__ParametricLineArray(soap, n, NULL, NULL, size); resqml20__AbstractParametricLineArray *p; size_t k = sizeof(resqml20__AbstractParametricLineArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractParametricLineArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractParametricLineArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -98369,13 +96817,9 @@ SOAP_FMAC1 resqml20__AbstractParametricLineArray * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractParametricLineArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -98536,7 +96980,7 @@ SOAP_FMAC1 resqml20__Point3dParametricArray * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Point3dParametricArray *p; size_t k = sizeof(resqml20__Point3dParametricArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point3dParametricArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point3dParametricArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -98551,13 +96995,9 @@ SOAP_FMAC1 resqml20__Point3dParametricArray * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Point3dParametricArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -98739,7 +97179,7 @@ SOAP_FMAC1 resqml20__ParametricLineArray * SOAP_FMAC2 soap_instantiate_resqml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ParametricLineArray *p; size_t k = sizeof(resqml20__ParametricLineArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ParametricLineArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ParametricLineArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -98754,13 +97194,9 @@ SOAP_FMAC1 resqml20__ParametricLineArray * SOAP_FMAC2 soap_instantiate_resqml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ParametricLineArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -98917,7 +97353,7 @@ SOAP_FMAC1 resqml20__ParametricLineFromRepresentationGeometry * SOAP_FMAC2 soap_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ParametricLineFromRepresentationGeometry *p; size_t k = sizeof(resqml20__ParametricLineFromRepresentationGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ParametricLineFromRepresentationGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ParametricLineFromRepresentationGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -98932,13 +97368,9 @@ SOAP_FMAC1 resqml20__ParametricLineFromRepresentationGeometry * SOAP_FMAC2 soap_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ParametricLineFromRepresentationGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -99053,7 +97485,7 @@ SOAP_FMAC1 resqml20__ThreePoint3d * SOAP_FMAC2 soap_instantiate_resqml20__ThreeP (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ThreePoint3d *p; size_t k = sizeof(resqml20__ThreePoint3d); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ThreePoint3d, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ThreePoint3d, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -99068,13 +97500,9 @@ SOAP_FMAC1 resqml20__ThreePoint3d * SOAP_FMAC2 soap_instantiate_resqml20__ThreeP for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ThreePoint3d location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -99198,7 +97626,7 @@ SOAP_FMAC1 resqml20__Point3dHdf5Array * SOAP_FMAC2 soap_instantiate_resqml20__Po (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Point3dHdf5Array *p; size_t k = sizeof(resqml20__Point3dHdf5Array); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point3dHdf5Array, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point3dHdf5Array, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -99213,13 +97641,9 @@ SOAP_FMAC1 resqml20__Point3dHdf5Array * SOAP_FMAC2 soap_instantiate_resqml20__Po for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Point3dHdf5Array location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -99376,7 +97800,7 @@ SOAP_FMAC1 resqml20__AbstractGeometry * SOAP_FMAC2 soap_instantiate_resqml20__Ab return soap_instantiate_resqml20__IjkGridGeometry(soap, n, NULL, NULL, size); resqml20__AbstractGeometry *p; size_t k = sizeof(resqml20__AbstractGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -99391,13 +97815,9 @@ SOAP_FMAC1 resqml20__AbstractGeometry * SOAP_FMAC2 soap_instantiate_resqml20__Ab for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -99508,7 +97928,7 @@ SOAP_FMAC1 resqml20__AbstractPoint3dArray * SOAP_FMAC2 soap_instantiate_resqml20 return soap_instantiate_resqml20__Point3dFromRepresentationLatticeArray(soap, n, NULL, NULL, size); resqml20__AbstractPoint3dArray *p; size_t k = sizeof(resqml20__AbstractPoint3dArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractPoint3dArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractPoint3dArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -99523,13 +97943,9 @@ SOAP_FMAC1 resqml20__AbstractPoint3dArray * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractPoint3dArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -99696,7 +98112,7 @@ SOAP_FMAC1 resqml20__PointGeometry * SOAP_FMAC2 soap_instantiate_resqml20__Point return soap_instantiate_resqml20__IjkGridGeometry(soap, n, NULL, NULL, size); resqml20__PointGeometry *p; size_t k = sizeof(resqml20__PointGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PointGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PointGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -99711,13 +98127,9 @@ SOAP_FMAC1 resqml20__PointGeometry * SOAP_FMAC2 soap_instantiate_resqml20__Point for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__PointGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -99858,7 +98270,7 @@ SOAP_FMAC1 resqml20__HorizontalPlaneGeometry * SOAP_FMAC2 soap_instantiate_resqm (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__HorizontalPlaneGeometry *p; size_t k = sizeof(resqml20__HorizontalPlaneGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__HorizontalPlaneGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__HorizontalPlaneGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -99873,13 +98285,9 @@ SOAP_FMAC1 resqml20__HorizontalPlaneGeometry * SOAP_FMAC2 soap_instantiate_resqm for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__HorizontalPlaneGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -100018,7 +98426,7 @@ SOAP_FMAC1 resqml20__Point3dZValueArray * SOAP_FMAC2 soap_instantiate_resqml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Point3dZValueArray *p; size_t k = sizeof(resqml20__Point3dZValueArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point3dZValueArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point3dZValueArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -100033,13 +98441,9 @@ SOAP_FMAC1 resqml20__Point3dZValueArray * SOAP_FMAC2 soap_instantiate_resqml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Point3dZValueArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -100182,7 +98586,7 @@ SOAP_FMAC1 resqml20__Point3dLatticeArray * SOAP_FMAC2 soap_instantiate_resqml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Point3dLatticeArray *p; size_t k = sizeof(resqml20__Point3dLatticeArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point3dLatticeArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point3dLatticeArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -100197,13 +98601,9 @@ SOAP_FMAC1 resqml20__Point3dLatticeArray * SOAP_FMAC2 soap_instantiate_resqml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Point3dLatticeArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -100342,7 +98742,7 @@ SOAP_FMAC1 resqml20__ParametricLineFromRepresentationLatticeArray * SOAP_FMAC2 s (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ParametricLineFromRepresentationLatticeArray *p; size_t k = sizeof(resqml20__ParametricLineFromRepresentationLatticeArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ParametricLineFromRepresentationLatticeArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ParametricLineFromRepresentationLatticeArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -100357,13 +98757,9 @@ SOAP_FMAC1 resqml20__ParametricLineFromRepresentationLatticeArray * SOAP_FMAC2 s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ParametricLineFromRepresentationLatticeArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -100551,7 +98947,7 @@ SOAP_FMAC1 resqml20__ParametricLineGeometry * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__ParametricLineGeometry *p; size_t k = sizeof(resqml20__ParametricLineGeometry); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ParametricLineGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__ParametricLineGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -100566,13 +98962,9 @@ SOAP_FMAC1 resqml20__ParametricLineGeometry * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__ParametricLineGeometry location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -100696,7 +99088,7 @@ SOAP_FMAC1 resqml20__Point2dHdf5Array * SOAP_FMAC2 soap_instantiate_resqml20__Po (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Point2dHdf5Array *p; size_t k = sizeof(resqml20__Point2dHdf5Array); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point2dHdf5Array, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point2dHdf5Array, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -100711,13 +99103,9 @@ SOAP_FMAC1 resqml20__Point2dHdf5Array * SOAP_FMAC2 soap_instantiate_resqml20__Po for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Point2dHdf5Array location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -100854,7 +99242,7 @@ SOAP_FMAC1 resqml20__Point3dOffset * SOAP_FMAC2 soap_instantiate_resqml20__Point (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__Point3dOffset *p; size_t k = sizeof(resqml20__Point3dOffset); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point3dOffset, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__Point3dOffset, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -100869,13 +99257,9 @@ SOAP_FMAC1 resqml20__Point3dOffset * SOAP_FMAC2 soap_instantiate_resqml20__Point for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__Point3dOffset location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -101009,7 +99393,7 @@ SOAP_FMAC1 resqml20__BooleanArrayFromDiscretePropertyArray * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__BooleanArrayFromDiscretePropertyArray *p; size_t k = sizeof(resqml20__BooleanArrayFromDiscretePropertyArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__BooleanArrayFromDiscretePropertyArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__BooleanArrayFromDiscretePropertyArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -101024,13 +99408,9 @@ SOAP_FMAC1 resqml20__BooleanArrayFromDiscretePropertyArray * SOAP_FMAC2 soap_ins for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__BooleanArrayFromDiscretePropertyArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -101157,7 +99537,7 @@ SOAP_FMAC1 resqml20__DoubleLookup * SOAP_FMAC2 soap_instantiate_resqml20__Double (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__DoubleLookup *p; size_t k = sizeof(resqml20__DoubleLookup); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__DoubleLookup, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__DoubleLookup, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -101172,13 +99552,9 @@ SOAP_FMAC1 resqml20__DoubleLookup * SOAP_FMAC2 soap_instantiate_resqml20__Double for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__DoubleLookup location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -101302,7 +99678,7 @@ SOAP_FMAC1 resqml20__LocalPropertyKind * SOAP_FMAC2 soap_instantiate_resqml20__L (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__LocalPropertyKind *p; size_t k = sizeof(resqml20__LocalPropertyKind); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__LocalPropertyKind, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__LocalPropertyKind, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -101317,13 +99693,9 @@ SOAP_FMAC1 resqml20__LocalPropertyKind * SOAP_FMAC2 soap_instantiate_resqml20__L for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__LocalPropertyKind location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -101584,7 +99956,7 @@ SOAP_FMAC1 resqml20__AbstractValuesProperty * SOAP_FMAC2 soap_instantiate_resqml return soap_instantiate_resqml20__obj_USCOREDiscretePropertySeries(soap, n, NULL, NULL, size); resqml20__AbstractValuesProperty *p; size_t k = sizeof(resqml20__AbstractValuesProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractValuesProperty, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractValuesProperty, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -101599,13 +99971,9 @@ SOAP_FMAC1 resqml20__AbstractValuesProperty * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractValuesProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -101725,7 +100093,7 @@ SOAP_FMAC1 resqml20__StandardPropertyKind * SOAP_FMAC2 soap_instantiate_resqml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__StandardPropertyKind *p; size_t k = sizeof(resqml20__StandardPropertyKind); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__StandardPropertyKind, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__StandardPropertyKind, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -101740,13 +100108,9 @@ SOAP_FMAC1 resqml20__StandardPropertyKind * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__StandardPropertyKind location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -101879,7 +100243,7 @@ SOAP_FMAC1 resqml20__PropertyValuesPatch * SOAP_FMAC2 soap_instantiate_resqml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__PropertyValuesPatch *p; size_t k = sizeof(resqml20__PropertyValuesPatch); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PropertyValuesPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PropertyValuesPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -101894,13 +100258,9 @@ SOAP_FMAC1 resqml20__PropertyValuesPatch * SOAP_FMAC2 soap_instantiate_resqml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__PropertyValuesPatch location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -102009,7 +100369,7 @@ SOAP_FMAC1 resqml20__AbstractBooleanArray * SOAP_FMAC2 soap_instantiate_resqml20 return soap_instantiate_resqml20__BooleanArrayFromDiscretePropertyArray(soap, n, NULL, NULL, size); resqml20__AbstractBooleanArray *p; size_t k = sizeof(resqml20__AbstractBooleanArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractBooleanArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractBooleanArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -102024,13 +100384,9 @@ SOAP_FMAC1 resqml20__AbstractBooleanArray * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractBooleanArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -102141,7 +100497,7 @@ SOAP_FMAC1 resqml20__AbstractIntegerArray * SOAP_FMAC2 soap_instantiate_resqml20 return soap_instantiate_resqml20__IntegerRangeArray(soap, n, NULL, NULL, size); resqml20__AbstractIntegerArray *p; size_t k = sizeof(resqml20__AbstractIntegerArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractIntegerArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractIntegerArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -102156,13 +100512,9 @@ SOAP_FMAC1 resqml20__AbstractIntegerArray * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractIntegerArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -102425,7 +100777,7 @@ SOAP_FMAC1 resqml20__AbstractProperty * SOAP_FMAC2 soap_instantiate_resqml20__Ab return soap_instantiate_resqml20__obj_USCOREDiscretePropertySeries(soap, n, NULL, NULL, size); resqml20__AbstractProperty *p; size_t k = sizeof(resqml20__AbstractProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractProperty, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractProperty, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -102440,13 +100792,9 @@ SOAP_FMAC1 resqml20__AbstractProperty * SOAP_FMAC2 soap_instantiate_resqml20__Ab for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -102643,7 +100991,7 @@ SOAP_FMAC1 resqml20__obj_USCOREPropertySet * SOAP_FMAC2 soap_instantiate_resqml2 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREPropertySet *p; size_t k = sizeof(resqml20__obj_USCOREPropertySet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREPropertySet, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREPropertySet, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -102658,13 +101006,9 @@ SOAP_FMAC1 resqml20__obj_USCOREPropertySet * SOAP_FMAC2 soap_instantiate_resqml2 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREPropertySet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -102793,7 +101137,7 @@ SOAP_FMAC1 resqml20__IntegerRangeArray * SOAP_FMAC2 soap_instantiate_resqml20__I (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__IntegerRangeArray *p; size_t k = sizeof(resqml20__IntegerRangeArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntegerRangeArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntegerRangeArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -102808,13 +101152,9 @@ SOAP_FMAC1 resqml20__IntegerRangeArray * SOAP_FMAC2 soap_instantiate_resqml20__I for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__IntegerRangeArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -102967,7 +101307,7 @@ SOAP_FMAC1 resqml20__AbstractPropertyLookup * SOAP_FMAC2 soap_instantiate_resqml return soap_instantiate_resqml20__obj_USCOREStringTableLookup(soap, n, NULL, NULL, size); resqml20__AbstractPropertyLookup *p; size_t k = sizeof(resqml20__AbstractPropertyLookup); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractPropertyLookup, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractPropertyLookup, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -102982,13 +101322,9 @@ SOAP_FMAC1 resqml20__AbstractPropertyLookup * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractPropertyLookup location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -103119,7 +101455,7 @@ SOAP_FMAC1 resqml20__AbstractValueArray * SOAP_FMAC2 soap_instantiate_resqml20__ return soap_instantiate_resqml20__BooleanArrayFromDiscretePropertyArray(soap, n, NULL, NULL, size); resqml20__AbstractValueArray *p; size_t k = sizeof(resqml20__AbstractValueArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractValueArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractValueArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -103134,13 +101470,9 @@ SOAP_FMAC1 resqml20__AbstractValueArray * SOAP_FMAC2 soap_instantiate_resqml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractValueArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -103273,7 +101605,7 @@ SOAP_FMAC1 resqml20__PatchOfValues * SOAP_FMAC2 soap_instantiate_resqml20__Patch (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__PatchOfValues *p; size_t k = sizeof(resqml20__PatchOfValues); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PatchOfValues, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PatchOfValues, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -103288,13 +101620,9 @@ SOAP_FMAC1 resqml20__PatchOfValues * SOAP_FMAC2 soap_instantiate_resqml20__Patch for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__PatchOfValues location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -103397,7 +101725,7 @@ SOAP_FMAC1 resqml20__AbstractPropertyKind * SOAP_FMAC2 soap_instantiate_resqml20 return soap_instantiate_resqml20__LocalPropertyKind(soap, n, NULL, NULL, size); resqml20__AbstractPropertyKind *p; size_t k = sizeof(resqml20__AbstractPropertyKind); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractPropertyKind, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractPropertyKind, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -103412,13 +101740,9 @@ SOAP_FMAC1 resqml20__AbstractPropertyKind * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractPropertyKind location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -103542,7 +101866,7 @@ SOAP_FMAC1 resqml20__BooleanHdf5Array * SOAP_FMAC2 soap_instantiate_resqml20__Bo (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__BooleanHdf5Array *p; size_t k = sizeof(resqml20__BooleanHdf5Array); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__BooleanHdf5Array, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__BooleanHdf5Array, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -103557,13 +101881,9 @@ SOAP_FMAC1 resqml20__BooleanHdf5Array * SOAP_FMAC2 soap_instantiate_resqml20__Bo for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__BooleanHdf5Array location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -103687,7 +102007,7 @@ SOAP_FMAC1 resqml20__StringHdf5Array * SOAP_FMAC2 soap_instantiate_resqml20__Str (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__StringHdf5Array *p; size_t k = sizeof(resqml20__StringHdf5Array); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__StringHdf5Array, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__StringHdf5Array, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -103702,13 +102022,9 @@ SOAP_FMAC1 resqml20__StringHdf5Array * SOAP_FMAC2 soap_instantiate_resqml20__Str for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__StringHdf5Array location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -103865,7 +102181,7 @@ SOAP_FMAC1 resqml20__obj_USCOREStringTableLookup * SOAP_FMAC2 soap_instantiate_r (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREStringTableLookup *p; size_t k = sizeof(resqml20__obj_USCOREStringTableLookup); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStringTableLookup, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREStringTableLookup, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -103880,13 +102196,9 @@ SOAP_FMAC1 resqml20__obj_USCOREStringTableLookup * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREStringTableLookup location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -104082,7 +102394,7 @@ SOAP_FMAC1 resqml20__obj_USCOREPropertyKind * SOAP_FMAC2 soap_instantiate_resqml (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREPropertyKind *p; size_t k = sizeof(resqml20__obj_USCOREPropertyKind); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREPropertyKind, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREPropertyKind, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -104097,13 +102409,9 @@ SOAP_FMAC1 resqml20__obj_USCOREPropertyKind * SOAP_FMAC2 soap_instantiate_resqml for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREPropertyKind location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -104230,7 +102538,7 @@ SOAP_FMAC1 resqml20__IntegerLatticeArray * SOAP_FMAC2 soap_instantiate_resqml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__IntegerLatticeArray *p; size_t k = sizeof(resqml20__IntegerLatticeArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntegerLatticeArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntegerLatticeArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -104245,13 +102553,9 @@ SOAP_FMAC1 resqml20__IntegerLatticeArray * SOAP_FMAC2 soap_instantiate_resqml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__IntegerLatticeArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -104358,7 +102662,7 @@ SOAP_FMAC1 resqml20__AbstractDoubleArray * SOAP_FMAC2 soap_instantiate_resqml20_ return soap_instantiate_resqml20__DoubleHdf5Array(soap, n, NULL, NULL, size); resqml20__AbstractDoubleArray *p; size_t k = sizeof(resqml20__AbstractDoubleArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractDoubleArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__AbstractDoubleArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -104373,13 +102677,9 @@ SOAP_FMAC1 resqml20__AbstractDoubleArray * SOAP_FMAC2 soap_instantiate_resqml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__AbstractDoubleArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -104637,7 +102937,7 @@ SOAP_FMAC1 resqml20__obj_USCORECategoricalProperty * SOAP_FMAC2 soap_instantiate return soap_instantiate_resqml20__obj_USCORECategoricalPropertySeries(soap, n, NULL, NULL, size); resqml20__obj_USCORECategoricalProperty *p; size_t k = sizeof(resqml20__obj_USCORECategoricalProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORECategoricalProperty, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORECategoricalProperty, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -104652,13 +102952,9 @@ SOAP_FMAC1 resqml20__obj_USCORECategoricalProperty * SOAP_FMAC2 soap_instantiate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORECategoricalProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -104917,7 +103213,7 @@ SOAP_FMAC1 resqml20__obj_USCOREDiscreteProperty * SOAP_FMAC2 soap_instantiate_re return soap_instantiate_resqml20__obj_USCOREDiscretePropertySeries(soap, n, NULL, NULL, size); resqml20__obj_USCOREDiscreteProperty *p; size_t k = sizeof(resqml20__obj_USCOREDiscreteProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREDiscreteProperty, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREDiscreteProperty, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -104932,13 +103228,9 @@ SOAP_FMAC1 resqml20__obj_USCOREDiscreteProperty * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREDiscreteProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -105192,7 +103484,7 @@ SOAP_FMAC1 resqml20__obj_USCORECommentProperty * SOAP_FMAC2 soap_instantiate_res return soap_instantiate_resqml20__obj_USCORECommentPropertySeries(soap, n, NULL, NULL, size); resqml20__obj_USCORECommentProperty *p; size_t k = sizeof(resqml20__obj_USCORECommentProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORECommentProperty, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCORECommentProperty, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -105207,13 +103499,9 @@ SOAP_FMAC1 resqml20__obj_USCORECommentProperty * SOAP_FMAC2 soap_instantiate_res for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCORECommentProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -105346,7 +103634,7 @@ SOAP_FMAC1 resqml20__PatchOfPoints * SOAP_FMAC2 soap_instantiate_resqml20__Patch (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__PatchOfPoints *p; size_t k = sizeof(resqml20__PatchOfPoints); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PatchOfPoints, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PatchOfPoints, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -105361,13 +103649,9 @@ SOAP_FMAC1 resqml20__PatchOfPoints * SOAP_FMAC2 soap_instantiate_resqml20__Patch for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__PatchOfPoints location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -105491,7 +103775,7 @@ SOAP_FMAC1 resqml20__DoubleHdf5Array * SOAP_FMAC2 soap_instantiate_resqml20__Dou (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__DoubleHdf5Array *p; size_t k = sizeof(resqml20__DoubleHdf5Array); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__DoubleHdf5Array, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__DoubleHdf5Array, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -105506,13 +103790,9 @@ SOAP_FMAC1 resqml20__DoubleHdf5Array * SOAP_FMAC2 soap_instantiate_resqml20__Dou for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__DoubleHdf5Array location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -105641,7 +103921,7 @@ SOAP_FMAC1 resqml20__DoubleConstantArray * SOAP_FMAC2 soap_instantiate_resqml20_ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__DoubleConstantArray *p; size_t k = sizeof(resqml20__DoubleConstantArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__DoubleConstantArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__DoubleConstantArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -105656,13 +103936,9 @@ SOAP_FMAC1 resqml20__DoubleConstantArray * SOAP_FMAC2 soap_instantiate_resqml20_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__DoubleConstantArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -105789,7 +104065,7 @@ SOAP_FMAC1 resqml20__DoubleLatticeArray * SOAP_FMAC2 soap_instantiate_resqml20__ (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__DoubleLatticeArray *p; size_t k = sizeof(resqml20__DoubleLatticeArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__DoubleLatticeArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__DoubleLatticeArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -105804,13 +104080,9 @@ SOAP_FMAC1 resqml20__DoubleLatticeArray * SOAP_FMAC2 soap_instantiate_resqml20__ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__DoubleLatticeArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -106047,7 +104319,7 @@ SOAP_FMAC1 resqml20__obj_USCOREPointsProperty * SOAP_FMAC2 soap_instantiate_resq (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREPointsProperty *p; size_t k = sizeof(resqml20__obj_USCOREPointsProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREPointsProperty, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREPointsProperty, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -106062,13 +104334,9 @@ SOAP_FMAC1 resqml20__obj_USCOREPointsProperty * SOAP_FMAC2 soap_instantiate_resq for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREPointsProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -106197,7 +104465,7 @@ SOAP_FMAC1 resqml20__StringLookup * SOAP_FMAC2 soap_instantiate_resqml20__String (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__StringLookup *p; size_t k = sizeof(resqml20__StringLookup); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__StringLookup, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__StringLookup, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -106212,13 +104480,9 @@ SOAP_FMAC1 resqml20__StringLookup * SOAP_FMAC2 soap_instantiate_resqml20__String for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__StringLookup location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -106487,7 +104751,7 @@ SOAP_FMAC1 resqml20__obj_USCOREContinuousProperty * SOAP_FMAC2 soap_instantiate_ return soap_instantiate_resqml20__obj_USCOREContinuousPropertySeries(soap, n, NULL, NULL, size); resqml20__obj_USCOREContinuousProperty *p; size_t k = sizeof(resqml20__obj_USCOREContinuousProperty); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREContinuousProperty, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREContinuousProperty, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -106502,13 +104766,9 @@ SOAP_FMAC1 resqml20__obj_USCOREContinuousProperty * SOAP_FMAC2 soap_instantiate_ for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREContinuousProperty location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -106642,7 +104902,7 @@ SOAP_FMAC1 resqml20__IntegerHdf5Array * SOAP_FMAC2 soap_instantiate_resqml20__In (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__IntegerHdf5Array *p; size_t k = sizeof(resqml20__IntegerHdf5Array); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntegerHdf5Array, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntegerHdf5Array, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -106657,13 +104917,9 @@ SOAP_FMAC1 resqml20__IntegerHdf5Array * SOAP_FMAC2 soap_instantiate_resqml20__In for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__IntegerHdf5Array location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -106792,7 +105048,7 @@ SOAP_FMAC1 resqml20__PropertyKindFacet * SOAP_FMAC2 soap_instantiate_resqml20__P (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__PropertyKindFacet *p; size_t k = sizeof(resqml20__PropertyKindFacet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PropertyKindFacet, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__PropertyKindFacet, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -106807,13 +105063,9 @@ SOAP_FMAC1 resqml20__PropertyKindFacet * SOAP_FMAC2 soap_instantiate_resqml20__P for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__PropertyKindFacet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -106970,7 +105222,7 @@ SOAP_FMAC1 resqml20__obj_USCOREDoubleTableLookup * SOAP_FMAC2 soap_instantiate_r (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__obj_USCOREDoubleTableLookup *p; size_t k = sizeof(resqml20__obj_USCOREDoubleTableLookup); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREDoubleTableLookup, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__obj_USCOREDoubleTableLookup, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -106985,13 +105237,9 @@ SOAP_FMAC1 resqml20__obj_USCOREDoubleTableLookup * SOAP_FMAC2 soap_instantiate_r for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__obj_USCOREDoubleTableLookup location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -107120,7 +105368,7 @@ SOAP_FMAC1 resqml20__IntegerConstantArray * SOAP_FMAC2 soap_instantiate_resqml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__IntegerConstantArray *p; size_t k = sizeof(resqml20__IntegerConstantArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntegerConstantArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntegerConstantArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -107135,13 +105383,9 @@ SOAP_FMAC1 resqml20__IntegerConstantArray * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__IntegerConstantArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -107271,7 +105515,7 @@ SOAP_FMAC1 resqml20__BooleanConstantArray * SOAP_FMAC2 soap_instantiate_resqml20 (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__BooleanConstantArray *p; size_t k = sizeof(resqml20__BooleanConstantArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__BooleanConstantArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__BooleanConstantArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -107286,13 +105530,9 @@ SOAP_FMAC1 resqml20__BooleanConstantArray * SOAP_FMAC2 soap_instantiate_resqml20 for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__BooleanConstantArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -107437,7 +105677,7 @@ SOAP_FMAC1 resqml20__BooleanArrayFromIndexArray * SOAP_FMAC2 soap_instantiate_re (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__BooleanArrayFromIndexArray *p; size_t k = sizeof(resqml20__BooleanArrayFromIndexArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__BooleanArrayFromIndexArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__BooleanArrayFromIndexArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -107452,13 +105692,9 @@ SOAP_FMAC1 resqml20__BooleanArrayFromIndexArray * SOAP_FMAC2 soap_instantiate_re for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__BooleanArrayFromIndexArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -107592,7 +105828,7 @@ SOAP_FMAC1 resqml20__IntegerArrayFromBooleanMaskArray * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ resqml20__IntegerArrayFromBooleanMaskArray *p; size_t k = sizeof(resqml20__IntegerArrayFromBooleanMaskArray); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntegerArrayFromBooleanMaskArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntegerArrayFromBooleanMaskArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -107607,13 +105843,9 @@ SOAP_FMAC1 resqml20__IntegerArrayFromBooleanMaskArray * SOAP_FMAC2 soap_instanti for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated resqml20__IntegerArrayFromBooleanMaskArray location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -107736,7 +105968,7 @@ SOAP_FMAC1 std::string * SOAP_FMAC2 soap_instantiate_std__string(struct soap *so (void)type; (void)arrayType; /* appease -Wall -Werror */ std::string *p; size_t k = sizeof(std::string); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__string, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__string, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -107746,13 +105978,9 @@ SOAP_FMAC1 std::string * SOAP_FMAC2 soap_instantiate_std__string(struct soap *so { p = SOAP_NEW_ARRAY(soap, std::string, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::string location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -107931,7 +106159,7 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault( (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Fault *p; size_t k = sizeof(struct SOAP_ENV__Fault); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_SOAP_ENV__Fault, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_SOAP_ENV__Fault, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -107941,13 +106169,9 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault( { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Fault, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Fault location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -108040,7 +106264,7 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reaso (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Reason *p; size_t k = sizeof(struct SOAP_ENV__Reason); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_SOAP_ENV__Reason, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_SOAP_ENV__Reason, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -108050,13 +106274,9 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reaso { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Reason, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Reason location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -108158,7 +106378,7 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detai (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Detail *p; size_t k = sizeof(struct SOAP_ENV__Detail); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_SOAP_ENV__Detail, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_SOAP_ENV__Detail, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -108168,13 +106388,9 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detai { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Detail, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Detail location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -108278,7 +106494,7 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(st (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Code *p; size_t k = sizeof(struct SOAP_ENV__Code); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_SOAP_ENV__Code, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_SOAP_ENV__Code, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -108288,13 +106504,9 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(st { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Code, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Code location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -108374,7 +106586,7 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Heade (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Header *p; size_t k = sizeof(struct SOAP_ENV__Header); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_SOAP_ENV__Header, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_SOAP_ENV__Header, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -108384,13 +106596,9 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Heade { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Header, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Header location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -108488,7 +106696,7 @@ SOAP_FMAC1 struct __resqml20__OverlapVolume_sequence * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ struct __resqml20__OverlapVolume_sequence *p; size_t k = sizeof(struct __resqml20__OverlapVolume_sequence); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1___resqml20__OverlapVolume_sequence, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1___resqml20__OverlapVolume_sequence, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -108498,13 +106706,9 @@ SOAP_FMAC1 struct __resqml20__OverlapVolume_sequence * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, struct __resqml20__OverlapVolume_sequence, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __resqml20__OverlapVolume_sequence location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -108611,7 +106815,7 @@ SOAP_FMAC1 struct __resqml20__CellOverlap_sequence * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ struct __resqml20__CellOverlap_sequence *p; size_t k = sizeof(struct __resqml20__CellOverlap_sequence); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1___resqml20__CellOverlap_sequence, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1___resqml20__CellOverlap_sequence, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -108621,13 +106825,9 @@ SOAP_FMAC1 struct __resqml20__CellOverlap_sequence * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, struct __resqml20__CellOverlap_sequence, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __resqml20__CellOverlap_sequence location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -108723,7 +106923,7 @@ SOAP_FMAC1 struct __resqml20__KGaps_sequence * SOAP_FMAC2 soap_instantiate___res (void)type; (void)arrayType; /* appease -Wall -Werror */ struct __resqml20__KGaps_sequence *p; size_t k = sizeof(struct __resqml20__KGaps_sequence); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1___resqml20__KGaps_sequence, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1___resqml20__KGaps_sequence, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -108733,13 +106933,9 @@ SOAP_FMAC1 struct __resqml20__KGaps_sequence * SOAP_FMAC2 soap_instantiate___res { p = SOAP_NEW_ARRAY(soap, struct __resqml20__KGaps_sequence, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __resqml20__KGaps_sequence location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -108861,7 +107057,7 @@ SOAP_FMAC1 struct __resqml20__IjGaps_sequence * SOAP_FMAC2 soap_instantiate___re (void)type; (void)arrayType; /* appease -Wall -Werror */ struct __resqml20__IjGaps_sequence *p; size_t k = sizeof(struct __resqml20__IjGaps_sequence); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1___resqml20__IjGaps_sequence, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1___resqml20__IjGaps_sequence, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -108871,13 +107067,9 @@ SOAP_FMAC1 struct __resqml20__IjGaps_sequence * SOAP_FMAC2 soap_instantiate___re { p = SOAP_NEW_ARRAY(soap, struct __resqml20__IjGaps_sequence, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __resqml20__IjGaps_sequence location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -108906,7 +107098,7 @@ SOAP_FMAC1 struct tm * SOAP_FMAC2 soap_instantiate_xsd__dateTime(struct soap *so (void)type; (void)arrayType; /* appease -Wall -Werror */ struct tm *p; size_t k = sizeof(struct tm); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_xsd__dateTime, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_xsd__dateTime, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -108916,13 +107108,9 @@ SOAP_FMAC1 struct tm * SOAP_FMAC2 soap_instantiate_xsd__dateTime(struct soap *so { p = SOAP_NEW_ARRAY(soap, struct tm, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct tm location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -109078,7 +107266,7 @@ SOAP_FMAC1 struct tm * SOAP_FMAC2 soap_instantiate_tm(struct soap *soap, int n, (void)type; (void)arrayType; /* appease -Wall -Werror */ struct tm *p; size_t k = sizeof(struct tm); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_tm, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_tm, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -109088,13 +107276,9 @@ SOAP_FMAC1 struct tm * SOAP_FMAC2 soap_instantiate_tm(struct soap *soap, int n, { p = SOAP_NEW_ARRAY(soap, struct tm, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct tm location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -117666,7 +115850,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__SealedContactRepresentationPart, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__SealedContactRepresentationPart, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -117676,13 +115860,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -117758,7 +115938,7 @@ SOAP_FMAC1 std::vector * SOAP_FM (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__AbstractContactRepresentationPart, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__AbstractContactRepresentationPart, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -117768,13 +115948,9 @@ SOAP_FMAC1 std::vector * SOAP_FM { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -117850,7 +116026,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__GeologicUnitInterpretationIndex, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__GeologicUnitInterpretationIndex, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -117860,13 +116036,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -117942,7 +116114,7 @@ SOAP_FMAC1 std::vector * SOAP (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__StratigraphicUnitInterpretationIndex, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__StratigraphicUnitInterpretationIndex, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -117952,13 +116124,9 @@ SOAP_FMAC1 std::vector * SOAP { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -118034,7 +116202,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__Grid2dPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__Grid2dPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -118044,13 +116212,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -118126,7 +116290,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__VolumeRegion, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__VolumeRegion, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -118136,13 +116300,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -118218,7 +116378,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ContactIdentity, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ContactIdentity, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -118228,13 +116388,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -118310,7 +116466,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__AbstractPlaneGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__AbstractPlaneGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -118320,13 +116476,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -118402,7 +116554,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__TrianglePatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__TrianglePatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -118412,13 +116564,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -118494,7 +116642,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__WellboreMarker, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__WellboreMarker, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -118504,13 +116652,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -118586,7 +116730,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__FaultThrow, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__FaultThrow, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -118596,13 +116740,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -118678,7 +116818,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__HorizonInterpretationIndex, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__HorizonInterpretationIndex, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -118688,13 +116828,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -118768,7 +116904,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfresqml20__BoundaryRelation, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfresqml20__BoundaryRelation, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -118778,13 +116914,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -118860,7 +116992,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__GpGridUnstructuredGridPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__GpGridUnstructuredGridPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -118870,13 +117002,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 so { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -118952,7 +117080,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__GpGridColumnLayerGrid, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__GpGridColumnLayerGrid, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -118962,13 +117090,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_ins { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -119042,7 +117166,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTemplat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfxsd__integer, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfxsd__integer, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -119052,13 +117176,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTemplat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -119132,7 +117252,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTemplat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfdouble, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfdouble, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -119142,13 +117262,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTemplat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -119224,7 +117340,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__PatchBoundaries, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__PatchBoundaries, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -119234,13 +117350,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -119316,7 +117428,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__PolylineSetPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__PolylineSetPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -119326,13 +117438,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -119408,7 +117516,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__NodePatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__NodePatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -119418,13 +117526,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -119500,7 +117604,7 @@ SOAP_FMAC1 std::vector * SOAP_FM (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__AbstractContactInterpretationPart, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__AbstractContactInterpretationPart, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -119510,13 +117614,9 @@ SOAP_FMAC1 std::vector * SOAP_FM { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -119592,7 +117692,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__SubRepresentationPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__SubRepresentationPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -119602,13 +117702,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -119684,7 +117780,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__PatchOfGeometry, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__PatchOfGeometry, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -119694,13 +117790,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -119776,7 +117868,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__PropertyKindFacet, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__PropertyKindFacet, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -119786,13 +117878,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -119868,7 +117956,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__PatchOfValues, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__PatchOfValues, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -119878,13 +117966,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -119960,7 +118044,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__StringLookup, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__StringLookup, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -119970,13 +118054,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -120052,7 +118132,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__PatchOfPoints, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__PatchOfPoints, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120062,13 +118142,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -120144,7 +118220,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__DoubleLookup, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__DoubleLookup, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120154,13 +118230,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -120236,7 +118308,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ParameterTemplate, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ParameterTemplate, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120246,13 +118318,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -120328,7 +118396,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__Timestamp, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__Timestamp, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120338,13 +118406,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -120420,7 +118484,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ChronostratigraphicRank, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ChronostratigraphicRank, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120430,13 +118494,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_i { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -120512,7 +118572,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__RepresentationIdentity, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__RepresentationIdentity, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120522,13 +118582,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_in { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -120604,7 +118660,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__EdgePatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__EdgePatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120614,13 +118670,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -120696,7 +118748,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__NameValuePair, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__NameValuePair, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120706,13 +118758,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -120788,7 +118836,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__AdditionalGridPoints, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__AdditionalGridPoints, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120798,13 +118846,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -120880,7 +118924,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ElementIndices, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ElementIndices, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120890,13 +118934,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -120972,7 +119012,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ThreePoint3d, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ThreePoint3d, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -120982,13 +119022,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121064,7 +119100,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__IntegerConstantArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__IntegerConstantArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121074,13 +119110,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121156,7 +119188,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__DoubleConstantArray, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__DoubleConstantArray, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121166,13 +119198,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121248,7 +119276,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ContactPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ContactPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121258,13 +119286,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121338,7 +119362,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTempla (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfxsd__nonNegativeInteger, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfxsd__nonNegativeInteger, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121348,13 +119372,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTempla { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121430,7 +119450,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ColumnSubnodePatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ColumnSubnodePatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121440,13 +119460,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121522,7 +119538,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__Point3dOffset, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__Point3dOffset, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121532,13 +119548,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121614,7 +119626,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToptm__equivalentPropertyType, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToptm__equivalentPropertyType, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121624,13 +119636,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121706,7 +119714,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToptm__standardEnergisticsPropertyType, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToptm__standardEnergisticsPropertyType, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121716,13 +119724,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soa { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121798,7 +119802,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToeml20__ObjectAlias, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToeml20__ObjectAlias, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121808,13 +119812,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121888,7 +119888,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTemplat (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOf_XML, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOf_XML, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121898,13 +119898,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTemplat { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -121980,7 +119976,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__AbstractParameterKey, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__AbstractParameterKey, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -121990,13 +119986,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -122072,7 +120064,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__AbstractActivityParameter, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__AbstractActivityParameter, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -122082,13 +120074,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -122162,7 +120150,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfresqml20__ParameterKind, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfresqml20__ParameterKind, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -122172,13 +120160,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -122266,7 +120250,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfstd__string, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfstd__string, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -122276,13 +120260,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -122358,7 +120338,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__OrientedMacroFace, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__OrientedMacroFace, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -122368,13 +120348,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instant { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -122450,7 +120426,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__VolumeShell, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__VolumeShell, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -122460,13 +120436,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -122540,7 +120512,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfresqml20__ThrowKind, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfresqml20__ThrowKind, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -122550,13 +120522,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -122632,7 +120600,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToeml20__DataObjectReference, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToeml20__DataObjectReference, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -122642,13 +120610,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instanti { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -122724,7 +120688,7 @@ SOAP_FMAC1 std::vector * SO (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__GpGridUnstructuredColumnLayerGridPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__GpGridUnstructuredColumnLayerGridPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -122734,13 +120698,9 @@ SOAP_FMAC1 std::vector * SO { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -122816,7 +120776,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__GpGridIjkGridPatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__GpGridIjkGridPatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -122826,13 +120786,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instan { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -122908,7 +120864,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__UniformSubnodePatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__UniformSubnodePatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -122918,13 +120874,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_insta { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -123000,7 +120952,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__VariableSubnodePatch, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__VariableSubnodePatch, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -123010,13 +120962,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_inst { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -123092,7 +121040,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ElementIdentity, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__ElementIdentity, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -123102,13 +121050,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantia { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -123184,7 +121128,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__Point3d, n, gsoap_resqml2_0_1_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_resqml2_0_1_std__vectorTemplateOfPointerToresqml20__Point3d, n, gsoap_resqml2_0_1_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -123194,13 +121138,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } diff --git a/src/proxies/gsoap_resqml2_0_1H.h b/src/proxies/gsoap_resqml2_0_1H.h index fa1c134c4..5812f9633 100644 --- a/src/proxies/gsoap_resqml2_0_1H.h +++ b/src/proxies/gsoap_resqml2_0_1H.h @@ -1,8 +1,8 @@ /* gsoap_resqml2_0_1H.h - Generated by gSOAP 2.8.139E for resqml2_0_1ForGsoap.h + Generated by gSOAP 2.8.140E for resqml2_0_1ForGsoap.h gSOAP XML Web services tools -Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved. +Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved. The soapcpp2 tool is licensed for commercial use and protected by law. ** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED. -------------------------------------------------------------------------------- diff --git a/src/proxies/gsoap_resqml2_0_1Stub.h b/src/proxies/gsoap_resqml2_0_1Stub.h index b344197b8..4a991620e 100644 --- a/src/proxies/gsoap_resqml2_0_1Stub.h +++ b/src/proxies/gsoap_resqml2_0_1Stub.h @@ -1,8 +1,8 @@ /* gsoap_resqml2_0_1Stub.h - Generated by gSOAP 2.8.139E for resqml2_0_1ForGsoap.h + Generated by gSOAP 2.8.140E for resqml2_0_1ForGsoap.h gSOAP XML Web services tools -Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved. +Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved. The soapcpp2 tool is licensed for commercial use and protected by law. ** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED. -------------------------------------------------------------------------------- @@ -22,8 +22,8 @@ Product and source code licensed by Genivia Inc., contact@genivia.com #define WITH_NOGLOBAL #endif #include "stdsoap2.h" -#if GSOAP_VERSION != 208139 -# error "GSOAP VERSION 208139 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE" +#if GSOAP_VERSION != 208140 +# error "GSOAP VERSION 208140 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE" #endif diff --git a/src/proxies/gsoap_uom1_0C.cpp b/src/proxies/gsoap_uom1_0C.cpp index dc682024b..d12532f82 100644 --- a/src/proxies/gsoap_uom1_0C.cpp +++ b/src/proxies/gsoap_uom1_0C.cpp @@ -1,8 +1,8 @@ /* gsoap_uom1_0C.cpp - Generated by gSOAP 2.8.139E for uom1_0ForGsoap.h + Generated by gSOAP 2.8.140E for uom1_0ForGsoap.h gSOAP XML Web services tools -Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved. +Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved. The soapcpp2 tool is licensed for commercial use and protected by law. ** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED. -------------------------------------------------------------------------------- @@ -27,7 +27,7 @@ Product and source code licensed by Genivia Inc., contact@genivia.com namespace gsoap_uom1_0 { -SOAP_SOURCE_STAMP("@(#) gsoap_uom1_0C.cpp ver 2.8.139E 2025-09-19 16:13:39 GMT") +SOAP_SOURCE_STAMP("@(#) gsoap_uom1_0C.cpp ver 2.8.140E 2026-02-16 09:13:50 GMT") #ifndef WITH_NOGLOBAL @@ -2671,7 +2671,7 @@ SOAP_FMAC1 std::string * SOAP_FMAC2 soap_instantiate_std__string(struct soap *so (void)type; (void)arrayType; /* appease -Wall -Werror */ std::string *p; size_t k = sizeof(std::string); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_std__string, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_std__string, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -2681,13 +2681,9 @@ SOAP_FMAC1 std::string * SOAP_FMAC2 soap_instantiate_std__string(struct soap *so { p = SOAP_NEW_ARRAY(soap, std::string, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::string location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -2769,7 +2765,7 @@ SOAP_FMAC1 uom10__unitCodeStruct * SOAP_FMAC2 soap_instantiate_uom10__unitCodeSt (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__unitCodeStruct *p; size_t k = sizeof(uom10__unitCodeStruct); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unitCodeStruct, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unitCodeStruct, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -2784,13 +2780,9 @@ SOAP_FMAC1 uom10__unitCodeStruct * SOAP_FMAC2 soap_instantiate_uom10__unitCodeSt for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__unitCodeStruct location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -2889,7 +2881,7 @@ SOAP_FMAC1 uom10__emptyElement * SOAP_FMAC2 soap_instantiate_uom10__emptyElement (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__emptyElement *p; size_t k = sizeof(uom10__emptyElement); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__emptyElement, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__emptyElement, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -2904,13 +2896,9 @@ SOAP_FMAC1 uom10__emptyElement * SOAP_FMAC2 soap_instantiate_uom10__emptyElement for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__emptyElement location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -3041,7 +3029,7 @@ SOAP_FMAC1 uom10__mapFromToClass * SOAP_FMAC2 soap_instantiate_uom10__mapFromToC (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__mapFromToClass *p; size_t k = sizeof(uom10__mapFromToClass); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__mapFromToClass, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__mapFromToClass, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -3056,13 +3044,9 @@ SOAP_FMAC1 uom10__mapFromToClass * SOAP_FMAC2 soap_instantiate_uom10__mapFromToC for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__mapFromToClass location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -3215,7 +3199,7 @@ SOAP_FMAC1 uom10__classMappingSet * SOAP_FMAC2 soap_instantiate_uom10__classMapp (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__classMappingSet *p; size_t k = sizeof(uom10__classMappingSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__classMappingSet, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__classMappingSet, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -3230,13 +3214,9 @@ SOAP_FMAC1 uom10__classMappingSet * SOAP_FMAC2 soap_instantiate_uom10__classMapp for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__classMappingSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -3388,7 +3368,7 @@ SOAP_FMAC1 uom10__mapFromToUnit * SOAP_FMAC2 soap_instantiate_uom10__mapFromToUn (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__mapFromToUnit *p; size_t k = sizeof(uom10__mapFromToUnit); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__mapFromToUnit, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__mapFromToUnit, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -3403,13 +3383,9 @@ SOAP_FMAC1 uom10__mapFromToUnit * SOAP_FMAC2 soap_instantiate_uom10__mapFromToUn for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__mapFromToUnit location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -3562,7 +3538,7 @@ SOAP_FMAC1 uom10__unitMappingSet * SOAP_FMAC2 soap_instantiate_uom10__unitMappin (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__unitMappingSet *p; size_t k = sizeof(uom10__unitMappingSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unitMappingSet, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unitMappingSet, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -3577,13 +3553,9 @@ SOAP_FMAC1 uom10__unitMappingSet * SOAP_FMAC2 soap_instantiate_uom10__unitMappin for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__unitMappingSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -3723,7 +3695,7 @@ SOAP_FMAC1 uom10__unitCode * SOAP_FMAC2 soap_instantiate_uom10__unitCode(struct (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__unitCode *p; size_t k = sizeof(uom10__unitCode); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unitCode, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unitCode, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -3738,13 +3710,9 @@ SOAP_FMAC1 uom10__unitCode * SOAP_FMAC2 soap_instantiate_uom10__unitCode(struct for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__unitCode location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -3899,7 +3867,7 @@ SOAP_FMAC1 uom10__classCode * SOAP_FMAC2 soap_instantiate_uom10__classCode(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__classCode *p; size_t k = sizeof(uom10__classCode); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__classCode, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__classCode, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -3914,13 +3882,9 @@ SOAP_FMAC1 uom10__classCode * SOAP_FMAC2 soap_instantiate_uom10__classCode(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__classCode location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -4035,7 +3999,7 @@ SOAP_FMAC1 uom10__unitCodeSet * SOAP_FMAC2 soap_instantiate_uom10__unitCodeSet(s (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__unitCodeSet *p; size_t k = sizeof(uom10__unitCodeSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unitCodeSet, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unitCodeSet, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -4050,13 +4014,9 @@ SOAP_FMAC1 uom10__unitCodeSet * SOAP_FMAC2 soap_instantiate_uom10__unitCodeSet(s for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__unitCodeSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -4171,7 +4131,7 @@ SOAP_FMAC1 uom10__classCodeSet * SOAP_FMAC2 soap_instantiate_uom10__classCodeSet (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__classCodeSet *p; size_t k = sizeof(uom10__classCodeSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__classCodeSet, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__classCodeSet, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -4186,13 +4146,9 @@ SOAP_FMAC1 uom10__classCodeSet * SOAP_FMAC2 soap_instantiate_uom10__classCodeSet for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__classCodeSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -4367,7 +4323,7 @@ SOAP_FMAC1 uom10__integerCodeSet * SOAP_FMAC2 soap_instantiate_uom10__integerCod (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__integerCodeSet *p; size_t k = sizeof(uom10__integerCodeSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__integerCodeSet, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__integerCodeSet, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -4382,13 +4338,9 @@ SOAP_FMAC1 uom10__integerCodeSet * SOAP_FMAC2 soap_instantiate_uom10__integerCod for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__integerCodeSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -4542,7 +4494,7 @@ SOAP_FMAC1 uom10__prefix * SOAP_FMAC2 soap_instantiate_uom10__prefix(struct soap (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__prefix *p; size_t k = sizeof(uom10__prefix); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__prefix, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__prefix, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -4557,13 +4509,9 @@ SOAP_FMAC1 uom10__prefix * SOAP_FMAC2 soap_instantiate_uom10__prefix(struct soap for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__prefix location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -4682,7 +4630,7 @@ SOAP_FMAC1 uom10__prefixSet * SOAP_FMAC2 soap_instantiate_uom10__prefixSet(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__prefixSet *p; size_t k = sizeof(uom10__prefixSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__prefixSet, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__prefixSet, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -4697,13 +4645,9 @@ SOAP_FMAC1 uom10__prefixSet * SOAP_FMAC2 soap_instantiate_uom10__prefixSet(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__prefixSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -4834,7 +4778,7 @@ SOAP_FMAC1 uom10__reference * SOAP_FMAC2 soap_instantiate_uom10__reference(struc (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__reference *p; size_t k = sizeof(uom10__reference); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__reference, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__reference, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -4849,13 +4793,9 @@ SOAP_FMAC1 uom10__reference * SOAP_FMAC2 soap_instantiate_uom10__reference(struc for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__reference location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -4974,7 +4914,7 @@ SOAP_FMAC1 uom10__referenceSet * SOAP_FMAC2 soap_instantiate_uom10__referenceSet (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__referenceSet *p; size_t k = sizeof(uom10__referenceSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__referenceSet, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__referenceSet, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -4989,13 +4929,9 @@ SOAP_FMAC1 uom10__referenceSet * SOAP_FMAC2 soap_instantiate_uom10__referenceSet for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__referenceSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -5270,7 +5206,7 @@ SOAP_FMAC1 uom10__unit * SOAP_FMAC2 soap_instantiate_uom10__unit(struct soap *so (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__unit *p; size_t k = sizeof(uom10__unit); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unit, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unit, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -5285,13 +5221,9 @@ SOAP_FMAC1 uom10__unit * SOAP_FMAC2 soap_instantiate_uom10__unit(struct soap *so for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__unit location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -5410,7 +5342,7 @@ SOAP_FMAC1 uom10__unitSet * SOAP_FMAC2 soap_instantiate_uom10__unitSet(struct so (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__unitSet *p; size_t k = sizeof(uom10__unitSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unitSet, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unitSet, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -5425,13 +5357,9 @@ SOAP_FMAC1 uom10__unitSet * SOAP_FMAC2 soap_instantiate_uom10__unitSet(struct so for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__unitSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -5603,7 +5531,7 @@ SOAP_FMAC1 uom10__quantityClass * SOAP_FMAC2 soap_instantiate_uom10__quantityCla (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__quantityClass *p; size_t k = sizeof(uom10__quantityClass); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__quantityClass, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__quantityClass, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -5618,13 +5546,9 @@ SOAP_FMAC1 uom10__quantityClass * SOAP_FMAC2 soap_instantiate_uom10__quantityCla for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__quantityClass location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -5743,7 +5667,7 @@ SOAP_FMAC1 uom10__quantityClassSet * SOAP_FMAC2 soap_instantiate_uom10__quantity (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__quantityClassSet *p; size_t k = sizeof(uom10__quantityClassSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__quantityClassSet, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__quantityClassSet, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -5758,13 +5682,9 @@ SOAP_FMAC1 uom10__quantityClassSet * SOAP_FMAC2 soap_instantiate_uom10__quantity for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__quantityClassSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -5927,7 +5847,7 @@ SOAP_FMAC1 uom10__unitDimension * SOAP_FMAC2 soap_instantiate_uom10__unitDimensi (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__unitDimension *p; size_t k = sizeof(uom10__unitDimension); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unitDimension, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unitDimension, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -5942,13 +5862,9 @@ SOAP_FMAC1 uom10__unitDimension * SOAP_FMAC2 soap_instantiate_uom10__unitDimensi for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__unitDimension location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -6067,7 +5983,7 @@ SOAP_FMAC1 uom10__unitDimensionSet * SOAP_FMAC2 soap_instantiate_uom10__unitDime (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__unitDimensionSet *p; size_t k = sizeof(uom10__unitDimensionSet); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unitDimensionSet, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__unitDimensionSet, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -6082,13 +5998,9 @@ SOAP_FMAC1 uom10__unitDimensionSet * SOAP_FMAC2 soap_instantiate_uom10__unitDime for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__unitDimensionSet location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -6308,7 +6220,7 @@ SOAP_FMAC1 uom10__uomDictionary * SOAP_FMAC2 soap_instantiate_uom10__uomDictiona (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__uomDictionary *p; size_t k = sizeof(uom10__uomDictionary); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__uomDictionary, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__uomDictionary, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -6323,13 +6235,9 @@ SOAP_FMAC1 uom10__uomDictionary * SOAP_FMAC2 soap_instantiate_uom10__uomDictiona for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__uomDictionary location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -6466,7 +6374,7 @@ SOAP_FMAC1 uom10__uomAggregate * SOAP_FMAC2 soap_instantiate_uom10__uomAggregate (void)type; (void)arrayType; /* appease -Wall -Werror */ uom10__uomAggregate *p; size_t k = sizeof(uom10__uomAggregate); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__uomAggregate, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_uom10__uomAggregate, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -6481,13 +6389,9 @@ SOAP_FMAC1 uom10__uomAggregate * SOAP_FMAC2 soap_instantiate_uom10__uomAggregate for (int i = 0; i < n; i++) p[i].soap = soap; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated uom10__uomAggregate location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -6671,7 +6575,7 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault( (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Fault *p; size_t k = sizeof(struct SOAP_ENV__Fault); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_SOAP_ENV__Fault, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_SOAP_ENV__Fault, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -6681,13 +6585,9 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault( { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Fault, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Fault location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -6780,7 +6680,7 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reaso (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Reason *p; size_t k = sizeof(struct SOAP_ENV__Reason); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_SOAP_ENV__Reason, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_SOAP_ENV__Reason, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -6790,13 +6690,9 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reaso { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Reason, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Reason location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -6898,7 +6794,7 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detai (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Detail *p; size_t k = sizeof(struct SOAP_ENV__Detail); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_SOAP_ENV__Detail, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_SOAP_ENV__Detail, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -6908,13 +6804,9 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detai { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Detail, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Detail location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -7018,7 +6910,7 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(st (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Code *p; size_t k = sizeof(struct SOAP_ENV__Code); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_SOAP_ENV__Code, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_SOAP_ENV__Code, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -7028,13 +6920,9 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(st { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Code, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Code location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -7114,7 +7002,7 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Heade (void)type; (void)arrayType; /* appease -Wall -Werror */ struct SOAP_ENV__Header *p; size_t k = sizeof(struct SOAP_ENV__Header); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_SOAP_ENV__Header, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_SOAP_ENV__Header, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -7124,13 +7012,9 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Heade { p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Header, n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Header location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -9043,7 +8927,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__mapFromToClass, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__mapFromToClass, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -9053,13 +8937,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -9135,7 +9015,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__mapFromToUnit, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__mapFromToUnit, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -9145,13 +9025,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -9227,7 +9103,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ve (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__unitCode, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__unitCode, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -9237,13 +9113,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__ve { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -9319,7 +9191,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__v (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__classCode, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__classCode, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -9329,13 +9201,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__v { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -9411,7 +9279,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vect (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__prefix, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__prefix, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -9421,13 +9289,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vect { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -9503,7 +9367,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__v (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__reference, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__reference, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -9513,13 +9377,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__v { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -9595,7 +9455,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vector (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__unit, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__unit, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -9605,13 +9465,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vector { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -9699,7 +9555,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfuom10__symbolString, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfuom10__symbolString, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -9709,13 +9565,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_std__vectorTe { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -9791,7 +9643,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__quantityClass, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__quantityClass, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -9801,13 +9653,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -9883,7 +9731,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__unitDimension, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__unitDimension, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -9893,13 +9741,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_st { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -9975,7 +9819,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__unitMappingSet, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__unitMappingSet, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -9985,13 +9829,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_s { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } @@ -10067,7 +9907,7 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ (void)type; (void)arrayType; /* appease -Wall -Werror */ std::vector *p; size_t k = sizeof(std::vector ); - struct soap_clist *cp = soap_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__classMappingSet, n, gsoap_uom1_0_fdelete); + struct soap_clist *cp = soap_new_link(soap, SOAP_TYPE_gsoap_uom1_0_std__vectorTemplateOfPointerTouom10__classMappingSet, n, gsoap_uom1_0_fdelete); if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE) return NULL; if (n < 0) @@ -10077,13 +9917,9 @@ SOAP_FMAC1 std::vector * SOAP_FMAC2 soap_instantiate_ { p = SOAP_NEW_ARRAY(soap, std::vector , n); k *= n; } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated std::vector location=%p n=%d\n", (void*)p, n)); if (size) *size = k; - if (!p) - soap->error = SOAP_EOM; - else if (cp) - cp->ptr = (void*)p; + soap_set_link(soap, cp, p); return p; } diff --git a/src/proxies/gsoap_uom1_0H.h b/src/proxies/gsoap_uom1_0H.h index dc8720f44..169d6cea0 100644 --- a/src/proxies/gsoap_uom1_0H.h +++ b/src/proxies/gsoap_uom1_0H.h @@ -1,8 +1,8 @@ /* gsoap_uom1_0H.h - Generated by gSOAP 2.8.139E for uom1_0ForGsoap.h + Generated by gSOAP 2.8.140E for uom1_0ForGsoap.h gSOAP XML Web services tools -Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved. +Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved. The soapcpp2 tool is licensed for commercial use and protected by law. ** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED. -------------------------------------------------------------------------------- diff --git a/src/proxies/gsoap_uom1_0Stub.h b/src/proxies/gsoap_uom1_0Stub.h index 2179ac650..9684f9e89 100644 --- a/src/proxies/gsoap_uom1_0Stub.h +++ b/src/proxies/gsoap_uom1_0Stub.h @@ -1,8 +1,8 @@ /* gsoap_uom1_0Stub.h - Generated by gSOAP 2.8.139E for uom1_0ForGsoap.h + Generated by gSOAP 2.8.140E for uom1_0ForGsoap.h gSOAP XML Web services tools -Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc. All Rights Reserved. +Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved. The soapcpp2 tool is licensed for commercial use and protected by law. ** REDISTRIBUTION, RESALE OR ANY OTHER FORM OF SHARING IS STRICTLY PROHIBITED. -------------------------------------------------------------------------------- @@ -19,8 +19,8 @@ Product and source code licensed by Genivia Inc., contact@genivia.com #define WITH_NOGLOBAL #endif #include "stdsoap2.h" -#if GSOAP_VERSION != 208139 -# error "GSOAP VERSION 208139 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE" +#if GSOAP_VERSION != 208140 +# error "GSOAP VERSION 208140 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE" #endif diff --git a/src/proxies/stdsoap2.cpp b/src/proxies/stdsoap2.cpp index 35cae87dd..21bd43c27 100644 --- a/src/proxies/stdsoap2.cpp +++ b/src/proxies/stdsoap2.cpp @@ -1,10 +1,10 @@ /* - stdsoap2.c[pp] 2.8.139E + stdsoap2.c[pp] 2.8.140E gSOAP runtime engine gSOAP XML Web services tools -Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc., All Rights Reserved. +Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc., All Rights Reserved. This part of the software is released under ONE of the following licenses: -------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ Product and source code licensed by Genivia, Inc., contact@genivia.com -------------------------------------------------------------------------------- */ -#define GSOAP_LIB_VERSION 208139 +#define GSOAP_LIB_VERSION 208140 /* silence GNU's warnings on format nonliteral strings and truncation (snprintf truncates on purpose for safety) */ #ifdef __GNUC__ @@ -62,10 +62,10 @@ Product and source code licensed by Genivia, Inc., contact@genivia.com #endif #ifdef __cplusplus -SOAP_SOURCE_STAMP("@(#) stdsoap2.cpp ver 2.8.139E 2025-07-14 00:00:00 GMT") +SOAP_SOURCE_STAMP("@(#) stdsoap2.cpp ver 2.8.140E 2026-01-21 00:00:00 GMT") extern "C" { #else -SOAP_SOURCE_STAMP("@(#) stdsoap2.c ver 2.8.139E 2025-07-14 00:00:00 GMT") +SOAP_SOURCE_STAMP("@(#) stdsoap2.c ver 2.8.140E 2026-01-21 00:00:00 GMT") #endif /* 8bit character representing unknown character entity or multibyte data */ @@ -89,24 +89,18 @@ SOAP_SOURCE_STAMP("@(#) stdsoap2.c ver 2.8.139E 2025-07-14 00:00:00 GMT") #define soap_coblank(c) ((c)+1 > 0 && (c) <= 32) -#if defined(WIN32) && !defined(UNDER_CE) -#define soap_hash_ptr(p) ((size_t)((PtrToUlong(p) >> 3) & (SOAP_PTRHASH - 1))) -#else -#define soap_hash_ptr(p) ((size_t)(((unsigned long)(p) >> 3) & (SOAP_PTRHASH-1))) +#if !defined(WIN32) || defined(UNDER_CE) +#define PtrToUlong(p) ((unsigned long)p) #endif +#define soap_hash_ptr(p) ((size_t)((PtrToUlong(p) >> 3) & (SOAP_PTRHASH - 1))) + #ifdef SOAP_DEBUG static void soap_init_logs(struct soap*); static void soap_close_logfile(struct soap*, int); static void soap_set_logfile(struct soap*, int, const char*); #endif -#ifdef SOAP_MEM_DEBUG -static void soap_init_mht(struct soap*); -static void soap_free_mht(struct soap*); -static void soap_track_unlink(struct soap*, const void*); -#endif - static int soap_set_error(struct soap*, const char*, const char*, const char*, const char*, int); static int soap_copy_fault(struct soap*, const char*, const char*, const char*, const char*); static int soap_getattrval(struct soap*, char*, size_t*, soap_wchar); @@ -133,16 +127,21 @@ static void soap_free_iht(struct soap*); #endif static void soap_init_pht(struct soap*); static void soap_free_pht(struct soap*); +static void soap_init_cht(struct soap*); +static void soap_free_cht(struct soap*); #ifndef WITH_LEAN static const char *soap_set_validation_fault(struct soap*, const char*, const char*); static int soap_isnumeric(struct soap*, const char*); static struct soap_nlist *soap_push_ns(struct soap *soap, const char *id, const char *ns, short utilized, short isearly); static void soap_utilize_ns(struct soap *soap, const char *tag, short isearly); -static const wchar_t* soap_wstring(struct soap *soap, const char *s, int flag, long minlen, long maxlen, const char *pattern); static wchar_t* soap_wcollapse(struct soap *soap, wchar_t *s, int flag, int insitu); #endif +#ifndef WITH_LEANER +static const wchar_t* soap_wstring(struct soap *soap, const char *s, int flag, long minlen, long maxlen, const char *pattern); +#endif + static const char* soap_string(struct soap *soap, const char *s, int flag, long minlen, long maxlen, const char *pattern); static char* soap_collapse(struct soap *soap, char *s, int flag, int insitu); static const char* soap_QName(struct soap *soap, const char *s, long minlen, long maxlen, const char *pattern); @@ -325,7 +324,7 @@ static const char soap_indent[41] = "\n "; #endif #ifndef SOAP_CANARY -# define SOAP_CANARY (0xC0DE) +# define SOAP_CANARY (0x5AFEC0DE) #endif static const char soap_padding[4] = "\0\0\0"; @@ -7794,19 +7793,6 @@ soap_done(struct soap *soap) return; DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Done with context%s\n", soap->state == SOAP_COPY ? " copy" : "")); soap_free_temp(soap); -#ifdef SOAP_DEBUG - if (soap->clist) - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Warning: managed C++ data was not deallocated with soap_destroy() from the heap managed by context %p\n", (void*)soap)); - if (soap->alist) - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Warning: managed C data was not deallocated with soap_end() from the heap managed by context %p\n", (void*)soap)); -#endif - soap->alist = NULL; - while (soap->clist) - { - struct soap_clist *p = soap->clist->next; - SOAP_FREE(soap, soap->clist); - soap->clist = p; - } if (soap->state == SOAP_INIT) soap->omode &= ~SOAP_IO_UDP; /* to force close the socket */ soap->keep_alive = 0; /* to force close the socket */ @@ -8008,9 +7994,7 @@ soap_done(struct soap *soap) close(soap->pipe_fd[0]); close(soap->pipe_fd[1]); #endif -#ifdef SOAP_MEM_DEBUG - soap_free_mht(soap); -#endif + soap_free_cht(soap); soap->state = SOAP_NONE; } @@ -10070,7 +10054,7 @@ soap_init_pht(struct soap *soap) int i; soap->pblk = NULL; soap->pidx = 0; - for (i = 0; i < (int)SOAP_PTRHASH; i++) + for (i = 0; i < SOAP_PTRHASH; i++) soap->pht[i] = NULL; } @@ -10132,7 +10116,7 @@ soap_free_pht(struct soap *soap) } soap->pblk = NULL; soap->pidx = 0; - for (i = 0; i < (int)SOAP_PTRHASH; i++) + for (i = 0; i < SOAP_PTRHASH; i++) soap->pht[i] = NULL; } @@ -10919,8 +10903,9 @@ void* SOAP_FMAC2 soap_malloc(struct soap *soap, size_t n) { + struct soap_clist *cp; char *p; - size_t k = n; + size_t k; if (SOAP_MAXALLOCSIZE > 0 && n > SOAP_MAXALLOCSIZE) { if (soap) @@ -10929,61 +10914,96 @@ soap_malloc(struct soap *soap, size_t n) } if (!soap) return SOAP_MALLOC(soap, n); - n += sizeof(short); - n += (~n+1) & (sizeof(void*)-1); /* align at 4-, 8- or 16-byte boundary by rounding up */ - if (n + sizeof(void*) + sizeof(size_t) < k) + if (!soap->cblk || soap->cidx >= SOAP_PTRBLK) { - soap->error = SOAP_EOM; - return NULL; +#ifdef SOAP_MEM_DEBUG + struct soap_cblk *pb = (struct soap_cblk*)malloc(sizeof(struct soap_cblk)); +#else + struct soap_cblk *pb = (struct soap_cblk*)SOAP_MALLOC(soap, sizeof(struct soap_cblk)); +#endif + if (!pb) + { + soap->error = SOAP_EOM; + return 0; + } + pb->next = soap->cblk; + soap->cblk = pb; + soap->cidx = 0; } - p = (char*)SOAP_MALLOC(soap, n + sizeof(void*) + sizeof(size_t)); +#ifdef SOAP_MEM_DEBUG + p = (char*)malloc(n + sizeof(unsigned int)); +#else + p = (char*)SOAP_MALLOC(soap, n + sizeof(unsigned int)); +#endif if (!p) { soap->error = SOAP_EOM; return NULL; } - /* set a canary word to detect memory overruns and data corruption */ - *(unsigned short*)(p + n - sizeof(unsigned short)) = (unsigned short)SOAP_CANARY; - /* keep chain of alloced cells for destruction */ - *(void**)(p + n) = soap->alist; - *(size_t*)(p + n + sizeof(void*)) = n; - soap->alist = p + n; + *(unsigned int*)(p + n) = (unsigned int)(SOAP_CANARY ^ PtrToUlong(p)); + cp = &soap->cblk->clist[soap->cidx++]; + k = soap_hash_ptr(p); + cp->next = soap->cht[k]; + soap->cht[k] = cp; + cp->ptr = p; + cp->ref.fdelete = NULL; + cp->size = (LONG64)n; + cp->type = 0; return p; } /******************************************************************************/ -#ifdef SOAP_MEM_DEBUG static void -soap_init_mht(struct soap *soap) +soap_init_cht(struct soap *soap) { int i; - for (i = 0; i < (int)SOAP_PTRHASH; i++) - soap->mht[i] = NULL; + soap->cblk = NULL; + soap->cidx = 0; + for (i = 0; i < SOAP_PTRHASH; i++) + soap->cht[i] = NULL; } -#endif /******************************************************************************/ -#ifdef SOAP_MEM_DEBUG static void -soap_free_mht(struct soap *soap) +soap_free_cht(struct soap *soap) { + struct soap_cblk *pb, *next; +#ifdef SOAP_MEM_DEBUG int i; - struct soap_mlist *mp, *mq; - for (i = 0; i < (int)SOAP_PTRHASH; i++) + for (i = 0; i < SOAP_PTRHASH; i++) { - for (mp = soap->mht[i]; mp; mp = mq) + struct soap_clist *cp = soap->cht[i]; + while (cp) { - mq = mp->next; - if (mp->live) - fprintf(stderr, "%s(%d): malloc() = %p not freed (memory leak or forgot to call soap_end()?)\n", mp->file, mp->line, mp->ptr); - free(mp); + if (soap_is_unmanaged_mem(cp->type)) + { + if (cp->size >= 0) + fprintf(stderr, "%s(%d): malloc() = %p not freed (runtime engine memory leak!)\n", cp->ref.file, (int)cp->size, cp->ptr); + } + else + { + fprintf(stderr, "malloc() = %p not freed, please call soap_end() to delete managed memory\n", cp->ptr); + i = SOAP_PTRHASH; + break; + } + cp = cp->next; } - soap->mht[i] = NULL; } -} #endif + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free memory allocation hashtable\n")); + for (pb = soap->cblk; pb; pb = next) + { + next = pb->next; +#ifdef SOAP_MEM_DEBUG + free(pb); +#else + SOAP_FREE(soap, pb); +#endif + } + soap_init_cht(soap); +} /******************************************************************************/ @@ -10993,22 +11013,29 @@ void* SOAP_FMAC2 soap_track_malloc(struct soap *soap, const char *file, int line, size_t size) { - void *p = malloc(size); - if (soap) + struct soap_clist *cp; + void *p; + size_t k; + if (!soap) + return malloc(size); + if (!soap->cblk || soap->cidx >= SOAP_PTRBLK) { - size_t h = soap_hash_ptr(p); - struct soap_mlist *mp = (struct soap_mlist*)malloc(sizeof(struct soap_mlist)); - if (soap->fdebug[SOAP_INDEX_TEST]) - { - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): malloc(%lu) = %p\n", file, line, (unsigned long)size, p)); - } - mp->next = soap->mht[h]; - mp->ptr = p; - mp->file = file; - mp->line = line; - mp->live = 1; - soap->mht[h] = mp; - } + struct soap_cblk *pb = (struct soap_cblk*)malloc(sizeof(struct soap_cblk)); + if (!pb) + return NULL; + pb->next = soap->cblk; + soap->cblk = pb; + soap->cidx = 0; + } + p = malloc(size); + cp = &soap->cblk->clist[soap->cidx++]; + k = soap_hash_ptr(p); + cp->next = soap->cht[k]; + soap->cht[k] = cp; + cp->ptr = p; + cp->ref.file = file; + cp->size = line; /* ugly reuse for type SOAP_TRACK_MALLOC in DEBUG mode (SOAP_MEM_DEBUG) */ + cp->type = SOAP_TRACK_MALLOC; return p; } #endif @@ -11021,112 +11048,132 @@ void SOAP_FMAC2 soap_track_free(struct soap *soap, const char *file, int line, void *p) { - if (!soap) + if (!p) + { + fprintf(stderr, "%s(%d): attempt to free() a NULL pointer\n", file, line); + } + else if (!soap) { free(p); } else { - size_t h = soap_hash_ptr(p); - struct soap_mlist *mp; - for (mp = soap->mht[h]; mp; mp = mp->next) - if (mp->ptr == p) - break; - if (mp) + struct soap_clist *cp = soap->cht[soap_hash_ptr(p)]; + while (cp) { - if (mp->live) + if (p == cp->ptr && soap_is_unmanaged_mem(cp->type)) { - if (soap->fdebug[SOAP_INDEX_TEST]) + if (cp->size >= 0) { - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): free(%p)\n", file, line, p)); + if (soap->fdebug[SOAP_INDEX_TEST]) + { + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): free(%p)\n", file, line, p)); + } + cp->size = -cp->size; + free(p); } - free(p); - mp->live = 0; - } - else - { - fprintf(stderr, "%s(%d): free(%p) double free of pointer malloced at %s(%d)\n", file, line, p, mp->file, mp->line); + else + { + fprintf(stderr, "%s(%d): free(%p) double free of memory allocated at %s(%d)\n", file, line, p, cp->ref.file, (int)-cp->size); + } + return; } + cp = cp->next; } - else - { - fprintf(stderr, "%s(%d): free(%p) pointer not malloced\n", file, line, p); - } + fprintf(stderr, "%s(%d): free(%p) pointer not allocated\n", file, line, p); } } #endif /******************************************************************************/ -#ifdef SOAP_MEM_DEBUG -static void -soap_track_unlink(struct soap *soap, const void *p) -{ - size_t h = soap_hash_ptr(p); - struct soap_mlist *mp; - for (mp = soap->mht[h]; mp; mp = mp->next) - if (mp->ptr == p) - break; - if (mp) - mp->live = 0; -} -#endif - -/******************************************************************************/ - SOAP_FMAC1 -void +int SOAP_FMAC2 soap_dealloc(struct soap *soap, void *p) { if (soap_check_state(soap)) - return; + return SOAP_OK; if (p) { - char **q; - for (q = (char**)(void*)&soap->alist; *q; q = *(char***)q) + struct soap_clist **q = &soap->cht[soap_hash_ptr(p)]; + struct soap_clist *cp = *q; + while (cp) { - if (*(unsigned short*)(char*)(*q - sizeof(unsigned short)) != (unsigned short)SOAP_CANARY) + if (p == cp->ptr && !soap_is_unmanaged_mem(cp->type)) { + *q = cp->next; + if (cp->ref.fdelete) + { + cp->ref.fdelete(soap, cp); + } + else + { + if (*(unsigned int*)((char*)p + cp->size) != (unsigned int)(SOAP_CANARY ^ PtrToUlong(p))) + { #ifdef SOAP_MEM_DEBUG - fprintf(stderr, "Data corruption in dynamic allocation (see logs)\n"); + fprintf(stderr, "Memory corruption detected at %p %zu bytes (see logs)\n", p, (size_t)cp->size); #endif - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Data corruption:\n")); - DBGHEX(TEST, *q - 200, 200); - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "\n")); - soap->error = SOAP_MOE; - return; - } - if (p == (void*)(*q - *(size_t*)(*q + sizeof(void*)))) - { - *q = **(char***)q; - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Freed data at %p\n", p)); - SOAP_FREE(soap, p); - return; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Data corruption at %p allocated %zu bytes:\n", p, (size_t)cp->size)); + return soap->error = SOAP_MOE; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free managed memory at %p\n", p)); +#ifdef SOAP_MEM_DEBUG + free(p); +#else + SOAP_FREE(soap, p); +#endif + } + cp->ptr = NULL; + return SOAP_OK; } + q = &cp->next; + cp = *q; } - soap_delete(soap, p); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Cannot free memory at %p: address not in managed memory list\n", p)); } else { - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free all soap_malloc() data\n")); - while (soap->alist) + int i; + for (i = 0; i < SOAP_PTRHASH; i++) { - char *q = (char*)soap->alist; - if (*(unsigned short*)(char*)(q - sizeof(unsigned short)) != (unsigned short)SOAP_CANARY) + struct soap_clist **q = &soap->cht[i]; + struct soap_clist *cp = *q; + while (cp) { + p = cp->ptr; + if (p && !soap_is_unmanaged_mem(cp->type)) + { + *q = cp->next; + if (cp->ref.fdelete) + { + cp->ref.fdelete(soap, cp); + } + else + { + if (*(unsigned int*)((char*)p + cp->size) != (unsigned int)(SOAP_CANARY ^ PtrToUlong(p))) + { #ifdef SOAP_MEM_DEBUG - fprintf(stderr, "Data corruption in dynamic allocation (see logs)\n"); + fprintf(stderr, "Memory corruption detected at %p %zu bytes (see logs)\n", p, (size_t)cp->size); #endif - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Data corruption:\n")); - DBGHEX(TEST, q - 200, 200); - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "\n")); - soap->error = SOAP_MOE; - return; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Data corruption at %p %zu bytes:\n", p, (size_t)cp->size)); + return soap->error = SOAP_MOE; + } + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free managed memory at %p\n", p)); +#ifdef SOAP_MEM_DEBUG + free(p); +#else + SOAP_FREE(soap, p); +#endif + } + cp->ptr = NULL; + } + else + { + q = &cp->next; + } + cp = *q; } - soap->alist = *(void**)q; - q -= *(size_t*)(q + sizeof(void*)); - SOAP_FREE(soap, q); } /* assume these were deallocated: */ soap->http_content = NULL; @@ -11144,60 +11191,17 @@ soap_dealloc(struct soap *soap, void *p) soap_clr_mime(soap); #endif } + return SOAP_OK; } /******************************************************************************/ SOAP_FMAC1 -void +int SOAP_FMAC2 soap_delete(struct soap *soap, void *p) { - struct soap_clist **cp; - if (soap_check_state(soap)) - return; - cp = &soap->clist; - if (p) - { - while (*cp) - { - if (p == (*cp)->ptr) - { - struct soap_clist *q = *cp; - *cp = q->next; - if (q->fdelete(soap, q)) - { - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not dealloc data %p: deletion callback failed for object type=%d\n", q->ptr, q->type)); -#ifdef SOAP_MEM_DEBUG - fprintf(stderr, "new(object type=%d) = %p not freed: deletion callback failed\n", q->type, q->ptr); -#endif - } - SOAP_FREE(soap, q); - return; - } - cp = &(*cp)->next; - } - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not dealloc data %p: address not in list\n", p)); - } - else - { - while (*cp) - { - struct soap_clist *q = *cp; - *cp = q->next; - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Delete %p type=%d (cp=%p)\n", q->ptr, q->type, (void*)q)); - if (q->fdelete(soap, q)) - { - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not dealloc data %p: deletion callback failed for object type=%d\n", q->ptr, q->type)); -#ifdef SOAP_MEM_DEBUG - fprintf(stderr, "new(object type=%d) = %p not freed: deletion callback failed\n", q->type, q->ptr); -#endif - } - SOAP_FREE(soap, q); - } - } - soap->fault = NULL; /* assume this was deallocated */ - soap->header = NULL; /* assume this was deallocated */ + return soap_dealloc(soap, p); } /******************************************************************************/ @@ -11207,76 +11211,103 @@ void SOAP_FMAC2 soap_delegate_deletion(struct soap *soap, struct soap *soap_to) { - struct soap_clist *cp; - char **q; -#ifdef SOAP_MEM_DEBUG - void *p; - struct soap_mlist **mp, *mq; - size_t h; -#endif - for (q = (char**)(void*)&soap->alist; *q; q = *(char***)q) + struct soap_cblk *pb = soap->cblk; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Delegating_managed memory deletion from context %p to %p\n", (void*)soap, (void*)soap_to)); + if (pb) { - if (*(unsigned short*)(char*)(*q - sizeof(unsigned short)) != (unsigned short)SOAP_CANARY) - { -#ifdef SOAP_MEM_DEBUG - fprintf(stderr, "Data corruption in dynamic allocation (see logs)\n"); -#endif - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Data corruption:\n")); - DBGHEX(TEST, *q - 200, 200); - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "\n")); - soap->error = SOAP_MOE; - return; - } + struct soap_cblk *qb = pb; + int ci = soap->cidx; + int i; #ifdef SOAP_MEM_DEBUG - p = (void*)(*q - *(size_t*)(*q + sizeof(void*))); - h = soap_hash_ptr(p); - for (mp = &soap->mht[h]; *mp; mp = &(*mp)->next) - { - if ((*mp)->ptr == p) - { - mq = *mp; - *mp = mq->next; - mq->next = soap_to->mht[h]; - soap_to->mht[h] = mq; - break; + /* when debugging memory, keep unmanaged memory allocations of this runtime state with this context */ + struct soap_clist *cht[SOAP_PTRHASH]; + struct soap_cblk *cblk = NULL; + int cidx = 0; + for (i = 0; i < SOAP_PTRHASH; i++) + cht[i] = NULL; + for (i = 0; i < SOAP_PTRHASH; i++) + { + struct soap_clist *cp = soap->cht[i], *prev = NULL; + while (cp) + { + if (soap_is_unmanaged_mem(cp->type) && cp->size >= 0) + { + struct soap_clist *cq; + int k; + /* unmanaged memory, i.e. used by this runtime state */ + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): do not delegate unmanaged %p\n", cp->ref.file, (int)cp->size, cp->ptr)); + if (!cblk || cidx >= SOAP_PTRBLK) + { + qb = (struct soap_cblk*)malloc(sizeof(struct soap_cblk)); + if (!qb) + { + /* soap_delegate_deletion normally never fails */ + /* but when debugging we have to allocate blocks and try to safely continue when we can't allocate */ + prev = cp; + cp = cp->next; + continue; + } + qb->next = cblk; + cblk = qb; + cidx = 0; + } + cq = &cblk->clist[cidx++]; + k = soap_hash_ptr(cp->ptr); + cq->next = cht[k]; + cht[k] = cq; + cq->ptr = cp->ptr; + cq->type = SOAP_TRACK_MALLOC; + cq->size = cp->size; + cq->ref.file = cp->ref.file; + if (prev) + prev->next = cp->next; + else + soap->cht[i] = cp->next; + } + else + { + prev = cp; + } + cp = cp->next; } } + qb = pb; #endif - } - *q = (char*)soap_to->alist; - soap_to->alist = soap->alist; - soap->alist = NULL; -#ifdef SOAP_MEM_DEBUG - cp = soap->clist; - while (cp) - { - h = soap_hash_ptr(cp); - for (mp = &soap->mht[h]; *mp; mp = &(*mp)->next) + while (qb->next) + qb = qb->next; + qb->next = soap_to->cblk; + soap_to->cblk = pb; + soap_to->cidx = ci; + for (i = 0; i < SOAP_PTRHASH; i++) { - if ((*mp)->ptr == cp) + struct soap_clist *cp = soap->cht[i]; + if (cp) { - mq = *mp; - *mp = mq->next; - mq->next = soap_to->mht[h]; - soap_to->mht[h] = mq; - break; + while (cp->next) + cp = cp->next; + cp->next = soap_to->cht[i]; + soap_to->cht[i] = soap->cht[i]; } } - cp = cp->next; - } +#ifdef SOAP_MEM_DEBUG + /* when debugging memory, keep unmanaged memory allocations of this runtime state with this context */ + for (i = 0; i < SOAP_PTRHASH; i++) + soap->cht[i] = cht[i]; + soap->cblk = cblk; + soap->cidx = cidx; +#else + soap_init_cht(soap); #endif - cp = soap_to->clist; - if (cp) - { - while (cp->next) - cp = cp->next; - cp->next = soap->clist; } else { - soap_to->clist = soap->clist; + int i; + soap_to->cblk = soap->cblk; + soap_to->cidx = soap->cidx; + for (i = 0; i < SOAP_PTRHASH; i++) + soap_to->cht[i] = soap->cht[i]; + soap_init_cht(soap); } - soap->clist = NULL; } /******************************************************************************/ @@ -11284,27 +11315,35 @@ soap_delegate_deletion(struct soap *soap, struct soap *soap_to) SOAP_FMAC1 struct soap_clist * SOAP_FMAC2 -soap_link(struct soap *soap, int t, int n, int (*fdelete)(struct soap*, struct soap_clist*)) +soap_new_link(struct soap *soap, int t, int n, int (*fdelete)(struct soap*, struct soap_clist*)) { struct soap_clist *cp = NULL; if (soap) { if (n != SOAP_NO_LINK_TO_DELETE) { - cp = (struct soap_clist*)SOAP_MALLOC(soap, sizeof(struct soap_clist)); - if (!cp) - { - soap->error = SOAP_EOM; - } - else + if (!soap->cblk || soap->cidx >= SOAP_PTRBLK) { - cp->next = soap->clist; - cp->type = t; - cp->size = n; - cp->ptr = NULL; - cp->fdelete = fdelete; - soap->clist = cp; +#ifdef SOAP_MEM_DEBUG + struct soap_cblk *pb = (struct soap_cblk*)malloc(sizeof(struct soap_cblk)); +#else + struct soap_cblk *pb = (struct soap_cblk*)SOAP_MALLOC(soap, sizeof(struct soap_cblk)); +#endif + if (!pb) + { + soap->error = SOAP_EOM; + return NULL; + } + pb->next = soap->cblk; + soap->cblk = pb; + soap->cidx = 0; } + cp = &soap->cblk->clist[soap->cidx++]; + cp->next = NULL; + cp->ptr = NULL; + cp->ref.fdelete = fdelete; + cp->size = n; + cp->type = t; } soap->alloced = t; } @@ -11313,6 +11352,30 @@ soap_link(struct soap *soap, int t, int n, int (*fdelete)(struct soap*, struct s /******************************************************************************/ +SOAP_FMAC1 +void +SOAP_FMAC2 +soap_set_link(struct soap *soap, struct soap_clist *cp, void *p) +{ + if (soap && cp) + { + if (p) + { + int k = soap_hash_ptr(p); + cp->ptr = p; + cp->next = soap->cht[k]; + soap->cht[k] = cp; + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", p)) + } + else + { + soap->error = SOAP_EOM; + } + } +} + +/******************************************************************************/ + SOAP_FMAC1 int SOAP_FMAC2 @@ -11320,30 +11383,18 @@ soap_unlink(struct soap *soap, const void *p) { if (soap && p) { - char **q; - struct soap_clist **cp; - for (q = (char**)(void*)&soap->alist; *q; q = *(char***)q) + struct soap_clist **q = &soap->cht[soap_hash_ptr(p)]; + struct soap_clist *cp = *q; + while (cp) { - if (p == (void*)(*q - *(size_t*)(*q + sizeof(void*)))) + if (p == cp->ptr && !soap_is_unmanaged_mem(cp->type)) { - *q = **(char***)q; - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unlinked data %p\n", p)); -#ifdef SOAP_MEM_DEBUG - soap_track_unlink(soap, p); -#endif - return SOAP_OK; /* found and removed from dealloc chain */ - } - } - for (cp = &soap->clist; *cp; cp = &(*cp)->next) - { - if (p == (*cp)->ptr) - { - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unlinked class instance %p\n", p)); - q = (char**)*cp; - *cp = (*cp)->next; - SOAP_FREE(soap, q); - return SOAP_OK; /* found and removed from dealloc chain */ + cp->ptr = NULL; + *q = cp->next; + return SOAP_OK; } + q = &cp->next; + cp = *q; } } return SOAP_ERR; @@ -11582,7 +11633,7 @@ soap_id_enter(struct soap *soap, const char *id, void *p, int t, size_t n, const { if (finstantiate) { - p = finstantiate(soap, t, type, arrayType, &n); /* soap->alloced is set in soap_link() */ + p = finstantiate(soap, t, type, arrayType, &n); /* soap->alloced is set in soap_new_link() */ t = soap->alloced; } else @@ -12035,7 +12086,7 @@ soap_free_temp(struct soap *soap) struct soap_attribute *tp, *tq; struct Namespace *ns; soap_free_ns(soap); - DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free any remaining temp blocks\n")); + DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free nested block allocation stack\n")); while (soap->blist) soap_end_block(soap, NULL); DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Free attribute storage\n")); @@ -12249,9 +12300,6 @@ soap_copy_context(struct soap *copy, const struct soap *soap) struct soap_plugin *p = NULL; (void)soap_memcpy((void*)copy, sizeof(struct soap), (const void*)soap, sizeof(struct soap)); copy->state = SOAP_COPY; -#ifdef SOAP_MEM_DEBUG - soap_init_mht(copy); -#endif #ifdef SOAP_DEBUG soap_init_logs(copy); soap_set_test_logfile(copy, soap->logfile[SOAP_INDEX_TEST]); @@ -12268,8 +12316,6 @@ soap_copy_context(struct soap *copy, const struct soap *soap) #endif copy->nlist = NULL; copy->blist = NULL; - copy->clist = NULL; - copy->alist = NULL; copy->attributes = NULL; copy->labbuf = NULL; copy->lablen = 0; @@ -12300,6 +12346,7 @@ soap_copy_context(struct soap *copy, const struct soap *soap) soap_init_iht(copy); #endif soap_init_pht(copy); + soap_init_cht(copy); copy->header = NULL; copy->fault = NULL; copy->action = NULL; @@ -12582,9 +12629,6 @@ soap_versioning(soap_init)(struct soap *soap, soap_mode imode, soap_mode omode) { size_t i; soap->state = SOAP_INIT; -#ifdef SOAP_MEM_DEBUG - soap_init_mht(soap); -#endif #ifdef SOAP_DEBUG soap_init_logs(soap); #endif @@ -12755,8 +12799,6 @@ soap_versioning(soap_init)(struct soap *soap, soap_mode imode, soap_mode omode) soap->local_namespaces = NULL; soap->nlist = NULL; soap->blist = NULL; - soap->clist = NULL; - soap->alist = NULL; soap->shaky = 0; soap->attributes = NULL; soap->header = NULL; @@ -12838,6 +12880,7 @@ soap_versioning(soap_init)(struct soap *soap, soap_mode imode, soap_mode omode) soap_init_iht(soap); #endif soap_init_pht(soap); + soap_init_cht(soap); #ifdef WITH_OPENSSL if (!soap_ssl_init_done) soap_ssl_init(); @@ -12971,24 +13014,20 @@ soap_begin(struct soap *soap) /******************************************************************************/ SOAP_FMAC1 -void +int SOAP_FMAC2 soap_end(struct soap *soap) { + int err = SOAP_OK; if (soap_check_state(soap)) - return; + return SOAP_OK; soap_free_temp(soap); - soap_dealloc(soap, NULL); - while (soap->clist) - { - struct soap_clist *cp = soap->clist->next; - SOAP_FREE(soap, soap->clist); - soap->clist = cp; - } + err = soap_dealloc(soap, NULL); (void)soap_closesock(soap); #ifdef SOAP_DEBUG soap_close_logfiles(soap); #endif + return err; } /******************************************************************************/ @@ -18502,7 +18541,7 @@ soap_QName2s(struct soap *soap, const char *s) /******************************************************************************/ -#ifndef WITH_LEAN +#ifndef WITH_LEANER SOAP_FMAC1 int SOAP_FMAC2 @@ -18522,7 +18561,7 @@ soap_s2wchar(struct soap *soap, const char *s, wchar_t **t, int flag, long minle #ifndef WITH_COMPAT #ifdef __cplusplus -#ifndef WITH_LEAN +#ifndef WITH_LEANER SOAP_FMAC1 int SOAP_FMAC2 @@ -18542,7 +18581,7 @@ soap_s2stdwchar(struct soap *soap, const char *s, std::wstring *t, int flag, lon /******************************************************************************/ -#ifndef WITH_LEAN +#ifndef WITH_LEANER static const wchar_t* soap_wstring(struct soap *soap, const char *s, int flag, long minlen, long maxlen, const char *pattern) { @@ -18792,7 +18831,7 @@ soap_wcollapse(struct soap *soap, wchar_t *s, int flag, int insitu) /******************************************************************************/ -#ifndef WITH_LEAN +#ifndef WITH_LEANER SOAP_FMAC1 const char* SOAP_FMAC2 @@ -19140,7 +19179,7 @@ strftime(char *buf, size_t len, const char *format, const struct tm *pT) /******************************************************************************/ -#if !defined(WITH_LEAN) || defined(WITH_COOKIES) +#if !defined(WITH_LEANER) || defined(WITH_COOKIES) SOAP_FMAC1 time_t SOAP_FMAC2 @@ -19178,7 +19217,7 @@ soap_timegm(struct tm *T) /******************************************************************************/ -#ifndef WITH_LEAN +#ifndef WITH_LEANER SOAP_FMAC1 const char* SOAP_FMAC2 @@ -19303,7 +19342,7 @@ soap_outdateTime(struct soap *soap, const char *tag, int id, const time_t *p, co /******************************************************************************/ -#ifndef WITH_LEAN +#ifndef WITH_LEANER SOAP_FMAC1 int SOAP_FMAC2 diff --git a/src/proxies/stdsoap2.h b/src/proxies/stdsoap2.h index 1ffd023d7..7110ed7ae 100644 --- a/src/proxies/stdsoap2.h +++ b/src/proxies/stdsoap2.h @@ -1,10 +1,10 @@ /* - stdsoap2.h 2.8.139E + stdsoap2.h 2.8.140E gSOAP runtime engine gSOAP XML Web services tools -Copyright (C) 2000-2025, Robert van Engelen, Genivia Inc., All Rights Reserved. +Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc., All Rights Reserved. This part of the software is released under ONE of the following licenses: -------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ Product and source code licensed by Genivia, Inc., contact@genivia.com -------------------------------------------------------------------------------- */ -#define GSOAP_VERSION 208139 +#define GSOAP_VERSION 208140 #ifdef WITH_SOAPDEFS_H # include "soapdefs.h" /* include user-defined stuff in soapdefs.h */ @@ -552,11 +552,11 @@ extern intmax_t __strtoull(const char*, char**, int); # endif #endif -/* gSOAP 2.7.15 and higher: always use FAST and retain CDATA in literal XML, unless WITH_LEAN or WITH_NOCDATA */ +/* gSOAP 2.7.15 and higher: always use FAST, retain CDATA in literal XML unless WITH_LEAN or WITH_NOCDATA */ +#ifndef WITH_FAST +# define WITH_FAST +#endif #ifndef WITH_LEAN -# ifndef WITH_FAST -# define WITH_FAST -# endif # ifndef WITH_NOCDATA # ifndef WITH_CDATA # define WITH_CDATA @@ -1147,14 +1147,14 @@ extern "C" { # endif #endif #ifndef SOAP_LABLEN -# define SOAP_LABLEN (256) /* initial look-aside buffer length */ +# define SOAP_LABLEN (256) /* initial look-aside buffer length */ #endif #ifndef SOAP_PTRBLK -# define SOAP_PTRBLK (32) /* block allocation for pointer hash table chains */ +# define SOAP_PTRBLK (256) /* block allocations for hash table chains */ #endif #ifndef SOAP_PTRHASH # ifndef WITH_LEAN -# define SOAP_PTRHASH (4096) /* size of pointer analysis hash table (must be power of 2) */ +# define SOAP_PTRHASH (2048) /* size of pointer analysis hash table (must be power of 2) */ # else # define SOAP_PTRHASH (32) # endif @@ -1189,7 +1189,7 @@ extern "C" { #endif #ifndef SOAP_TMPLEN # ifndef WITH_LEAN -# define SOAP_TMPLEN (2048) /* maximum length of msgbuf and tmpbuf short message buffers, must be >=1024 */ +# define SOAP_TMPLEN (8192) /* maximum length of msgbuf and tmpbuf message buffers, must be >=1024 */ # else # define SOAP_TMPLEN (1024) # endif @@ -1210,7 +1210,7 @@ extern "C" { #endif #ifndef SOAP_MAXALLOCSIZE -# define SOAP_MAXALLOCSIZE (0) /* max size that malloc() can handle, zero for no limit */ +# define SOAP_MAXALLOCSIZE (0) /* max size that malloc() can handle, zero means unlimited */ #endif #ifndef SOAP_MAXLOGS @@ -2032,26 +2032,24 @@ struct soap_pblk struct soap_plist plist[SOAP_PTRBLK]; }; -#ifdef SOAP_MEM_DEBUG -/* malloc/free tracking for debugging */ -struct soap_mlist +/* malloc and C++ class instance tracking */ +struct soap_clist { - struct soap_mlist *next; - const void *ptr; - const char *file; - int line; - short live; + struct soap_clist *next; + void *ptr; /* points to allocated memory */ + union { + int (*fdelete)(struct soap*, struct soap_clist*); /* C++ class instance deleter */ + const char *file; /* source location (of unmanaged memory alloc) */ + } ref; + LONG64 size; /* malloc() size or array size of C++ objects (-1 = single) or line number (unmanaged memory, <0 when freed) */ + int type; /* 0 (managed malloc) or SOAP_TRACK_UNMANAGED_MEM (unmanaged) or SOAP_TYPE C++ class instance type */ }; -#endif -/* class allocation list */ -struct soap_clist +/* block allocation for allocation management */ +struct soap_cblk { - struct soap_clist *next; - void *ptr; - int type; - int size; /* array size */ - int (*fdelete)(struct soap*, struct soap_clist*); + struct soap_cblk *next; + struct soap_clist clist[SOAP_PTRBLK]; }; /* attributes */ @@ -2704,18 +2702,15 @@ struct SOAP_CMAC soap struct Namespace *local_namespaces; /* Local namespace mapping table */ struct soap_nlist *nlist; /* namespace stack */ struct soap_blist *blist; /* block allocation stack */ - struct soap_clist *clist; /* class instance allocation list */ - void *alist; /* memory allocation (malloc) list */ #if !defined(WITH_LEANER) || !defined(WITH_NOIDREF) struct soap_ilist *iht[SOAP_IDHASH]; #endif struct soap_plist *pht[SOAP_PTRHASH]; struct soap_pblk *pblk; /* plist block allocation */ - short pidx; /* plist block allocation */ - short shaky; /* objects in reallocatable containers are on shaky grounds */ + int idnum; + int pidx; /* plist block allocation */ struct SOAP_ENV__Header *header; struct SOAP_ENV__Fault *fault; - int idnum; void *user; /* for user to pass user-defined data to callbacks */ void *data[4]; /* extension data = {smdevp, mecevp, ...} */ struct soap_plugin *plugins; /* linked list of plug-in data */ @@ -2849,13 +2844,13 @@ struct SOAP_CMAC soap void *dh_params; void *rsa_params; #endif - unsigned short ssl_flags; const char *keyfile; const char *keyid; const char *password; const char *cafile; const char *capath; const char *crlfile; + unsigned short ssl_flags; char session_host[SOAP_TAGLEN]; int session_port; size_t bufidx; /* index in soap.buf[] */ @@ -2885,6 +2880,7 @@ struct SOAP_CMAC soap int position; int positions[SOAP_MAXDIMS]; struct soap_attribute *attributes; /* attribute list */ + short shaky; /* objects in reallocatable containers are on shaky grounds */ short other; short root; short encoding; /* when set, output encodingStyle */ @@ -2903,10 +2899,10 @@ struct SOAP_CMAC soap char host[SOAP_TAGLEN]; char *action; /* SOAPAction string */ const char *prolog; /* XML declaration prolog */ + const char *override_host; /* to override the client-side host name/IP when connecting */ unsigned int ip; /* IP number retrieved from request */ unsigned int ip6[4]; /* same for IPv6: upper in ip6[0] to lower in ip6[3] requires WITH_IPV6 */ int port; /* port number */ - const char *override_host; /* to override the client-side host name/IP when connecting */ int override_port; /* to override client-side port number when connecting */ int keep_alive; /* connection should be kept open (-1, 0, or counts down) */ int tcp_keep_alive; /* enable SO_KEEPALIVE */ @@ -2914,9 +2910,9 @@ struct SOAP_CMAC soap unsigned int tcp_keep_intvl; /* set TCP_KEEPINTVL */ unsigned int tcp_keep_cnt; /* set TCP_KEEPCNT */ int max_keep_alive; /* maximum keep-alive session (default=100) 0 to always keep open */ + int proxy_port; /* Proxy Server port (default = 8080) */ const char *proxy_http_version;/* HTTP version of proxy "1.0" or "1.1" */ const char *proxy_host; /* Proxy Server host name */ - int proxy_port; /* Proxy Server port (default = 8080) */ const char *proxy_userid; /* Proxy Authorization user name */ const char *proxy_passwd; /* Proxy Authorization password */ const char *proxy_from; /* X-Forwarding-For header returned by proxy */ @@ -2940,7 +2936,9 @@ struct SOAP_CMAC soap #endif const char *logfile[SOAP_MAXLOGS]; FILE *fdebug[SOAP_MAXLOGS]; - struct soap_mlist *mht[SOAP_PTRHASH]; + struct soap_clist *cht[SOAP_PTRHASH]; + struct soap_cblk *cblk; /* clist block allocation */ + int cidx; /* clist block allocation */ #ifndef WITH_LEAN const char *wsuid; /* space-separated string of element tags */ const char *c14nexclude; /* space-separated string of prefixes for c14n exclusion */ @@ -3083,7 +3081,14 @@ SOAP_FMAC1 soap_wchar SOAP_FMAC2 soap_getchar(struct soap*); #define soap_clr_mode(soap, n) ((soap)->mode &= ~(n), (soap)->imode &= ~(n), (soap)->omode &= ~(n)) #define soap_destroy(soap) soap_delete((soap), NULL) -#define SOAP_NO_LINK_TO_DELETE (-2) /* pass to soap_link() as size n: do not manage, smart pointers are self-managing */ +#define SOAP_NO_LINK_TO_DELETE (-2) /* pass to soap_new_link() as size n: do not manage, smart pointers are self-managing */ + +#ifdef SOAP_MEM_DEBUG +#define SOAP_TRACK_MALLOC (int)((unsigned int)-1 >> 1) +#define soap_is_unmanaged_mem(type) ((type) == SOAP_TRACK_MALLOC) +#else +#define soap_is_unmanaged_mem(type) (0) +#endif #ifdef HAVE_STRRCHR # define soap_strrchr(s, t) strrchr(s, t) @@ -3279,8 +3284,9 @@ SOAP_FMAC1 int SOAP_FMAC2 soap_begin_recv(struct soap*); SOAP_FMAC1 int SOAP_FMAC2 soap_end_recv(struct soap*); SOAP_FMAC1 void* SOAP_FMAC2 soap_malloc(struct soap*, size_t); -SOAP_FMAC1 void SOAP_FMAC2 soap_dealloc(struct soap*, void*); -SOAP_FMAC1 struct soap_clist * SOAP_FMAC2 soap_link(struct soap*, int, int, int (*fdelete)(struct soap*, struct soap_clist*)); +SOAP_FMAC1 int SOAP_FMAC2 soap_dealloc(struct soap*, void*); +SOAP_FMAC1 struct soap_clist * SOAP_FMAC2 soap_new_link(struct soap*, int, int, int (*fdelete)(struct soap*, struct soap_clist*)); +SOAP_FMAC1 void SOAP_FMAC2 soap_set_link(struct soap*, struct soap_clist*, void*); SOAP_FMAC1 int SOAP_FMAC2 soap_unlink(struct soap*, const void*); SOAP_FMAC1 void SOAP_FMAC2 soap_free_temp(struct soap*); SOAP_FMAC1 void SOAP_FMAC2 soap_del(struct soap*); @@ -3322,8 +3328,8 @@ SOAP_FMAC1 void SOAP_FMAC2 soap_initialize(struct soap*); SOAP_FMAC1 void SOAP_FMAC2 soap_done(struct soap*); SOAP_FMAC1 void SOAP_FMAC2 soap_cleanup(struct soap*); SOAP_FMAC1 void SOAP_FMAC2 soap_begin(struct soap*); -SOAP_FMAC1 void SOAP_FMAC2 soap_end(struct soap*); -SOAP_FMAC1 void SOAP_FMAC2 soap_delete(struct soap*, void*); +SOAP_FMAC1 int SOAP_FMAC2 soap_end(struct soap*); +SOAP_FMAC1 int SOAP_FMAC2 soap_delete(struct soap*, void*); SOAP_FMAC1 void SOAP_FMAC2 soap_delegate_deletion(struct soap*, struct soap*); #ifdef WITH_SELF_PIPE SOAP_FMAC1 void SOAP_FMAC2 soap_close_connection(struct soap*); @@ -3478,7 +3484,7 @@ SOAP_FMAC1 int SOAP_FMAC2 soap_s2stdwchar(struct soap*, const char*, std::wstrin #endif #endif -#ifndef WITH_LEAN +#ifndef WITH_LEANER SOAP_FMAC1 int SOAP_FMAC2 soap_s2wchar(struct soap*, const char*, wchar_t**, int, long minlen, long maxlen, const char *pattern); SOAP_FMAC1 int SOAP_FMAC2 soap_s2dateTime(struct soap*, const char*, time_t*); #endif @@ -3500,7 +3506,7 @@ SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedLong2s(struct soap*, unsigned lon SOAP_FMAC1 const char* SOAP_FMAC2 soap_ULONG642s(struct soap*, ULONG64); SOAP_FMAC1 const char* SOAP_FMAC2 soap_QName2s(struct soap*, const char*); -#ifndef WITH_LEAN +#ifndef WITH_LEANER SOAP_FMAC1 const char* SOAP_FMAC2 soap_wchar2s(struct soap*, const wchar_t*); SOAP_FMAC1 const char* SOAP_FMAC2 soap_dateTime2s(struct soap*, time_t); #endif @@ -3527,11 +3533,8 @@ SOAP_FMAC1 char** SOAP_FMAC2 soap_inliteral(struct soap*, const char *tag, char SOAP_FMAC1 time_t* SOAP_FMAC2 soap_indateTime(struct soap*, const char *tag, time_t *p, const char *, int); #endif -#if !defined(WITH_LEAN) || defined(WITH_COOKIES) +#if !defined(WITH_LEANER) || defined(WITH_COOKIES) SOAP_FMAC1 time_t SOAP_FMAC2 soap_timegm(struct tm*); -#endif - -#ifndef WITH_LEANER SOAP_FMAC1 wchar_t** SOAP_FMAC2 soap_inwstring(struct soap*, const char *tag, wchar_t **p, const char *, int, int, long, long, const char*); SOAP_FMAC1 wchar_t** SOAP_FMAC2 soap_inwliteral(struct soap*, const char *tag, wchar_t **p); #endif diff --git a/src/resqml2/AbstractColumnLayerGridRepresentation.cpp b/src/resqml2/AbstractColumnLayerGridRepresentation.cpp index c22903ed1..76376ee42 100644 --- a/src/resqml2/AbstractColumnLayerGridRepresentation.cpp +++ b/src/resqml2/AbstractColumnLayerGridRepresentation.cpp @@ -102,7 +102,7 @@ void AbstractColumnLayerGridRepresentation::setIntervalAssociationWithStratigrap rep->IntervalStratigraphicUnits->UnitIndices = gsoap_eml2_3::soap_new_eml23__JaggedArray(rep->soap); // element XML gsoap_eml2_3::eml23__IntegerXmlArray* elementDataset = gsoap_eml2_3::soap_new_eml23__IntegerXmlArray(rep->soap); - elementDataset->CountPerValue = nullValue; + elementDataset->NullValue = nullValue; elementDataset->Values = std::to_string(stratiUnitIndices[0]); for (uint64_t i = 1; i < getKCellCount(); ++i) { elementDataset->Values += " " + std::to_string(stratiUnitIndices[i]); @@ -111,7 +111,7 @@ void AbstractColumnLayerGridRepresentation::setIntervalAssociationWithStratigrap // cumulative XML gsoap_eml2_3::eml23__IntegerXmlArray* cumulativeDataset = gsoap_eml2_3::soap_new_eml23__IntegerXmlArray(rep->soap); - cumulativeDataset->CountPerValue = 1; + cumulativeDataset->NullValue = nullValue; cumulativeDataset->Values = "1"; for (uint64_t i = 1; i < getKCellCount(); ++i) { cumulativeDataset->Values += " " + std::to_string(i + 1); @@ -269,3 +269,166 @@ gsoap_resqml2_0_1::resqml20__PillarShape AbstractColumnLayerGridRepresentation:: throw logic_error("Not implemented yet"); } } + +void AbstractColumnLayerGridRepresentation::getSplitNodeParentNodeIndices(uint64_t* splitNodeParentNodeIndices) const +{ + if (gsoapProxy2_0_1 != nullptr) { + gsoap_resqml2_0_1::resqml20__AbstractColumnLayerGridGeometry* geom = dynamic_cast(getPointGeometry2_0_1(0)); + if (geom == nullptr) { + throw invalid_argument("There is no geometry on this grid."); + } + if (geom->SplitNodes == nullptr || geom->SplitNodes->Count == 0) { + throw invalid_argument("There is no split node on this grid."); + } + + readArrayNdOfIntegerValues(geom->SplitNodes->ParentNodeIndices, splitNodeParentNodeIndices); + } + else { + gsoap_eml2_3::resqml22__AbstractColumnLayerGridGeometry* geom = dynamic_cast(getPointGeometry2_2(0)); + if (geom == nullptr) { + throw invalid_argument("There is no geometry on this grid."); + } + if (geom->SplitNodePatch == nullptr || geom->SplitNodePatch->Count == 0) { + throw invalid_argument("There is no split node on this grid."); + } + + readArrayNdOfIntegerValues(geom->SplitNodePatch->ParentNodeIndices, splitNodeParentNodeIndices); + } +} + +void AbstractColumnLayerGridRepresentation::getCumulativeCountOfCellsPerSplitNode(uint64_t* cumulativeCountOfCellsPerSplitNode) const +{ + if (gsoapProxy2_0_1 != nullptr) { + gsoap_resqml2_0_1::resqml20__AbstractColumnLayerGridGeometry* geom = dynamic_cast(getPointGeometry2_0_1(0)); + if (geom == nullptr) { + throw invalid_argument("There is no geometry on this grid."); + } + if (geom->SplitNodes == nullptr || geom->SplitNodes->Count == 0) { + throw invalid_argument("There is no split node on this grid."); + } + + readArrayNdOfIntegerValues(geom->SplitNodes->CellsPerSplitNode->CumulativeLength, cumulativeCountOfCellsPerSplitNode); + } + else { + gsoap_eml2_3::resqml22__AbstractColumnLayerGridGeometry* geom = dynamic_cast(getPointGeometry2_2(0)); + if (geom == nullptr) { + throw invalid_argument("There is no geometry on this grid."); + } + if (geom->SplitNodePatch == nullptr || geom->SplitNodePatch->Count == 0) { + throw invalid_argument("There is no split node on this grid."); + } + + readArrayNdOfIntegerValues(geom->SplitNodePatch->CellsPerSplitNode->CumulativeLength, cumulativeCountOfCellsPerSplitNode); + } +} + +void AbstractColumnLayerGridRepresentation::getCellsPerSplitNode(uint64_t* cellsPerSplitNode) const +{ + if (gsoapProxy2_0_1 != nullptr) { + gsoap_resqml2_0_1::resqml20__AbstractColumnLayerGridGeometry* geom = dynamic_cast(getPointGeometry2_0_1(0)); + if (geom == nullptr) { + throw invalid_argument("There is no geometry on this grid."); + } + if (geom->SplitNodes == nullptr || geom->SplitNodes->Count == 0) { + throw invalid_argument("There is no split node on this grid."); + } + + readArrayNdOfIntegerValues(geom->SplitNodes->CellsPerSplitNode->Elements, cellsPerSplitNode); + } + else { + gsoap_eml2_3::resqml22__AbstractColumnLayerGridGeometry* geom = dynamic_cast(getPointGeometry2_2(0)); + if (geom == nullptr) { + throw invalid_argument("There is no geometry on this grid."); + } + if (geom->SplitNodePatch == nullptr || geom->SplitNodePatch->Count == 0) { + throw invalid_argument("There is no split node on this grid."); + } + + readArrayNdOfIntegerValues(geom->SplitNodePatch->CellsPerSplitNode->Elements, cellsPerSplitNode); + } +} + +void AbstractColumnLayerGridRepresentation::setSplitNodePatch(uint64_t splitNodeCount, uint64_t* splitNodeParentNodeIndices, + uint64_t* cumulativeCountOfCellsPerSplitNode, uint64_t* cellsPerSplitNode, EML2_NS::AbstractHdfProxy* proxy) +{ + if (proxy == nullptr) { + proxy = getRepository()->getDefaultHdfProxy(); + if (proxy == nullptr) { + throw std::invalid_argument("A (default) HDF Proxy must be provided."); + } + } + + if (gsoapProxy2_0_1 != nullptr) { + gsoap_resqml2_0_1::resqml20__AbstractColumnLayerGridGeometry* geom = dynamic_cast(getPointGeometry2_0_1(0)); + if (geom == nullptr) { + throw invalid_argument("There is no geometry on this grid."); + } + + auto* patch = soap_new_resqml20__SplitNodePatch(gsoapProxy2_0_1->soap); + patch->Count = splitNodeCount; + + auto* parentNodeIndicesArray = soap_new_resqml20__IntegerHdf5Array(gsoapProxy2_0_1->soap); + parentNodeIndicesArray->Values = soap_new_eml20__Hdf5Dataset(gsoapProxy2_0_1->soap); + parentNodeIndicesArray->Values->HdfProxy = proxy->newResqmlReference(); + parentNodeIndicesArray->Values->PathInHdfFile = getHdfGroup() + "/SplitNodeParentNodeIndices"; + parentNodeIndicesArray->NullValue = -1; + patch->ParentNodeIndices = parentNodeIndicesArray; + + patch->CellsPerSplitNode = soap_new_resqml20__ResqmlJaggedArray(gsoapProxy2_0_1->soap); + // Cumulative + resqml20__IntegerHdf5Array* cumulativeLength = soap_new_resqml20__IntegerHdf5Array(gsoapProxy2_0_1->soap); + patch->CellsPerSplitNode->CumulativeLength = cumulativeLength; + cumulativeLength->NullValue = -1; + cumulativeLength->Values = soap_new_eml20__Hdf5Dataset(gsoapProxy2_0_1->soap); + cumulativeLength->Values->HdfProxy = proxy->newResqmlReference(); + cumulativeLength->Values->PathInHdfFile = getHdfGroup() + "/CellsPerSplitNode/" + EML2_NS::AbstractHdfProxy::CUMULATIVE_LENGTH_DS_NAME; + // Elements + resqml20__IntegerHdf5Array* elements = soap_new_resqml20__IntegerHdf5Array(gsoapProxy2_0_1->soap); + patch->CellsPerSplitNode->Elements = elements; + elements->NullValue = -1; + elements->Values = soap_new_eml20__Hdf5Dataset(gsoapProxy2_0_1->soap); + elements->Values->HdfProxy = proxy->newResqmlReference(); + elements->Values->PathInHdfFile = getHdfGroup() + "/CellsPerSplitNode/" + EML2_NS::AbstractHdfProxy::ELEMENTS_DS_NAME; + + geom->SplitNodes = patch; + } + else { + gsoap_eml2_3::resqml22__AbstractColumnLayerGridGeometry* geom = dynamic_cast(getPointGeometry2_2(0)); + if (geom == nullptr) { + throw invalid_argument("There is no geometry on this grid."); + } + + auto* patch = gsoap_eml2_3::soap_new_resqml22__SplitNodePatch(gsoapProxy2_3->soap); + patch->Count = splitNodeCount; + + auto* parentNodeIndicesArray = gsoap_eml2_3::soap_new_eml23__IntegerExternalArray(gsoapProxy2_3->soap); + parentNodeIndicesArray->Values = gsoap_eml2_3::soap_new_eml23__ExternalDataArray(gsoapProxy2_3->soap); + parentNodeIndicesArray->Values->ExternalDataArrayPart.push_back(createExternalDataArrayPart(getHdfGroup() + "/SplitNodeParentNodeIndices", splitNodeCount, proxy)); + parentNodeIndicesArray->NullValue = -1; + patch->ParentNodeIndices = parentNodeIndicesArray; + + patch->CellsPerSplitNode = gsoap_eml2_3::soap_new_eml23__JaggedArray(gsoapProxy2_3->soap); + // cumulative XML + auto* cumulativeDataset = gsoap_eml2_3::soap_new_eml23__IntegerExternalArray(gsoapProxy2_3->soap); + cumulativeDataset->NullValue = -1; + cumulativeDataset->Values = gsoap_eml2_3::soap_new_eml23__ExternalDataArray(gsoapProxy2_3->soap); + cumulativeDataset->Values->ExternalDataArrayPart.push_back( + createExternalDataArrayPart(getHdfGroup() + "/CellsPerSplitNode/" + EML2_NS::AbstractHdfProxy::CUMULATIVE_LENGTH_DS_NAME, splitNodeCount, proxy)); + patch->CellsPerSplitNode->CumulativeLength = cumulativeDataset; + // element XML + auto* elementDataset = gsoap_eml2_3::soap_new_eml23__IntegerExternalArray(gsoapProxy2_3->soap); + elementDataset->NullValue = -1; + elementDataset->Values = gsoap_eml2_3::soap_new_eml23__ExternalDataArray(gsoapProxy2_3->soap); + elementDataset->Values->ExternalDataArrayPart.push_back( + createExternalDataArrayPart(getHdfGroup() + "/CellsPerSplitNode/" + EML2_NS::AbstractHdfProxy::ELEMENTS_DS_NAME, cumulativeCountOfCellsPerSplitNode[splitNodeCount-1], proxy)); + patch->CellsPerSplitNode->Elements = elementDataset; + + geom->SplitNodePatch = patch; + } + + // HDF + proxy->writeArrayNdOfUInt64Values(getHdfGroup(), "SplitNodeParentNodeIndices", splitNodeParentNodeIndices, &splitNodeCount, 1); + proxy->writeItemizedListOfList(getHdfGroup(), "CellsPerSplitNode", + COMMON_NS::AbstractObject::numericalDatatypeEnum::UINT64, cumulativeCountOfCellsPerSplitNode, splitNodeCount, + COMMON_NS::AbstractObject::numericalDatatypeEnum::UINT64, cellsPerSplitNode, cumulativeCountOfCellsPerSplitNode[splitNodeCount - 1]); +} diff --git a/src/resqml2/AbstractColumnLayerGridRepresentation.h b/src/resqml2/AbstractColumnLayerGridRepresentation.h index 172300d51..26b6bac5f 100644 --- a/src/resqml2/AbstractColumnLayerGridRepresentation.h +++ b/src/resqml2/AbstractColumnLayerGridRepresentation.h @@ -126,6 +126,65 @@ namespace RESQML2_NS */ DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::resqml20__PillarShape getMostComplexPillarGeometry() const; + /** + * Gets the parent node index for each of the split nodes. + * + * @param [out] splitNodeParentNodeIndices This array must be pre-allocated with a size equal to the + * count of split nodes. It will be filled in by this method + * and not deleted. + * + * @exception std::invalid_argument If there is no split node on this column layer grid. + */ + DLL_IMPORT_OR_EXPORT void getSplitNodeParentNodeIndices(uint64_t* splitNodeParentNodeIndices) const; + + /** + * Gets the cumulative count of cells impacted by all the split nodes. The order of + * the cumulative count values corresponds to the order of the split nodes. + * + * @exception std::invalid_argument If the HDF proxy is missing. + * @exception std::invalid_argument If there is no geometry or no split node in + * this grid. + * @exception std::logic_error If the cumulative count of the columns impacted by the + * split coordinate lines are not stored within an HDF5 + * integer array. + * + * @param [out] cumulativeCountOfCellsPerSplitNode This array must be pre-allocated with a size equal to the + * count of split nodes. It will be filled in with the cumulative + * count of cells impacted by the split nodes. + */ + DLL_IMPORT_OR_EXPORT void getCumulativeCountOfCellsPerSplitNode(uint64_t* cumulativeCountOfCellsPerSplitNode) const; + + /** + * Gets the indices of the cells impacted by all the split nodes. They are linearized and must be read according to getCumulativeCountOfCellsPerSplitNode. + * + * @exception std::invalid_argument If the HDF proxy is missing. + * @exception std::invalid_argument If there is no geometry or no split node in + * this grid. + * @exception std::logic_error If the cumulative count of the columns impacted by the + * split coordinate lines are not stored within an HDF5 + * integer array. + * + * @param [out] cellsPerSplitNode This array must be pre-allocated with the last value of the + * getCumulativeCountOfCellsPerSplitNode returned value. + * It will be filled in with the cell indices impacted by the split nodes. + */ + DLL_IMPORT_OR_EXPORT void getCellsPerSplitNode(uint64_t* cellsPerSplitNode) const; + + /** + * Sets all information about a split node patch of the grid. These information is related to + * all XYZ points which are located after the index (PillarCount + SplitPillarCount + SplitCoordinateLineCount) * (KCellCount + 1) + * + * @param [in] splitNodeCount The count of split nodes + * @param [in] splitNodeParentNodeIndices The parent node index for each of the split nodes. Size must be splitNodeCount. + * @param [in] cumulativeCountOfCellsPerSplitNode The cumulative count of cells impacted by each of the split nodes. Size must be splitNodeCount. + * @param [in] cellsPerSplitNode The indices of the cells impacted by each of the split nodes. + * Size must be the last value of cumulativeCountOfCellsPerSplitNode + * @param [in]proxy (Optional) The HDF proxy for writing the array values. + * If @c nullptr (default), then the default HDF proxy will be used. + */ + DLL_IMPORT_OR_EXPORT void setSplitNodePatch(uint64_t splitNodeCount, uint64_t* splitNodeParentNodeIndices, + uint64_t* cumulativeCountOfCellsPerSplitNode, uint64_t* cellsPerSplitNode, EML2_NS::AbstractHdfProxy* proxy = nullptr); + protected: /** diff --git a/src/resqml2/AbstractIjkGridRepresentation.cpp b/src/resqml2/AbstractIjkGridRepresentation.cpp index f2d3facb4..5b7b09911 100644 --- a/src/resqml2/AbstractIjkGridRepresentation.cpp +++ b/src/resqml2/AbstractIjkGridRepresentation.cpp @@ -390,15 +390,15 @@ void AbstractIjkGridRepresentation::getColumnsOfSplitCoordinateLines(unsigned in if (datasetValueCount > 0) { if (reverseIAxis) { for (uint64_t index = 0; index < datasetValueCount; ++index) { - const uint64_t iColumn = columnIndices[index] % getICellCount(); - const uint64_t jColumn = columnIndices[index] / getICellCount(); + const uint32_t iColumn = columnIndices[index] % getICellCount(); + const uint32_t jColumn = columnIndices[index] / getICellCount(); columnIndices[index] = (getICellCount() - 1 - iColumn) + jColumn*getICellCount(); } } if (reverseJAxis) { for (uint64_t index = 0; index < datasetValueCount; ++index) { - const uint64_t iColumn = columnIndices[index] % getICellCount(); - const uint64_t jColumn = columnIndices[index] / getICellCount(); + const uint32_t iColumn = columnIndices[index] % getICellCount(); + const uint32_t jColumn = columnIndices[index] / getICellCount(); columnIndices[index] = iColumn + (getJCellCount() - 1 - jColumn)*getICellCount(); } } @@ -412,14 +412,7 @@ void AbstractIjkGridRepresentation::getColumnCountOfSplitCoordinateLines(unsigne if (geom == nullptr || geom->SplitCoordinateLines == nullptr) { throw invalid_argument("There is no geometry or no split coordinate line in this grid."); } - if (geom->SplitCoordinateLines->ColumnsPerSplitCoordinateLine->CumulativeLength->soap_type() == SOAP_TYPE_gsoap_resqml2_0_1_resqml20__IntegerHdf5Array) { - eml20__Hdf5Dataset const * dataset = static_cast(geom->SplitCoordinateLines->ColumnsPerSplitCoordinateLine->CumulativeLength)->Values; - EML2_NS::AbstractHdfProxy * hdfProxy = getHdfProxyFromDataset(dataset); - hdfProxy->readArrayNdOfUIntValues(dataset->PathInHdfFile, columnIndexCountPerSplitCoordinateLine); - } - else { - throw std::logic_error("Not implemented yet"); - } + readArrayNdOfIntegerValues(geom->SplitCoordinateLines->ColumnsPerSplitCoordinateLine->CumulativeLength, columnIndexCountPerSplitCoordinateLine); } else { gsoap_eml2_3::resqml22__IjkGridGeometry* geom = static_cast(getPointGeometry2_2(0)); @@ -491,7 +484,6 @@ uint64_t AbstractIjkGridRepresentation::getBlockSplitCoordinateLineCount() const return splitCoordinateLineCount; } - uint64_t AbstractIjkGridRepresentation::getSplitNodeCount() const { if (gsoapProxy2_0_1 != nullptr) { @@ -569,16 +561,16 @@ void AbstractIjkGridRepresentation::getPillarGeometryIsDefined(bool * pillarGeom { const unsigned int iPillarCount = getICellCount()+1; const unsigned int jPillarCount = getJCellCount()+1; - const unsigned int arrayCount = iPillarCount * jPillarCount; + const size_t arrayCount = iPillarCount * jPillarCount; // Copy in order not to modify the controlPoints pointer std::unique_ptr initialPillarGeometryIsDefined(new bool[arrayCount]); - for (unsigned int index = 0; index < arrayCount; ++index) { + for (size_t index = 0; index < arrayCount; ++index) { initialPillarGeometryIsDefined[index] = pillarGeometryIsDefined[index]; } if (reverseIAxis) { - unsigned int pillarIndex = 0; + size_t pillarIndex = 0; for (unsigned int j = 0; j < jPillarCount; ++j) { for (unsigned int i = 0; i < iPillarCount; ++i) { pillarGeometryIsDefined[pillarIndex] = initialPillarGeometryIsDefined[getICellCount() - i + j*iPillarCount]; @@ -588,7 +580,7 @@ void AbstractIjkGridRepresentation::getPillarGeometryIsDefined(bool * pillarGeom } if (reverseJAxis) { - unsigned int pillarIndex = 0; + size_t pillarIndex = 0; for (unsigned int j = 0; j < jPillarCount; ++j) { for (unsigned int i = 0; i < iPillarCount; ++i) { pillarGeometryIsDefined[pillarIndex] = initialPillarGeometryIsDefined[i + (getJCellCount() - j)*iPillarCount]; @@ -628,13 +620,13 @@ void AbstractIjkGridRepresentation::getCellGeometryIsDefinedFlags(bool * cellGeo EML2_NS::AbstractHdfProxy * hdfProxy = getHdfProxyFromDataset(dataset); std::unique_ptr tmp(new int8_t[cellCount]); hdfProxy->readArrayNdOfInt8Values(dataset->PathInHdfFile, tmp.get()); - for (uint64_t i = 0; i < cellCount; ++i) { + for (size_t i = 0; i < cellCount; ++i) { cellGeometryIsDefinedFlags[i] = tmp[i] != 0; } } else if (geom->CellGeometryIsDefined->soap_type() == SOAP_TYPE_gsoap_resqml2_0_1_resqml20__BooleanConstantArray) { const bool enabled = static_cast(geom->CellGeometryIsDefined)->Value; - for (uint64_t i = 0; i < cellCount; ++i) { + for (size_t i = 0; i < cellCount; ++i) { cellGeometryIsDefinedFlags[i] = enabled; } } @@ -652,7 +644,7 @@ void AbstractIjkGridRepresentation::getCellGeometryIsDefinedFlags(bool * cellGeo EML2_NS::AbstractHdfProxy * hdfProxy = getOrCreateHdfProxyFromDataArrayPart(dataset->ExternalDataArrayPart[0]); std::unique_ptr tmp(new int8_t[cellCount]); hdfProxy->readArrayNdOfInt8Values(dataset->ExternalDataArrayPart[0]->PathInExternalFile, tmp.get()); - for (unsigned int i = 0; i < cellCount; ++i) { + for (size_t i = 0; i < cellCount; ++i) { cellGeometryIsDefinedFlags[i] = tmp[i] != 0; } } @@ -676,8 +668,8 @@ void AbstractIjkGridRepresentation::getCellGeometryIsDefinedFlags(bool * cellGeo } if (reverseIAxis) { - unsigned int cellIndex = 0; - for (unsigned int k = 0; k < getKCellCount(); ++k) { + size_t cellIndex = 0; + for (uint64_t k = 0; k < getKCellCount(); ++k) { for (unsigned int j = 0; j < getJCellCount(); ++j) { for (unsigned int i = 0; i < getICellCount(); ++i) { cellGeometryIsDefinedFlags[cellIndex] = initialCellGeometryIsDefined[getICellCount() - 1 - i + j*getICellCount() + k*getICellCount()*getJCellCount()]; @@ -688,8 +680,8 @@ void AbstractIjkGridRepresentation::getCellGeometryIsDefinedFlags(bool * cellGeo } if (reverseJAxis) { - unsigned int cellIndex = 0; - for (unsigned int k = 0; k < getKCellCount(); ++k) { + size_t cellIndex = 0; + for (uint64_t k = 0; k < getKCellCount(); ++k) { for (unsigned int j = 0; j < getJCellCount(); ++j) { for (unsigned int i = 0; i < getICellCount(); ++i) { cellGeometryIsDefinedFlags[cellIndex] = initialCellGeometryIsDefined[i + (getJCellCount() - 1 -j)*getICellCount() + k*getICellCount()*getJCellCount()]; @@ -700,8 +692,8 @@ void AbstractIjkGridRepresentation::getCellGeometryIsDefinedFlags(bool * cellGeo } if (reverseKAxis) { - unsigned int cellIndex = 0; - for (unsigned int k = 0; k < getKCellCount(); ++k) { + size_t cellIndex = 0; + for (uint64_t k = 0; k < getKCellCount(); ++k) { for (unsigned int j = 0; j < getJCellCount(); ++j) { for (unsigned int i = 0; i < getICellCount(); ++i) { cellGeometryIsDefinedFlags[cellIndex] = initialCellGeometryIsDefined[i + j*getICellCount() + (getKCellCount() - 1 -k)*getICellCount()*getJCellCount()]; @@ -1135,17 +1127,17 @@ uint64_t AbstractIjkGridRepresentation::getXyzPointIndexFromCellCorner(unsigned if (corner > 7) { throw out_of_range("Corner is out of range."); } - const unsigned int iPillarIndex = corner == 1 || corner == 2 || corner == 5 || corner == 6 + const uint64_t iPillarIndex = corner == 1 || corner == 2 || corner == 5 || corner == 6 ? iCell + 1 : iCell; - const unsigned int jPillarIndex = corner == 2 || corner == 3 || corner == 6 || corner == 7 + const uint64_t jPillarIndex = corner == 2 || corner == 3 || corner == 6 || corner == 7 ? jCell + 1 : jCell; if (kCell > getKCellCount()) { throw out_of_range("K Cell is out of range."); } - const unsigned int kPointIndex = corner > 3 + const uint64_t kPointIndex = corner > 3 ? kCellIndexWithGapLayer[kCell] + 1 : kCellIndexWithGapLayer[kCell]; @@ -1153,16 +1145,16 @@ uint64_t AbstractIjkGridRepresentation::getXyzPointIndexFromCellCorner(unsigned if (iCell > iCellCount) { throw out_of_range("I Cell is out of range."); } - const unsigned int iPillarCount = iCellCount + 1; - const unsigned int jCellCount = getJCellCount(); + const uint64_t iPillarCount = iCellCount + 1; + const uint64_t jCellCount = getJCellCount(); if (jCell > jCellCount) { throw out_of_range("J Cell is out of range."); } - const unsigned int jPillarCount = jCellCount + 1; + const uint64_t jPillarCount = jCellCount + 1; - const unsigned int pillarIndex = iPillarIndex + iPillarCount * jPillarIndex; // Do not call getGlobalIndexPillarFromIjIndex for performance reason. + const uint64_t pillarIndex = iPillarIndex + iPillarCount * jPillarIndex; // Do not call getGlobalIndexPillarFromIjIndex for performance reason. if (!splitInformation[pillarIndex].empty()) { - const unsigned int columnIndex = iCell + iCellCount * jCell; // Do not call getGlobalIndexColumnFromIjIndex for performance reason. + const uint64_t columnIndex = iCell + iCellCount * jCell; // Do not call getGlobalIndexColumnFromIjIndex for performance reason. for (const auto& columnSet : splitInformation[pillarIndex]) { for (const unsigned int column : columnSet.second) { if (column == columnIndex) { @@ -1197,26 +1189,27 @@ void AbstractIjkGridRepresentation::getXyzPointOfBlockFromCellCorner(unsigned in throw out_of_range("Corner is out of the block."); } - unsigned int iPillarIndex = corner == 1 || corner == 2 || corner == 5 || corner == 6 + uint32_t iPillarIndex = corner == 1 || corner == 2 || corner == 5 || corner == 6 ? iCell + 1 : iCell; - unsigned int jPillarIndex = corner == 2 || corner == 3 || corner == 6 || corner == 7 + uint32_t jPillarIndex = corner == 2 || corner == 3 || corner == 6 || corner == 7 ? jCell + 1 : jCell; - unsigned int kPointIndex = corner > 3 + uint64_t kPointIndex = corner > 3 ? kCellIndexWithGapLayer[kCell] + 1 : kCellIndexWithGapLayer[kCell]; kPointIndex -= blockInformation->kInterfaceStart; uint64_t pointIndex; - const unsigned int pillarIndex = getGlobalIndexPillarFromIjIndex(iPillarIndex, jPillarIndex); + const uint64_t pillarIndex = getGlobalIndexPillarFromIjIndex(iPillarIndex, jPillarIndex); if (!splitInformation[pillarIndex].empty()) { const unsigned int columnIndex = getGlobalIndexColumnFromIjIndex(iCell, jCell); for (size_t columnSet = 0; columnSet < splitInformation[pillarIndex].size(); ++columnSet) { for (size_t column = 0; column < splitInformation[pillarIndex][columnSet].second.size(); ++column) { if (splitInformation[pillarIndex][columnSet].second[column] == columnIndex) { - pointIndex = (blockInformation->globalToLocalSplitCoordinateLinesIndex)[splitInformation[pillarIndex][columnSet].first] + kPointIndex * ((blockInformation->iInterfaceEnd - blockInformation->iInterfaceStart + 1) * (blockInformation->jInterfaceEnd - blockInformation->jInterfaceStart + 1) + getBlockSplitCoordinateLineCount()); // splitted point + pointIndex = (blockInformation->globalToLocalSplitCoordinateLinesIndex)[splitInformation[pillarIndex][columnSet].first] + + kPointIndex * ((blockInformation->iInterfaceEnd - blockInformation->iInterfaceStart + 1) * (blockInformation->jInterfaceEnd - blockInformation->jInterfaceStart + 1) + getBlockSplitCoordinateLineCount()); // splitted point x = xyzPoints[3 * pointIndex]; y = xyzPoints[3 * pointIndex + 1]; z = xyzPoints[3 * pointIndex + 2]; @@ -1246,7 +1239,8 @@ uint64_t AbstractIjkGridRepresentation::getXyzPointCountOfBlock() const throw invalid_argument("The block information must have been loaded first."); } - return (blockInformation->iInterfaceEnd - blockInformation->iInterfaceStart + 1) * (blockInformation->jInterfaceEnd - blockInformation->jInterfaceStart + 1) * (blockInformation->kInterfaceEnd - blockInformation->kInterfaceStart + 1) + (blockInformation->kInterfaceEnd - blockInformation->kInterfaceStart + 1) * getBlockSplitCoordinateLineCount(); + return (blockInformation->iInterfaceEnd - blockInformation->iInterfaceStart + 1) * (blockInformation->jInterfaceEnd - blockInformation->jInterfaceStart + 1) * (blockInformation->kInterfaceEnd - blockInformation->kInterfaceStart + 1) + + (blockInformation->kInterfaceEnd - blockInformation->kInterfaceStart + 1) * getBlockSplitCoordinateLineCount(); } void AbstractIjkGridRepresentation::getXyzPointsOfKInterface(unsigned int kInterface, double * xyzPoints) diff --git a/src/resqml2/DiscreteColorMap.cpp b/src/resqml2/DiscreteColorMap.cpp index fabfe6b2b..c9a3dae58 100644 --- a/src/resqml2/DiscreteColorMap.cpp +++ b/src/resqml2/DiscreteColorMap.cpp @@ -51,7 +51,7 @@ void DiscreteColorMap::setHsvColors(uint64_t colorCount, } resqml22__DiscreteColorMapEntry* discreteColorMapEntry = soap_new_resqml22__DiscreteColorMapEntry(gsoapProxy2_3->soap); - discreteColorMapEntry->index = indices != nullptr ? indices[colorIndex] : colorIndex; + discreteColorMapEntry->index = indices != nullptr ? static_cast(indices[colorIndex]) : colorIndex; resqml22__HsvColor* color = soap_new_resqml22__HsvColor(gsoapProxy2_3->soap); color->Hue = hsvColors[3 * colorIndex]; color->Saturation = hsvColors[3 * colorIndex + 1]; diff --git a/src/resqml2/DiscreteColorMap.h b/src/resqml2/DiscreteColorMap.h index 71b377d37..013bdcee1 100644 --- a/src/resqml2/DiscreteColorMap.h +++ b/src/resqml2/DiscreteColorMap.h @@ -43,8 +43,7 @@ namespace RESQML2_NS * 1] for alpha transparency channel (0 means transparent and 1 means * opaque). If alphas == nullptr (default value), default alpha value is 1. * @param indices (Optional) array (of size colorCount) of color indices. These indices - * are cast to unsigned int in the case of a discrete color map. If indices - * == nullptr (default value), indices are set from 0 to colorCount - 1. + * are cast to int64_t. If indices == nullptr (default value), indices are set from 0 to colorCount - 1. * @param colorTitles (Optional) vector (of size colorCount) of color titles. Titles are not * set if colorTitles is empty (default value) */ diff --git a/src/resqml2/StratigraphicColumn.h b/src/resqml2/StratigraphicColumn.h index e08916417..c69e9a35b 100644 --- a/src/resqml2/StratigraphicColumn.h +++ b/src/resqml2/StratigraphicColumn.h @@ -25,12 +25,9 @@ namespace RESQML2_NS class StratigraphicColumnRankInterpretation; /** - * @brief A global interpretation of the stratigraphy, which can be made up of several ranks of - * stratigraphic unit interpretations. - * - * BUSINESS RULE: All stratigraphic column rank interpretations that make up a - * stratigraphic column must be ordered by age. - */ + * @brief A global interpretation of the stratigraphy, which can be made up of several ranks of + * stratigraphic unit interpretations. + */ class StratigraphicColumn : public COMMON_NS::AbstractObject { public: @@ -39,6 +36,8 @@ namespace RESQML2_NS virtual ~StratigraphicColumn() = default; /** + * Stratigraphic column ranks must be pushed back from the coarsest rank to the most detailed one. + * * Pushes a back a stratigraphic column rank interpretation into this stratigraphic column. * * @exception std::invalid_argument If stratiColumnRank == nullptr diff --git a/src/resqml2/StratigraphicColumnRankInterpretation.h b/src/resqml2/StratigraphicColumnRankInterpretation.h index 6357fb89c..519ee776c 100644 --- a/src/resqml2/StratigraphicColumnRankInterpretation.h +++ b/src/resqml2/StratigraphicColumnRankInterpretation.h @@ -31,10 +31,10 @@ namespace RESQML2_NS { class StratigraphicUnitInterpretation; - /** - * @brief A stratigraphic column rank interpretation is a global hierarchy containing an - * ordered list of stratigraphic unit interpretations. - */ + /** + * @brief A stratigraphic column rank interpretation contains an ordered list of stratigraphic unit interpretations. + * It corresponds to a level of detail of the stratigraphic column. First indexed ranks are coarser than last indexed ranks which are more detailed. + */ class StratigraphicColumnRankInterpretation : public AbstractStratigraphicOrganizationInterpretation { public: @@ -43,9 +43,13 @@ namespace RESQML2_NS virtual ~StratigraphicColumnRankInterpretation() = default; /** - * Adds a stratigraphic unit interpretation to this stratigraphic column rank interpretation. - * Does add the inverse relationship i.e. from the included stratigraphic unit interpretation to - * this stratigraphic column rank interpretation. + * Pushes back a stratigraphic unit interpretation to this stratigraphic column rank interpretation. + * The stratigraphic unit interpretation must be pushed back according to the ordering criteria of the stratigraphic column rank interpretation: + * - If the (ascending) ordering criteria is age then units must be pushed back from the youngest to oldest. + * - If the (ascending) ordering criteria is apparent depth then units must be pushed back from the shallowest one to the deepest one. + * - If the (ascending) ordering criteria is measured depth then units must be pushed back + * from the first drilled trajectory stations to the latest drilled trajectory stations of the wellbore. + * Remark : RESQML2.0.1 does not explicitely states that the ordering criteria is ascending but RESQML 2.2 does. * * @exception std::invalid_argument If @p stratiUnitInterpretation is @c nullptr. * diff --git a/src/resqml2_0_1/PropertySet.cpp b/src/resqml2_0_1/PropertySet.cpp index 421b1a737..1fcc68f4f 100644 --- a/src/resqml2_0_1/PropertySet.cpp +++ b/src/resqml2_0_1/PropertySet.cpp @@ -72,8 +72,9 @@ PropertySet* PropertySet::getChildren(uint64_t index) const void PropertySet::pushBackProperty(RESQML2_NS::AbstractProperty * prop) { - if (prop == nullptr) + if (prop == nullptr) { throw invalid_argument("The property to push cannot be null."); + } pushBackXmlProperty(prop); diff --git a/src/resqml2_0_1/StratigraphicColumn.h b/src/resqml2_0_1/StratigraphicColumn.h index b22da61e0..f755b4bac 100644 --- a/src/resqml2_0_1/StratigraphicColumn.h +++ b/src/resqml2_0_1/StratigraphicColumn.h @@ -22,7 +22,10 @@ under the License. namespace RESQML2_0_1_NS { - /** This class is a container for other organizations that are consistent to each others. */ + /** + * @brief A global interpretation of the stratigraphy, which can be made up of several ranks of + * stratigraphic unit interpretations. + */ class StratigraphicColumn final : public RESQML2_NS::StratigraphicColumn { public: @@ -56,6 +59,15 @@ namespace RESQML2_0_1_NS /** Destructor does nothing since the memory is managed by the gsoap context. */ ~StratigraphicColumn() = default; + /** + * Stratigraphic column ranks must be pushed back from the coarsest rank to the most detailed one. + * + * Pushes a back a stratigraphic column rank interpretation into this stratigraphic column. + * + * @exception std::invalid_argument If stratiColumnRank == nullptr + * + * @param [in] stratiColumnRank A stratigraphic column rank interpretation. + */ DLL_IMPORT_OR_EXPORT void pushBackStratiColumnRank(RESQML2_NS::StratigraphicColumnRankInterpretation * stratiColumnRank) final; DLL_IMPORT_OR_EXPORT unsigned int getStratigraphicColumnRankInterpretationCount() const final; diff --git a/src/resqml2_0_1/StratigraphicColumnRankInterpretation.cpp b/src/resqml2_0_1/StratigraphicColumnRankInterpretation.cpp index 432277607..a8d8c0d78 100644 --- a/src/resqml2_0_1/StratigraphicColumnRankInterpretation.cpp +++ b/src/resqml2_0_1/StratigraphicColumnRankInterpretation.cpp @@ -30,7 +30,8 @@ using namespace gsoap_resqml2_0_1; const char* StratigraphicColumnRankInterpretation::XML_NS = "resqml20"; -StratigraphicColumnRankInterpretation::StratigraphicColumnRankInterpretation(RESQML2_NS::Model * orgFeat, const std::string & guid, const std::string & title, uint64_t rank, gsoap_resqml2_0_1::resqml20__OrderingCriteria orderingCriteria) +StratigraphicColumnRankInterpretation::StratigraphicColumnRankInterpretation(RESQML2_NS::Model * orgFeat, const std::string & guid, const std::string & title, + uint64_t rank, gsoap_resqml2_0_1::resqml20__OrderingCriteria ascendingOrderingCriteria) { if (orgFeat == nullptr) { throw invalid_argument("The interpreted organization feature cannot be null."); @@ -43,10 +44,10 @@ StratigraphicColumnRankInterpretation::StratigraphicColumnRankInterpretation(RES gsoapProxy2_0_1 = soap_new_resqml20__obj_USCOREStratigraphicColumnRankInterpretation(orgFeat->getGsoapContext()); static_cast<_resqml20__StratigraphicColumnRankInterpretation*>(gsoapProxy2_0_1)->Domain = resqml20__Domain::mixed; static_cast<_resqml20__StratigraphicColumnRankInterpretation*>(gsoapProxy2_0_1)->Index = rank; - static_cast<_resqml20__StratigraphicColumnRankInterpretation*>(gsoapProxy2_0_1)->OrderingCriteria = orderingCriteria; + static_cast<_resqml20__StratigraphicColumnRankInterpretation*>(gsoapProxy2_0_1)->OrderingCriteria = ascendingOrderingCriteria; initMandatoryMetadata(); - setMetadata(guid, title, std::string(), -1, std::string(), std::string(), -1, std::string()); + setMetadata(guid, title, "", -1, "", "", -1, ""); orgFeat->getRepository()->addDataObject(unique_ptr{this}); setInterpretedFeature(orgFeat); diff --git a/src/resqml2_0_1/StratigraphicColumnRankInterpretation.h b/src/resqml2_0_1/StratigraphicColumnRankInterpretation.h index a11ae7b86..bbe531920 100644 --- a/src/resqml2_0_1/StratigraphicColumnRankInterpretation.h +++ b/src/resqml2_0_1/StratigraphicColumnRankInterpretation.h @@ -23,7 +23,8 @@ under the License. namespace RESQML2_0_1_NS { /** - * This class is a container for other organizations that are consistent to each others. + * A rank of a stratigraphic column corresponds to a level of detail of the stratigraphic column. + * First indexed ranks are coarser than last indexed ranks. */ class StratigraphicColumnRankInterpretation final : public RESQML2_NS::StratigraphicColumnRankInterpretation { @@ -49,7 +50,8 @@ namespace RESQML2_0_1_NS * column. * @param orderingCriteria How the included horizons are ordered. */ - StratigraphicColumnRankInterpretation(RESQML2_NS::Model * orgFeat, const std::string & guid, const std::string & title, uint64_t rank, gsoap_resqml2_0_1::resqml20__OrderingCriteria orderingCriteria); + StratigraphicColumnRankInterpretation(RESQML2_NS::Model * orgFeat, const std::string & guid, const std::string & title, + uint64_t rank, gsoap_resqml2_0_1::resqml20__OrderingCriteria ascendingOrderingCriteria); /** * Creates an instance of this class by wrapping a gsoap instance. @@ -60,6 +62,19 @@ namespace RESQML2_0_1_NS /** Destructor does nothing since the memory is managed by the gsoap context. */ ~StratigraphicColumnRankInterpretation() = default; + /** + * Pushes back a stratigraphic unit interpretation to this stratigraphic column rank interpretation. + * The stratigraphic unit interpretation must be pushed back according to the ordering criteria of the stratigraphic column rank interpretation: + * - If the (ascending) ordering criteria is age then units must be pushed back from the youngest to oldest. + * - If the (ascending) ordering criteria is apparent depth then units must be pushed back from the shallowest one to the deepest one. + * - If the (ascending) ordering criteria is measured depth then units must be pushed back + * from the first drilled trajectory stations to the latest drilled trajectory stations of the wellbore. + * Remark : RESQML2.0.1 does not explicitely states that the ordering criteria is ascending but RESQML 2.2 does. + * + * @exception std::invalid_argument If @p stratiUnitInterpretation is @c nullptr. + * + * @param [in] stratiUnitInterpretation The stratigraphic unit interpretation to add. + */ DLL_IMPORT_OR_EXPORT void pushBackStratiUnitInterpretation(RESQML2_NS::StratigraphicUnitInterpretation * stratiUnitInterpretation) final; DLL_IMPORT_OR_EXPORT void setHorizonOfLastContact(RESQML2_NS::HorizonInterpretation * partOf) final; diff --git a/src/resqml2_0_1/TriangulatedSetRepresentation.cpp b/src/resqml2_0_1/TriangulatedSetRepresentation.cpp index 072686353..bae94b151 100644 --- a/src/resqml2_0_1/TriangulatedSetRepresentation.cpp +++ b/src/resqml2_0_1/TriangulatedSetRepresentation.cpp @@ -150,13 +150,14 @@ uint64_t TriangulatedSetRepresentation::getTriangleCountOfPatch(uint64_t patchIn uint64_t TriangulatedSetRepresentation::getTriangleCountOfAllPatches() const { - return std::accumulate( - static_cast<_resqml20__TriangulatedSetRepresentation const*>(gsoapProxy2_0_1)->TrianglePatch.begin(), - static_cast<_resqml20__TriangulatedSetRepresentation const*>(gsoapProxy2_0_1)->TrianglePatch.end(), - 0, - [](uint64_t a, resqml20__TrianglePatch const* b) { - return a + b->Count; - } + auto const& patches = static_cast<_resqml20__TriangulatedSetRepresentation const*>(gsoapProxy2_0_1)->TrianglePatch; + + return std::transform_reduce( + patches.begin(), + patches.end(), + uint64_t{ 0 }, + std::plus<>{}, + [](auto* patch) { return patch->Count; } ); } diff --git a/src/resqml2_2/PolylineSetRepresentation.cpp b/src/resqml2_2/PolylineSetRepresentation.cpp index 606b49b4f..3b073d356 100644 --- a/src/resqml2_2/PolylineSetRepresentation.cpp +++ b/src/resqml2_2/PolylineSetRepresentation.cpp @@ -158,7 +158,8 @@ void PolylineSetRepresentation::pushBackGeometryPatch( xmlClosedPolylines->CountPerValue = 1; xmlClosedPolylines->Values = polylineClosedFlags[0] ? "true" : "false"; for (size_t i = 1; i < polylineCount; ++i) { - xmlClosedPolylines->Values += " " + polylineClosedFlags[i] ? "true" : "false"; + xmlClosedPolylines->Values += " "; + xmlClosedPolylines->Values += polylineClosedFlags[i] ? "true" : "false"; } patch->ClosedPolylines = xmlClosedPolylines; @@ -204,20 +205,7 @@ resqml22__PointGeometry* PolylineSetRepresentation::getPointGeometry2_2(uint64_t uint64_t PolylineSetRepresentation::getPolylineCountOfPatch(uint64_t patchIndex) const { - if (patchIndex >= getPatchCount()) { - throw std::out_of_range("patchIndex id out of range."); - } - - resqml22__PolylineSetPatch* patch = static_cast<_resqml22__PolylineSetRepresentation*>(gsoapProxy2_3)->LinePatch[patchIndex]; - if (patch->ClosedPolylines->soap_type() == SOAP_TYPE_gsoap_eml2_3_eml23__BooleanConstantArray) { - return static_cast(patch->ClosedPolylines)->Count; - } - else if (patch->ClosedPolylines->soap_type() == SOAP_TYPE_gsoap_eml2_3_eml23__BooleanExternalArray) { - auto const* daPart = static_cast(patch->ClosedPolylines)->Values->ExternalDataArrayPart[0]; - return getOrCreateHdfProxyFromDataArrayPart(daPart) ->getElementCount(daPart->PathInExternalFile); - } - - return 0; + return getCountOfArray(static_cast<_resqml22__PolylineSetRepresentation*>(gsoapProxy2_3)->LinePatch.at(patchIndex)->ClosedPolylines); } uint64_t PolylineSetRepresentation::getPolylineCountOfAllPatches() const @@ -294,6 +282,10 @@ bool PolylineSetRepresentation::areAllPolylinesClosedOfPatch(uint64_t patchIndex return result; } + else if (patch->ClosedPolylines->soap_type() == SOAP_TYPE_gsoap_eml2_3_eml23__BooleanXmlArray) + { + return static_cast(patch->ClosedPolylines)->Values.find("false") == std::string::npos; + } else throw logic_error("Not yet implemented."); } @@ -330,6 +322,10 @@ bool PolylineSetRepresentation::areAllPolylinesNonClosedOfPatch(uint64_t patchIn getOrCreateHdfProxyFromDataArrayPart(daPart)->readArrayNdOfInt8Values(daPart->PathInExternalFile, tmp.get()); return find_if(tmp.get(), tmp.get() + polylineCount, [](char i) {return i != 0; }) == tmp.get() + polylineCount; } + else if (patch->ClosedPolylines->soap_type() == SOAP_TYPE_gsoap_eml2_3_eml23__BooleanXmlArray) + { + return static_cast(patch->ClosedPolylines)->Values.find("true") == std::string::npos; + } else throw logic_error("Not yet implemented."); } diff --git a/src/resqml2_2/StratigraphicColumn.h b/src/resqml2_2/StratigraphicColumn.h index bf33409b8..325410790 100644 --- a/src/resqml2_2/StratigraphicColumn.h +++ b/src/resqml2_2/StratigraphicColumn.h @@ -22,7 +22,10 @@ under the License. namespace RESQML2_2_NS { - /** This class is a container for other organizations that are consistent to each others. */ + /** + * @brief A global interpretation of the stratigraphy, which can be made up of several ranks of + * stratigraphic unit interpretations. + */ class StratigraphicColumn final : public RESQML2_NS::StratigraphicColumn { public: @@ -56,6 +59,9 @@ namespace RESQML2_2_NS /** Destructor does nothing since the memory is managed by the gsoap context. */ ~StratigraphicColumn() = default; + /** + * Stratigraphic column ranks must be pushed back from the coarsest rank to the most detailed one. + */ DLL_IMPORT_OR_EXPORT void pushBackStratiColumnRank(RESQML2_NS::StratigraphicColumnRankInterpretation * stratiColumnRank) final; DLL_IMPORT_OR_EXPORT unsigned int getStratigraphicColumnRankInterpretationCount() const final; diff --git a/src/resqml2_2/StratigraphicColumnRankInterpretation.cpp b/src/resqml2_2/StratigraphicColumnRankInterpretation.cpp index 92b564ff3..e73a8132e 100644 --- a/src/resqml2_2/StratigraphicColumnRankInterpretation.cpp +++ b/src/resqml2_2/StratigraphicColumnRankInterpretation.cpp @@ -26,7 +26,8 @@ using namespace std; using namespace RESQML2_2_NS; using namespace gsoap_eml2_3; -StratigraphicColumnRankInterpretation::StratigraphicColumnRankInterpretation(RESQML2_NS::Model * orgFeat, const std::string & guid, const std::string & title, uint64_t rank, gsoap_resqml2_0_1::resqml20__OrderingCriteria orderingCriteria) +StratigraphicColumnRankInterpretation::StratigraphicColumnRankInterpretation(RESQML2_NS::Model * orgFeat, const std::string & guid, const std::string & title, + uint64_t rank, gsoap_resqml2_0_1::resqml20__OrderingCriteria ascendingOrderingCriteria) { if (orgFeat == nullptr) { throw invalid_argument("The interpreted organization feature cannot be null."); @@ -34,10 +35,10 @@ StratigraphicColumnRankInterpretation::StratigraphicColumnRankInterpretation(RES gsoapProxy2_3 = soap_new_resqml22__StratigraphicColumnRankInterpretation(orgFeat->getGsoapContext()); static_cast<_resqml22__StratigraphicColumnRankInterpretation*>(gsoapProxy2_3)->RankInStratigraphicColumn = rank; - static_cast<_resqml22__StratigraphicColumnRankInterpretation*>(gsoapProxy2_3)->AscendingOrderingCriteria = static_cast(orderingCriteria); + static_cast<_resqml22__StratigraphicColumnRankInterpretation*>(gsoapProxy2_3)->AscendingOrderingCriteria = static_cast(ascendingOrderingCriteria); initMandatoryMetadata(); - setMetadata(guid, title, std::string(), -1, std::string(), std::string(), -1, std::string()); + setMetadata(guid, title, "", -1, "", "", -1, ""); orgFeat->getRepository()->addDataObject(unique_ptr{this}); setInterpretedFeature(orgFeat); diff --git a/src/resqml2_2/StratigraphicColumnRankInterpretation.h b/src/resqml2_2/StratigraphicColumnRankInterpretation.h index 744be9958..52ac5cfb4 100644 --- a/src/resqml2_2/StratigraphicColumnRankInterpretation.h +++ b/src/resqml2_2/StratigraphicColumnRankInterpretation.h @@ -23,7 +23,8 @@ under the License. namespace RESQML2_2_NS { /** - * This class is a container for other organizations that are consistent to each others. + * @brief A stratigraphic column rank interpretation contains an ordered list of stratigraphic unit interpretations. + * It corresponds to a level of detail of the stratigraphic column. First indexed ranks are coarser than last indexed ranks which are more detailed. */ class StratigraphicColumnRankInterpretation final : public RESQML2_NS::StratigraphicColumnRankInterpretation { @@ -48,7 +49,8 @@ namespace RESQML2_2_NS * column. * @param orderingCriteria How the included horizons are ordered. */ - StratigraphicColumnRankInterpretation(RESQML2_NS::Model * orgFeat, const std::string & guid, const std::string & title, uint64_t rank, gsoap_resqml2_0_1::resqml20__OrderingCriteria orderingCriteria); + StratigraphicColumnRankInterpretation(RESQML2_NS::Model * orgFeat, const std::string & guid, const std::string & title, + uint64_t rank, gsoap_resqml2_0_1::resqml20__OrderingCriteria ascendingOrderingCriteria); /** * Creates an instance of this class by wrapping a gsoap instance. @@ -59,6 +61,19 @@ namespace RESQML2_2_NS /** Destructor does nothing since the memory is managed by the gsoap context. */ ~StratigraphicColumnRankInterpretation() = default; + /** + * Pushes back a stratigraphic unit interpretation to this stratigraphic column rank interpretation. + * The stratigraphic unit interpretation must be pushed back according to the ordering criteria of the stratigraphic column rank interpretation: + * - If the (ascending) ordering criteria is age then units must be pushed back from the youngest to oldest. + * - If the (ascending) ordering criteria is apparent depth then units must be pushed back from the shallowest one to the deepest one. + * - If the (ascending) ordering criteria is measured depth then units must be pushed back + * from the first drilled trajectory stations to the latest drilled trajectory stations of the wellbore. + * Remark : RESQML2.0.1 does not explicitely states that the ordering criteria is ascending but RESQML 2.2 does. + * + * @exception std::invalid_argument If @p stratiUnitInterpretation is @c nullptr. + * + * @param [in] stratiUnitInterpretation The stratigraphic unit interpretation to add. + */ DLL_IMPORT_OR_EXPORT void pushBackStratiUnitInterpretation(RESQML2_NS::StratigraphicUnitInterpretation * stratiUnitInterpretation) final; DLL_IMPORT_OR_EXPORT void setHorizonOfLastContact(RESQML2_NS::HorizonInterpretation * partOf) final; diff --git a/src/tools/TimeTools.h b/src/tools/TimeTools.h index 1a31e7ee0..db4fd6ef4 100644 --- a/src/tools/TimeTools.h +++ b/src/tools/TimeTools.h @@ -77,7 +77,9 @@ namespace timeTools days daysSinceJan1 = date - sys_days(ymd.year() / 1 / 1); std::tm result; - result.tm_sec = tod.seconds().count(); + + // static_ cast to silence MSVC C4244 (std::tm uses int fields and tod.seconds().count() uses long long) + result.tm_sec = static_cast(tod.seconds().count()); // Range must be [0..60] by definition result.tm_min = tod.minutes().count(); result.tm_hour = tod.hours().count(); result.tm_mday = (ymd.day() - 0_d).count(); diff --git a/src/tools/date.h b/src/tools/date.h index beb627e47..f70153b25 100644 --- a/src/tools/date.h +++ b/src/tools/date.h @@ -963,8 +963,8 @@ operator<<(std::basic_ostream& os, const year_month_weekday_last& inline namespace literals { -CONSTCD11 date::day operator "" _d(unsigned long long d) NOEXCEPT; -CONSTCD11 date::year operator "" _y(unsigned long long y) NOEXCEPT; +CONSTCD11 date::day operator ""_d(unsigned long long d) NOEXCEPT; +CONSTCD11 date::year operator ""_y(unsigned long long y) NOEXCEPT; } // inline namespace literals #endif // !defined(_MSC_VER) || (_MSC_VER >= 1900) @@ -1972,7 +1972,7 @@ inline namespace literals CONSTCD11 inline date::day -operator "" _d(unsigned long long d) NOEXCEPT +operator ""_d(unsigned long long d) NOEXCEPT { return date::day{static_cast(d)}; } @@ -1980,7 +1980,7 @@ operator "" _d(unsigned long long d) NOEXCEPT CONSTCD11 inline date::year -operator "" _y(unsigned long long y) NOEXCEPT +operator ""_y(unsigned long long y) NOEXCEPT { return date::year(static_cast(y)); } @@ -6784,7 +6784,7 @@ from_stream(std::basic_istream& is, const CharT* fmt, checked_set(m, static_cast(i % 12 + 1), not_a_month, is); ws(is); int td = not_a_day; - read(is, rs{td, 1, 2}); + read(is, ru{td, 1, 2}); checked_set(d, td, not_a_day, is); ws(is); using dfs = detail::decimal_format_seconds; @@ -6800,7 +6800,9 @@ from_stream(std::basic_istream& is, const CharT* fmt, not_a_second, is); ws(is); int tY = not_a_year; - read(is, rs{tY, 1, 4u}); + // No need for `rs` here, negative years can't parse + // with "%c" since `width` is hardcoded to 4 + read(is, ru{tY, 1, 4u}); checked_set(Y, tY, not_a_year, is); #endif } @@ -6834,7 +6836,7 @@ from_stream(std::basic_istream& is, const CharT* fmt, int tm = not_a_month; int td = not_a_day; read(is, ru{tm, 1, 2}, CharT{'/'}, ru{td, 1, 2}, CharT{'/'}, - rs{ty, 1, 2}); + ru{ty, 1, 2}); checked_set(y, ty, not_a_2digit_year, is); checked_set(m, tm, not_a_month, is); checked_set(d, td, not_a_day, is); @@ -6930,7 +6932,7 @@ from_stream(std::basic_istream& is, const CharT* fmt, int ty = not_a_2digit_year; read(is, ru{tn, 1, 2}, CharT{'\0'}, CharT{'/'}, CharT{'\0'}, ru{td, 1, 2}, CharT{'\0'}, CharT{'/'}, CharT{'\0'}, - rs{ty, 1, 2}); + ru{ty, 1, 2}); checked_set(y, ty, not_a_2digit_year, is); checked_set(m, tn, not_a_month, is); checked_set(d, td, not_a_day, is); @@ -6978,7 +6980,7 @@ from_stream(std::basic_istream& is, const CharT* fmt, #endif { int td = not_a_day; - read(is, rs{td, 1, width == -1 ? 2u : static_cast(width)}); + read(is, ru{td, 1, width == -1 ? 2u : static_cast(width)}); checked_set(d, td, not_a_day, is); } #if !ONLY_C_LOCALE @@ -7042,7 +7044,7 @@ from_stream(std::basic_istream& is, const CharT* fmt, { int tI = not_a_hour_12_value; // reads in an hour into I, but most be in [1, 12] - read(is, rs{tI, 1, width == -1 ? 2u : static_cast(width)}); + read(is, ru{tI, 1, width == -1 ? 2u : static_cast(width)}); if (!(1 <= tI && tI <= 12)) is.setstate(ios::failbit); checked_set(I, tI, not_a_hour_12_value, is); @@ -7116,7 +7118,7 @@ from_stream(std::basic_istream& is, const CharT* fmt, #endif { int tn = not_a_month; - read(is, rs{tn, 1, width == -1 ? 2u : static_cast(width)}); + read(is, ru{tn, 1, width == -1 ? 2u : static_cast(width)}); checked_set(m, tn, not_a_month, is); } #if !ONLY_C_LOCALE @@ -7536,7 +7538,7 @@ from_stream(std::basic_istream& is, const CharT* fmt, } if (modified == CharT{}) { - read(is, rs{tH, 2, 2}); + read(is, ru{tH, 2, 2}); if (!is.fail()) toff = hours{std::abs(tH)}; if (is.good()) @@ -7556,7 +7558,7 @@ from_stream(std::basic_istream& is, const CharT* fmt, } else { - read(is, rs{tH, 1, 2}); + read(is, ru{tH, 1, 2}); if (!is.fail()) toff = hours{std::abs(tH)}; if (is.good()) @@ -7575,7 +7577,7 @@ from_stream(std::basic_istream& is, const CharT* fmt, } } } - if (neg) + if (neg && !is.fail()) toff = -toff; checked_set(temp_offset, toff, not_a_offset, is); command = nullptr; @@ -8117,6 +8119,8 @@ struct parse_manip #endif // HAS_STRING_VIEW }; +#ifdef _MSC_VER + template std::basic_istream& operator>>(std::basic_istream& is, @@ -8220,6 +8224,113 @@ parse(const CharT* format, Parsable& tp, return {format, tp, &abbrev, &offset}; } +#else // !defined _MSC_VER + +template +std::basic_istream& +operator>>(std::basic_istream& is, + const parse_manip& x) +{ + return from_stream(is, x.format_.c_str(), x.tp_, x.abbrev_, x.offset_); +} + +template +inline +auto +parse(const std::basic_string& format, Parsable& tp) + -> decltype(from_stream(std::declval&>(), + format.c_str(), tp), + parse_manip{format, tp}) +{ + return {format, tp}; +} + +template +inline +auto +parse(const std::basic_string& format, Parsable& tp, + std::basic_string& abbrev) + -> decltype(from_stream(std::declval&>(), + format.c_str(), tp, &abbrev), + parse_manip{format, tp, &abbrev}) +{ + return {format, tp, &abbrev}; +} + +template +inline +auto +parse(const std::basic_string& format, Parsable& tp, + std::chrono::minutes& offset) + -> decltype(from_stream(std::declval&>(), + format.c_str(), tp, + std::declval*>(), + &offset), + parse_manip{format, tp, nullptr, &offset}) +{ + return {format, tp, nullptr, &offset}; +} + +template +inline +auto +parse(const std::basic_string& format, Parsable& tp, + std::basic_string& abbrev, std::chrono::minutes& offset) + -> decltype(from_stream(std::declval&>(), + format.c_str(), tp, &abbrev, &offset), + parse_manip{format, tp, &abbrev, &offset}) +{ + return {format, tp, &abbrev, &offset}; +} + +// const CharT* formats + +template +inline +auto +parse(const CharT* format, Parsable& tp) + -> decltype(from_stream(std::declval&>(), format, tp), + parse_manip{format, tp}) +{ + return {format, tp}; +} + +template +inline +auto +parse(const CharT* format, Parsable& tp, std::basic_string& abbrev) + -> decltype(from_stream(std::declval&>(), format, + tp, &abbrev), + parse_manip{format, tp, &abbrev}) +{ + return {format, tp, &abbrev}; +} + +template +inline +auto +parse(const CharT* format, Parsable& tp, std::chrono::minutes& offset) + -> decltype(from_stream(std::declval&>(), format, + tp, std::declval*>(), &offset), + parse_manip{format, tp, nullptr, &offset}) +{ + return {format, tp, nullptr, &offset}; +} + +template +inline +auto +parse(const CharT* format, Parsable& tp, + std::basic_string& abbrev, std::chrono::minutes& offset) + -> decltype(from_stream(std::declval&>(), format, + tp, &abbrev, &offset), + parse_manip{format, tp, &abbrev, &offset}) +{ + return {format, tp, &abbrev, &offset}; +} + +#endif // !defined _MSC_VER + // duration streaming template diff --git a/swig/swigEml2Include.i b/swig/swigEml2Include.i index 061e4c1b2..2cb29bd71 100644 --- a/swig/swigEml2Include.i +++ b/swig/swigEml2Include.i @@ -20,6 +20,7 @@ under the License. #include "../src/eml2/AbstractLocal3dCrs.h" #include "../src/eml2/Activity.h" #include "../src/eml2/ActivityTemplate.h" +#include "../src/eml2/ColumnBasedTable.h" #include "../src/eml2/GraphicalInformationSet.h" #include "../src/eml2/PropertyKind.h" #include "../src/eml2/TimeSeries.h" @@ -30,6 +31,7 @@ under the License. %nspace EML2_NS::AbstractLocal3dCrs; %nspace EML2_NS::Activity; %nspace EML2_NS::ActivityTemplate; + %nspace EML2_NS::ColumnBasedTable; %nspace EML2_NS::EpcExternalPartReference; %nspace EML2_NS::GraphicalInformationSet; %nspace EML2_NS::PropertyKind; @@ -1702,8 +1704,6 @@ namespace EML2_NS void setValueVectorIndex(COMMON_NS::AbstractObject const* targetObject, int64_t valueVectorIndex); }; - /************ Property **************/ - class PropertyKind : public COMMON_NS::AbstractObject { public: /** @@ -1749,6 +1749,137 @@ namespace EML2_NS virtual bool isAbstract() const; }; + class ColumnBasedTable : public COMMON_NS::AbstractObject + { + public: + /** + * Gets the row count of this table + */ + uint64_t getRowCount() const; + + /** + * Gets the column count of this table + */ + uint64_t getColumnCount() const; + + /** + * Gets the property kind associated to a particular column count of this table + * + * @param columnIndex The index of the column which we want the associated property kind from + * + * @return The associated property kind. + */ + PropertyKind* getPropertyKind(uint64_t columnIndex) const; + + /** + * Gets the uom associated to a particular column count of this table + * + * @param columnIndex The index of the column which we want the associated uom from + * + * @return The associated uom. If no uom is provided or if Euc is provided, this method returns Euc. + */ + gsoap_eml2_3::eml23__UnitOfMeasure getUom(uint64_t columnIndex) const; + + /** + * Gets the uom associated to a particular column count of this table + * + * @param columnIndex The index of the column which we want the associated uom from + * + * @return The associated uom as string. If no uom is provided, this method returns an empty string. + */ + std::string getUomAsString(uint64_t columnIndex) const; + + /** + * Gets the value count per row for a particular column count of this table + * + * @param columnIndex The index of the column which we want the associated uom from + * + * @return The associated uom. If no uom is provided or if Euc is provided, this method returns Euc. + */ + uint64_t getValueCountPerRow(uint64_t columnIndex) const; + + /** + * Gets the values of a column as string values + * + * @param columnIndex The index of the column which we want the values from + * + * @return The string values + */ + std::vector getStringValues(uint64_t columnIndex) const; + + /** + * Sets the values of a column as XML string values + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + */ + void setStringValues(uint64_t columnIndex, const std::vector & values); + + /** + * Gets the values of a column as double values + * + * @param columnIndex The index of the column which we want the values from + * + * @return The double values + */ + std::vector getDoubleValues(uint64_t columnIndex) const; + + /** + * Sets the values of a column as XML double values + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + */ + void setDoubleValues(uint64_t columnIndex, const std::vector & values); + + /** + * Sets the values of a column as double values into the HDF proxy. + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + * @param valueCount The count of values/rows. + * @param proxy The hdf proxy which indicates the support where the values will be stored. + */ + void setDoubleValues(uint64_t columnIndex, double const* values, uint64_t valueCount, EML2_NS::AbstractHdfProxy * proxy = nullptr); + + /** + * Gets the values of a column as int64 values + * + * @param columnIndex The index of the column which we want the values from + * + * @return The int64 values + */ + std::vector getInt64Values(uint64_t columnIndex) const; + + /** + * Sets the values of a column as XML int64 values + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + */ + void setInt64Values(uint64_t columnIndex, const std::vector & values); + + /** + * Sets the values of a column as int64 values into the HDF proxy. + * + * @param columnIndex The index of the column which we want to set the values + * @param values The values to set + * @param valueCount The count of values/rows. + * @param proxy The hdf proxy which indicates the support where the values will be stored. + */ + void setInt64Values(uint64_t columnIndex, int64_t const* values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy = nullptr); + + /** + * Pushes back a new column in this table and fill in its header + * + * @param isAKeyColumn Indicate if the column to push back is a key one or not + * @param title Indicate the name of the column + * @param propKind The property kind associated to the value of this column + * @param valueCountPerRow The count of values in each row of this column + */ + void pushBackColumnHeader(bool isAKeyColumn, const std::string& title, PropertyKind* propKind, uint64_t valueCountPerRow = 1); + }; + class TimeSeries : public COMMON_NS::AbstractObject { public: @@ -1773,7 +1904,7 @@ namespace EML2_NS * * @returns The index of @p timestamp in this time series. */ - uint64_t getTimestampIndex(time_t timestamp, LONG64 yearOffset = 0) const; + uint64_t getTimestampIndex(time_t timestamp, int64_t yearOffset = 0) const; /** * Get the count of timestamps in this time series. diff --git a/swig/swigEml2_3Include.i b/swig/swigEml2_3Include.i index 20293fb71..7c5c4c6e8 100644 --- a/swig/swigEml2_3Include.i +++ b/swig/swigEml2_3Include.i @@ -19,6 +19,7 @@ under the License. %{ #include "../src/eml2_3/Activity.h" #include "../src/eml2_3/ActivityTemplate.h" +#include "../src/eml2_3/ColumnBasedTable.h" #include "../src/eml2_3/GraphicalInformationSet.h" #include "../src/eml2_3/LocalEngineering2dCrs.h" #include "../src/eml2_3/LocalEngineeringCompoundCrs.h" @@ -30,6 +31,7 @@ under the License. #if defined(SWIGJAVA) || defined(SWIGCSHARP) %nspace EML2_3_NS::Activity; %nspace EML2_3_NS::ActivityTemplate; + %nspace EML2_3_NS::ColumnBasedTable; %nspace EML2_3_NS::GraphicalInformationSet; %nspace EML2_3_NS::LocalEngineering2dCrs; %nspace EML2_3_NS::LocalEngineeringCompoundCrs; @@ -1999,6 +2001,14 @@ namespace EML2_3_NS class ActivityTemplate : public EML2_NS::ActivityTemplate { public: + }; + +#if defined(SWIGJAVA) || defined(SWIGPYTHON) + %rename(Eml23_ColumnBasedTable) ColumnBasedTable; +#endif + class ColumnBasedTable : public EML2_NS::ColumnBasedTable + { + public: }; #if defined(SWIGJAVA) || defined(SWIGPYTHON) diff --git a/swig/swigModule.i b/swig/swigModule.i index 6e821ee29..531e3cedd 100644 --- a/swig/swigModule.i +++ b/swig/swigModule.i @@ -1086,6 +1086,7 @@ import com.f2i_consulting.fesapi.*; SWIG_GETTER_DATAOBJECTS(EML2_NS::AbstractLocal3dCrs, Local3dCrs) SWIG_GETTER_DATAOBJECTS(EML2_NS::Activity, Activity) SWIG_GETTER_DATAOBJECTS(EML2_NS::ActivityTemplate, ActivityTemplate) + SWIG_GETTER_DATAOBJECTS(EML2_NS::ColumnBasedTable, ColumnBasedTable) SWIG_GETTER_DATAOBJECTS(EML2_NS::GraphicalInformationSet, GraphicalInformationSet) SWIG_GETTER_DATAOBJECTS(EML2_NS::PropertyKind, PropertyKind) SWIG_GETTER_DATAOBJECTS(EML2_NS::TimeSeries, TimeSeries) @@ -1533,7 +1534,7 @@ import com.f2i_consulting.fesapi.*; RESQML2_NS::BoundaryFeature* createBoundaryFeature(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates + * @brief Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates * a horizon into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1546,7 +1547,7 @@ import com.f2i_consulting.fesapi.*; RESQML2_NS::BoundaryFeature* createHorizon(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates + * @brief Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates * a geobody boundary feature into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1575,7 +1576,7 @@ import com.f2i_consulting.fesapi.*; RESQML2_NS::RockVolumeFeature* createGeobodyFeature(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates + * @brief Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates * a fault into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1588,7 +1589,7 @@ import com.f2i_consulting.fesapi.*; RESQML2_NS::BoundaryFeature* createFault(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates + * @brief Use {@link createBoundaryFeature()} method for RESQML post v2.0.1 Creates * a fracture into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1714,7 +1715,7 @@ import com.f2i_consulting.fesapi.*; gsoap_eml2_3::resqml22__CulturalFeatureKind kind = gsoap_eml2_3::resqml22__CulturalFeatureKind::project_x0020boundaries); /** - * @brief @deprecated Use {@link createRockVolumeFeature()} method for RESQML post v2.0.1 + * @brief Use {@link createRockVolumeFeature()} method for RESQML post v2.0.1 * Creates a stratigraphic unit into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1734,7 +1735,7 @@ import com.f2i_consulting.fesapi.*; #endif /** - * @brief @deprecated Use {@link createModel()} method for RESQML post v2.0.1 Creates a + * @brief Use {@link createModel()} method for RESQML post v2.0.1 Creates a * structural model into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1749,7 +1750,7 @@ import com.f2i_consulting.fesapi.*; RESQML2_NS::Model* createStructuralModel(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createModel()} method for RESQML post v2.0.1 Creates a + * @brief Use {@link createModel()} method for RESQML post v2.0.1 Creates a * stratigraphic model into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1764,7 +1765,7 @@ import com.f2i_consulting.fesapi.*; RESQML2_NS::Model* createStratigraphicModel(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createModel()} method for RESQML post v2.0.1 Creates a rock + * @brief Use {@link createModel()} method for RESQML post v2.0.1 Creates a rock * fluid model into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -1779,7 +1780,7 @@ import com.f2i_consulting.fesapi.*; RESQML2_NS::Model* createRockFluidModel(const std::string & guid, const std::string & title); /** - * @brief @deprecated Use {@link createModel()} method for RESQML post v2.0.1 Creates an earth + * @brief Use {@link createModel()} method for RESQML post v2.0.1 Creates an earth * model into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. @@ -2088,8 +2089,7 @@ import com.f2i_consulting.fesapi.*; RESQML2_NS::StratigraphicColumn* createStratigraphicColumn(const std::string & guid, const std::string & title); /** - * @brief Creates a stratigraphic column rank interpretation ordered by age into this - * repository. + * @brief Creates a stratigraphic column rank interpretation ordered by ascending age into this repository. * * @exception std::invalid_argument If the default RESQML version is unrecognized. * @exception std::invalid_argument If orgFeat == nullptr or if in a RESQML v2.0 @@ -2107,8 +2107,7 @@ import com.f2i_consulting.fesapi.*; RESQML2_NS::StratigraphicColumnRankInterpretation* createStratigraphicColumnRankInterpretationInAge(RESQML2_NS::Model * orgFeat, const std::string & guid, const std::string & title, uint64_t rank); /** - * @brief Creates a stratigraphic column rank interpretation ordered by apparent depth into - * this repository + * @brief Creates a stratigraphic column rank interpretation ordered by ascending apparent depth into this repository * * @exception std::invalid_argument If the default RESQML version is unrecognized. * @exception std::invalid_argument If orgFeat == nullptr or if in a RESQML v2.0 @@ -3032,7 +3031,22 @@ import com.f2i_consulting.fesapi.*; * * @returns A pointer to the new string table lookup. */ - RESQML2_NS::StringTableLookup* createStringTableLookup(const std::string & guid, const std::string & title); + RESQML2_NS::StringTableLookup* createStringTableLookup(const std::string & guid, const std::string & title); + + /** + * @brief Creates a column based table into this repository + * You need to define the columns and set their values after creation + * + * @exception std::invalid_argument If the default RESQML version is unrecognized. + * + * @param guid The guid to set to the column based table. If empty then a new guid will be + * generated. + * @param title The title to set to the column based table. If empty then \"unknown\" title + * will be set. + * + * @returns A pointer to the new column based table. + */ + EML2_NS::ColumnBasedTable* createColumnBasedTable(const std::string& guid, const std::string& title); /** * Creates a property kind into this repository diff --git a/swig/swigResqml2Include.i b/swig/swigResqml2Include.i index f8d168d0b..64b52a77f 100644 --- a/swig/swigResqml2Include.i +++ b/swig/swigResqml2Include.i @@ -2616,21 +2616,142 @@ namespace RESQML2_NS #ifdef SWIGPYTHON %rename(Resqml2_StratigraphicColumnRankInterpretation) StratigraphicColumnRankInterpretation; #endif + /** + * @brief A stratigraphic column rank interpretation contains an ordered list of stratigraphic unit interpretations. + * It corresponds to a level of detail of the stratigraphic column. First indexed ranks are coarser than last indexed ranks which are more detailed. + */ class StratigraphicColumnRankInterpretation : public AbstractStratigraphicOrganizationInterpretation { public: + + /** + * Pushes back a stratigraphic unit interpretation to this stratigraphic column rank interpretation. + * The stratigraphic unit interpretation must be pushed back according to the ordering criteria of the stratigraphic column rank interpretation: + * - If the (ascending) ordering criteria is age then units must be pushed back from the youngest to oldest. + * - If the (ascending) ordering criteria is apparent depth then units must be pushed back from the shallowest one to the deepest one. + * - If the (ascending) ordering criteria is measured depth then units must be pushed back + * from the first drilled trajectory stations to the latest drilled trajectory stations of the wellbore. + * Remark : RESQML2.0.1 does not explicitely states that the ordering criteria is ascending but RESQML 2.2 does. + * + * @exception std::invalid_argument If @p stratiUnitInterpretation is @c nullptr. + * + * @param [in] stratiUnitInterpretation The stratigraphic unit interpretation to add. + */ void pushBackStratiUnitInterpretation(StratigraphicUnitInterpretation * stratiUnitInterpretation); + + /** + * Sets the horizon interpretation that contains the last (the one with the greater index) + * contact interpretation within the list of contact interpretation associated to this + * stratigraphic column rank interpretation. + * + * @exception std::invalid_argument If @p partOf is @c nullptr. + * + * @param [in] partOf The horizon interpretation that contains the last contact interpretation. + */ + void setHorizonOfLastContact(HorizonInterpretation * partOf); + + /** + * Adds a stratigraphic binary "stops" contact to this stratigraphic column rank interpretation. + * + * @exception std::invalid_argument If @p subject or @p directObject is @c nullptr. + * + * @param [in] subject The subject of the sentence that defines how the contact was + * constructed. + * @param subjectContactMode The subject contact mode (baselap, erosion, extended or + * proportional). + * @param [in] directObject The direct object of the sentence that defines how the + * contact was constructed. + * @param directObjectMode The direct object contact mode (baselap, erosion, extended or + * proportional). + * @param [in] partOf (Optional) If non-null, the horizon interpretation that + * contains this new binary contact. Default value is @c nullptr. + */ void pushBackStratigraphicBinaryContact(StratigraphicUnitInterpretation* subject, gsoap_eml2_3::resqml22__ContactMode subjectContactMode, StratigraphicUnitInterpretation* directObject, gsoap_eml2_3::resqml22__ContactMode directObjectMode, HorizonInterpretation * partOf = nullptr); - + + /** + * Indicates whether this stratigraphic column rank interpretation is a chrono one (it is + * ordered by ages) or not. One of the consequence is that in a chrono stratigraphic column rank + * interpretation, each stratigraphic unit interpretation have only one top and only one bottom. + * + * @returns True if is a chrono stratigraphic column rank, false if it is not. + */ + bool isAChronoStratiRank() const; + + /** + * Gets the count of contacts in this stratigraphic column rank interpretation. + * + * @returns The contact count. + */ unsigned int getContactCount() const; + + /** + * Gets the contact mode of the subject stratigraphic unit of a contact located at a particular + * index. Most of time the subject stratigraphic unit is the stratigraphic unit on top of the + * contact. + * + * @exception std::out_of_range If @p contactIndex is out of range. + * + * @param contactIndex Zero-based index of the contact for which we look for the contact + * mode of the subject stratigraphic unit. + * + * @returns Proportional contact mode by default (if no contact mode is associated to the subject + * stratigraphic unit) or the contact mode of the subject stratigraphic unit. + */ gsoap_eml2_3::resqml22__ContactMode getSubjectContactModeOfContact(unsigned int contactIndex) const; - gsoap_eml2_3::resqml22__ContactMode getDirectObjectContactModeOfContact(unsigned int contactIndex) const; - HorizonInterpretation* getHorizonInterpretationOfContact(unsigned int contactIndex) const; - bool isAChronoStratiRank() const; + + /** Gets the stratigraphic unit interpretation which is the subject of a particular contact. + * + * @exception std::out_of_range If @p contactIndex is out of range. + * + * @param contactIndex Zero-based index of the contact for which we look for the subject + * stratigraphic unit interpretation. + * + * @returns The subject stratigraphic unit interpretation of the contact at position @p contactIndex + * if it exists, else @c nullptr. + */ StratigraphicUnitInterpretation* getSubjectOfContact(unsigned int contactIndex) const; + + /** + * Gets the contact mode of the direct object stratigraphic unit of a contact located at a + * particular index. Most of time the direct object stratigraphic unit is the stratigraphic unit + * below the contact. + * + * @param contactIndex Zero-based index of the contact for which we look for the contact + * mode of the direct object stratigraphic unit. + * + * @returns Proportional contact mode by default (if no contact mode is associated to the direct + * object stratigraphic unit) or the contact mode of the direct object stratigraphic + * unit. + */ + gsoap_eml2_3::resqml22__ContactMode getDirectObjectContactModeOfContact(unsigned int contactIndex) const; + + /** Gets the stratigraphic unit interpretation which is the direct object of a particular contact. + * + * @exception std::out_of_range If @p contactIndex is out of range. + * + * @param contactIndex Zero-based index of the contact for which we look for the direct + * object stratigraphic unit interpretation. + * + * @returns The direct object stratigraphic unit interpretation of the contact at position + * @p contactIndex if it exists, else @c nullptr. + */ StratigraphicUnitInterpretation* getDirectObjectOfContact(unsigned int contactIndex) const; + + /** + * Gets the horizon interpretation which is the contact between two stratigraphic units. + * + * @exception std::out_of_range If @p contactIndex is out of range. + * + * @param contactIndex Zero-based index of the contact for which we want to get the + * corresponding horizon interpretation. + * + * @returns @c nullptr if the horizon corresponding to the contact at position @p contactIndex is + * unknown, else the corresponding horizon interpretation. + */ + HorizonInterpretation* getHorizonInterpretationOfContact(unsigned int contactIndex) const; + SWIG_GETTER_DATAOBJECTS(RESQML2_NS::StratigraphicUnitInterpretation, StratigraphicUnitInterpretation) SWIG_GETTER_DATAOBJECTS(RESQML2_NS::StratigraphicOccurrenceInterpretation, StratigraphicOccurrenceInterpretation) SWIG_GETTER_DATAOBJECTS(RESQML2_NS::HorizonInterpretation, HorizonInterpretation) @@ -2651,11 +2772,44 @@ namespace RESQML2_NS #ifdef SWIGPYTHON %rename(Resqml2_StratigraphicColumn) StratigraphicColumn; #endif + /** + * @brief A global interpretation of the stratigraphy, which can be made up of several ranks of + * stratigraphic unit interpretations. + */ class StratigraphicColumn : public COMMON_NS::AbstractObject { public: + + /** + * Stratigraphic column ranks must be pushed back from the coarsest rank to the most detailed one. + * + * Pushes a back a stratigraphic column rank interpretation into this stratigraphic column. + * + * @exception std::invalid_argument If stratiColumnRank == nullptr + * + * @param [in] stratiColumnRank A stratigraphic column rank interpretation. + */ void pushBackStratiColumnRank(StratigraphicColumnRankInterpretation * stratiColumnRank); + + /** + * Gets the count of all the stratigraphic column rank interpretations which are contained in + * this stratigraphic column. + * + * @returns The count of all the stratigraphic column rank interpretations which are contained in + * this stratigraphic column. + */ unsigned int getStratigraphicColumnRankInterpretationCount() const; + + /** + * Gets the stratigraphic column rank interpretations at a particular index. + * + * @exception std::out_of_range If index >= + * getStratigraphicColumnRankInterpretationCount(). + * + * @param index Zero-based index of the stratigraphic column rank interpretations. + * + * @returns The stratigraphic column rank interpretation at position @p index. + */ StratigraphicColumnRankInterpretation* getStratigraphicColumnRankInterpretation(unsigned int index) const; }; @@ -4566,11 +4720,139 @@ namespace RESQML2_NS */ void setKCellCount(uint64_t kCount); + /** + * Gets the K direction (up, down or not monotonic) of this grid. + * + * @exception std::invalid_argument If there is no geometry on this grid. + * + * @returns The K direction of this grid. + */ + gsoap_resqml2_0_1::resqml20__KDirection getKDirection() const; + + /** + * Set the stratigraphic organization interpretation which is associated to this grid + * representation. + * + * @exception std::invalid_argument If this grid is a truncated one and thus cannot be linked + * to a stratigraphic column in RESQML2.0. + * @exception std::invalid_argument If @p stratiOrgInterp is null. + * @exception std::invalid_argument If @p hdfProxy is null and no default HDF proxy is + * provided in the associated data object repository. + * + * @param [in] stratiUnitIndices Index of the stratigraphic unit of a given stratigraphic + * column for each interval of this grid representation. + * Array length is the number of interval in the grids. + * Intervals = layers + K gaps. + * @param nullValue The value which is used to tell that the association + * between a grid interval and a stratigraphic unit is + * unavailable. + * @param [in] stratiOrgInterp The stratigraphic organization interpretation which is + * associated to this grid representation. + * @param [in, out] hdfProxy (Optional) The HDF proxy where to write the values. It + * must be already opened for writing and won't be closed in + * this method. + */ void setIntervalAssociationWithStratigraphicOrganizationInterpretation(int64_t * stratiUnitIndices, int64_t nullValue, RESQML2_NS::AbstractStratigraphicOrganizationInterpretation* stratiOrgInterp, EML2_NS::AbstractHdfProxy * hdfProxy); + RESQML2_NS::AbstractStratigraphicOrganizationInterpretation* getStratigraphicOrganizationInterpretation() const; + + /** + * Queries if this grid has some interval stratigraphic unit indices. + * + * @exception std::logic_error If this grid is partial or if the underlying gSOAP instance is not a RESQML2.0 one.. + * + * @returns true if this grid representation has got some association between stratigraphic unit + * indices and intervals. Intervals = layers + K gaps. + */ bool hasIntervalStratigraphicUnitIndices() const; + + /** + * Get the stratigraphic unit indices (regarding the associated stratigraphic organization + * interpretation) of each interval of this grid representation. + * + * @exception std::invalid_argument If this grid is a truncated one. + * @exception std::invalid_argument If this grid has no stratigraphic unit interval + * information. + * + * @param [out] stratiUnitIndices This array must be allocated with a size equal to the + * count of interval in this grid. Intervals = layers + K gaps. + * It will be filled in with the stratigraphic unit indices + * ordered as grid intervals are ordered. + * + * @returns The null value. The null value is used to tell the association between a grid + * interval and a stratigraphic unit is unavailable. + */ int64_t getIntervalStratigraphicUnitIndices(int64_t * stratiUnitIndices); + + /** + * Gets the most complex pillar geometry we can find on this grid. The returned value is not + * computed. It is just read from the data object attributes. Since it is denormalized + * information, inconsistency (mainly due to non synchronized information) might occur. In order + * to be sure the value is consistent with actual data, please compute this value again from the + * pillar kind indices. + * + * @exception std::invalid_argument If this grid has no AbstractColumnLayerGridGeometry. + * + * @returns The most complex pillar geometry which we can find on this grid. + */ gsoap_resqml2_0_1::resqml20__PillarShape getMostComplexPillarGeometry() const; + + /** + * Gets the parent node index for each of the split nodes. + * + * @param [out] splitNodeParentNodeIndices This array must be pre-allocated with a size equal to the + * count of split nodes. It will be filled in by this method + * and not deleted. + * + * @exception std::invalid_argument If there is no split node on this column layer grid. + */ + void getSplitNodeParentNodeIndices(uint64_t* splitNodeParentNodeIndices) const; + + /** + * Gets the cumulative count of cells impacted by all the split nodes. The order of + * the cumulative count values corresponds to the order of the split nodes. + * + * @exception std::invalid_argument If the HDF proxy is missing. + * @exception std::invalid_argument If there is no geometry or no split node in + * this grid. + * @exception std::logic_error If the cumulative count of the columns impacted by the + * split coordinate lines are not stored within an HDF5 + * integer array. + * + * @param [out] cumulativeCountOfCellsPerSplitNode This array must be pre-allocated with a size equal to the + * count of split nodes. It will be filled in with the cumulative + * count of cells impacted by the split nodes. + */ + void getCumulativeCountOfCellsPerSplitNode(uint64_t* cumulativeCountOfCellsPerSplitNode) const; + + /** + * Gets the indices of the cells impacted by all the split nodes. They are linearized and must be read according to getCumulativeCountOfCellsPerSplitNode. + * + * @exception std::invalid_argument If the HDF proxy is missing. + * @exception std::invalid_argument If there is no geometry or no split node in + * this grid. + * @exception std::logic_error If the cumulative count of the columns impacted by the + * split coordinate lines are not stored within an HDF5 + * integer array. + * + * @param [out] cellsPerSplitNode This array must be pre-allocated with the last value of the + * getCumulativeCountOfCellsPerSplitNode returned value. + * It will be filled in with the cell indices impacted by the split nodes. + */ + void getCellsPerSplitNode(uint64_t* cellsPerSplitNode) const; + + /** + * Sets all information about a split node patch of the grid. These information is related to + * all XYZ points which are located after the index (PillarCount + SplitPillarCount + SplitCoordinateLineCount) * (KCellCount + 1) + * + * @param [in] splitNodeCount The count of split nodes + * @param [in] splitNodeParentNodeIndices The parent node index for each of the split nodes. Size must be splitNodeCount. + * @param [in] cumulativeCountOfCellsPerSplitNode The cumulative count of cells impacted by each of the split nodes. Size must be splitNodeCount. + * @param [in] cellsPerSplitNode The indices of the cells impacted by each of the split nodes. + * Size must be the last value of cumulativeCountOfCellsPerSplitNode + */ + void setSplitNodePatch(uint64_t splitNodeCount, uint64_t* splitNodeParentNodeIndices, + uint64_t* cumulativeCountOfCellsPerSplitNode, uint64_t* cellsPerSplitNode, EML2_NS::AbstractHdfProxy* proxy = nullptr); }; #ifdef SWIGPYTHON @@ -5075,8 +5357,6 @@ namespace RESQML2_NS bool isNodeGeometryCompressed() const; - gsoap_resqml2_0_1::resqml20__KDirection getKDirection() const; - geometryKind getGeometryKind() const; }; @@ -6015,7 +6295,7 @@ namespace RESQML2_NS * @param [in] timestamp The single timestamps to associate to this property * @param [in] yearOffset Indicates that the dateTime attribute must be translated according to this value. */ - void setSingleTimestamp(time_t timestamp, LONG64 yearOffset = 0); + void setSingleTimestamp(time_t timestamp, int64_t yearOffset = 0); /** * Get a single associated timestamp for this property. diff --git a/test/eml2_3test/ColumnBasedTableTest.cpp b/test/eml2_3test/ColumnBasedTableTest.cpp new file mode 100644 index 000000000..2934964aa --- /dev/null +++ b/test/eml2_3test/ColumnBasedTableTest.cpp @@ -0,0 +1,108 @@ +/*----------------------------------------------------------------------- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"; you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +-----------------------------------------------------------------------*/ +#include "ColumnBasedTableTest.h" + +#include "catch.hpp" + +#include "eml2/PropertyKind.h" + +#include "eml2_3/ColumnBasedTable.h" + +using namespace std; +using namespace EML2_NS; +using namespace RESQML2_NS; +using namespace eml2_3test; + +ColumnBasedTableTest::ColumnBasedTableTest(const string & repoPath) + : AbstractTest(repoPath) { +} + +void ColumnBasedTableTest::initRepo() { + auto* cbt = repo->createColumnBasedTable("866841eb-0c56-4b7d-96d6-f15f385deaf9", "KrPc"); + + auto* pwls3RowIndex = repo->createPropertyKind("b313a407-720b-4c03-83de-0bb31d14c796", "row index", gsoap_eml2_3::eml23__QuantityClassKind::not_x0020a_x0020measure); + auto* pwls3Saturation = repo->createPropertyKind("cfe9293f-d5a9-486d-815a-a957cace90b6", "saturation", gsoap_eml2_3::eml23__QuantityClassKind::dimensionless); + auto* pwls3RelPerm = repo->createPropertyKind("8e3c5579-7efd-40d0-ab03-bc79452dd2db", "relative permeability", gsoap_eml2_3::eml23__QuantityClassKind::unitless); + auto* pwls3CapPressure = repo->createPropertyKind("a816a113-1544-4f58-bc6d-7c030b65627b", "capillary pressure", gsoap_eml2_3::eml23__QuantityClassKind::pressure); + + cbt->pushBackColumnHeader(true, "Row indew", pwls3RowIndex); + cbt->pushBackColumnHeader(false, "Water Saturation", pwls3Saturation); + cbt->pushBackColumnHeader(false, "Water Relative Permeability", pwls3RelPerm); + cbt->pushBackColumnHeader(false, "Oil Relative Permeability", pwls3RelPerm); + cbt->pushBackColumnHeader(false, "Oil Water Capillary Pressure", pwls3CapPressure); + + int64_t rowIndex[] = { 0, 1, 2, 3, 4, 5, 6 }; + cbt->setInt64Values(0, rowIndex, 7); + double watSat[] = { 0, 0.157, 0.173, 0.174325, 0.19, 0.19165, 0.207 }; + cbt->setDoubleValues(1, watSat, 7); + std::vector watRelPerm = { 0, 0, 0.000356, 0.0004392, 0.0014241, 0.0015969, 0.0032041 }; + cbt->setDoubleValues(2, watRelPerm); + std::vector rowIndexStr= { "ZERO", "ONE", "TWO", "THREE", "FOUR", "FIVE", "SIX"}; + cbt->setStringValues(3, rowIndexStr); +} + +void ColumnBasedTableTest::readRepo() { + const auto cbtSet = repo->getColumnBasedTableSet(); + REQUIRE(cbtSet.size() == 1); + + const auto* cbt = cbtSet[0]; + REQUIRE(cbt->getColumnCount() == 5); + REQUIRE(cbt->getRowCount() == 7); + REQUIRE(cbt->getPropertyKind(0)->getUuid() == "b313a407-720b-4c03-83de-0bb31d14c796"); + + // HDF Int64 column + REQUIRE(cbt->getDatatype(0) == COMMON_NS::AbstractObject::numericalDatatypeEnum::INT64); + auto rowIndexColumn = cbt->getInt64Values(0); + for (size_t i = 0; i < rowIndexColumn.size(); ++i) { + REQUIRE(rowIndexColumn[i] == i); + } + + // HDF Double column + REQUIRE(cbt->getDatatype(1) == COMMON_NS::AbstractObject::numericalDatatypeEnum::DOUBLE); + auto watSatColumn = cbt->getDoubleValues(1); + REQUIRE(watSatColumn[0] == 0); + REQUIRE(watSatColumn[1] == 0.157); + REQUIRE(watSatColumn[2] == 0.173); + REQUIRE(watSatColumn[3] == 0.174325); + REQUIRE(watSatColumn[4] == 0.19); + REQUIRE(watSatColumn[5] == 0.19165); + REQUIRE(watSatColumn[6] == 0.207); + + // XML Double column + REQUIRE(cbt->getDatatype(2) == COMMON_NS::AbstractObject::numericalDatatypeEnum::DOUBLE); + auto watRelPermColumn = cbt->getDoubleValues(2); + REQUIRE(watRelPermColumn[0] == 0); + REQUIRE(watRelPermColumn[1] == 0); + REQUIRE(watRelPermColumn[2] == 0.000356); + REQUIRE(watRelPermColumn[3] == 0.0004392); + REQUIRE(watRelPermColumn[4] == 0.0014241); + REQUIRE(watRelPermColumn[5] == 0.0015969); + REQUIRE(watRelPermColumn[6] == 0.0032041); + + // XML Strign column + REQUIRE(cbt->getDatatype(3) == COMMON_NS::AbstractObject::numericalDatatypeEnum::UNKNOWN); + auto rowIndexStrColumn = cbt->getStringValues(3); + REQUIRE(rowIndexStrColumn[0] == "ZERO"); + REQUIRE(rowIndexStrColumn[1] == "ONE"); + REQUIRE(rowIndexStrColumn[2] == "TWO"); + REQUIRE(rowIndexStrColumn[3] == "THREE"); + REQUIRE(rowIndexStrColumn[4] == "FOUR"); + REQUIRE(rowIndexStrColumn[5] == "FIVE"); + REQUIRE(rowIndexStrColumn[6] == "SIX"); +} diff --git a/test/eml2_3test/ColumnBasedTableTest.h b/test/eml2_3test/ColumnBasedTableTest.h new file mode 100644 index 000000000..c92342f6b --- /dev/null +++ b/test/eml2_3test/ColumnBasedTableTest.h @@ -0,0 +1,33 @@ +/*----------------------------------------------------------------------- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"; you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +-----------------------------------------------------------------------*/ +#pragma once + +#include "AbstractTest.h" + +namespace eml2_3test { + class ColumnBasedTableTest : public commontest::AbstractTest { + public: + + ColumnBasedTableTest(const std::string & repoPath); + + protected: + void initRepo(); + void readRepo(); + }; +} diff --git a/test/eml2_3test/GraphicalInformationSetTest.cpp b/test/eml2_3test/GraphicalInformationSetTest.cpp index fb6aadd65..e869d494f 100644 --- a/test/eml2_3test/GraphicalInformationSetTest.cpp +++ b/test/eml2_3test/GraphicalInformationSetTest.cpp @@ -24,7 +24,7 @@ under the License. using namespace std; using namespace EML2_NS; using namespace RESQML2_NS; -using namespace commontest; +using namespace eml2_3test; const char* GraphicalInformationSetTest::defaultUuid = "b4a247f5-aeab-46c3-8afc-bce6420d47a8"; const char* GraphicalInformationSetTest::defaultTitle = "Graphical Information Set"; diff --git a/test/eml2_3test/GraphicalInformationSetTest.h b/test/eml2_3test/GraphicalInformationSetTest.h index d9e269d22..17f92c586 100644 --- a/test/eml2_3test/GraphicalInformationSetTest.h +++ b/test/eml2_3test/GraphicalInformationSetTest.h @@ -20,7 +20,7 @@ under the License. #include "AbstractTest.h" -namespace commontest { +namespace eml2_3test { class GraphicalInformationSetTest : public commontest::AbstractTest { public: static const char* defaultUuid; diff --git a/test/resqml2_test/PolylineSetRepresentation.cpp b/test/resqml2_test/PolylineSetRepresentation.cpp index fb378773d..199b10e75 100644 --- a/test/resqml2_test/PolylineSetRepresentation.cpp +++ b/test/resqml2_test/PolylineSetRepresentation.cpp @@ -32,28 +32,60 @@ using namespace std; using namespace resqml2_test; using namespace COMMON_NS; -const char* PolylineSetRepresentation::defaultUuid = "60b04722-8608-4e92-8f1d-596372dd309e"; -const char* PolylineSetRepresentation::defaultTitle = "Polyline representation (in time)"; -unsigned int PolylineSetRepresentation::numNodesPerPolylinePerPatch[] = { 3, 2 }; -double PolylineSetRepresentation::polylinePoints[] = { 150, 0, 200, 300, 0, 350, 450, 0, 500, 150, 200, 200, 450, 200, 500 }; +namespace { + constexpr const char* FAULT_STICKS_UUID = "60b04722-8608-4e92-8f1d-596372dd309e"; + constexpr const char* defaultTitle = "Fault sticks"; + constexpr uint32_t numNodesPerPolylinePerPatch[] = { 3, 2 }; + double polylinePoints[] = { 150, 0, 200, 300, 0, 350, 450, 0, 500, 150, 200, 200, 450, 200, 500 }; + + constexpr const char* ALL_OPENED_TITLE = "all opened"; + constexpr const char* ALL_OPENED_UUID = "0a893d34-940d-4134-8008-ddc44dcab0e0"; + constexpr const char* ALL_CLOSED_TITLE = "all closed"; + constexpr const char* ALL_CLOSED_UUID = "8dae13f4-a51b-4394-ac73-14d30ca7c065"; + constexpr const char* OPENED_CLOSED_TITLE = "opened and closed"; + constexpr const char* OPENED_CLOSED_UUID = "3bc25a0e-7efe-40dc-950f-8204f8855120"; + constexpr uint32_t openedClosedNodeCountPerPolyline[] = { 3, 3, 3 }; + constexpr double openedClosedPolylinePoints[] = { 0, 0, 0, 0, 1, 0, 1, 1, 0, + 0, 0, 1, 0, 1, 1, 1, 1, 1, + 0, 0, 2, 0, 1, 2, 1, 1, 2 }; +} + PolylineSetRepresentation::PolylineSetRepresentation(const string & repoPath) : commontest::AbstractTest(repoPath) { } void PolylineSetRepresentation::initRepo() { - RESQML2_NS::FaultInterpretation * interp = repo->getDataObjectByUuid(FaultInterpretationTest::defaultUuid); - if (interp == nullptr) { - interp = repo->createPartial(FaultInterpretationTest::defaultUuid, ""); - } + RESQML2_NS::FaultInterpretation* interp = repo->createPartial("", ""); + RESQML2_NS::PolylineSetRepresentation* rep = repo->createPolylineSetRepresentation(interp, FAULT_STICKS_UUID, defaultTitle); + rep->pushBackGeometryPatch(numNodesPerPolylinePerPatch, polylinePoints, 2, false); + + RESQML2_NS::PolylineSetRepresentation* allOpenedRep = repo->createPolylineSetRepresentation(ALL_OPENED_UUID, ALL_OPENED_TITLE); + allOpenedRep->pushBackGeometryPatch(openedClosedNodeCountPerPolyline, openedClosedPolylinePoints, 3, false); - auto* crs = repo->createPartial(LocalTime3dCrs::defaultUuid, ""); + RESQML2_NS::PolylineSetRepresentation* allClosedRep = repo->createPolylineSetRepresentation(ALL_CLOSED_UUID, ALL_CLOSED_TITLE); + allClosedRep->pushBackGeometryPatch(openedClosedNodeCountPerPolyline, openedClosedPolylinePoints, 3, true); - RESQML2_NS::PolylineSetRepresentation* rep = repo->createPolylineSetRepresentation(interp, defaultUuid, defaultTitle); - REQUIRE(rep != nullptr); - rep->pushBackGeometryPatch(numNodesPerPolylinePerPatch, polylinePoints, 2, false, nullptr, crs); + bool openedOrClosed[] = { true, false, true }; + RESQML2_NS::PolylineSetRepresentation* openedClosedRep = repo->createPolylineSetRepresentation(OPENED_CLOSED_UUID, OPENED_CLOSED_TITLE); + openedClosedRep->pushBackGeometryPatch(openedClosedNodeCountPerPolyline, openedClosedPolylinePoints, 3, openedOrClosed); } void PolylineSetRepresentation::readRepo() { + RESQML2_NS::PolylineSetRepresentation* faultSticksRep = repo->getDataObjectByUuid(FAULT_STICKS_UUID); + REQUIRE(faultSticksRep->getPolylineCountOfAllPatches() == 2); + REQUIRE(!faultSticksRep->areAllPolylinesClosedOfAllPatches()); + + RESQML2_NS::PolylineSetRepresentation* allOpenedRep = repo->getDataObjectByUuid(ALL_OPENED_UUID); + REQUIRE(allOpenedRep->getPolylineCountOfAllPatches() == 3); + REQUIRE(!allOpenedRep->areAllPolylinesClosedOfAllPatches()); + + RESQML2_NS::PolylineSetRepresentation* allClosedRep = repo->getDataObjectByUuid(ALL_CLOSED_UUID); + REQUIRE(allClosedRep->getPolylineCountOfAllPatches() == 3); + REQUIRE(allClosedRep->areAllPolylinesClosedOfAllPatches()); + + RESQML2_NS::PolylineSetRepresentation* openedClosedRep = repo->getDataObjectByUuid(OPENED_CLOSED_UUID); + REQUIRE(openedClosedRep->getPolylineCountOfAllPatches() == 3); + REQUIRE(!openedClosedRep->areAllPolylinesClosedOfAllPatches()); } diff --git a/test/resqml2_test/PolylineSetRepresentation.h b/test/resqml2_test/PolylineSetRepresentation.h index 857bbc5b9..57c8697c4 100644 --- a/test/resqml2_test/PolylineSetRepresentation.h +++ b/test/resqml2_test/PolylineSetRepresentation.h @@ -24,11 +24,6 @@ under the License. namespace resqml2_test { class PolylineSetRepresentation : public commontest::AbstractTest { public: - static const char* defaultUuid; - static const char* defaultTitle; - static unsigned int numNodesPerPolylinePerPatch[]; - static double polylinePoints[]; - /** * Creation of a testing object from an EPC document path. At serialize() call, * exising .epc file will be erased. diff --git a/test/unitTest.cpp b/test/unitTest.cpp index 276cec26d..17d24ca4e 100644 --- a/test/unitTest.cpp +++ b/test/unitTest.cpp @@ -76,6 +76,7 @@ under the License. #include "resqml2_test/DiscreteProperty.h" #include "resqml2_test/PointsProperty.h" #include "resqml2_test/PropertyBySlab.h" +#include "resqml2_test/PolylineSetRepresentation.h" #include "resqml2_test/Streamlines.h" #include "witsml2_test/WellTest.h" #include "witsml2_test/Trajectory.h" @@ -83,6 +84,7 @@ under the License. #include "witsml2_test/WellboreGeometryTest.h" #include "witsml2_test/WellboreCompletion.h" #if WITH_RESQML2_2 +#include "eml2_3test/ColumnBasedTableTest.h" #include "eml2_3test/GraphicalInformationSetTest.h" #include "resqml2_2test/DiscreteColorMapTest.h" #include "resqml2_2test/ContinuousColorMapTest.h" @@ -90,6 +92,7 @@ under the License. #include "resqml2_2test/WellboreRegularFrameRepresentationTest.h" #include "resqml2_2test/SeismicWellboreFrameRepresentationTest.h" #include "resqml2_2test/SeismicWellboreRegularFrameRepresentationTest.h" +using namespace eml2_3test; using namespace resqml2_2test; #endif using namespace commontest; @@ -124,6 +127,7 @@ using namespace witsml2_test; #endif #if WITH_RESQML2_2 +FESAPI_TEST2_2("Export and import column based table", "[column based table]", ColumnBasedTableTest) FESAPI_TEST2_2("Export and import graphical information set", "[graphical information]", GraphicalInformationSetTest) FESAPI_TEST2_2("Export and import discrete color map on a discrete property", "[graphical information][color map][discrete color map]", DiscreteColorMapTest) FESAPI_TEST2_2("Export and import continuous color map on a discrete property", "[graphical information][color map][continuous color map]", ContinuousColorMapTest) @@ -227,6 +231,9 @@ FESAPI_TEST("Export a multi domains interpretation", "[interpretation]", Interpr FESAPI_TEST("Export and import a single patch triangulated set fault representation", "[representation]", FaultSinglePatchTriangulatedSetRepresentationTest) FESAPI_TEST("Export and import a multi patch triangulated set fault representation", "[representation]", FaultMultiPatchTriangulatedSetRepresentationTest) +// POLYLINE SET REPRESENTATION +FESAPI_TEST("Export and import fault sticks and opened/closed rings", "[representation]", PolylineSetRepresentation) + // ACTIVITY FESAPI_TEST("Export and import a generic creation activity template", "[activity]", ActivityTemplateGenericCreationTest) FESAPI_TEST("Export and import an activity", "[activity]", ActivityCreationTest) diff --git a/webassembly/CMakeLists.txt b/webassembly/CMakeLists.txt deleted file mode 100644 index e090b94b7..000000000 --- a/webassembly/CMakeLists.txt +++ /dev/null @@ -1,153 +0,0 @@ - -set(FESAPI_FRONT_MATTER_FILE ${CMAKE_SOURCE_DIR}/webassembly/front-matter.js) - -set(FESAPI_SRC_DIR ${CMAKE_SOURCE_DIR}/src/) - - -# Build Release by default -set(CMAKE_BUILD_TYPE Release CACHE STRING "Build Type") - -# Default is 128*1024*1024 = 128MB -set(INITIAL_MEMORY 134217728 CACHE STRING "Initial Memory") - -# Enable for resizable heap, with some amount of slowness -set(ALLOW_MEMORY_GROWTH 1 CACHE STRING "Allow Memory Growth") - -# Allows more functions to be added to the table at runtime (This is -# necessary for dynamic linking) -set(ALLOW_TABLE_GROWTH 0 CACHE STRING "Allow Table Growth") - -set(EMCC_ARGS - --bind - # Specify a file whose contents are added before the emitted code and optimized together with it - --pre-js ${FESAPI_FRONT_MATTER_FILE} - # Highest level of optimization (code size reduction) - -Oz - # Whether to use compile code to WebAssembly - -s WASM=1 - # - -fwasm-exceptions - # - -s ALLOW_MEMORY_GROWTH=${ALLOW_MEMORY_GROWTH} - # - -s ALLOW_TABLE_GROWTH=${ALLOW_TABLE_GROWTH} - # Include the necessary export object expected by the import statement - -s EXPORT_ES6=1 # AFAIK, this enables MODULARIZE implicitly - # The code is emited wrapped in a function that returns a promise. - -s MODULARIZE=1 - # Use the ES6 Module relative import feature 'import.meta.url' - # to auto-detect WASM Module path. - # It might not be supported on old browsers / toolchains. This setting - # may not be disabled when Node.js is targeted (-sENVIRONMENT=*node*). - #-s USE_ES6_IMPORT_META=0 - # Global variable to export the module as for environments without a standardized module loading system - -s EXPORT_NAME="FesapiModule" - - # The runtime is not quit when main() completes (smaller code) - -s NO_EXIT_RUNTIME=1 - # The initial amount of memory to use - -s INITIAL_MEMORY=${INITIAL_MEMORY} - # - -s USE_ZLIB=1 - # - -s USE_BOOST_HEADERS=1 - # - -s FORCE_FILESYSTEM=1 - # - -s EXPORTED_RUNTIME_METHODS=\"['FS', 'AsciiToString', 'UTF8ToString']\" - # Make the exception message printing function, 'getExceptionMessage' available - # in the JS library - -s EXPORT_EXCEPTION_HANDLING_HELPERS=1 - - # WebAssembly integration with JavaScript BigInt - -s WASM_BIGINT - # Whether to ignore implicit traps when optimizing in binaryen - -s BINARYEN_IGNORE_IMPLICIT_TRAPS=1 - # this file can be linked with others, either as a shared library or as the main file that calls a shared library - -s LINKABLE=0 - # - # DEBUG - # Whether we should add runtime assertions - -s ASSERTIONS=2 - # Check each write to the heap - -s SAFE_HEAP=1 - # Highest level of preserving debug info - -g3 - # build in libcxxabi's full c++ demangling code, to allow stackTrace() to emit fully proper demangled c++ names - -s DEMANGLE_SUPPORT=1 - # Disables generating code to actually catch Emscripten exceptions -# -s DISABLE_EXCEPTION_CATCHING=0 - # Print out exceptions in emscriptened code - -s EXCEPTION_DEBUG=1 -) - -set(EMCC_WEB_ARGS - ${EMCC_ARGS} - # Specify which runtime environments the JS output will be capable of running in - -s ENVIRONMENT=web -) - -set(EMCC_NODE_ARGS - ${EMCC_ARGS} - # Specify which runtime environments the JS output will be capable of running in - -s ENVIRONMENT=node - # The File System API will directly use Node.js API - -s NODERAWFS=1 -) - -# -# ESM 6 module -# -add_executable(fesapi-wasm ${CMAKE_SOURCE_DIR}/webassembly/src/wrapper.cpp) - -add_dependencies(fesapi-wasm ${CPP_LIBRARY_NAME}) - -target_include_directories(fesapi-wasm PRIVATE - $ - ${HDF5_INCLUDE_DIRS} - ${MINIZIP_INCLUDE_DIR} -) - -target_link_libraries(fesapi-wasm PRIVATE - $ - ${HDF5_LIBRARIES} - ${MINIZIP_LIBRARY_RELEASE} -) - -string(REPLACE ";" " " EMCC_WEB_ARGS "${EMCC_WEB_ARGS}") - -set_target_properties(fesapi-wasm PROPERTIES - LINK_FLAGS "${EMCC_WEB_ARGS}" - RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/webassembly/dist/esm - RUNTIME_OUTPUT_NAME fesapi - SUFFIX ".mjs" -) - - -# -# Node module -# -add_executable(fesapi-wasm-node ${CMAKE_SOURCE_DIR}/webassembly/src/wrapper.cpp) - -add_dependencies(fesapi-wasm-node ${CPP_LIBRARY_NAME}) - -target_include_directories(fesapi-wasm-node PRIVATE - $ - ${HDF5_INCLUDE_DIRS} - ${MINIZIP_INCLUDE_DIR} -) - -target_link_libraries(fesapi-wasm-node PRIVATE - $ - ${HDF5_LIBRARIES} - ${MINIZIP_LIBRARY_RELEASE} -) - -string(REPLACE ";" " " EMCC_NODE_ARGS "${EMCC_NODE_ARGS}") - -set_target_properties(fesapi-wasm-node PROPERTIES - LINK_FLAGS "${EMCC_NODE_ARGS}" - RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/webassembly/dist/node - RUNTIME_OUTPUT_NAME fesapi - SUFFIX ".mjs" -) \ No newline at end of file diff --git a/webassembly/front-matter.js b/webassembly/front-matter.js deleted file mode 100644 index b03cf26cd..000000000 --- a/webassembly/front-matter.js +++ /dev/null @@ -1 +0,0 @@ -// This is fesapi.js, a port of Fesapi to JavaScript. Apache2.0 licensed. \ No newline at end of file diff --git a/webassembly/package-lock.json b/webassembly/package-lock.json deleted file mode 100644 index ae58256f0..000000000 --- a/webassembly/package-lock.json +++ /dev/null @@ -1,757 +0,0 @@ -{ - "name": "@f2i-consulting/fesapi", - "version": "2.4.0-alpha.1", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "@f2i-consulting/fesapi", - "version": "2.4.0-alpha.1", - "license": "Apache-2.0", - "devDependencies": { - "http-server": "^14.1.1" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/async": { - "version": "2.6.4", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", - "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", - "dev": true, - "dependencies": { - "lodash": "^4.17.14" - } - }, - "node_modules/basic-auth": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz", - "integrity": "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==", - "dev": true, - "dependencies": { - "safe-buffer": "5.1.2" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/corser": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/corser/-/corser-2.0.1.tgz", - "integrity": "sha512-utCYNzRSQIZNPIcGZdQc92UVJYAhtGAteCFg0yRaFm8f0P+CPtyGyHXJcGXnffjCybUCEx3FQ2G7U3/o9eIkVQ==", - "dev": true, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true - }, - "node_modules/follow-redirects": { - "version": "1.15.6", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", - "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, - "node_modules/get-intrinsic": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", - "integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/he": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "dev": true, - "bin": { - "he": "bin/he" - } - }, - "node_modules/html-encoding-sniffer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", - "integrity": "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==", - "dev": true, - "dependencies": { - "whatwg-encoding": "^2.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/http-proxy": { - "version": "1.18.1", - "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", - "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", - "dev": true, - "dependencies": { - "eventemitter3": "^4.0.0", - "follow-redirects": "^1.0.0", - "requires-port": "^1.0.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/http-server": { - "version": "14.1.1", - "resolved": "https://registry.npmjs.org/http-server/-/http-server-14.1.1.tgz", - "integrity": "sha512-+cbxadF40UXd9T01zUHgA+rlo2Bg1Srer4+B4NwIHdaGxAGGv59nYRnGGDJ9LBk7alpS0US+J+bLLdQOOkJq4A==", - "dev": true, - "dependencies": { - "basic-auth": "^2.0.1", - "chalk": "^4.1.2", - "corser": "^2.0.1", - "he": "^1.2.0", - "html-encoding-sniffer": "^3.0.0", - "http-proxy": "^1.18.1", - "mime": "^1.6.0", - "minimist": "^1.2.6", - "opener": "^1.5.1", - "portfinder": "^1.0.28", - "secure-compare": "3.0.1", - "union": "~0.5.0", - "url-join": "^4.0.1" - }, - "bin": { - "http-server": "bin/http-server" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "dev": true, - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", - "dev": true - }, - "node_modules/mkdirp": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", - "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", - "dev": true, - "dependencies": { - "minimist": "^1.2.6" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, - "node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - }, - "node_modules/object-inspect": { - "version": "1.12.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", - "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/opener": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz", - "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==", - "dev": true, - "bin": { - "opener": "bin/opener-bin.js" - } - }, - "node_modules/portfinder": { - "version": "1.0.32", - "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.32.tgz", - "integrity": "sha512-on2ZJVVDXRADWE6jnQaX0ioEylzgBpQk8r55NE4wjXW1ZxO+BgDlY6DXwj20i0V8eB4SenDQ00WEaxfiIQPcxg==", - "dev": true, - "dependencies": { - "async": "^2.6.4", - "debug": "^3.2.7", - "mkdirp": "^0.5.6" - }, - "engines": { - "node": ">= 0.12.0" - } - }, - "node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", - "dev": true, - "dependencies": { - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", - "dev": true - }, - "node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true - }, - "node_modules/secure-compare": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/secure-compare/-/secure-compare-3.0.1.tgz", - "integrity": "sha512-AckIIV90rPDcBcglUwXPF3kg0P0qmPsPXAj6BBEENQE1p5yA1xfmDJzfi1Tappj37Pv2mVbKpL3Z1T+Nn7k1Qw==", - "dev": true - }, - "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/union": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/union/-/union-0.5.0.tgz", - "integrity": "sha512-N6uOhuW6zO95P3Mel2I2zMsbsanvvtgn6jVqJv4vbVcz/JN0OkL9suomjQGmWtxJQXOCqUJvquc1sMeNz/IwlA==", - "dev": true, - "dependencies": { - "qs": "^6.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/url-join": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz", - "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==", - "dev": true - }, - "node_modules/whatwg-encoding": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz", - "integrity": "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==", - "dev": true, - "dependencies": { - "iconv-lite": "0.6.3" - }, - "engines": { - "node": ">=12" - } - } - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "async": { - "version": "2.6.4", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", - "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", - "dev": true, - "requires": { - "lodash": "^4.17.14" - } - }, - "basic-auth": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz", - "integrity": "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==", - "dev": true, - "requires": { - "safe-buffer": "5.1.2" - } - }, - "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "corser": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/corser/-/corser-2.0.1.tgz", - "integrity": "sha512-utCYNzRSQIZNPIcGZdQc92UVJYAhtGAteCFg0yRaFm8f0P+CPtyGyHXJcGXnffjCybUCEx3FQ2G7U3/o9eIkVQ==", - "dev": true - }, - "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true - }, - "follow-redirects": { - "version": "1.15.6", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", - "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", - "dev": true - }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, - "get-intrinsic": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", - "integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.3" - } - }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true - }, - "he": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "dev": true - }, - "html-encoding-sniffer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", - "integrity": "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==", - "dev": true, - "requires": { - "whatwg-encoding": "^2.0.0" - } - }, - "http-proxy": { - "version": "1.18.1", - "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", - "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", - "dev": true, - "requires": { - "eventemitter3": "^4.0.0", - "follow-redirects": "^1.0.0", - "requires-port": "^1.0.0" - } - }, - "http-server": { - "version": "14.1.1", - "resolved": "https://registry.npmjs.org/http-server/-/http-server-14.1.1.tgz", - "integrity": "sha512-+cbxadF40UXd9T01zUHgA+rlo2Bg1Srer4+B4NwIHdaGxAGGv59nYRnGGDJ9LBk7alpS0US+J+bLLdQOOkJq4A==", - "dev": true, - "requires": { - "basic-auth": "^2.0.1", - "chalk": "^4.1.2", - "corser": "^2.0.1", - "he": "^1.2.0", - "html-encoding-sniffer": "^3.0.0", - "http-proxy": "^1.18.1", - "mime": "^1.6.0", - "minimist": "^1.2.6", - "opener": "^1.5.1", - "portfinder": "^1.0.28", - "secure-compare": "3.0.1", - "union": "~0.5.0", - "url-join": "^4.0.1" - } - }, - "iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - } - }, - "lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, - "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "dev": true - }, - "minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", - "dev": true - }, - "mkdirp": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", - "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", - "dev": true, - "requires": { - "minimist": "^1.2.6" - } - }, - "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - }, - "object-inspect": { - "version": "1.12.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", - "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", - "dev": true - }, - "opener": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz", - "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==", - "dev": true - }, - "portfinder": { - "version": "1.0.32", - "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.32.tgz", - "integrity": "sha512-on2ZJVVDXRADWE6jnQaX0ioEylzgBpQk8r55NE4wjXW1ZxO+BgDlY6DXwj20i0V8eB4SenDQ00WEaxfiIQPcxg==", - "dev": true, - "requires": { - "async": "^2.6.4", - "debug": "^3.2.7", - "mkdirp": "^0.5.6" - } - }, - "qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", - "dev": true, - "requires": { - "side-channel": "^1.0.4" - } - }, - "requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", - "dev": true - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true - }, - "secure-compare": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/secure-compare/-/secure-compare-3.0.1.tgz", - "integrity": "sha512-AckIIV90rPDcBcglUwXPF3kg0P0qmPsPXAj6BBEENQE1p5yA1xfmDJzfi1Tappj37Pv2mVbKpL3Z1T+Nn7k1Qw==", - "dev": true - }, - "side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - }, - "union": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/union/-/union-0.5.0.tgz", - "integrity": "sha512-N6uOhuW6zO95P3Mel2I2zMsbsanvvtgn6jVqJv4vbVcz/JN0OkL9suomjQGmWtxJQXOCqUJvquc1sMeNz/IwlA==", - "dev": true, - "requires": { - "qs": "^6.4.0" - } - }, - "url-join": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz", - "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==", - "dev": true - }, - "whatwg-encoding": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz", - "integrity": "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==", - "dev": true, - "requires": { - "iconv-lite": "0.6.3" - } - } - } -} diff --git a/webassembly/package.json b/webassembly/package.json deleted file mode 100644 index e9aa9017b..000000000 --- a/webassembly/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "@f2i-consulting/fesapi", - "version": "2.4.0-alpha.1", - "description": "Direct port of the fesapi libary to JavaScript using Emscripten", - "type": "module", - "main": "./dist/node/fesapi.mjs", - "module": "./dist/esm/fesapi.mjs", - "exports": { - "node": ["./dist/node/fesapi.mjs", "./dist/node/fesapi.wasm"], - "import": ["./dist/esm/fesapi.mjs", "./dist/esm/fesapi.wasm"] - }, - "files": [ - "dist/*" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/F2I-Consulting/fesapi.git" - }, - "keywords": [ - "Reservoir", - "epc", - "Well", - "Energistics", - "RESQML", - "PRODML", - "WITSML", - "WebAssembly", - "Wasm" - ], - "scripts": { - }, - "author": "F2I-CONSULTING", - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/F2I-Consulting/fesapi/issues" - }, - "homepage": "https://github.com/F2I-Consulting/fesapi", - "devDependencies": { - "http-server": "^14.1.1" - } -} diff --git a/webassembly/src/wrapper.cpp b/webassembly/src/wrapper.cpp deleted file mode 100644 index d17b831fc..000000000 --- a/webassembly/src/wrapper.cpp +++ /dev/null @@ -1,133 +0,0 @@ -// quick_example.cpp -#include "common/EpcDocument.h" -#include "common/DataObjectRepository.h" -#include "common/AbstractObject.h" -#include "common/DataObjectReference.h" - -#include "eml2/AbstractHdfProxy.h" - -#include "eml2_0/HdfProxy.h" - -#include "resqml2/BoundaryFeature.h" -#include "resqml2/StratigraphicColumn.h" -#include "resqml2/PolylineSetRepresentation.h" - -#include "resqml2_0_1/BoundaryFeature.h" -#include "resqml2_0_1/PolylineSetRepresentation.h" -#include - -using namespace emscripten; -using namespace COMMON_NS; - - -EMSCRIPTEN_BINDINGS(fesapi) { - - enum_("EnergisticsStandard") - .value("RESQML2_0_1", DataObjectRepository::EnergisticsStandard::RESQML2_0_1) - .value("EML2_0", DataObjectRepository::EnergisticsStandard::EML2_0) - .value("WITSML2_0", DataObjectRepository::EnergisticsStandard::WITSML2_0) - .value("EML2_1", DataObjectRepository::EnergisticsStandard::EML2_1) - .value("PRODML2_1", DataObjectRepository::EnergisticsStandard::PRODML2_1) - .value("EML2_2", DataObjectRepository::EnergisticsStandard::EML2_2) - .value("RESQML2_2", DataObjectRepository::EnergisticsStandard::RESQML2_2) - .value("EML2_3", DataObjectRepository::EnergisticsStandard::EML2_3) - ; - - enum_("openingMode") - .value("READ_ONLY", DataObjectRepository::openingMode::READ_ONLY) - .value("READ_WRITE", DataObjectRepository::openingMode::READ_WRITE) - .value("READ_WRITE_DO_NOT_CREATE", DataObjectRepository::openingMode::READ_WRITE_DO_NOT_CREATE) - .value("OVERWRITE", DataObjectRepository::openingMode::OVERWRITE) - ; - - class_("DataObjectRepository") - .constructor<>() - //.function("getDataObjects", select_overload>&(void)>(&DataObjectRepository::getDataObjects), allow_raw_pointers()) - .function("getFaultSet", &DataObjectRepository::getFaultSet, allow_raw_pointers()) - .function("getFault", &DataObjectRepository::getFault, allow_raw_pointers()) - .function("getFaultCount", &DataObjectRepository::getFaultCount) - // - //.function("getStratigraphicColumnSet", &DataObjectRepository::getStratigraphicColumnSet, allow_raw_pointers()) - // - .function("getUuids", &DataObjectRepository::getUuids) - .function("getDefaultEmlVersion", &DataObjectRepository::getDefaultEmlVersion) - // - .function("getHdfProxyCount", &DataObjectRepository::getHdfProxyCount) - .function("getHdfProxy", &DataObjectRepository::getHdfProxy, allow_raw_pointers()) - .function("getWarnings", &DataObjectRepository::getWarnings) - // - .function("getFaultPolylineSetRepresentationCount", &DataObjectRepository::getFaultPolylineSetRepresentationCount) - .function("getFaultPolylineSetRepresentation", &DataObjectRepository::getFaultPolylineSetRepresentation, allow_raw_pointers()) - ; - - class_("EpcDocument") - .constructor() - .function("open", &EpcDocument::open) - .function("close", &EpcDocument::close) - .function("deserializeInto", &EpcDocument::deserializeInto) - .function("deserializePartiallyInto", &EpcDocument::deserializePartiallyInto) - ; - - - class_("AbstractObject") - .function("isPartial", &AbstractObject::isPartial) - .function("isTopLevelElement", &AbstractObject::isTopLevelElement) - .function("getUuid", &AbstractObject::getUuid) - .function("getTitle", &AbstractObject::getTitle) - .function("getEditor", &AbstractObject::getEditor) - ; - - class_("AbstractHdfProxy") - .function("getRelativePath", &EML2_NS::AbstractHdfProxy::getRelativePath) - ; - - class_>("EML2_0_NS::HdfProxy") - .constructor() - ; - - class_>("RESQML2_NS::BoundaryFeature") - // .constructor() - .function("getXmlTag", &RESQML2_NS::BoundaryFeature::getXmlTag) - ; - - class_>("RESQML2_0_1_NS::BoundaryFeature") - //.constructor() - ; - - class_>("RESQML2_NS::StratigraphicColumn") - // .constructor() - .function("getXmlTag", &RESQML2_NS::StratigraphicColumn::getXmlTag) - ; - - class_>("RESQML2_NS::AbstractRepresentation") - .function("getXyzPointCountOfAllPatches", &RESQML2_NS::AbstractRepresentation::getXyzPointCountOfAllPatches) - .function("getXyzPointsOfAllPatchesInGlobalCrs", - optional_override([](RESQML2_NS::AbstractRepresentation& self, - std::vector& values) - { return self.getXyzPointsOfAllPatchesInGlobalCrs(values.data()); } - ) - ) - // &RESQML2_NS::AbstractRepresentation::getXyzPointsOfAllPatchesInGlobalCrs, allow_raw_pointers()) - ; - - class_>("RESQML2_NS::PolylineSetRepresentation") - ; - - class_>("RESQML2_0_1_NS::PolylineSetRepresentation") - // .constructor() - // .constructor() - // .constructor() - // .constructor() - // .constructor() - - ; - - - //register_vector("vector"); - // register_vector("vector"); - register_vector("FaultSet"); - register_vector("vectorString"); - register_vector("vectorDouble"); - //register_vector("vector"); -} -