@chilkat/react-native 11.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/ChilkatRN.podspec +44 -0
- package/LICENSE +254 -0
- package/README.md +67 -0
- package/android/CMakeLists.txt +60 -0
- package/android/build.gradle +148 -0
- package/android/gradle.properties +5 -0
- package/android/src/main/AndroidManifest.xml +2 -0
- package/android/src/main/cpp/cpp-adapter.cpp +12 -0
- package/android/src/main/java/com/margelo/nitro/chilkat/ChilkatRNPackage.java +33 -0
- package/chilkat-checksums.json +9 -0
- package/cpp/HybridAi.cpp +660 -0
- package/cpp/HybridAi.hpp +159 -0
- package/cpp/HybridAsn.cpp +403 -0
- package/cpp/HybridAsn.hpp +105 -0
- package/cpp/HybridAuthAws.cpp +188 -0
- package/cpp/HybridAuthAws.hpp +55 -0
- package/cpp/HybridAuthAzureSAS.cpp +142 -0
- package/cpp/HybridAuthAzureSAS.hpp +47 -0
- package/cpp/HybridAuthAzureStorage.cpp +144 -0
- package/cpp/HybridAuthAzureStorage.hpp +47 -0
- package/cpp/HybridAuthGoogle.cpp +215 -0
- package/cpp/HybridAuthGoogle.hpp +67 -0
- package/cpp/HybridBinData.cpp +439 -0
- package/cpp/HybridBinData.hpp +112 -0
- package/cpp/HybridBz2.cpp +177 -0
- package/cpp/HybridBz2.hpp +58 -0
- package/cpp/HybridCache.cpp +314 -0
- package/cpp/HybridCache.hpp +82 -0
- package/cpp/HybridCert.cpp +840 -0
- package/cpp/HybridCert.hpp +196 -0
- package/cpp/HybridCertChain.cpp +149 -0
- package/cpp/HybridCertChain.hpp +50 -0
- package/cpp/HybridCertStore.cpp +276 -0
- package/cpp/HybridCertStore.hpp +78 -0
- package/cpp/HybridCharset.cpp +333 -0
- package/cpp/HybridCharset.hpp +83 -0
- package/cpp/HybridCkDateTime.cpp +384 -0
- package/cpp/HybridCkDateTime.hpp +105 -0
- package/cpp/HybridCodeSign.cpp +156 -0
- package/cpp/HybridCodeSign.hpp +55 -0
- package/cpp/HybridCompression.cpp +422 -0
- package/cpp/HybridCompression.hpp +100 -0
- package/cpp/HybridCrypt2.cpp +1517 -0
- package/cpp/HybridCrypt2.hpp +320 -0
- package/cpp/HybridCsr.cpp +292 -0
- package/cpp/HybridCsr.hpp +77 -0
- package/cpp/HybridCsv.cpp +382 -0
- package/cpp/HybridCsv.hpp +101 -0
- package/cpp/HybridDh.cpp +137 -0
- package/cpp/HybridDh.hpp +47 -0
- package/cpp/HybridDirTree.cpp +167 -0
- package/cpp/HybridDirTree.hpp +53 -0
- package/cpp/HybridDkim.cpp +249 -0
- package/cpp/HybridDkim.hpp +74 -0
- package/cpp/HybridDns.cpp +193 -0
- package/cpp/HybridDns.hpp +64 -0
- package/cpp/HybridDsa.cpp +453 -0
- package/cpp/HybridDsa.hpp +112 -0
- package/cpp/HybridDtObj.cpp +172 -0
- package/cpp/HybridDtObj.hpp +57 -0
- package/cpp/HybridEcc.cpp +195 -0
- package/cpp/HybridEcc.hpp +55 -0
- package/cpp/HybridEdDSA.cpp +147 -0
- package/cpp/HybridEdDSA.hpp +47 -0
- package/cpp/HybridEmail.cpp +1911 -0
- package/cpp/HybridEmail.hpp +419 -0
- package/cpp/HybridEmailBundle.cpp +204 -0
- package/cpp/HybridEmailBundle.hpp +64 -0
- package/cpp/HybridFileAccess.cpp +631 -0
- package/cpp/HybridFileAccess.hpp +149 -0
- package/cpp/HybridFtp2.cpp +2308 -0
- package/cpp/HybridFtp2.hpp +462 -0
- package/cpp/HybridGlobal.cpp +221 -0
- package/cpp/HybridGlobal.hpp +68 -0
- package/cpp/HybridGzip.cpp +440 -0
- package/cpp/HybridGzip.hpp +105 -0
- package/cpp/HybridHashtable.cpp +211 -0
- package/cpp/HybridHashtable.hpp +64 -0
- package/cpp/HybridHtmlToText.cpp +136 -0
- package/cpp/HybridHtmlToText.hpp +47 -0
- package/cpp/HybridHtmlToXml.cpp +218 -0
- package/cpp/HybridHtmlToXml.hpp +65 -0
- package/cpp/HybridHttp.cpp +2067 -0
- package/cpp/HybridHttp.hpp +416 -0
- package/cpp/HybridHttpCurl.cpp +337 -0
- package/cpp/HybridHttpCurl.hpp +93 -0
- package/cpp/HybridHttpRequest.cpp +455 -0
- package/cpp/HybridHttpRequest.hpp +109 -0
- package/cpp/HybridHttpResponse.cpp +340 -0
- package/cpp/HybridHttpResponse.hpp +86 -0
- package/cpp/HybridImap.cpp +1818 -0
- package/cpp/HybridImap.hpp +363 -0
- package/cpp/HybridJavaKeyStore.cpp +387 -0
- package/cpp/HybridJavaKeyStore.hpp +98 -0
- package/cpp/HybridJs.cpp +154 -0
- package/cpp/HybridJs.hpp +54 -0
- package/cpp/HybridJsonArray.cpp +441 -0
- package/cpp/HybridJsonArray.hpp +120 -0
- package/cpp/HybridJsonObject.cpp +1125 -0
- package/cpp/HybridJsonObject.hpp +260 -0
- package/cpp/HybridJwe.cpp +294 -0
- package/cpp/HybridJwe.hpp +82 -0
- package/cpp/HybridJws.cpp +290 -0
- package/cpp/HybridJws.hpp +82 -0
- package/cpp/HybridJwt.cpp +198 -0
- package/cpp/HybridJwt.hpp +57 -0
- package/cpp/HybridLog.cpp +212 -0
- package/cpp/HybridLog.hpp +63 -0
- package/cpp/HybridMailMan.cpp +1853 -0
- package/cpp/HybridMailMan.hpp +386 -0
- package/cpp/HybridMailboxes.cpp +165 -0
- package/cpp/HybridMailboxes.hpp +54 -0
- package/cpp/HybridMcp.cpp +322 -0
- package/cpp/HybridMcp.hpp +85 -0
- package/cpp/HybridMessageSet.cpp +162 -0
- package/cpp/HybridMessageSet.hpp +54 -0
- package/cpp/HybridMht.cpp +700 -0
- package/cpp/HybridMht.hpp +165 -0
- package/cpp/HybridMime.cpp +1119 -0
- package/cpp/HybridMime.hpp +266 -0
- package/cpp/HybridNtlm.cpp +333 -0
- package/cpp/HybridNtlm.hpp +83 -0
- package/cpp/HybridOAuth1.cpp +307 -0
- package/cpp/HybridOAuth1.hpp +78 -0
- package/cpp/HybridOAuth2.cpp +515 -0
- package/cpp/HybridOAuth2.hpp +127 -0
- package/cpp/HybridPdf.cpp +370 -0
- package/cpp/HybridPdf.hpp +103 -0
- package/cpp/HybridPem.cpp +327 -0
- package/cpp/HybridPem.hpp +88 -0
- package/cpp/HybridPfx.cpp +343 -0
- package/cpp/HybridPfx.hpp +87 -0
- package/cpp/HybridPkcs11.cpp +318 -0
- package/cpp/HybridPkcs11.hpp +88 -0
- package/cpp/HybridPrivateKey.cpp +464 -0
- package/cpp/HybridPrivateKey.hpp +117 -0
- package/cpp/HybridPrng.cpp +192 -0
- package/cpp/HybridPrng.hpp +57 -0
- package/cpp/HybridPublicKey.cpp +238 -0
- package/cpp/HybridPublicKey.hpp +68 -0
- package/cpp/HybridRest.cpp +993 -0
- package/cpp/HybridRest.hpp +214 -0
- package/cpp/HybridRsa.cpp +348 -0
- package/cpp/HybridRsa.hpp +90 -0
- package/cpp/HybridSCard.cpp +328 -0
- package/cpp/HybridSCard.hpp +91 -0
- package/cpp/HybridSFtp.cpp +1889 -0
- package/cpp/HybridSFtp.hpp +366 -0
- package/cpp/HybridSFtpDir.cpp +119 -0
- package/cpp/HybridSFtpDir.hpp +43 -0
- package/cpp/HybridSFtpFile.cpp +203 -0
- package/cpp/HybridSFtpFile.hpp +60 -0
- package/cpp/HybridScMinidriver.cpp +341 -0
- package/cpp/HybridScMinidriver.hpp +88 -0
- package/cpp/HybridScp.cpp +398 -0
- package/cpp/HybridScp.hpp +96 -0
- package/cpp/HybridSecrets.cpp +328 -0
- package/cpp/HybridSecrets.hpp +84 -0
- package/cpp/HybridSecureString.cpp +175 -0
- package/cpp/HybridSecureString.hpp +55 -0
- package/cpp/HybridServerSentEvent.cpp +112 -0
- package/cpp/HybridServerSentEvent.hpp +41 -0
- package/cpp/HybridSocket.cpp +1567 -0
- package/cpp/HybridSocket.hpp +336 -0
- package/cpp/HybridSpider.cpp +543 -0
- package/cpp/HybridSpider.hpp +138 -0
- package/cpp/HybridSsh.cpp +1330 -0
- package/cpp/HybridSsh.hpp +282 -0
- package/cpp/HybridSshKey.cpp +310 -0
- package/cpp/HybridSshKey.hpp +83 -0
- package/cpp/HybridSshTunnel.cpp +687 -0
- package/cpp/HybridSshTunnel.hpp +159 -0
- package/cpp/HybridStream.cpp +496 -0
- package/cpp/HybridStream.hpp +123 -0
- package/cpp/HybridStringArray.cpp +368 -0
- package/cpp/HybridStringArray.hpp +99 -0
- package/cpp/HybridStringBuilder.cpp +739 -0
- package/cpp/HybridStringBuilder.hpp +178 -0
- package/cpp/HybridStringTable.cpp +218 -0
- package/cpp/HybridStringTable.hpp +66 -0
- package/cpp/HybridTar.cpp +547 -0
- package/cpp/HybridTar.hpp +134 -0
- package/cpp/HybridTrustedRoots.cpp +178 -0
- package/cpp/HybridTrustedRoots.hpp +61 -0
- package/cpp/HybridUnixCompress.cpp +191 -0
- package/cpp/HybridUnixCompress.hpp +60 -0
- package/cpp/HybridUpload.cpp +427 -0
- package/cpp/HybridUpload.hpp +114 -0
- package/cpp/HybridUrl.cpp +152 -0
- package/cpp/HybridUrl.hpp +48 -0
- package/cpp/HybridWebSocket.cpp +378 -0
- package/cpp/HybridWebSocket.hpp +103 -0
- package/cpp/HybridXml.cpp +1527 -0
- package/cpp/HybridXml.hpp +340 -0
- package/cpp/HybridXmlCertVault.cpp +215 -0
- package/cpp/HybridXmlCertVault.hpp +63 -0
- package/cpp/HybridXmlDSig.cpp +328 -0
- package/cpp/HybridXmlDSig.hpp +88 -0
- package/cpp/HybridXmlDSigGen.cpp +549 -0
- package/cpp/HybridXmlDSigGen.hpp +126 -0
- package/cpp/HybridXmp.cpp +329 -0
- package/cpp/HybridXmp.hpp +86 -0
- package/cpp/HybridZip.cpp +1000 -0
- package/cpp/HybridZip.hpp +226 -0
- package/cpp/HybridZipCrc.cpp +162 -0
- package/cpp/HybridZipCrc.hpp +57 -0
- package/cpp/HybridZipEntry.cpp +395 -0
- package/cpp/HybridZipEntry.hpp +102 -0
- package/cpp/runtime/AsyncCall.hpp +96 -0
- package/cpp/runtime/Bytes.hpp +49 -0
- package/cpp/runtime/ChilkatError.hpp +66 -0
- package/cpp/runtime/ChilkatObject.hpp +219 -0
- package/cpp/runtime/ProgLang.hpp +9 -0
- package/cpp/runtime/ProgressAdapter.hpp +43 -0
- package/nitro.json +113 -0
- package/nitrogen/generated/.gitattributes +1 -0
- package/nitrogen/generated/android/ChilkatRN+autolinking.cmake +179 -0
- package/nitrogen/generated/android/ChilkatRN+autolinking.gradle +27 -0
- package/nitrogen/generated/android/ChilkatRNOnLoad.cpp +1029 -0
- package/nitrogen/generated/android/ChilkatRNOnLoad.hpp +34 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/chilkat/ChilkatRNOnLoad.kt +35 -0
- package/nitrogen/generated/ios/ChilkatRN+autolinking.rb +62 -0
- package/nitrogen/generated/ios/ChilkatRN-Swift-Cxx-Bridge.cpp +17 -0
- package/nitrogen/generated/ios/ChilkatRN-Swift-Cxx-Bridge.hpp +27 -0
- package/nitrogen/generated/ios/ChilkatRN-Swift-Cxx-Umbrella.hpp +38 -0
- package/nitrogen/generated/ios/ChilkatRNAutolinking.mm +1015 -0
- package/nitrogen/generated/ios/ChilkatRNAutolinking.swift +16 -0
- package/nitrogen/generated/shared/c++/HybridAiSpec.cpp +114 -0
- package/nitrogen/generated/shared/c++/HybridAiSpec.hpp +175 -0
- package/nitrogen/generated/shared/c++/HybridAsnSpec.cpp +70 -0
- package/nitrogen/generated/shared/c++/HybridAsnSpec.hpp +116 -0
- package/nitrogen/generated/shared/c++/HybridAuthAwsSpec.cpp +49 -0
- package/nitrogen/generated/shared/c++/HybridAuthAwsSpec.hpp +89 -0
- package/nitrogen/generated/shared/c++/HybridAuthAzureSASSpec.cpp +38 -0
- package/nitrogen/generated/shared/c++/HybridAuthAzureSASSpec.hpp +78 -0
- package/nitrogen/generated/shared/c++/HybridAuthAzureStorageSpec.cpp +41 -0
- package/nitrogen/generated/shared/c++/HybridAuthAzureStorageSpec.hpp +81 -0
- package/nitrogen/generated/shared/c++/HybridAuthGoogleSpec.cpp +56 -0
- package/nitrogen/generated/shared/c++/HybridAuthGoogleSpec.hpp +108 -0
- package/nitrogen/generated/shared/c++/HybridBinDataSpec.cpp +69 -0
- package/nitrogen/generated/shared/c++/HybridBinDataSpec.hpp +116 -0
- package/nitrogen/generated/shared/c++/HybridBz2Spec.cpp +47 -0
- package/nitrogen/generated/shared/c++/HybridBz2Spec.hpp +93 -0
- package/nitrogen/generated/shared/c++/HybridCacheSpec.cpp +57 -0
- package/nitrogen/generated/shared/c++/HybridCacheSpec.hpp +106 -0
- package/nitrogen/generated/shared/c++/HybridCertChainSpec.cpp +40 -0
- package/nitrogen/generated/shared/c++/HybridCertChainSpec.hpp +89 -0
- package/nitrogen/generated/shared/c++/HybridCertSpec.cpp +138 -0
- package/nitrogen/generated/shared/c++/HybridCertSpec.hpp +205 -0
- package/nitrogen/generated/shared/c++/HybridCertStoreSpec.cpp +55 -0
- package/nitrogen/generated/shared/c++/HybridCertStoreSpec.hpp +104 -0
- package/nitrogen/generated/shared/c++/HybridCharsetSpec.cpp +61 -0
- package/nitrogen/generated/shared/c++/HybridCharsetSpec.hpp +101 -0
- package/nitrogen/generated/shared/c++/HybridCkDateTimeSpec.cpp +66 -0
- package/nitrogen/generated/shared/c++/HybridCkDateTimeSpec.hpp +115 -0
- package/nitrogen/generated/shared/c++/HybridCodeSignSpec.cpp +44 -0
- package/nitrogen/generated/shared/c++/HybridCodeSignSpec.hpp +93 -0
- package/nitrogen/generated/shared/c++/HybridCompressionSpec.cpp +79 -0
- package/nitrogen/generated/shared/c++/HybridCompressionSpec.hpp +134 -0
- package/nitrogen/generated/shared/c++/HybridCrypt2Spec.cpp +215 -0
- package/nitrogen/generated/shared/c++/HybridCrypt2Spec.hpp +283 -0
- package/nitrogen/generated/shared/c++/HybridCsrSpec.cpp +61 -0
- package/nitrogen/generated/shared/c++/HybridCsrSpec.hpp +116 -0
- package/nitrogen/generated/shared/c++/HybridCsvSpec.cpp +72 -0
- package/nitrogen/generated/shared/c++/HybridCsvSpec.hpp +121 -0
- package/nitrogen/generated/shared/c++/HybridDhSpec.cpp +37 -0
- package/nitrogen/generated/shared/c++/HybridDhSpec.hpp +77 -0
- package/nitrogen/generated/shared/c++/HybridDirTreeSpec.cpp +46 -0
- package/nitrogen/generated/shared/c++/HybridDirTreeSpec.hpp +86 -0
- package/nitrogen/generated/shared/c++/HybridDkimSpec.cpp +60 -0
- package/nitrogen/generated/shared/c++/HybridDkimSpec.hpp +109 -0
- package/nitrogen/generated/shared/c++/HybridDnsSpec.cpp +51 -0
- package/nitrogen/generated/shared/c++/HybridDnsSpec.hpp +97 -0
- package/nitrogen/generated/shared/c++/HybridDsaSpec.cpp +73 -0
- package/nitrogen/generated/shared/c++/HybridDsaSpec.hpp +116 -0
- package/nitrogen/generated/shared/c++/HybridDtObjSpec.cpp +50 -0
- package/nitrogen/generated/shared/c++/HybridDtObjSpec.hpp +90 -0
- package/nitrogen/generated/shared/c++/HybridEccSpec.cpp +41 -0
- package/nitrogen/generated/shared/c++/HybridEccSpec.hpp +96 -0
- package/nitrogen/generated/shared/c++/HybridEdDSASpec.cpp +38 -0
- package/nitrogen/generated/shared/c++/HybridEdDSASpec.hpp +90 -0
- package/nitrogen/generated/shared/c++/HybridEmailBundleSpec.cpp +45 -0
- package/nitrogen/generated/shared/c++/HybridEmailBundleSpec.hpp +91 -0
- package/nitrogen/generated/shared/c++/HybridEmailSpec.cpp +259 -0
- package/nitrogen/generated/shared/c++/HybridEmailSpec.hpp +326 -0
- package/nitrogen/generated/shared/c++/HybridFileAccessSpec.cpp +90 -0
- package/nitrogen/generated/shared/c++/HybridFileAccessSpec.hpp +140 -0
- package/nitrogen/generated/shared/c++/HybridFtp2Spec.cpp +367 -0
- package/nitrogen/generated/shared/c++/HybridFtp2Spec.hpp +434 -0
- package/nitrogen/generated/shared/c++/HybridGlobalSpec.cpp +59 -0
- package/nitrogen/generated/shared/c++/HybridGlobalSpec.hpp +99 -0
- package/nitrogen/generated/shared/c++/HybridGzipSpec.cpp +79 -0
- package/nitrogen/generated/shared/c++/HybridGzipSpec.hpp +134 -0
- package/nitrogen/generated/shared/c++/HybridHashtableSpec.cpp +45 -0
- package/nitrogen/generated/shared/c++/HybridHashtableSpec.hpp +91 -0
- package/nitrogen/generated/shared/c++/HybridHtmlToTextSpec.cpp +40 -0
- package/nitrogen/generated/shared/c++/HybridHtmlToTextSpec.hpp +83 -0
- package/nitrogen/generated/shared/c++/HybridHtmlToXmlSpec.cpp +49 -0
- package/nitrogen/generated/shared/c++/HybridHtmlToXmlSpec.hpp +95 -0
- package/nitrogen/generated/shared/c++/HybridHttpCurlSpec.cpp +67 -0
- package/nitrogen/generated/shared/c++/HybridHttpCurlSpec.hpp +125 -0
- package/nitrogen/generated/shared/c++/HybridHttpRequestSpec.cpp +76 -0
- package/nitrogen/generated/shared/c++/HybridHttpRequestSpec.hpp +122 -0
- package/nitrogen/generated/shared/c++/HybridHttpResponseSpec.cpp +64 -0
- package/nitrogen/generated/shared/c++/HybridHttpResponseSpec.hpp +119 -0
- package/nitrogen/generated/shared/c++/HybridHttpSpec.cpp +334 -0
- package/nitrogen/generated/shared/c++/HybridHttpSpec.hpp +407 -0
- package/nitrogen/generated/shared/c++/HybridImapSpec.cpp +275 -0
- package/nitrogen/generated/shared/c++/HybridImapSpec.hpp +360 -0
- package/nitrogen/generated/shared/c++/HybridJavaKeyStoreSpec.cpp +65 -0
- package/nitrogen/generated/shared/c++/HybridJavaKeyStoreSpec.hpp +132 -0
- package/nitrogen/generated/shared/c++/HybridJsSpec.cpp +43 -0
- package/nitrogen/generated/shared/c++/HybridJsSpec.hpp +92 -0
- package/nitrogen/generated/shared/c++/HybridJsonArraySpec.cpp +76 -0
- package/nitrogen/generated/shared/c++/HybridJsonArraySpec.hpp +131 -0
- package/nitrogen/generated/shared/c++/HybridJsonObjectSpec.cpp +154 -0
- package/nitrogen/generated/shared/c++/HybridJsonObjectSpec.hpp +218 -0
- package/nitrogen/generated/shared/c++/HybridJweSpec.cpp +57 -0
- package/nitrogen/generated/shared/c++/HybridJweSpec.hpp +112 -0
- package/nitrogen/generated/shared/c++/HybridJwsSpec.cpp +57 -0
- package/nitrogen/generated/shared/c++/HybridJwsSpec.hpp +115 -0
- package/nitrogen/generated/shared/c++/HybridJwtSpec.cpp +43 -0
- package/nitrogen/generated/shared/c++/HybridJwtSpec.hpp +92 -0
- package/nitrogen/generated/shared/c++/HybridLogSpec.cpp +44 -0
- package/nitrogen/generated/shared/c++/HybridLogSpec.hpp +85 -0
- package/nitrogen/generated/shared/c++/HybridMailManSpec.cpp +311 -0
- package/nitrogen/generated/shared/c++/HybridMailManSpec.hpp +396 -0
- package/nitrogen/generated/shared/c++/HybridMailboxesSpec.cpp +40 -0
- package/nitrogen/generated/shared/c++/HybridMailboxesSpec.hpp +80 -0
- package/nitrogen/generated/shared/c++/HybridMcpSpec.cpp +68 -0
- package/nitrogen/generated/shared/c++/HybridMcpSpec.hpp +117 -0
- package/nitrogen/generated/shared/c++/HybridMessageSetSpec.cpp +41 -0
- package/nitrogen/generated/shared/c++/HybridMessageSetSpec.hpp +84 -0
- package/nitrogen/generated/shared/c++/HybridMhtSpec.cpp +138 -0
- package/nitrogen/generated/shared/c++/HybridMhtSpec.hpp +181 -0
- package/nitrogen/generated/shared/c++/HybridMimeSpec.cpp +169 -0
- package/nitrogen/generated/shared/c++/HybridMimeSpec.hpp +233 -0
- package/nitrogen/generated/shared/c++/HybridNtlmSpec.cpp +69 -0
- package/nitrogen/generated/shared/c++/HybridNtlmSpec.hpp +109 -0
- package/nitrogen/generated/shared/c++/HybridOAuth1Spec.cpp +67 -0
- package/nitrogen/generated/shared/c++/HybridOAuth1Spec.hpp +110 -0
- package/nitrogen/generated/shared/c++/HybridOAuth2Spec.cpp +107 -0
- package/nitrogen/generated/shared/c++/HybridOAuth2Spec.hpp +156 -0
- package/nitrogen/generated/shared/c++/HybridPdfSpec.cpp +73 -0
- package/nitrogen/generated/shared/c++/HybridPdfSpec.hpp +134 -0
- package/nitrogen/generated/shared/c++/HybridPemSpec.cpp +63 -0
- package/nitrogen/generated/shared/c++/HybridPemSpec.hpp +124 -0
- package/nitrogen/generated/shared/c++/HybridPfxSpec.cpp +61 -0
- package/nitrogen/generated/shared/c++/HybridPfxSpec.hpp +122 -0
- package/nitrogen/generated/shared/c++/HybridPkcs11Spec.cpp +60 -0
- package/nitrogen/generated/shared/c++/HybridPkcs11Spec.hpp +115 -0
- package/nitrogen/generated/shared/c++/HybridPrivateKeySpec.cpp +76 -0
- package/nitrogen/generated/shared/c++/HybridPrivateKeySpec.hpp +131 -0
- package/nitrogen/generated/shared/c++/HybridPrngSpec.cpp +42 -0
- package/nitrogen/generated/shared/c++/HybridPrngSpec.hpp +85 -0
- package/nitrogen/generated/shared/c++/HybridPublicKeySpec.cpp +48 -0
- package/nitrogen/generated/shared/c++/HybridPublicKeySpec.hpp +91 -0
- package/nitrogen/generated/shared/c++/HybridRestSpec.cpp +150 -0
- package/nitrogen/generated/shared/c++/HybridRestSpec.hpp +229 -0
- package/nitrogen/generated/shared/c++/HybridRsaSpec.cpp +68 -0
- package/nitrogen/generated/shared/c++/HybridRsaSpec.hpp +120 -0
- package/nitrogen/generated/shared/c++/HybridSCardSpec.cpp +64 -0
- package/nitrogen/generated/shared/c++/HybridSCardSpec.hpp +116 -0
- package/nitrogen/generated/shared/c++/HybridSFtpDirSpec.cpp +35 -0
- package/nitrogen/generated/shared/c++/HybridSFtpDirSpec.hpp +78 -0
- package/nitrogen/generated/shared/c++/HybridSFtpFileSpec.cpp +57 -0
- package/nitrogen/generated/shared/c++/HybridSFtpFileSpec.hpp +98 -0
- package/nitrogen/generated/shared/c++/HybridSFtpSpec.cpp +284 -0
- package/nitrogen/generated/shared/c++/HybridSFtpSpec.hpp +354 -0
- package/nitrogen/generated/shared/c++/HybridScMinidriverSpec.cpp +61 -0
- package/nitrogen/generated/shared/c++/HybridScMinidriverSpec.hpp +119 -0
- package/nitrogen/generated/shared/c++/HybridScpSpec.cpp +78 -0
- package/nitrogen/generated/shared/c++/HybridScpSpec.hpp +127 -0
- package/nitrogen/generated/shared/c++/HybridSecretsSpec.cpp +65 -0
- package/nitrogen/generated/shared/c++/HybridSecretsSpec.hpp +120 -0
- package/nitrogen/generated/shared/c++/HybridSecureStringSpec.cpp +42 -0
- package/nitrogen/generated/shared/c++/HybridSecureStringSpec.hpp +88 -0
- package/nitrogen/generated/shared/c++/HybridServerSentEventSpec.cpp +35 -0
- package/nitrogen/generated/shared/c++/HybridServerSentEventSpec.hpp +75 -0
- package/nitrogen/generated/shared/c++/HybridSocketSpec.cpp +262 -0
- package/nitrogen/generated/shared/c++/HybridSocketSpec.hpp +327 -0
- package/nitrogen/generated/shared/c++/HybridSpiderSpec.cpp +110 -0
- package/nitrogen/generated/shared/c++/HybridSpiderSpec.hpp +153 -0
- package/nitrogen/generated/shared/c++/HybridSshKeySpec.cpp +59 -0
- package/nitrogen/generated/shared/c++/HybridSshKeySpec.hpp +102 -0
- package/nitrogen/generated/shared/c++/HybridSshSpec.cpp +215 -0
- package/nitrogen/generated/shared/c++/HybridSshSpec.hpp +276 -0
- package/nitrogen/generated/shared/c++/HybridSshTunnelSpec.cpp +136 -0
- package/nitrogen/generated/shared/c++/HybridSshTunnelSpec.hpp +191 -0
- package/nitrogen/generated/shared/c++/HybridStreamSpec.cpp +100 -0
- package/nitrogen/generated/shared/c++/HybridStreamSpec.hpp +150 -0
- package/nitrogen/generated/shared/c++/HybridStringArraySpec.cpp +66 -0
- package/nitrogen/generated/shared/c++/HybridStringArraySpec.hpp +109 -0
- package/nitrogen/generated/shared/c++/HybridStringBuilderSpec.cpp +104 -0
- package/nitrogen/generated/shared/c++/HybridStringBuilderSpec.hpp +156 -0
- package/nitrogen/generated/shared/c++/HybridStringTableSpec.cpp +46 -0
- package/nitrogen/generated/shared/c++/HybridStringTableSpec.hpp +89 -0
- package/nitrogen/generated/shared/c++/HybridTarSpec.cpp +110 -0
- package/nitrogen/generated/shared/c++/HybridTarSpec.hpp +156 -0
- package/nitrogen/generated/shared/c++/HybridTrustedRootsSpec.cpp +48 -0
- package/nitrogen/generated/shared/c++/HybridTrustedRootsSpec.hpp +97 -0
- package/nitrogen/generated/shared/c++/HybridUnixCompressSpec.cpp +48 -0
- package/nitrogen/generated/shared/c++/HybridUnixCompressSpec.hpp +91 -0
- package/nitrogen/generated/shared/c++/HybridUploadSpec.cpp +98 -0
- package/nitrogen/generated/shared/c++/HybridUploadSpec.hpp +141 -0
- package/nitrogen/generated/shared/c++/HybridUrlSpec.cpp +42 -0
- package/nitrogen/generated/shared/c++/HybridUrlSpec.hpp +82 -0
- package/nitrogen/generated/shared/c++/HybridWebSocketSpec.cpp +80 -0
- package/nitrogen/generated/shared/c++/HybridWebSocketSpec.hpp +135 -0
- package/nitrogen/generated/shared/c++/HybridXmlCertVaultSpec.cpp +45 -0
- package/nitrogen/generated/shared/c++/HybridXmlCertVaultSpec.hpp +94 -0
- package/nitrogen/generated/shared/c++/HybridXmlDSigGenSpec.cpp +99 -0
- package/nitrogen/generated/shared/c++/HybridXmlDSigGenSpec.hpp +163 -0
- package/nitrogen/generated/shared/c++/HybridXmlDSigSpec.cpp +62 -0
- package/nitrogen/generated/shared/c++/HybridXmlDSigSpec.hpp +126 -0
- package/nitrogen/generated/shared/c++/HybridXmlSpec.cpp +203 -0
- package/nitrogen/generated/shared/c++/HybridXmlSpec.hpp +253 -0
- package/nitrogen/generated/shared/c++/HybridXmpSpec.cpp +58 -0
- package/nitrogen/generated/shared/c++/HybridXmpSpec.hpp +104 -0
- package/nitrogen/generated/shared/c++/HybridZipCrcSpec.cpp +43 -0
- package/nitrogen/generated/shared/c++/HybridZipCrcSpec.hpp +92 -0
- package/nitrogen/generated/shared/c++/HybridZipEntrySpec.cpp +82 -0
- package/nitrogen/generated/shared/c++/HybridZipEntrySpec.hpp +137 -0
- package/nitrogen/generated/shared/c++/HybridZipSpec.cpp +176 -0
- package/nitrogen/generated/shared/c++/HybridZipSpec.hpp +231 -0
- package/package.json +46 -0
- package/react-native.config.js +9 -0
- package/scripts/fetch-chilkat.js +184 -0
- package/src/index.ts +306 -0
- package/src/runtime/chilkat.ts +25 -0
- package/src/specs/Ai.nitro.ts +1288 -0
- package/src/specs/Asn.nitro.ts +509 -0
- package/src/specs/AuthAws.nitro.ts +234 -0
- package/src/specs/AuthAzureSAS.nitro.ts +205 -0
- package/src/specs/AuthAzureStorage.nitro.ts +172 -0
- package/src/specs/AuthGoogle.nitro.ts +291 -0
- package/src/specs/BinData.nitro.ts +470 -0
- package/src/specs/Bz2.nitro.ts +269 -0
- package/src/specs/Cache.nitro.ts +483 -0
- package/src/specs/Cert.nitro.ts +1279 -0
- package/src/specs/CertChain.nitro.ts +312 -0
- package/src/specs/CertStore.nitro.ts +430 -0
- package/src/specs/Charset.nitro.ts +518 -0
- package/src/specs/CkDateTime.nitro.ts +492 -0
- package/src/specs/CodeSign.nitro.ts +307 -0
- package/src/specs/Compression.nitro.ts +654 -0
- package/src/specs/Crypt2.nitro.ts +2387 -0
- package/src/specs/Csr.nitro.ts +461 -0
- package/src/specs/Csv.nitro.ts +670 -0
- package/src/specs/Dh.nitro.ts +343 -0
- package/src/specs/DirTree.nitro.ts +332 -0
- package/src/specs/Dkim.nitro.ts +595 -0
- package/src/specs/Dns.nitro.ts +271 -0
- package/src/specs/Dsa.nitro.ts +653 -0
- package/src/specs/DtObj.nitro.ts +198 -0
- package/src/specs/Ecc.nitro.ts +375 -0
- package/src/specs/EdDSA.nitro.ts +273 -0
- package/src/specs/Email.nitro.ts +2921 -0
- package/src/specs/EmailBundle.nitro.ts +334 -0
- package/src/specs/FileAccess.nitro.ts +836 -0
- package/src/specs/Ftp2.nitro.ts +3943 -0
- package/src/specs/Global.nitro.ts +319 -0
- package/src/specs/Gzip.nitro.ts +646 -0
- package/src/specs/Hashtable.nitro.ts +356 -0
- package/src/specs/HtmlToText.nitro.ts +238 -0
- package/src/specs/HtmlToXml.nitro.ts +323 -0
- package/src/specs/Http.nitro.ts +3095 -0
- package/src/specs/HttpCurl.nitro.ts +550 -0
- package/src/specs/HttpRequest.nitro.ts +522 -0
- package/src/specs/HttpResponse.nitro.ts +424 -0
- package/src/specs/Imap.nitro.ts +2991 -0
- package/src/specs/JavaKeyStore.nitro.ts +619 -0
- package/src/specs/Js.nitro.ts +263 -0
- package/src/specs/JsonArray.nitro.ts +681 -0
- package/src/specs/JsonObject.nitro.ts +1454 -0
- package/src/specs/Jwe.nitro.ts +756 -0
- package/src/specs/Jws.nitro.ts +733 -0
- package/src/specs/Jwt.nitro.ts +380 -0
- package/src/specs/Log.nitro.ts +258 -0
- package/src/specs/MailMan.nitro.ts +3571 -0
- package/src/specs/Mailboxes.nitro.ts +251 -0
- package/src/specs/Mcp.nitro.ts +491 -0
- package/src/specs/MessageSet.nitro.ts +320 -0
- package/src/specs/Mht.nitro.ts +1684 -0
- package/src/specs/Mime.nitro.ts +1745 -0
- package/src/specs/Ntlm.nitro.ts +556 -0
- package/src/specs/OAuth1.nitro.ts +331 -0
- package/src/specs/OAuth2.nitro.ts +1023 -0
- package/src/specs/Pdf.nitro.ts +740 -0
- package/src/specs/Pem.nitro.ts +484 -0
- package/src/specs/Pfx.nitro.ts +1003 -0
- package/src/specs/Pkcs11.nitro.ts +559 -0
- package/src/specs/PrivateKey.nitro.ts +994 -0
- package/src/specs/Prng.nitro.ts +348 -0
- package/src/specs/PublicKey.nitro.ts +610 -0
- package/src/specs/Rest.nitro.ts +1972 -0
- package/src/specs/Rsa.nitro.ts +453 -0
- package/src/specs/SCard.nitro.ts +739 -0
- package/src/specs/SFtp.nitro.ts +3138 -0
- package/src/specs/SFtpDir.nitro.ts +213 -0
- package/src/specs/SFtpFile.nitro.ts +452 -0
- package/src/specs/ScMinidriver.nitro.ts +443 -0
- package/src/specs/Scp.nitro.ts +708 -0
- package/src/specs/Secrets.nitro.ts +470 -0
- package/src/specs/SecureString.nitro.ts +231 -0
- package/src/specs/ServerSentEvent.nitro.ts +183 -0
- package/src/specs/Socket.nitro.ts +3335 -0
- package/src/specs/Spider.nitro.ts +609 -0
- package/src/specs/Ssh.nitro.ts +2842 -0
- package/src/specs/SshKey.nitro.ts +740 -0
- package/src/specs/SshTunnel.nitro.ts +1243 -0
- package/src/specs/Stream.nitro.ts +737 -0
- package/src/specs/StringArray.nitro.ts +396 -0
- package/src/specs/StringBuilder.nitro.ts +920 -0
- package/src/specs/StringTable.nitro.ts +271 -0
- package/src/specs/Tar.nitro.ts +804 -0
- package/src/specs/TrustedRoots.nitro.ts +360 -0
- package/src/specs/UnixCompress.nitro.ts +293 -0
- package/src/specs/Upload.nitro.ts +623 -0
- package/src/specs/Url.nitro.ts +246 -0
- package/src/specs/WebSocket.nitro.ts +840 -0
- package/src/specs/Xml.nitro.ts +1988 -0
- package/src/specs/XmlCertVault.nitro.ts +259 -0
- package/src/specs/XmlDSig.nitro.ts +464 -0
- package/src/specs/XmlDSigGen.nitro.ts +978 -0
- package/src/specs/Xmp.nitro.ts +364 -0
- package/src/specs/Zip.nitro.ts +1611 -0
- package/src/specs/ZipCrc.nitro.ts +229 -0
- package/src/specs/ZipEntry.nitro.ts +782 -0
|
@@ -0,0 +1,1527 @@
|
|
|
1
|
+
// Generated by ReactNativeNs.RnGenerator -- do not edit.
|
|
2
|
+
#include "HybridXml.hpp"
|
|
3
|
+
#include "HybridBinData.hpp"
|
|
4
|
+
#include "HybridStringBuilder.hpp"
|
|
5
|
+
#include "runtime/AsyncCall.hpp"
|
|
6
|
+
#include "runtime/Bytes.hpp"
|
|
7
|
+
#include "runtime/ProgLang.hpp"
|
|
8
|
+
|
|
9
|
+
namespace margelo::nitro::chilkat {
|
|
10
|
+
|
|
11
|
+
HybridXml::HybridXml()
|
|
12
|
+
: HybridObject(HybridXmlSpec::TAG), ChilkatObject<CkXml>("Xml", CkXml::createNew2(PROGLANG_REACT_NATIVE)) {
|
|
13
|
+
init();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
HybridXml::HybridXml(CkXml* owned)
|
|
17
|
+
: HybridObject(HybridXmlSpec::TAG), ChilkatObject<CkXml>("Xml", owned) {
|
|
18
|
+
init();
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
void HybridXml::init() {
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
void HybridXml::dispose() {
|
|
25
|
+
this->disposeChilkat();
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// ---- Properties ----
|
|
29
|
+
std::string HybridXml::getLastErrorHtml() {
|
|
30
|
+
this->beginCall();
|
|
31
|
+
CkString _s;
|
|
32
|
+
this->ck().get_LastErrorHtml(_s);
|
|
33
|
+
return rt::stdString(_s);
|
|
34
|
+
}
|
|
35
|
+
std::string HybridXml::getLastErrorText() {
|
|
36
|
+
this->beginCall();
|
|
37
|
+
CkString _s;
|
|
38
|
+
this->ck().get_LastErrorText(_s);
|
|
39
|
+
return rt::stdString(_s);
|
|
40
|
+
}
|
|
41
|
+
std::string HybridXml::getLastErrorXml() {
|
|
42
|
+
this->beginCall();
|
|
43
|
+
CkString _s;
|
|
44
|
+
this->ck().get_LastErrorXml(_s);
|
|
45
|
+
return rt::stdString(_s);
|
|
46
|
+
}
|
|
47
|
+
std::string HybridXml::getVersion() {
|
|
48
|
+
this->beginCall();
|
|
49
|
+
CkString _s;
|
|
50
|
+
this->ck().get_Version(_s);
|
|
51
|
+
return rt::stdString(_s);
|
|
52
|
+
}
|
|
53
|
+
std::string HybridXml::getDebugLogFilePath() {
|
|
54
|
+
this->beginCall();
|
|
55
|
+
CkString _s;
|
|
56
|
+
this->ck().get_DebugLogFilePath(_s);
|
|
57
|
+
return rt::stdString(_s);
|
|
58
|
+
}
|
|
59
|
+
void HybridXml::setDebugLogFilePath(const std::string& value) {
|
|
60
|
+
this->beginCall();
|
|
61
|
+
rt::checkNoNul(value, "debugLogFilePath");
|
|
62
|
+
this->ck().put_DebugLogFilePath(value.c_str());
|
|
63
|
+
}
|
|
64
|
+
bool HybridXml::getVerboseLogging() {
|
|
65
|
+
this->beginCall();
|
|
66
|
+
return this->ck().get_VerboseLogging();
|
|
67
|
+
}
|
|
68
|
+
void HybridXml::setVerboseLogging(bool value) {
|
|
69
|
+
this->beginCall();
|
|
70
|
+
this->ck().put_VerboseLogging(value);
|
|
71
|
+
}
|
|
72
|
+
bool HybridXml::getLastMethodSuccess() {
|
|
73
|
+
this->beginCall();
|
|
74
|
+
return this->ck().get_LastMethodSuccess();
|
|
75
|
+
}
|
|
76
|
+
void HybridXml::setLastMethodSuccess(bool value) {
|
|
77
|
+
this->beginCall();
|
|
78
|
+
this->ck().put_LastMethodSuccess(value);
|
|
79
|
+
}
|
|
80
|
+
bool HybridXml::getCdata() {
|
|
81
|
+
this->beginCall();
|
|
82
|
+
return this->ck().get_Cdata();
|
|
83
|
+
}
|
|
84
|
+
void HybridXml::setCdata(bool value) {
|
|
85
|
+
this->beginCall();
|
|
86
|
+
this->ck().put_Cdata(value);
|
|
87
|
+
}
|
|
88
|
+
std::string HybridXml::getContent() {
|
|
89
|
+
this->beginCall();
|
|
90
|
+
CkString _s;
|
|
91
|
+
this->ck().get_Content(_s);
|
|
92
|
+
return rt::stdString(_s);
|
|
93
|
+
}
|
|
94
|
+
void HybridXml::setContent(const std::string& value) {
|
|
95
|
+
this->beginCall();
|
|
96
|
+
rt::checkNoNul(value, "content");
|
|
97
|
+
this->ck().put_Content(value.c_str());
|
|
98
|
+
}
|
|
99
|
+
double HybridXml::getContentInt() {
|
|
100
|
+
this->beginCall();
|
|
101
|
+
return static_cast<double>(this->ck().get_ContentInt());
|
|
102
|
+
}
|
|
103
|
+
void HybridXml::setContentInt(double value) {
|
|
104
|
+
this->beginCall();
|
|
105
|
+
this->ck().put_ContentInt(rt::toInt(value, "contentInt"));
|
|
106
|
+
}
|
|
107
|
+
std::string HybridXml::getDocType() {
|
|
108
|
+
this->beginCall();
|
|
109
|
+
CkString _s;
|
|
110
|
+
this->ck().get_DocType(_s);
|
|
111
|
+
return rt::stdString(_s);
|
|
112
|
+
}
|
|
113
|
+
void HybridXml::setDocType(const std::string& value) {
|
|
114
|
+
this->beginCall();
|
|
115
|
+
rt::checkNoNul(value, "docType");
|
|
116
|
+
this->ck().put_DocType(value.c_str());
|
|
117
|
+
}
|
|
118
|
+
bool HybridXml::getEmitBom() {
|
|
119
|
+
this->beginCall();
|
|
120
|
+
return this->ck().get_EmitBom();
|
|
121
|
+
}
|
|
122
|
+
void HybridXml::setEmitBom(bool value) {
|
|
123
|
+
this->beginCall();
|
|
124
|
+
this->ck().put_EmitBom(value);
|
|
125
|
+
}
|
|
126
|
+
bool HybridXml::getEmitXmlDecl() {
|
|
127
|
+
this->beginCall();
|
|
128
|
+
return this->ck().get_EmitXmlDecl();
|
|
129
|
+
}
|
|
130
|
+
void HybridXml::setEmitXmlDecl(bool value) {
|
|
131
|
+
this->beginCall();
|
|
132
|
+
this->ck().put_EmitXmlDecl(value);
|
|
133
|
+
}
|
|
134
|
+
std::string HybridXml::getEncoding() {
|
|
135
|
+
this->beginCall();
|
|
136
|
+
CkString _s;
|
|
137
|
+
this->ck().get_Encoding(_s);
|
|
138
|
+
return rt::stdString(_s);
|
|
139
|
+
}
|
|
140
|
+
void HybridXml::setEncoding(const std::string& value) {
|
|
141
|
+
this->beginCall();
|
|
142
|
+
rt::checkNoNul(value, "encoding");
|
|
143
|
+
this->ck().put_Encoding(value.c_str());
|
|
144
|
+
}
|
|
145
|
+
double HybridXml::getNumAttributes() {
|
|
146
|
+
this->beginCall();
|
|
147
|
+
return static_cast<double>(this->ck().get_NumAttributes());
|
|
148
|
+
}
|
|
149
|
+
double HybridXml::getNumChildren() {
|
|
150
|
+
this->beginCall();
|
|
151
|
+
return static_cast<double>(this->ck().get_NumChildren());
|
|
152
|
+
}
|
|
153
|
+
bool HybridXml::getSortCaseInsensitive() {
|
|
154
|
+
this->beginCall();
|
|
155
|
+
return this->ck().get_SortCaseInsensitive();
|
|
156
|
+
}
|
|
157
|
+
void HybridXml::setSortCaseInsensitive(bool value) {
|
|
158
|
+
this->beginCall();
|
|
159
|
+
this->ck().put_SortCaseInsensitive(value);
|
|
160
|
+
}
|
|
161
|
+
bool HybridXml::getStandalone() {
|
|
162
|
+
this->beginCall();
|
|
163
|
+
return this->ck().get_Standalone();
|
|
164
|
+
}
|
|
165
|
+
void HybridXml::setStandalone(bool value) {
|
|
166
|
+
this->beginCall();
|
|
167
|
+
this->ck().put_Standalone(value);
|
|
168
|
+
}
|
|
169
|
+
bool HybridXml::getStrict() {
|
|
170
|
+
this->beginCall();
|
|
171
|
+
return this->ck().get_Strict();
|
|
172
|
+
}
|
|
173
|
+
void HybridXml::setStrict(bool value) {
|
|
174
|
+
this->beginCall();
|
|
175
|
+
this->ck().put_Strict(value);
|
|
176
|
+
}
|
|
177
|
+
std::string HybridXml::getTag() {
|
|
178
|
+
this->beginCall();
|
|
179
|
+
CkString _s;
|
|
180
|
+
this->ck().get_Tag(_s);
|
|
181
|
+
return rt::stdString(_s);
|
|
182
|
+
}
|
|
183
|
+
void HybridXml::setTag(const std::string& value) {
|
|
184
|
+
this->beginCall();
|
|
185
|
+
rt::checkNoNul(value, "tag");
|
|
186
|
+
this->ck().put_Tag(value.c_str());
|
|
187
|
+
}
|
|
188
|
+
double HybridXml::getTreeId() {
|
|
189
|
+
this->beginCall();
|
|
190
|
+
return static_cast<double>(this->ck().get_TreeId());
|
|
191
|
+
}
|
|
192
|
+
double HybridXml::getI() {
|
|
193
|
+
this->beginCall();
|
|
194
|
+
return static_cast<double>(this->ck().get_I());
|
|
195
|
+
}
|
|
196
|
+
void HybridXml::setI(double value) {
|
|
197
|
+
this->beginCall();
|
|
198
|
+
this->ck().put_I(rt::toInt(value, "i"));
|
|
199
|
+
}
|
|
200
|
+
double HybridXml::getJ() {
|
|
201
|
+
this->beginCall();
|
|
202
|
+
return static_cast<double>(this->ck().get_J());
|
|
203
|
+
}
|
|
204
|
+
void HybridXml::setJ(double value) {
|
|
205
|
+
this->beginCall();
|
|
206
|
+
this->ck().put_J(rt::toInt(value, "j"));
|
|
207
|
+
}
|
|
208
|
+
double HybridXml::getK() {
|
|
209
|
+
this->beginCall();
|
|
210
|
+
return static_cast<double>(this->ck().get_K());
|
|
211
|
+
}
|
|
212
|
+
void HybridXml::setK(double value) {
|
|
213
|
+
this->beginCall();
|
|
214
|
+
this->ck().put_K(rt::toInt(value, "k"));
|
|
215
|
+
}
|
|
216
|
+
bool HybridXml::getEmitCompact() {
|
|
217
|
+
this->beginCall();
|
|
218
|
+
return this->ck().get_EmitCompact();
|
|
219
|
+
}
|
|
220
|
+
void HybridXml::setEmitCompact(bool value) {
|
|
221
|
+
this->beginCall();
|
|
222
|
+
this->ck().put_EmitCompact(value);
|
|
223
|
+
}
|
|
224
|
+
bool HybridXml::getIsBase64() {
|
|
225
|
+
this->beginCall();
|
|
226
|
+
return this->ck().get_IsBase64();
|
|
227
|
+
}
|
|
228
|
+
std::string HybridXml::getTagNsPrefix() {
|
|
229
|
+
this->beginCall();
|
|
230
|
+
CkString _s;
|
|
231
|
+
this->ck().get_TagNsPrefix(_s);
|
|
232
|
+
return rt::stdString(_s);
|
|
233
|
+
}
|
|
234
|
+
void HybridXml::setTagNsPrefix(const std::string& value) {
|
|
235
|
+
this->beginCall();
|
|
236
|
+
rt::checkNoNul(value, "tagNsPrefix");
|
|
237
|
+
this->ck().put_TagNsPrefix(value.c_str());
|
|
238
|
+
}
|
|
239
|
+
std::string HybridXml::getTagUnprefixed() {
|
|
240
|
+
this->beginCall();
|
|
241
|
+
CkString _s;
|
|
242
|
+
this->ck().get_TagUnprefixed(_s);
|
|
243
|
+
return rt::stdString(_s);
|
|
244
|
+
}
|
|
245
|
+
void HybridXml::setTagUnprefixed(const std::string& value) {
|
|
246
|
+
this->beginCall();
|
|
247
|
+
rt::checkNoNul(value, "tagUnprefixed");
|
|
248
|
+
this->ck().put_TagUnprefixed(value.c_str());
|
|
249
|
+
}
|
|
250
|
+
std::string HybridXml::getTagPath() {
|
|
251
|
+
this->beginCall();
|
|
252
|
+
CkString _s;
|
|
253
|
+
this->ck().get_TagPath(_s);
|
|
254
|
+
return rt::stdString(_s);
|
|
255
|
+
}
|
|
256
|
+
std::string HybridXml::getUncommonOptions() {
|
|
257
|
+
this->beginCall();
|
|
258
|
+
CkString _s;
|
|
259
|
+
this->ck().get_UncommonOptions(_s);
|
|
260
|
+
return rt::stdString(_s);
|
|
261
|
+
}
|
|
262
|
+
void HybridXml::setUncommonOptions(const std::string& value) {
|
|
263
|
+
this->beginCall();
|
|
264
|
+
rt::checkNoNul(value, "uncommonOptions");
|
|
265
|
+
this->ck().put_UncommonOptions(value.c_str());
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
// ---- Methods ----
|
|
269
|
+
|
|
270
|
+
std::string HybridXml::accumulateTagContent(const std::string& tag, const std::string& skipTags) {
|
|
271
|
+
this->beginCall();
|
|
272
|
+
return accumulateTagContent_impl(tag, skipTags);
|
|
273
|
+
}
|
|
274
|
+
std::string HybridXml::accumulateTagContent_impl(const std::string& tag, const std::string& skipTags) {
|
|
275
|
+
rt::checkNoNul(tag, "tag");
|
|
276
|
+
rt::checkNoNul(skipTags, "skipTags");
|
|
277
|
+
CkString _out;
|
|
278
|
+
if (!this->ck().AccumulateTagContent(tag.c_str(), skipTags.c_str(), _out)) throw this->fail("accumulateTagContent");
|
|
279
|
+
return rt::stdString(_out);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
void HybridXml::addAttribute(const std::string& name, const std::string& value) {
|
|
283
|
+
this->beginCall();
|
|
284
|
+
addAttribute_impl(name, value);
|
|
285
|
+
}
|
|
286
|
+
void HybridXml::addAttribute_impl(const std::string& name, const std::string& value) {
|
|
287
|
+
rt::checkNoNul(name, "name");
|
|
288
|
+
rt::checkNoNul(value, "value");
|
|
289
|
+
if (!this->ck().AddAttribute(name.c_str(), value.c_str())) throw this->fail("addAttribute");
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
void HybridXml::addAttributeInt(const std::string& name, double value) {
|
|
293
|
+
this->beginCall();
|
|
294
|
+
addAttributeInt_impl(name, value);
|
|
295
|
+
}
|
|
296
|
+
void HybridXml::addAttributeInt_impl(const std::string& name, double value) {
|
|
297
|
+
rt::checkNoNul(name, "name");
|
|
298
|
+
if (!this->ck().AddAttributeInt(name.c_str(), rt::toInt(value, "value"))) throw this->fail("addAttributeInt");
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
void HybridXml::addChildTree(const std::shared_ptr<HybridXmlSpec>& tree) {
|
|
302
|
+
this->beginCall();
|
|
303
|
+
addChildTree_impl(tree);
|
|
304
|
+
}
|
|
305
|
+
void HybridXml::addChildTree_impl(const std::shared_ptr<HybridXmlSpec>& tree) {
|
|
306
|
+
if (!this->ck().AddChildTree(rt::implOf<HybridXml>(tree, "tree").ck())) throw this->fail("addChildTree");
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
void HybridXml::addOrUpdateAttribute(const std::string& name, const std::string& value) {
|
|
310
|
+
this->beginCall();
|
|
311
|
+
addOrUpdateAttribute_impl(name, value);
|
|
312
|
+
}
|
|
313
|
+
void HybridXml::addOrUpdateAttribute_impl(const std::string& name, const std::string& value) {
|
|
314
|
+
rt::checkNoNul(name, "name");
|
|
315
|
+
rt::checkNoNul(value, "value");
|
|
316
|
+
this->ck().AddOrUpdateAttribute(name.c_str(), value.c_str());
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
void HybridXml::addOrUpdateAttributeI(const std::string& name, double value) {
|
|
320
|
+
this->beginCall();
|
|
321
|
+
addOrUpdateAttributeI_impl(name, value);
|
|
322
|
+
}
|
|
323
|
+
void HybridXml::addOrUpdateAttributeI_impl(const std::string& name, double value) {
|
|
324
|
+
rt::checkNoNul(name, "name");
|
|
325
|
+
this->ck().AddOrUpdateAttributeI(name.c_str(), rt::toInt(value, "value"));
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
void HybridXml::addStyleSheet(const std::string& styleSheet) {
|
|
329
|
+
this->beginCall();
|
|
330
|
+
addStyleSheet_impl(styleSheet);
|
|
331
|
+
}
|
|
332
|
+
void HybridXml::addStyleSheet_impl(const std::string& styleSheet) {
|
|
333
|
+
rt::checkNoNul(styleSheet, "styleSheet");
|
|
334
|
+
this->ck().AddStyleSheet(styleSheet.c_str());
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
void HybridXml::addToAttribute(const std::string& name, double amount) {
|
|
338
|
+
this->beginCall();
|
|
339
|
+
addToAttribute_impl(name, amount);
|
|
340
|
+
}
|
|
341
|
+
void HybridXml::addToAttribute_impl(const std::string& name, double amount) {
|
|
342
|
+
rt::checkNoNul(name, "name");
|
|
343
|
+
this->ck().AddToAttribute(name.c_str(), rt::toInt(amount, "amount"));
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
void HybridXml::addToChildContent(const std::string& tag, double amount) {
|
|
347
|
+
this->beginCall();
|
|
348
|
+
addToChildContent_impl(tag, amount);
|
|
349
|
+
}
|
|
350
|
+
void HybridXml::addToChildContent_impl(const std::string& tag, double amount) {
|
|
351
|
+
rt::checkNoNul(tag, "tag");
|
|
352
|
+
this->ck().AddToChildContent(tag.c_str(), rt::toInt(amount, "amount"));
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
void HybridXml::addToContent(double amount) {
|
|
356
|
+
this->beginCall();
|
|
357
|
+
addToContent_impl(amount);
|
|
358
|
+
}
|
|
359
|
+
void HybridXml::addToContent_impl(double amount) {
|
|
360
|
+
this->ck().AddToContent(rt::toInt(amount, "amount"));
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
void HybridXml::appendToContent(const std::string& str) {
|
|
364
|
+
this->beginCall();
|
|
365
|
+
appendToContent_impl(str);
|
|
366
|
+
}
|
|
367
|
+
void HybridXml::appendToContent_impl(const std::string& str) {
|
|
368
|
+
rt::checkNoNul(str, "str");
|
|
369
|
+
if (!this->ck().AppendToContent(str.c_str())) throw this->fail("appendToContent");
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
bool HybridXml::childContentMatches(const std::string& tagPath, const std::string& pattern, bool caseSensitive) {
|
|
373
|
+
this->beginCall();
|
|
374
|
+
return childContentMatches_impl(tagPath, pattern, caseSensitive);
|
|
375
|
+
}
|
|
376
|
+
bool HybridXml::childContentMatches_impl(const std::string& tagPath, const std::string& pattern, bool caseSensitive) {
|
|
377
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
378
|
+
rt::checkNoNul(pattern, "pattern");
|
|
379
|
+
return this->ck().ChildContentMatches(tagPath.c_str(), pattern.c_str(), caseSensitive);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
std::string HybridXml::chilkatPath(const std::string& pathCmd) {
|
|
383
|
+
this->beginCall();
|
|
384
|
+
return chilkatPath_impl(pathCmd);
|
|
385
|
+
}
|
|
386
|
+
std::string HybridXml::chilkatPath_impl(const std::string& pathCmd) {
|
|
387
|
+
rt::checkNoNul(pathCmd, "pathCmd");
|
|
388
|
+
CkString _out;
|
|
389
|
+
if (!this->ck().ChilkatPath(pathCmd.c_str(), _out)) throw this->fail("chilkatPath");
|
|
390
|
+
return rt::stdString(_out);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
void HybridXml::clear() {
|
|
394
|
+
this->beginCall();
|
|
395
|
+
clear_impl();
|
|
396
|
+
}
|
|
397
|
+
void HybridXml::clear_impl() {
|
|
398
|
+
this->ck().Clear();
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
bool HybridXml::contentMatches(const std::string& pattern, bool caseSensitive) {
|
|
402
|
+
this->beginCall();
|
|
403
|
+
return contentMatches_impl(pattern, caseSensitive);
|
|
404
|
+
}
|
|
405
|
+
bool HybridXml::contentMatches_impl(const std::string& pattern, bool caseSensitive) {
|
|
406
|
+
rt::checkNoNul(pattern, "pattern");
|
|
407
|
+
return this->ck().ContentMatches(pattern.c_str(), caseSensitive);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
void HybridXml::copy(const std::shared_ptr<HybridXmlSpec>& node) {
|
|
411
|
+
this->beginCall();
|
|
412
|
+
copy_impl(node);
|
|
413
|
+
}
|
|
414
|
+
void HybridXml::copy_impl(const std::shared_ptr<HybridXmlSpec>& node) {
|
|
415
|
+
this->ck().Copy(rt::implOf<HybridXml>(node, "node").ck());
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
void HybridXml::copyRef(const std::shared_ptr<HybridXmlSpec>& copyFromNode) {
|
|
419
|
+
this->beginCall();
|
|
420
|
+
copyRef_impl(copyFromNode);
|
|
421
|
+
}
|
|
422
|
+
void HybridXml::copyRef_impl(const std::shared_ptr<HybridXmlSpec>& copyFromNode) {
|
|
423
|
+
this->ck().CopyRef(rt::implOf<HybridXml>(copyFromNode, "copyFromNode").ck());
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
std::string HybridXml::decodeEntities(const std::string& str) {
|
|
427
|
+
this->beginCall();
|
|
428
|
+
return decodeEntities_impl(str);
|
|
429
|
+
}
|
|
430
|
+
std::string HybridXml::decodeEntities_impl(const std::string& str) {
|
|
431
|
+
rt::checkNoNul(str, "str");
|
|
432
|
+
CkString _out;
|
|
433
|
+
if (!this->ck().DecodeEntities(str.c_str(), _out)) throw this->fail("decodeEntities");
|
|
434
|
+
return rt::stdString(_out);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
void HybridXml::decryptContent(const std::string& password) {
|
|
438
|
+
this->beginCall();
|
|
439
|
+
decryptContent_impl(password);
|
|
440
|
+
}
|
|
441
|
+
void HybridXml::decryptContent_impl(const std::string& password) {
|
|
442
|
+
rt::checkNoNul(password, "password");
|
|
443
|
+
if (!this->ck().DecryptContent(password.c_str())) throw this->fail("decryptContent");
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
void HybridXml::encryptContent(const std::string& password) {
|
|
447
|
+
this->beginCall();
|
|
448
|
+
encryptContent_impl(password);
|
|
449
|
+
}
|
|
450
|
+
void HybridXml::encryptContent_impl(const std::string& password) {
|
|
451
|
+
rt::checkNoNul(password, "password");
|
|
452
|
+
if (!this->ck().EncryptContent(password.c_str())) throw this->fail("encryptContent");
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::extractChildByIndex(double index) {
|
|
456
|
+
this->beginCall();
|
|
457
|
+
return extractChildByIndex_impl(index);
|
|
458
|
+
}
|
|
459
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::extractChildByIndex_impl(double index) {
|
|
460
|
+
CkXml* _r = this->ck().ExtractChildByIndex(rt::toInt(index, "index"));
|
|
461
|
+
if (!_r) throw this->fail("extractChildByIndex");
|
|
462
|
+
return std::make_shared<HybridXml>(_r);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::extractChildByName(const std::string& tagPath, const std::string& attrName, const std::string& attrValue) {
|
|
466
|
+
this->beginCall();
|
|
467
|
+
return extractChildByName_impl(tagPath, attrName, attrValue);
|
|
468
|
+
}
|
|
469
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::extractChildByName_impl(const std::string& tagPath, const std::string& attrName, const std::string& attrValue) {
|
|
470
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
471
|
+
rt::checkNoNul(attrName, "attrName");
|
|
472
|
+
rt::checkNoNul(attrValue, "attrValue");
|
|
473
|
+
CkXml* _r = this->ck().ExtractChildByName(tagPath.c_str(), attrName.c_str(), attrValue.c_str());
|
|
474
|
+
if (!_r) throw this->fail("extractChildByName");
|
|
475
|
+
return std::make_shared<HybridXml>(_r);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::findChild(const std::string& tagPath) {
|
|
479
|
+
this->beginCall();
|
|
480
|
+
return findChild_impl(tagPath);
|
|
481
|
+
}
|
|
482
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::findChild_impl(const std::string& tagPath) {
|
|
483
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
484
|
+
CkXml* _r = this->ck().FindChild(tagPath.c_str());
|
|
485
|
+
if (!_r) throw this->fail("findChild");
|
|
486
|
+
return std::make_shared<HybridXml>(_r);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
void HybridXml::findChild2(const std::string& tagPath) {
|
|
490
|
+
this->beginCall();
|
|
491
|
+
findChild2_impl(tagPath);
|
|
492
|
+
}
|
|
493
|
+
void HybridXml::findChild2_impl(const std::string& tagPath) {
|
|
494
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
495
|
+
if (!this->ck().FindChild2(tagPath.c_str())) throw this->fail("findChild2");
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::findNextRecord(const std::string& tagPath, const std::string& contentPattern) {
|
|
499
|
+
this->beginCall();
|
|
500
|
+
return findNextRecord_impl(tagPath, contentPattern);
|
|
501
|
+
}
|
|
502
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::findNextRecord_impl(const std::string& tagPath, const std::string& contentPattern) {
|
|
503
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
504
|
+
rt::checkNoNul(contentPattern, "contentPattern");
|
|
505
|
+
CkXml* _r = this->ck().FindNextRecord(tagPath.c_str(), contentPattern.c_str());
|
|
506
|
+
if (!_r) throw this->fail("findNextRecord");
|
|
507
|
+
return std::make_shared<HybridXml>(_r);
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::findOrAddNewChild(const std::string& tagPath) {
|
|
511
|
+
this->beginCall();
|
|
512
|
+
return findOrAddNewChild_impl(tagPath);
|
|
513
|
+
}
|
|
514
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::findOrAddNewChild_impl(const std::string& tagPath) {
|
|
515
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
516
|
+
CkXml* _r = this->ck().FindOrAddNewChild(tagPath.c_str());
|
|
517
|
+
if (!_r) throw this->fail("findOrAddNewChild");
|
|
518
|
+
return std::make_shared<HybridXml>(_r);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::firstChild() {
|
|
522
|
+
this->beginCall();
|
|
523
|
+
return firstChild_impl();
|
|
524
|
+
}
|
|
525
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::firstChild_impl() {
|
|
526
|
+
CkXml* _r = this->ck().FirstChild();
|
|
527
|
+
if (!_r) throw this->fail("firstChild");
|
|
528
|
+
return std::make_shared<HybridXml>(_r);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
bool HybridXml::firstChild2() {
|
|
532
|
+
this->beginCall();
|
|
533
|
+
return firstChild2_impl();
|
|
534
|
+
}
|
|
535
|
+
bool HybridXml::firstChild2_impl() {
|
|
536
|
+
return this->ck().FirstChild2();
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
std::string HybridXml::getAttrValue(const std::string& name) {
|
|
540
|
+
this->beginCall();
|
|
541
|
+
return getAttrValue_impl(name);
|
|
542
|
+
}
|
|
543
|
+
std::string HybridXml::getAttrValue_impl(const std::string& name) {
|
|
544
|
+
rt::checkNoNul(name, "name");
|
|
545
|
+
CkString _out;
|
|
546
|
+
if (!this->ck().GetAttrValue(name.c_str(), _out)) throw this->fail("getAttrValue");
|
|
547
|
+
return rt::stdString(_out);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
double HybridXml::getAttrValueInt(const std::string& name) {
|
|
551
|
+
this->beginCall();
|
|
552
|
+
return getAttrValueInt_impl(name);
|
|
553
|
+
}
|
|
554
|
+
double HybridXml::getAttrValueInt_impl(const std::string& name) {
|
|
555
|
+
rt::checkNoNul(name, "name");
|
|
556
|
+
return static_cast<double>(this->ck().GetAttrValueInt(name.c_str()));
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
std::string HybridXml::getAttributeName(double index) {
|
|
560
|
+
this->beginCall();
|
|
561
|
+
return getAttributeName_impl(index);
|
|
562
|
+
}
|
|
563
|
+
std::string HybridXml::getAttributeName_impl(double index) {
|
|
564
|
+
CkString _out;
|
|
565
|
+
if (!this->ck().GetAttributeName(rt::toInt(index, "index"), _out)) throw this->fail("getAttributeName");
|
|
566
|
+
return rt::stdString(_out);
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
std::string HybridXml::getAttributeValue(double index) {
|
|
570
|
+
this->beginCall();
|
|
571
|
+
return getAttributeValue_impl(index);
|
|
572
|
+
}
|
|
573
|
+
std::string HybridXml::getAttributeValue_impl(double index) {
|
|
574
|
+
CkString _out;
|
|
575
|
+
if (!this->ck().GetAttributeValue(rt::toInt(index, "index"), _out)) throw this->fail("getAttributeValue");
|
|
576
|
+
return rt::stdString(_out);
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
double HybridXml::getAttributeValueInt(double index) {
|
|
580
|
+
this->beginCall();
|
|
581
|
+
return getAttributeValueInt_impl(index);
|
|
582
|
+
}
|
|
583
|
+
double HybridXml::getAttributeValueInt_impl(double index) {
|
|
584
|
+
return static_cast<double>(this->ck().GetAttributeValueInt(rt::toInt(index, "index")));
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getChild(double index) {
|
|
588
|
+
this->beginCall();
|
|
589
|
+
return getChild_impl(index);
|
|
590
|
+
}
|
|
591
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getChild_impl(double index) {
|
|
592
|
+
CkXml* _r = this->ck().GetChild(rt::toInt(index, "index"));
|
|
593
|
+
if (!_r) throw this->fail("getChild");
|
|
594
|
+
return std::make_shared<HybridXml>(_r);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
void HybridXml::getChild2(double index) {
|
|
598
|
+
this->beginCall();
|
|
599
|
+
getChild2_impl(index);
|
|
600
|
+
}
|
|
601
|
+
void HybridXml::getChild2_impl(double index) {
|
|
602
|
+
if (!this->ck().GetChild2(rt::toInt(index, "index"))) throw this->fail("getChild2");
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
bool HybridXml::getChildBoolValue(const std::string& tagPath) {
|
|
606
|
+
this->beginCall();
|
|
607
|
+
return getChildBoolValue_impl(tagPath);
|
|
608
|
+
}
|
|
609
|
+
bool HybridXml::getChildBoolValue_impl(const std::string& tagPath) {
|
|
610
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
611
|
+
return this->ck().GetChildBoolValue(tagPath.c_str());
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
std::string HybridXml::getChildContent(const std::string& tagPath) {
|
|
615
|
+
this->beginCall();
|
|
616
|
+
return getChildContent_impl(tagPath);
|
|
617
|
+
}
|
|
618
|
+
std::string HybridXml::getChildContent_impl(const std::string& tagPath) {
|
|
619
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
620
|
+
CkString _out;
|
|
621
|
+
if (!this->ck().GetChildContent(tagPath.c_str(), _out)) throw this->fail("getChildContent");
|
|
622
|
+
return rt::stdString(_out);
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
std::string HybridXml::getChildContentByIndex(double index) {
|
|
626
|
+
this->beginCall();
|
|
627
|
+
return getChildContentByIndex_impl(index);
|
|
628
|
+
}
|
|
629
|
+
std::string HybridXml::getChildContentByIndex_impl(double index) {
|
|
630
|
+
CkString _out;
|
|
631
|
+
if (!this->ck().GetChildContentByIndex(rt::toInt(index, "index"), _out)) throw this->fail("getChildContentByIndex");
|
|
632
|
+
return rt::stdString(_out);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getChildExact(const std::string& tag, const std::string& content) {
|
|
636
|
+
this->beginCall();
|
|
637
|
+
return getChildExact_impl(tag, content);
|
|
638
|
+
}
|
|
639
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getChildExact_impl(const std::string& tag, const std::string& content) {
|
|
640
|
+
rt::checkNoNul(tag, "tag");
|
|
641
|
+
rt::checkNoNul(content, "content");
|
|
642
|
+
CkXml* _r = this->ck().GetChildExact(tag.c_str(), content.c_str());
|
|
643
|
+
if (!_r) throw this->fail("getChildExact");
|
|
644
|
+
return std::make_shared<HybridXml>(_r);
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
double HybridXml::getChildIntValue(const std::string& tagPath) {
|
|
648
|
+
this->beginCall();
|
|
649
|
+
return getChildIntValue_impl(tagPath);
|
|
650
|
+
}
|
|
651
|
+
double HybridXml::getChildIntValue_impl(const std::string& tagPath) {
|
|
652
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
653
|
+
return static_cast<double>(this->ck().GetChildIntValue(tagPath.c_str()));
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
std::string HybridXml::getChildTag(double index) {
|
|
657
|
+
this->beginCall();
|
|
658
|
+
return getChildTag_impl(index);
|
|
659
|
+
}
|
|
660
|
+
std::string HybridXml::getChildTag_impl(double index) {
|
|
661
|
+
CkString _out;
|
|
662
|
+
if (!this->ck().GetChildTag(rt::toInt(index, "index"), _out)) throw this->fail("getChildTag");
|
|
663
|
+
return rt::stdString(_out);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
std::string HybridXml::getChildTagByIndex(double index) {
|
|
667
|
+
this->beginCall();
|
|
668
|
+
return getChildTagByIndex_impl(index);
|
|
669
|
+
}
|
|
670
|
+
std::string HybridXml::getChildTagByIndex_impl(double index) {
|
|
671
|
+
CkString _out;
|
|
672
|
+
if (!this->ck().GetChildTagByIndex(rt::toInt(index, "index"), _out)) throw this->fail("getChildTagByIndex");
|
|
673
|
+
return rt::stdString(_out);
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getChildWithAttr(const std::string& tagPath, const std::string& attrName, const std::string& attrValue) {
|
|
677
|
+
this->beginCall();
|
|
678
|
+
return getChildWithAttr_impl(tagPath, attrName, attrValue);
|
|
679
|
+
}
|
|
680
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getChildWithAttr_impl(const std::string& tagPath, const std::string& attrName, const std::string& attrValue) {
|
|
681
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
682
|
+
rt::checkNoNul(attrName, "attrName");
|
|
683
|
+
rt::checkNoNul(attrValue, "attrValue");
|
|
684
|
+
CkXml* _r = this->ck().GetChildWithAttr(tagPath.c_str(), attrName.c_str(), attrValue.c_str());
|
|
685
|
+
if (!_r) throw this->fail("getChildWithAttr");
|
|
686
|
+
return std::make_shared<HybridXml>(_r);
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getChildWithContent(const std::string& content) {
|
|
690
|
+
this->beginCall();
|
|
691
|
+
return getChildWithContent_impl(content);
|
|
692
|
+
}
|
|
693
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getChildWithContent_impl(const std::string& content) {
|
|
694
|
+
rt::checkNoNul(content, "content");
|
|
695
|
+
CkXml* _r = this->ck().GetChildWithContent(content.c_str());
|
|
696
|
+
if (!_r) throw this->fail("getChildWithContent");
|
|
697
|
+
return std::make_shared<HybridXml>(_r);
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getChildWithTag(const std::string& tagPath) {
|
|
701
|
+
this->beginCall();
|
|
702
|
+
return getChildWithTag_impl(tagPath);
|
|
703
|
+
}
|
|
704
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getChildWithTag_impl(const std::string& tagPath) {
|
|
705
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
706
|
+
CkXml* _r = this->ck().GetChildWithTag(tagPath.c_str());
|
|
707
|
+
if (!_r) throw this->fail("getChildWithTag");
|
|
708
|
+
return std::make_shared<HybridXml>(_r);
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getNthChildWithTag(const std::string& tag, double n) {
|
|
712
|
+
this->beginCall();
|
|
713
|
+
return getNthChildWithTag_impl(tag, n);
|
|
714
|
+
}
|
|
715
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getNthChildWithTag_impl(const std::string& tag, double n) {
|
|
716
|
+
rt::checkNoNul(tag, "tag");
|
|
717
|
+
CkXml* _r = this->ck().GetNthChildWithTag(tag.c_str(), rt::toInt(n, "n"));
|
|
718
|
+
if (!_r) throw this->fail("getNthChildWithTag");
|
|
719
|
+
return std::make_shared<HybridXml>(_r);
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
void HybridXml::getNthChildWithTag2(const std::string& tag, double n) {
|
|
723
|
+
this->beginCall();
|
|
724
|
+
getNthChildWithTag2_impl(tag, n);
|
|
725
|
+
}
|
|
726
|
+
void HybridXml::getNthChildWithTag2_impl(const std::string& tag, double n) {
|
|
727
|
+
rt::checkNoNul(tag, "tag");
|
|
728
|
+
if (!this->ck().GetNthChildWithTag2(tag.c_str(), rt::toInt(n, "n"))) throw this->fail("getNthChildWithTag2");
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getParent() {
|
|
732
|
+
this->beginCall();
|
|
733
|
+
return getParent_impl();
|
|
734
|
+
}
|
|
735
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getParent_impl() {
|
|
736
|
+
CkXml* _r = this->ck().GetParent();
|
|
737
|
+
if (!_r) throw this->fail("getParent");
|
|
738
|
+
return std::make_shared<HybridXml>(_r);
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
void HybridXml::getParent2() {
|
|
742
|
+
this->beginCall();
|
|
743
|
+
getParent2_impl();
|
|
744
|
+
}
|
|
745
|
+
void HybridXml::getParent2_impl() {
|
|
746
|
+
if (!this->ck().GetParent2()) throw this->fail("getParent2");
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getRoot() {
|
|
750
|
+
this->beginCall();
|
|
751
|
+
return getRoot_impl();
|
|
752
|
+
}
|
|
753
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getRoot_impl() {
|
|
754
|
+
CkXml* _r = this->ck().GetRoot();
|
|
755
|
+
if (!_r) throw this->fail("getRoot");
|
|
756
|
+
return std::make_shared<HybridXml>(_r);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
void HybridXml::getRoot2() {
|
|
760
|
+
this->beginCall();
|
|
761
|
+
getRoot2_impl();
|
|
762
|
+
}
|
|
763
|
+
void HybridXml::getRoot2_impl() {
|
|
764
|
+
this->ck().GetRoot2();
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getSelf() {
|
|
768
|
+
this->beginCall();
|
|
769
|
+
return getSelf_impl();
|
|
770
|
+
}
|
|
771
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::getSelf_impl() {
|
|
772
|
+
CkXml* _r = this->ck().GetSelf();
|
|
773
|
+
if (!_r) throw this->fail("getSelf");
|
|
774
|
+
return std::make_shared<HybridXml>(_r);
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
std::string HybridXml::getXml() {
|
|
778
|
+
this->beginCall();
|
|
779
|
+
return getXml_impl();
|
|
780
|
+
}
|
|
781
|
+
std::string HybridXml::getXml_impl() {
|
|
782
|
+
CkString _out;
|
|
783
|
+
if (!this->ck().GetXml(_out)) throw this->fail("getXml");
|
|
784
|
+
return rt::stdString(_out);
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
bool HybridXml::hasAttrWithValue(const std::string& name, const std::string& value) {
|
|
788
|
+
this->beginCall();
|
|
789
|
+
return hasAttrWithValue_impl(name, value);
|
|
790
|
+
}
|
|
791
|
+
bool HybridXml::hasAttrWithValue_impl(const std::string& name, const std::string& value) {
|
|
792
|
+
rt::checkNoNul(name, "name");
|
|
793
|
+
rt::checkNoNul(value, "value");
|
|
794
|
+
return this->ck().HasAttrWithValue(name.c_str(), value.c_str());
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
bool HybridXml::hasAttribute(const std::string& name) {
|
|
798
|
+
this->beginCall();
|
|
799
|
+
return hasAttribute_impl(name);
|
|
800
|
+
}
|
|
801
|
+
bool HybridXml::hasAttribute_impl(const std::string& name) {
|
|
802
|
+
rt::checkNoNul(name, "name");
|
|
803
|
+
return this->ck().HasAttribute(name.c_str());
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
bool HybridXml::hasChildWithContent(const std::string& content) {
|
|
807
|
+
this->beginCall();
|
|
808
|
+
return hasChildWithContent_impl(content);
|
|
809
|
+
}
|
|
810
|
+
bool HybridXml::hasChildWithContent_impl(const std::string& content) {
|
|
811
|
+
rt::checkNoNul(content, "content");
|
|
812
|
+
return this->ck().HasChildWithContent(content.c_str());
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
bool HybridXml::hasChildWithTag(const std::string& tagPath) {
|
|
816
|
+
this->beginCall();
|
|
817
|
+
return hasChildWithTag_impl(tagPath);
|
|
818
|
+
}
|
|
819
|
+
bool HybridXml::hasChildWithTag_impl(const std::string& tagPath) {
|
|
820
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
821
|
+
return this->ck().HasChildWithTag(tagPath.c_str());
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
bool HybridXml::hasChildWithTagAndContent(const std::string& tagPath, const std::string& content) {
|
|
825
|
+
this->beginCall();
|
|
826
|
+
return hasChildWithTagAndContent_impl(tagPath, content);
|
|
827
|
+
}
|
|
828
|
+
bool HybridXml::hasChildWithTagAndContent_impl(const std::string& tagPath, const std::string& content) {
|
|
829
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
830
|
+
rt::checkNoNul(content, "content");
|
|
831
|
+
return this->ck().HasChildWithTagAndContent(tagPath.c_str(), content.c_str());
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
void HybridXml::insertChildTreeAfter(double index, const std::shared_ptr<HybridXmlSpec>& tree) {
|
|
835
|
+
this->beginCall();
|
|
836
|
+
insertChildTreeAfter_impl(index, tree);
|
|
837
|
+
}
|
|
838
|
+
void HybridXml::insertChildTreeAfter_impl(double index, const std::shared_ptr<HybridXmlSpec>& tree) {
|
|
839
|
+
this->ck().InsertChildTreeAfter(rt::toInt(index, "index"), rt::implOf<HybridXml>(tree, "tree").ck());
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
void HybridXml::insertChildTreeBefore(double index, const std::shared_ptr<HybridXmlSpec>& tree) {
|
|
843
|
+
this->beginCall();
|
|
844
|
+
insertChildTreeBefore_impl(index, tree);
|
|
845
|
+
}
|
|
846
|
+
void HybridXml::insertChildTreeBefore_impl(double index, const std::shared_ptr<HybridXmlSpec>& tree) {
|
|
847
|
+
this->ck().InsertChildTreeBefore(rt::toInt(index, "index"), rt::implOf<HybridXml>(tree, "tree").ck());
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::lastChild() {
|
|
851
|
+
this->beginCall();
|
|
852
|
+
return lastChild_impl();
|
|
853
|
+
}
|
|
854
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::lastChild_impl() {
|
|
855
|
+
CkXml* _r = this->ck().LastChild();
|
|
856
|
+
if (!_r) throw this->fail("lastChild");
|
|
857
|
+
return std::make_shared<HybridXml>(_r);
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
void HybridXml::lastChild2() {
|
|
861
|
+
this->beginCall();
|
|
862
|
+
lastChild2_impl();
|
|
863
|
+
}
|
|
864
|
+
void HybridXml::lastChild2_impl() {
|
|
865
|
+
if (!this->ck().LastChild2()) throw this->fail("lastChild2");
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
void HybridXml::loadXml(const std::string& xmlData) {
|
|
869
|
+
this->beginCall();
|
|
870
|
+
loadXml_impl(xmlData);
|
|
871
|
+
}
|
|
872
|
+
void HybridXml::loadXml_impl(const std::string& xmlData) {
|
|
873
|
+
rt::checkNoNul(xmlData, "xmlData");
|
|
874
|
+
if (!this->ck().LoadXml(xmlData.c_str())) throw this->fail("loadXml");
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
void HybridXml::loadXml2(const std::string& xmlData, bool autoTrim) {
|
|
878
|
+
this->beginCall();
|
|
879
|
+
loadXml2_impl(xmlData, autoTrim);
|
|
880
|
+
}
|
|
881
|
+
void HybridXml::loadXml2_impl(const std::string& xmlData, bool autoTrim) {
|
|
882
|
+
rt::checkNoNul(xmlData, "xmlData");
|
|
883
|
+
if (!this->ck().LoadXml2(xmlData.c_str(), autoTrim)) throw this->fail("loadXml2");
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
void HybridXml::loadXmlFile(const std::string& fileName) {
|
|
887
|
+
this->beginCall();
|
|
888
|
+
loadXmlFile_impl(fileName);
|
|
889
|
+
}
|
|
890
|
+
void HybridXml::loadXmlFile_impl(const std::string& fileName) {
|
|
891
|
+
rt::checkNoNul(fileName, "fileName");
|
|
892
|
+
if (!this->ck().LoadXmlFile(fileName.c_str())) throw this->fail("loadXmlFile");
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
void HybridXml::loadXmlFile2(const std::string& fileName, bool autoTrim) {
|
|
896
|
+
this->beginCall();
|
|
897
|
+
loadXmlFile2_impl(fileName, autoTrim);
|
|
898
|
+
}
|
|
899
|
+
void HybridXml::loadXmlFile2_impl(const std::string& fileName, bool autoTrim) {
|
|
900
|
+
rt::checkNoNul(fileName, "fileName");
|
|
901
|
+
if (!this->ck().LoadXmlFile2(fileName.c_str(), autoTrim)) throw this->fail("loadXmlFile2");
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::newChild(const std::string& tagPath, const std::string& content) {
|
|
905
|
+
this->beginCall();
|
|
906
|
+
return newChild_impl(tagPath, content);
|
|
907
|
+
}
|
|
908
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::newChild_impl(const std::string& tagPath, const std::string& content) {
|
|
909
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
910
|
+
rt::checkNoNul(content, "content");
|
|
911
|
+
CkXml* _r = this->ck().NewChild(tagPath.c_str(), content.c_str());
|
|
912
|
+
if (!_r) throw this->fail("newChild");
|
|
913
|
+
return std::make_shared<HybridXml>(_r);
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
void HybridXml::newChild2(const std::string& tagPath, const std::string& content) {
|
|
917
|
+
this->beginCall();
|
|
918
|
+
newChild2_impl(tagPath, content);
|
|
919
|
+
}
|
|
920
|
+
void HybridXml::newChild2_impl(const std::string& tagPath, const std::string& content) {
|
|
921
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
922
|
+
rt::checkNoNul(content, "content");
|
|
923
|
+
this->ck().NewChild2(tagPath.c_str(), content.c_str());
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::newChildAfter(double index, const std::string& tag, const std::string& content) {
|
|
927
|
+
this->beginCall();
|
|
928
|
+
return newChildAfter_impl(index, tag, content);
|
|
929
|
+
}
|
|
930
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::newChildAfter_impl(double index, const std::string& tag, const std::string& content) {
|
|
931
|
+
rt::checkNoNul(tag, "tag");
|
|
932
|
+
rt::checkNoNul(content, "content");
|
|
933
|
+
CkXml* _r = this->ck().NewChildAfter(rt::toInt(index, "index"), tag.c_str(), content.c_str());
|
|
934
|
+
if (!_r) throw this->fail("newChildAfter");
|
|
935
|
+
return std::make_shared<HybridXml>(_r);
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::newChildBefore(double index, const std::string& tag, const std::string& content) {
|
|
939
|
+
this->beginCall();
|
|
940
|
+
return newChildBefore_impl(index, tag, content);
|
|
941
|
+
}
|
|
942
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::newChildBefore_impl(double index, const std::string& tag, const std::string& content) {
|
|
943
|
+
rt::checkNoNul(tag, "tag");
|
|
944
|
+
rt::checkNoNul(content, "content");
|
|
945
|
+
CkXml* _r = this->ck().NewChildBefore(rt::toInt(index, "index"), tag.c_str(), content.c_str());
|
|
946
|
+
if (!_r) throw this->fail("newChildBefore");
|
|
947
|
+
return std::make_shared<HybridXml>(_r);
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
void HybridXml::newChildInt2(const std::string& tagPath, double value) {
|
|
951
|
+
this->beginCall();
|
|
952
|
+
newChildInt2_impl(tagPath, value);
|
|
953
|
+
}
|
|
954
|
+
void HybridXml::newChildInt2_impl(const std::string& tagPath, double value) {
|
|
955
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
956
|
+
this->ck().NewChildInt2(tagPath.c_str(), rt::toInt(value, "value"));
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::nextSibling() {
|
|
960
|
+
this->beginCall();
|
|
961
|
+
return nextSibling_impl();
|
|
962
|
+
}
|
|
963
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::nextSibling_impl() {
|
|
964
|
+
CkXml* _r = this->ck().NextSibling();
|
|
965
|
+
if (!_r) throw this->fail("nextSibling");
|
|
966
|
+
return std::make_shared<HybridXml>(_r);
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
bool HybridXml::nextSibling2() {
|
|
970
|
+
this->beginCall();
|
|
971
|
+
return nextSibling2_impl();
|
|
972
|
+
}
|
|
973
|
+
bool HybridXml::nextSibling2_impl() {
|
|
974
|
+
return this->ck().NextSibling2();
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
double HybridXml::numChildrenHavingTag(const std::string& tag) {
|
|
978
|
+
this->beginCall();
|
|
979
|
+
return numChildrenHavingTag_impl(tag);
|
|
980
|
+
}
|
|
981
|
+
double HybridXml::numChildrenHavingTag_impl(const std::string& tag) {
|
|
982
|
+
rt::checkNoNul(tag, "tag");
|
|
983
|
+
return static_cast<double>(this->ck().NumChildrenHavingTag(tag.c_str()));
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::previousSibling() {
|
|
987
|
+
this->beginCall();
|
|
988
|
+
return previousSibling_impl();
|
|
989
|
+
}
|
|
990
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::previousSibling_impl() {
|
|
991
|
+
CkXml* _r = this->ck().PreviousSibling();
|
|
992
|
+
if (!_r) throw this->fail("previousSibling");
|
|
993
|
+
return std::make_shared<HybridXml>(_r);
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
void HybridXml::previousSibling2() {
|
|
997
|
+
this->beginCall();
|
|
998
|
+
previousSibling2_impl();
|
|
999
|
+
}
|
|
1000
|
+
void HybridXml::previousSibling2_impl() {
|
|
1001
|
+
if (!this->ck().PreviousSibling2()) throw this->fail("previousSibling2");
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
void HybridXml::removeAllAttributes() {
|
|
1005
|
+
this->beginCall();
|
|
1006
|
+
removeAllAttributes_impl();
|
|
1007
|
+
}
|
|
1008
|
+
void HybridXml::removeAllAttributes_impl() {
|
|
1009
|
+
if (!this->ck().RemoveAllAttributes()) throw this->fail("removeAllAttributes");
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
void HybridXml::removeAllChildren() {
|
|
1013
|
+
this->beginCall();
|
|
1014
|
+
removeAllChildren_impl();
|
|
1015
|
+
}
|
|
1016
|
+
void HybridXml::removeAllChildren_impl() {
|
|
1017
|
+
this->ck().RemoveAllChildren();
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
void HybridXml::removeAttribute(const std::string& name) {
|
|
1021
|
+
this->beginCall();
|
|
1022
|
+
removeAttribute_impl(name);
|
|
1023
|
+
}
|
|
1024
|
+
void HybridXml::removeAttribute_impl(const std::string& name) {
|
|
1025
|
+
rt::checkNoNul(name, "name");
|
|
1026
|
+
if (!this->ck().RemoveAttribute(name.c_str())) throw this->fail("removeAttribute");
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
void HybridXml::removeChild(const std::string& tagPath) {
|
|
1030
|
+
this->beginCall();
|
|
1031
|
+
removeChild_impl(tagPath);
|
|
1032
|
+
}
|
|
1033
|
+
void HybridXml::removeChild_impl(const std::string& tagPath) {
|
|
1034
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
1035
|
+
this->ck().RemoveChild(tagPath.c_str());
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
void HybridXml::removeChildByIndex(double index) {
|
|
1039
|
+
this->beginCall();
|
|
1040
|
+
removeChildByIndex_impl(index);
|
|
1041
|
+
}
|
|
1042
|
+
void HybridXml::removeChildByIndex_impl(double index) {
|
|
1043
|
+
this->ck().RemoveChildByIndex(rt::toInt(index, "index"));
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
void HybridXml::removeChildWithContent(const std::string& content) {
|
|
1047
|
+
this->beginCall();
|
|
1048
|
+
removeChildWithContent_impl(content);
|
|
1049
|
+
}
|
|
1050
|
+
void HybridXml::removeChildWithContent_impl(const std::string& content) {
|
|
1051
|
+
rt::checkNoNul(content, "content");
|
|
1052
|
+
this->ck().RemoveChildWithContent(content.c_str());
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
void HybridXml::removeFromTree() {
|
|
1056
|
+
this->beginCall();
|
|
1057
|
+
removeFromTree_impl();
|
|
1058
|
+
}
|
|
1059
|
+
void HybridXml::removeFromTree_impl() {
|
|
1060
|
+
this->ck().RemoveFromTree();
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
void HybridXml::saveBinaryContent(const std::string& filename, bool unzipFlag, bool decryptFlag, const std::string& password) {
|
|
1064
|
+
this->beginCall();
|
|
1065
|
+
saveBinaryContent_impl(filename, unzipFlag, decryptFlag, password);
|
|
1066
|
+
}
|
|
1067
|
+
void HybridXml::saveBinaryContent_impl(const std::string& filename, bool unzipFlag, bool decryptFlag, const std::string& password) {
|
|
1068
|
+
rt::checkNoNul(filename, "filename");
|
|
1069
|
+
rt::checkNoNul(password, "password");
|
|
1070
|
+
if (!this->ck().SaveBinaryContent(filename.c_str(), unzipFlag, decryptFlag, password.c_str())) throw this->fail("saveBinaryContent");
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
void HybridXml::saveXml(const std::string& fileName) {
|
|
1074
|
+
this->beginCall();
|
|
1075
|
+
saveXml_impl(fileName);
|
|
1076
|
+
}
|
|
1077
|
+
void HybridXml::saveXml_impl(const std::string& fileName) {
|
|
1078
|
+
rt::checkNoNul(fileName, "fileName");
|
|
1079
|
+
if (!this->ck().SaveXml(fileName.c_str())) throw this->fail("saveXml");
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::searchAllForContent(const std::string& contentPattern, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1083
|
+
this->beginCall();
|
|
1084
|
+
return searchAllForContent_impl(contentPattern, after);
|
|
1085
|
+
}
|
|
1086
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::searchAllForContent_impl(const std::string& contentPattern, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1087
|
+
CkXml* _after = (after.has_value() && *after) ? &rt::implOf<HybridXml>(*after, "after").ck() : nullptr;
|
|
1088
|
+
rt::checkNoNul(contentPattern, "contentPattern");
|
|
1089
|
+
CkXml* _r = this->ck().SearchAllForContent(_after, contentPattern.c_str());
|
|
1090
|
+
if (!_r) throw this->fail("searchAllForContent");
|
|
1091
|
+
return std::make_shared<HybridXml>(_r);
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
void HybridXml::searchAllForContent2(const std::string& contentPattern, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1095
|
+
this->beginCall();
|
|
1096
|
+
searchAllForContent2_impl(contentPattern, after);
|
|
1097
|
+
}
|
|
1098
|
+
void HybridXml::searchAllForContent2_impl(const std::string& contentPattern, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1099
|
+
CkXml* _after = (after.has_value() && *after) ? &rt::implOf<HybridXml>(*after, "after").ck() : nullptr;
|
|
1100
|
+
rt::checkNoNul(contentPattern, "contentPattern");
|
|
1101
|
+
if (!this->ck().SearchAllForContent2(_after, contentPattern.c_str())) throw this->fail("searchAllForContent2");
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::searchForAttribute(const std::string& tag, const std::string& attr, const std::string& valuePattern, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1105
|
+
this->beginCall();
|
|
1106
|
+
return searchForAttribute_impl(tag, attr, valuePattern, after);
|
|
1107
|
+
}
|
|
1108
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::searchForAttribute_impl(const std::string& tag, const std::string& attr, const std::string& valuePattern, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1109
|
+
CkXml* _after = (after.has_value() && *after) ? &rt::implOf<HybridXml>(*after, "after").ck() : nullptr;
|
|
1110
|
+
rt::checkNoNul(tag, "tag");
|
|
1111
|
+
rt::checkNoNul(attr, "attr");
|
|
1112
|
+
rt::checkNoNul(valuePattern, "valuePattern");
|
|
1113
|
+
CkXml* _r = this->ck().SearchForAttribute(_after, tag.c_str(), attr.c_str(), valuePattern.c_str());
|
|
1114
|
+
if (!_r) throw this->fail("searchForAttribute");
|
|
1115
|
+
return std::make_shared<HybridXml>(_r);
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
void HybridXml::searchForAttribute2(const std::string& tag, const std::string& attr, const std::string& valuePattern, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1119
|
+
this->beginCall();
|
|
1120
|
+
searchForAttribute2_impl(tag, attr, valuePattern, after);
|
|
1121
|
+
}
|
|
1122
|
+
void HybridXml::searchForAttribute2_impl(const std::string& tag, const std::string& attr, const std::string& valuePattern, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1123
|
+
CkXml* _after = (after.has_value() && *after) ? &rt::implOf<HybridXml>(*after, "after").ck() : nullptr;
|
|
1124
|
+
rt::checkNoNul(tag, "tag");
|
|
1125
|
+
rt::checkNoNul(attr, "attr");
|
|
1126
|
+
rt::checkNoNul(valuePattern, "valuePattern");
|
|
1127
|
+
if (!this->ck().SearchForAttribute2(_after, tag.c_str(), attr.c_str(), valuePattern.c_str())) throw this->fail("searchForAttribute2");
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::searchForContent(const std::string& tag, const std::string& contentPattern, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1131
|
+
this->beginCall();
|
|
1132
|
+
return searchForContent_impl(tag, contentPattern, after);
|
|
1133
|
+
}
|
|
1134
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::searchForContent_impl(const std::string& tag, const std::string& contentPattern, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1135
|
+
CkXml* _after = (after.has_value() && *after) ? &rt::implOf<HybridXml>(*after, "after").ck() : nullptr;
|
|
1136
|
+
rt::checkNoNul(tag, "tag");
|
|
1137
|
+
rt::checkNoNul(contentPattern, "contentPattern");
|
|
1138
|
+
CkXml* _r = this->ck().SearchForContent(_after, tag.c_str(), contentPattern.c_str());
|
|
1139
|
+
if (!_r) throw this->fail("searchForContent");
|
|
1140
|
+
return std::make_shared<HybridXml>(_r);
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
void HybridXml::searchForContent2(const std::string& tag, const std::string& contentPattern, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1144
|
+
this->beginCall();
|
|
1145
|
+
searchForContent2_impl(tag, contentPattern, after);
|
|
1146
|
+
}
|
|
1147
|
+
void HybridXml::searchForContent2_impl(const std::string& tag, const std::string& contentPattern, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1148
|
+
CkXml* _after = (after.has_value() && *after) ? &rt::implOf<HybridXml>(*after, "after").ck() : nullptr;
|
|
1149
|
+
rt::checkNoNul(tag, "tag");
|
|
1150
|
+
rt::checkNoNul(contentPattern, "contentPattern");
|
|
1151
|
+
if (!this->ck().SearchForContent2(_after, tag.c_str(), contentPattern.c_str())) throw this->fail("searchForContent2");
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::searchForTag(const std::string& tag, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1155
|
+
this->beginCall();
|
|
1156
|
+
return searchForTag_impl(tag, after);
|
|
1157
|
+
}
|
|
1158
|
+
std::shared_ptr<HybridXmlSpec> HybridXml::searchForTag_impl(const std::string& tag, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1159
|
+
CkXml* _after = (after.has_value() && *after) ? &rt::implOf<HybridXml>(*after, "after").ck() : nullptr;
|
|
1160
|
+
rt::checkNoNul(tag, "tag");
|
|
1161
|
+
CkXml* _r = this->ck().SearchForTag(_after, tag.c_str());
|
|
1162
|
+
if (!_r) throw this->fail("searchForTag");
|
|
1163
|
+
return std::make_shared<HybridXml>(_r);
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
void HybridXml::searchForTag2(const std::string& tag, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1167
|
+
this->beginCall();
|
|
1168
|
+
searchForTag2_impl(tag, after);
|
|
1169
|
+
}
|
|
1170
|
+
void HybridXml::searchForTag2_impl(const std::string& tag, const std::optional<std::shared_ptr<HybridXmlSpec>>& after) {
|
|
1171
|
+
CkXml* _after = (after.has_value() && *after) ? &rt::implOf<HybridXml>(*after, "after").ck() : nullptr;
|
|
1172
|
+
rt::checkNoNul(tag, "tag");
|
|
1173
|
+
if (!this->ck().SearchForTag2(_after, tag.c_str())) throw this->fail("searchForTag2");
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
void HybridXml::setBinaryContentFromFile(const std::string& filename, bool zipFlag, bool encryptFlag, const std::string& password) {
|
|
1177
|
+
this->beginCall();
|
|
1178
|
+
setBinaryContentFromFile_impl(filename, zipFlag, encryptFlag, password);
|
|
1179
|
+
}
|
|
1180
|
+
void HybridXml::setBinaryContentFromFile_impl(const std::string& filename, bool zipFlag, bool encryptFlag, const std::string& password) {
|
|
1181
|
+
rt::checkNoNul(filename, "filename");
|
|
1182
|
+
rt::checkNoNul(password, "password");
|
|
1183
|
+
if (!this->ck().SetBinaryContentFromFile(filename.c_str(), zipFlag, encryptFlag, password.c_str())) throw this->fail("setBinaryContentFromFile");
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
void HybridXml::sortByAttribute(const std::string& attrName, bool ascending) {
|
|
1187
|
+
this->beginCall();
|
|
1188
|
+
sortByAttribute_impl(attrName, ascending);
|
|
1189
|
+
}
|
|
1190
|
+
void HybridXml::sortByAttribute_impl(const std::string& attrName, bool ascending) {
|
|
1191
|
+
rt::checkNoNul(attrName, "attrName");
|
|
1192
|
+
this->ck().SortByAttribute(attrName.c_str(), ascending);
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
void HybridXml::sortByAttributeInt(const std::string& attrName, bool ascending) {
|
|
1196
|
+
this->beginCall();
|
|
1197
|
+
sortByAttributeInt_impl(attrName, ascending);
|
|
1198
|
+
}
|
|
1199
|
+
void HybridXml::sortByAttributeInt_impl(const std::string& attrName, bool ascending) {
|
|
1200
|
+
rt::checkNoNul(attrName, "attrName");
|
|
1201
|
+
this->ck().SortByAttributeInt(attrName.c_str(), ascending);
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
void HybridXml::sortByContent(bool ascending) {
|
|
1205
|
+
this->beginCall();
|
|
1206
|
+
sortByContent_impl(ascending);
|
|
1207
|
+
}
|
|
1208
|
+
void HybridXml::sortByContent_impl(bool ascending) {
|
|
1209
|
+
this->ck().SortByContent(ascending);
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
void HybridXml::sortByTag(bool ascending) {
|
|
1213
|
+
this->beginCall();
|
|
1214
|
+
sortByTag_impl(ascending);
|
|
1215
|
+
}
|
|
1216
|
+
void HybridXml::sortByTag_impl(bool ascending) {
|
|
1217
|
+
this->ck().SortByTag(ascending);
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
void HybridXml::sortRecordsByAttribute(const std::string& sortTag, const std::string& attrName, bool ascending) {
|
|
1221
|
+
this->beginCall();
|
|
1222
|
+
sortRecordsByAttribute_impl(sortTag, attrName, ascending);
|
|
1223
|
+
}
|
|
1224
|
+
void HybridXml::sortRecordsByAttribute_impl(const std::string& sortTag, const std::string& attrName, bool ascending) {
|
|
1225
|
+
rt::checkNoNul(sortTag, "sortTag");
|
|
1226
|
+
rt::checkNoNul(attrName, "attrName");
|
|
1227
|
+
this->ck().SortRecordsByAttribute(sortTag.c_str(), attrName.c_str(), ascending);
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
void HybridXml::sortRecordsByContent(const std::string& sortTag, bool ascending) {
|
|
1231
|
+
this->beginCall();
|
|
1232
|
+
sortRecordsByContent_impl(sortTag, ascending);
|
|
1233
|
+
}
|
|
1234
|
+
void HybridXml::sortRecordsByContent_impl(const std::string& sortTag, bool ascending) {
|
|
1235
|
+
rt::checkNoNul(sortTag, "sortTag");
|
|
1236
|
+
this->ck().SortRecordsByContent(sortTag.c_str(), ascending);
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
void HybridXml::sortRecordsByContentInt(const std::string& sortTag, bool ascending) {
|
|
1240
|
+
this->beginCall();
|
|
1241
|
+
sortRecordsByContentInt_impl(sortTag, ascending);
|
|
1242
|
+
}
|
|
1243
|
+
void HybridXml::sortRecordsByContentInt_impl(const std::string& sortTag, bool ascending) {
|
|
1244
|
+
rt::checkNoNul(sortTag, "sortTag");
|
|
1245
|
+
this->ck().SortRecordsByContentInt(sortTag.c_str(), ascending);
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
void HybridXml::swapNode(const std::shared_ptr<HybridXmlSpec>& node) {
|
|
1249
|
+
this->beginCall();
|
|
1250
|
+
swapNode_impl(node);
|
|
1251
|
+
}
|
|
1252
|
+
void HybridXml::swapNode_impl(const std::shared_ptr<HybridXmlSpec>& node) {
|
|
1253
|
+
if (!this->ck().SwapNode(rt::implOf<HybridXml>(node, "node").ck())) throw this->fail("swapNode");
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
void HybridXml::swapTree(const std::shared_ptr<HybridXmlSpec>& tree) {
|
|
1257
|
+
this->beginCall();
|
|
1258
|
+
swapTree_impl(tree);
|
|
1259
|
+
}
|
|
1260
|
+
void HybridXml::swapTree_impl(const std::shared_ptr<HybridXmlSpec>& tree) {
|
|
1261
|
+
if (!this->ck().SwapTree(rt::implOf<HybridXml>(tree, "tree").ck())) throw this->fail("swapTree");
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
std::string HybridXml::tagContent(const std::string& tagName) {
|
|
1265
|
+
this->beginCall();
|
|
1266
|
+
return tagContent_impl(tagName);
|
|
1267
|
+
}
|
|
1268
|
+
std::string HybridXml::tagContent_impl(const std::string& tagName) {
|
|
1269
|
+
rt::checkNoNul(tagName, "tagName");
|
|
1270
|
+
CkString _out;
|
|
1271
|
+
if (!this->ck().TagContent(tagName.c_str(), _out)) throw this->fail("tagContent");
|
|
1272
|
+
return rt::stdString(_out);
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
bool HybridXml::tagEquals(const std::string& tag) {
|
|
1276
|
+
this->beginCall();
|
|
1277
|
+
return tagEquals_impl(tag);
|
|
1278
|
+
}
|
|
1279
|
+
bool HybridXml::tagEquals_impl(const std::string& tag) {
|
|
1280
|
+
rt::checkNoNul(tag, "tag");
|
|
1281
|
+
return this->ck().TagEquals(tag.c_str());
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
void HybridXml::unzipContent() {
|
|
1285
|
+
this->beginCall();
|
|
1286
|
+
unzipContent_impl();
|
|
1287
|
+
}
|
|
1288
|
+
void HybridXml::unzipContent_impl() {
|
|
1289
|
+
if (!this->ck().UnzipContent()) throw this->fail("unzipContent");
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
void HybridXml::unzipTree() {
|
|
1293
|
+
this->beginCall();
|
|
1294
|
+
unzipTree_impl();
|
|
1295
|
+
}
|
|
1296
|
+
void HybridXml::unzipTree_impl() {
|
|
1297
|
+
if (!this->ck().UnzipTree()) throw this->fail("unzipTree");
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
void HybridXml::updateAttribute(const std::string& attrName, const std::string& attrValue) {
|
|
1301
|
+
this->beginCall();
|
|
1302
|
+
updateAttribute_impl(attrName, attrValue);
|
|
1303
|
+
}
|
|
1304
|
+
void HybridXml::updateAttribute_impl(const std::string& attrName, const std::string& attrValue) {
|
|
1305
|
+
rt::checkNoNul(attrName, "attrName");
|
|
1306
|
+
rt::checkNoNul(attrValue, "attrValue");
|
|
1307
|
+
if (!this->ck().UpdateAttribute(attrName.c_str(), attrValue.c_str())) throw this->fail("updateAttribute");
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
void HybridXml::updateAttributeInt(const std::string& attrName, double value) {
|
|
1311
|
+
this->beginCall();
|
|
1312
|
+
updateAttributeInt_impl(attrName, value);
|
|
1313
|
+
}
|
|
1314
|
+
void HybridXml::updateAttributeInt_impl(const std::string& attrName, double value) {
|
|
1315
|
+
rt::checkNoNul(attrName, "attrName");
|
|
1316
|
+
if (!this->ck().UpdateAttributeInt(attrName.c_str(), rt::toInt(value, "value"))) throw this->fail("updateAttributeInt");
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
void HybridXml::updateChildContent(const std::string& tagPath, const std::string& value) {
|
|
1320
|
+
this->beginCall();
|
|
1321
|
+
updateChildContent_impl(tagPath, value);
|
|
1322
|
+
}
|
|
1323
|
+
void HybridXml::updateChildContent_impl(const std::string& tagPath, const std::string& value) {
|
|
1324
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
1325
|
+
rt::checkNoNul(value, "value");
|
|
1326
|
+
this->ck().UpdateChildContent(tagPath.c_str(), value.c_str());
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
void HybridXml::updateChildContentInt(const std::string& tagPath, double value) {
|
|
1330
|
+
this->beginCall();
|
|
1331
|
+
updateChildContentInt_impl(tagPath, value);
|
|
1332
|
+
}
|
|
1333
|
+
void HybridXml::updateChildContentInt_impl(const std::string& tagPath, double value) {
|
|
1334
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
1335
|
+
this->ck().UpdateChildContentInt(tagPath.c_str(), rt::toInt(value, "value"));
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
void HybridXml::zipContent() {
|
|
1339
|
+
this->beginCall();
|
|
1340
|
+
zipContent_impl();
|
|
1341
|
+
}
|
|
1342
|
+
void HybridXml::zipContent_impl() {
|
|
1343
|
+
if (!this->ck().ZipContent()) throw this->fail("zipContent");
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
void HybridXml::zipTree() {
|
|
1347
|
+
this->beginCall();
|
|
1348
|
+
zipTree_impl();
|
|
1349
|
+
}
|
|
1350
|
+
void HybridXml::zipTree_impl() {
|
|
1351
|
+
if (!this->ck().ZipTree()) throw this->fail("zipTree");
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
void HybridXml::loadSb(const std::shared_ptr<HybridStringBuilderSpec>& sb, bool autoTrim) {
|
|
1355
|
+
this->beginCall();
|
|
1356
|
+
loadSb_impl(sb, autoTrim);
|
|
1357
|
+
}
|
|
1358
|
+
void HybridXml::loadSb_impl(const std::shared_ptr<HybridStringBuilderSpec>& sb, bool autoTrim) {
|
|
1359
|
+
if (!this->ck().LoadSb(rt::implOf<HybridStringBuilder>(sb, "sb").ck(), autoTrim)) throw this->fail("loadSb");
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
void HybridXml::getXmlSb(const std::shared_ptr<HybridStringBuilderSpec>& sb) {
|
|
1363
|
+
this->beginCall();
|
|
1364
|
+
getXmlSb_impl(sb);
|
|
1365
|
+
}
|
|
1366
|
+
void HybridXml::getXmlSb_impl(const std::shared_ptr<HybridStringBuilderSpec>& sb) {
|
|
1367
|
+
if (!this->ck().GetXmlSb(rt::implOf<HybridStringBuilder>(sb, "sb").ck())) throw this->fail("getXmlSb");
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
double HybridXml::numChildrenAt(const std::string& tagPath) {
|
|
1371
|
+
this->beginCall();
|
|
1372
|
+
return numChildrenAt_impl(tagPath);
|
|
1373
|
+
}
|
|
1374
|
+
double HybridXml::numChildrenAt_impl(const std::string& tagPath) {
|
|
1375
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
1376
|
+
return static_cast<double>(this->ck().NumChildrenAt(tagPath.c_str()));
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
void HybridXml::updateAt(const std::string& tagPath, bool autoCreate, const std::string& value) {
|
|
1380
|
+
this->beginCall();
|
|
1381
|
+
updateAt_impl(tagPath, autoCreate, value);
|
|
1382
|
+
}
|
|
1383
|
+
void HybridXml::updateAt_impl(const std::string& tagPath, bool autoCreate, const std::string& value) {
|
|
1384
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
1385
|
+
rt::checkNoNul(value, "value");
|
|
1386
|
+
if (!this->ck().UpdateAt(tagPath.c_str(), autoCreate, value.c_str())) throw this->fail("updateAt");
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
void HybridXml::updateAttrAt(const std::string& tagPath, bool autoCreate, const std::string& attrName, const std::string& attrValue) {
|
|
1390
|
+
this->beginCall();
|
|
1391
|
+
updateAttrAt_impl(tagPath, autoCreate, attrName, attrValue);
|
|
1392
|
+
}
|
|
1393
|
+
void HybridXml::updateAttrAt_impl(const std::string& tagPath, bool autoCreate, const std::string& attrName, const std::string& attrValue) {
|
|
1394
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
1395
|
+
rt::checkNoNul(attrName, "attrName");
|
|
1396
|
+
rt::checkNoNul(attrValue, "attrValue");
|
|
1397
|
+
if (!this->ck().UpdateAttrAt(tagPath.c_str(), autoCreate, attrName.c_str(), attrValue.c_str())) throw this->fail("updateAttrAt");
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
void HybridXml::getChildContentSb(const std::string& tagPath, const std::shared_ptr<HybridStringBuilderSpec>& sb) {
|
|
1401
|
+
this->beginCall();
|
|
1402
|
+
getChildContentSb_impl(tagPath, sb);
|
|
1403
|
+
}
|
|
1404
|
+
void HybridXml::getChildContentSb_impl(const std::string& tagPath, const std::shared_ptr<HybridStringBuilderSpec>& sb) {
|
|
1405
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
1406
|
+
if (!this->ck().GetChildContentSb(tagPath.c_str(), rt::implOf<HybridStringBuilder>(sb, "sb").ck())) throw this->fail("getChildContentSb");
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
double HybridXml::tagIndex(const std::string& tagPath) {
|
|
1410
|
+
this->beginCall();
|
|
1411
|
+
return tagIndex_impl(tagPath);
|
|
1412
|
+
}
|
|
1413
|
+
double HybridXml::tagIndex_impl(const std::string& tagPath) {
|
|
1414
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
1415
|
+
return static_cast<double>(this->ck().TagIndex(tagPath.c_str()));
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
bool HybridXml::tagNsEquals(const std::string& ns) {
|
|
1419
|
+
this->beginCall();
|
|
1420
|
+
return tagNsEquals_impl(ns);
|
|
1421
|
+
}
|
|
1422
|
+
bool HybridXml::tagNsEquals_impl(const std::string& ns) {
|
|
1423
|
+
rt::checkNoNul(ns, "ns");
|
|
1424
|
+
return this->ck().TagNsEquals(ns.c_str());
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
bool HybridXml::tagUnpEquals(const std::string& unprefixedTag) {
|
|
1428
|
+
this->beginCall();
|
|
1429
|
+
return tagUnpEquals_impl(unprefixedTag);
|
|
1430
|
+
}
|
|
1431
|
+
bool HybridXml::tagUnpEquals_impl(const std::string& unprefixedTag) {
|
|
1432
|
+
rt::checkNoNul(unprefixedTag, "unprefixedTag");
|
|
1433
|
+
return this->ck().TagUnpEquals(unprefixedTag.c_str());
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
std::string HybridXml::getChildAttrValue(const std::string& tagPath, const std::string& attrName) {
|
|
1437
|
+
this->beginCall();
|
|
1438
|
+
return getChildAttrValue_impl(tagPath, attrName);
|
|
1439
|
+
}
|
|
1440
|
+
std::string HybridXml::getChildAttrValue_impl(const std::string& tagPath, const std::string& attrName) {
|
|
1441
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
1442
|
+
rt::checkNoNul(attrName, "attrName");
|
|
1443
|
+
CkString _out;
|
|
1444
|
+
if (!this->ck().GetChildAttrValue(tagPath.c_str(), attrName.c_str(), _out)) throw this->fail("getChildAttrValue");
|
|
1445
|
+
return rt::stdString(_out);
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
double HybridXml::removeStyleSheet(const std::string& attrName, const std::string& attrValue) {
|
|
1449
|
+
this->beginCall();
|
|
1450
|
+
return removeStyleSheet_impl(attrName, attrValue);
|
|
1451
|
+
}
|
|
1452
|
+
double HybridXml::removeStyleSheet_impl(const std::string& attrName, const std::string& attrValue) {
|
|
1453
|
+
rt::checkNoNul(attrName, "attrName");
|
|
1454
|
+
rt::checkNoNul(attrValue, "attrValue");
|
|
1455
|
+
return static_cast<double>(this->ck().RemoveStyleSheet(attrName.c_str(), attrValue.c_str()));
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
double HybridXml::pruneAttribute(const std::string& attrName) {
|
|
1459
|
+
this->beginCall();
|
|
1460
|
+
return pruneAttribute_impl(attrName);
|
|
1461
|
+
}
|
|
1462
|
+
double HybridXml::pruneAttribute_impl(const std::string& attrName) {
|
|
1463
|
+
rt::checkNoNul(attrName, "attrName");
|
|
1464
|
+
return static_cast<double>(this->ck().PruneAttribute(attrName.c_str()));
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
double HybridXml::pruneTag(const std::string& tag) {
|
|
1468
|
+
this->beginCall();
|
|
1469
|
+
return pruneTag_impl(tag);
|
|
1470
|
+
}
|
|
1471
|
+
double HybridXml::pruneTag_impl(const std::string& tag) {
|
|
1472
|
+
rt::checkNoNul(tag, "tag");
|
|
1473
|
+
return static_cast<double>(this->ck().PruneTag(tag.c_str()));
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
void HybridXml::scrub(const std::string& directives) {
|
|
1477
|
+
this->beginCall();
|
|
1478
|
+
scrub_impl(directives);
|
|
1479
|
+
}
|
|
1480
|
+
void HybridXml::scrub_impl(const std::string& directives) {
|
|
1481
|
+
rt::checkNoNul(directives, "directives");
|
|
1482
|
+
this->ck().Scrub(directives.c_str());
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
void HybridXml::loadBd(const std::shared_ptr<HybridBinDataSpec>& bd, bool autoTrim) {
|
|
1486
|
+
this->beginCall();
|
|
1487
|
+
loadBd_impl(bd, autoTrim);
|
|
1488
|
+
}
|
|
1489
|
+
void HybridXml::loadBd_impl(const std::shared_ptr<HybridBinDataSpec>& bd, bool autoTrim) {
|
|
1490
|
+
if (!this->ck().LoadBd(rt::implOf<HybridBinData>(bd, "bd").ck(), autoTrim)) throw this->fail("loadBd");
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
void HybridXml::getXmlBd(const std::shared_ptr<HybridBinDataSpec>& bd) {
|
|
1494
|
+
this->beginCall();
|
|
1495
|
+
getXmlBd_impl(bd);
|
|
1496
|
+
}
|
|
1497
|
+
void HybridXml::getXmlBd_impl(const std::shared_ptr<HybridBinDataSpec>& bd) {
|
|
1498
|
+
if (!this->ck().GetXmlBd(rt::implOf<HybridBinData>(bd, "bd").ck())) throw this->fail("getXmlBd");
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
bool HybridXml::nextInTraversal2(const std::shared_ptr<HybridStringBuilderSpec>& sbState) {
|
|
1502
|
+
this->beginCall();
|
|
1503
|
+
return nextInTraversal2_impl(sbState);
|
|
1504
|
+
}
|
|
1505
|
+
bool HybridXml::nextInTraversal2_impl(const std::shared_ptr<HybridStringBuilderSpec>& sbState) {
|
|
1506
|
+
return this->ck().NextInTraversal2(rt::implOf<HybridStringBuilder>(sbState, "sbState").ck());
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
void HybridXml::setBinaryContentBd(const std::shared_ptr<HybridBinDataSpec>& data, bool zipFlag, bool encryptFlag, const std::string& password) {
|
|
1510
|
+
this->beginCall();
|
|
1511
|
+
setBinaryContentBd_impl(data, zipFlag, encryptFlag, password);
|
|
1512
|
+
}
|
|
1513
|
+
void HybridXml::setBinaryContentBd_impl(const std::shared_ptr<HybridBinDataSpec>& data, bool zipFlag, bool encryptFlag, const std::string& password) {
|
|
1514
|
+
rt::checkNoNul(password, "password");
|
|
1515
|
+
if (!this->ck().SetBinaryContentBd(rt::implOf<HybridBinData>(data, "data").ck(), zipFlag, encryptFlag, password.c_str())) throw this->fail("setBinaryContentBd");
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
void HybridXml::getChildWithTag2(const std::string& tagPath) {
|
|
1519
|
+
this->beginCall();
|
|
1520
|
+
getChildWithTag2_impl(tagPath);
|
|
1521
|
+
}
|
|
1522
|
+
void HybridXml::getChildWithTag2_impl(const std::string& tagPath) {
|
|
1523
|
+
rt::checkNoNul(tagPath, "tagPath");
|
|
1524
|
+
if (!this->ck().GetChildWithTag2(tagPath.c_str())) throw this->fail("getChildWithTag2");
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
} // namespace margelo::nitro::chilkat
|