├── .gitignore ├── .husky ├── .gitignore └── pre-commit ├── .npmignore ├── .vscode └── launch.json ├── IOSDeviceLib.sln ├── IOSDeviceLib.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── xcshareddata │ └── xcschemes │ └── IOSDeviceLib.xcscheme ├── IOSDeviceLib ├── CommonFunctions.h ├── Constants.h ├── Declarations.h ├── DevicectlHelper.cpp ├── DevicectlHelper.h ├── FileHelper.cpp ├── FileHelper.h ├── GDBHelper.cpp ├── GDBHelper.h ├── IOSDeviceLib.cpp ├── IOSDeviceLib.vcxproj ├── IOSDeviceLib.vcxproj.filters ├── PlistCpp │ ├── Plist.cpp │ ├── Plist.hpp │ ├── PlistDate.cpp │ ├── PlistDate.hpp │ ├── base64.hpp │ ├── include │ │ └── boost │ │ │ ├── any.hpp │ │ │ ├── config.hpp │ │ │ ├── config │ │ │ ├── abi │ │ │ │ ├── borland_prefix.hpp │ │ │ │ ├── borland_suffix.hpp │ │ │ │ ├── msvc_prefix.hpp │ │ │ │ └── msvc_suffix.hpp │ │ │ ├── abi_prefix.hpp │ │ │ ├── abi_suffix.hpp │ │ │ ├── auto_link.hpp │ │ │ ├── compiler │ │ │ │ ├── borland.hpp │ │ │ │ ├── clang.hpp │ │ │ │ ├── codegear.hpp │ │ │ │ ├── comeau.hpp │ │ │ │ ├── common_edg.hpp │ │ │ │ ├── compaq_cxx.hpp │ │ │ │ ├── cray.hpp │ │ │ │ ├── digitalmars.hpp │ │ │ │ ├── gcc.hpp │ │ │ │ ├── gcc_xml.hpp │ │ │ │ ├── greenhills.hpp │ │ │ │ ├── hp_acc.hpp │ │ │ │ ├── intel.hpp │ │ │ │ ├── kai.hpp │ │ │ │ ├── metrowerks.hpp │ │ │ │ ├── mpw.hpp │ │ │ │ ├── nvcc.hpp │ │ │ │ ├── pathscale.hpp │ │ │ │ ├── pgi.hpp │ │ │ │ ├── sgi_mipspro.hpp │ │ │ │ ├── sunpro_cc.hpp │ │ │ │ ├── vacpp.hpp │ │ │ │ └── visualc.hpp │ │ │ ├── no_tr1 │ │ │ │ ├── cmath.hpp │ │ │ │ ├── complex.hpp │ │ │ │ ├── functional.hpp │ │ │ │ ├── memory.hpp │ │ │ │ └── utility.hpp │ │ │ ├── platform │ │ │ │ ├── aix.hpp │ │ │ │ ├── amigaos.hpp │ │ │ │ ├── beos.hpp │ │ │ │ ├── bsd.hpp │ │ │ │ ├── cray.hpp │ │ │ │ ├── cygwin.hpp │ │ │ │ ├── hpux.hpp │ │ │ │ ├── irix.hpp │ │ │ │ ├── linux.hpp │ │ │ │ ├── macos.hpp │ │ │ │ ├── qnxnto.hpp │ │ │ │ ├── solaris.hpp │ │ │ │ ├── symbian.hpp │ │ │ │ ├── vms.hpp │ │ │ │ ├── vxworks.hpp │ │ │ │ └── win32.hpp │ │ │ ├── posix_features.hpp │ │ │ ├── requires_threads.hpp │ │ │ ├── select_compiler_config.hpp │ │ │ ├── select_platform_config.hpp │ │ │ ├── select_stdlib_config.hpp │ │ │ ├── stdlib │ │ │ │ ├── dinkumware.hpp │ │ │ │ ├── libcomo.hpp │ │ │ │ ├── libcpp.hpp │ │ │ │ ├── libstdcpp3.hpp │ │ │ │ ├── modena.hpp │ │ │ │ ├── msl.hpp │ │ │ │ ├── roguewave.hpp │ │ │ │ ├── sgi.hpp │ │ │ │ ├── stlport.hpp │ │ │ │ └── vacpp.hpp │ │ │ ├── suffix.hpp │ │ │ ├── user.hpp │ │ │ └── warning_disable.hpp │ │ │ ├── cstdint.hpp │ │ │ ├── current_function.hpp │ │ │ ├── detail │ │ │ └── workaround.hpp │ │ │ ├── exception │ │ │ ├── detail │ │ │ │ └── attribute_noreturn.hpp │ │ │ └── exception.hpp │ │ │ ├── license.txt │ │ │ ├── limits.hpp │ │ │ ├── locale │ │ │ ├── definitions.hpp │ │ │ ├── encoding_errors.hpp │ │ │ ├── encoding_utf.hpp │ │ │ └── utf.hpp │ │ │ ├── mpl │ │ │ ├── aux_ │ │ │ │ ├── adl_barrier.hpp │ │ │ │ ├── arity.hpp │ │ │ │ ├── config │ │ │ │ │ ├── adl.hpp │ │ │ │ │ ├── arrays.hpp │ │ │ │ │ ├── ctps.hpp │ │ │ │ │ ├── dtp.hpp │ │ │ │ │ ├── eti.hpp │ │ │ │ │ ├── gcc.hpp │ │ │ │ │ ├── integral.hpp │ │ │ │ │ ├── intel.hpp │ │ │ │ │ ├── lambda.hpp │ │ │ │ │ ├── msvc.hpp │ │ │ │ │ ├── nttp.hpp │ │ │ │ │ ├── overload_resolution.hpp │ │ │ │ │ ├── preprocessor.hpp │ │ │ │ │ ├── static_constant.hpp │ │ │ │ │ ├── ttp.hpp │ │ │ │ │ └── workaround.hpp │ │ │ │ ├── integral_wrapper.hpp │ │ │ │ ├── lambda_arity_param.hpp │ │ │ │ ├── lambda_support.hpp │ │ │ │ ├── na.hpp │ │ │ │ ├── na_fwd.hpp │ │ │ │ ├── na_spec.hpp │ │ │ │ ├── nttp_decl.hpp │ │ │ │ ├── preprocessor │ │ │ │ │ ├── def_params_tail.hpp │ │ │ │ │ ├── enum.hpp │ │ │ │ │ ├── filter_params.hpp │ │ │ │ │ ├── params.hpp │ │ │ │ │ ├── sub.hpp │ │ │ │ │ └── tuple.hpp │ │ │ │ ├── static_cast.hpp │ │ │ │ ├── template_arity_fwd.hpp │ │ │ │ ├── value_wknd.hpp │ │ │ │ └── yes_no.hpp │ │ │ ├── bool.hpp │ │ │ ├── bool_fwd.hpp │ │ │ ├── eval_if.hpp │ │ │ ├── identity.hpp │ │ │ ├── if.hpp │ │ │ ├── int.hpp │ │ │ ├── int_fwd.hpp │ │ │ ├── integral_c.hpp │ │ │ ├── integral_c_fwd.hpp │ │ │ ├── integral_c_tag.hpp │ │ │ ├── lambda_fwd.hpp │ │ │ ├── limits │ │ │ │ └── arity.hpp │ │ │ └── void_fwd.hpp │ │ │ ├── preprocessor │ │ │ ├── arithmetic │ │ │ │ ├── add.hpp │ │ │ │ ├── dec.hpp │ │ │ │ ├── inc.hpp │ │ │ │ └── sub.hpp │ │ │ ├── array │ │ │ │ ├── data.hpp │ │ │ │ ├── elem.hpp │ │ │ │ └── size.hpp │ │ │ ├── cat.hpp │ │ │ ├── comma_if.hpp │ │ │ ├── config │ │ │ │ └── config.hpp │ │ │ ├── control │ │ │ │ ├── detail │ │ │ │ │ ├── dmc │ │ │ │ │ │ └── while.hpp │ │ │ │ │ ├── edg │ │ │ │ │ │ └── while.hpp │ │ │ │ │ ├── msvc │ │ │ │ │ │ └── while.hpp │ │ │ │ │ └── while.hpp │ │ │ │ ├── expr_iif.hpp │ │ │ │ ├── if.hpp │ │ │ │ ├── iif.hpp │ │ │ │ └── while.hpp │ │ │ ├── debug │ │ │ │ └── error.hpp │ │ │ ├── detail │ │ │ │ ├── auto_rec.hpp │ │ │ │ ├── check.hpp │ │ │ │ ├── dmc │ │ │ │ │ └── auto_rec.hpp │ │ │ │ └── is_binary.hpp │ │ │ ├── empty.hpp │ │ │ ├── enum_params.hpp │ │ │ ├── facilities │ │ │ │ ├── empty.hpp │ │ │ │ ├── identity.hpp │ │ │ │ └── overload.hpp │ │ │ ├── identity.hpp │ │ │ ├── inc.hpp │ │ │ ├── iterate.hpp │ │ │ ├── iteration │ │ │ │ ├── detail │ │ │ │ │ ├── bounds │ │ │ │ │ │ ├── lower1.hpp │ │ │ │ │ │ ├── lower2.hpp │ │ │ │ │ │ ├── lower3.hpp │ │ │ │ │ │ ├── lower4.hpp │ │ │ │ │ │ ├── lower5.hpp │ │ │ │ │ │ ├── upper1.hpp │ │ │ │ │ │ ├── upper2.hpp │ │ │ │ │ │ ├── upper3.hpp │ │ │ │ │ │ ├── upper4.hpp │ │ │ │ │ │ └── upper5.hpp │ │ │ │ │ ├── finish.hpp │ │ │ │ │ ├── iter │ │ │ │ │ │ ├── forward1.hpp │ │ │ │ │ │ ├── forward2.hpp │ │ │ │ │ │ ├── forward3.hpp │ │ │ │ │ │ ├── forward4.hpp │ │ │ │ │ │ ├── forward5.hpp │ │ │ │ │ │ ├── reverse1.hpp │ │ │ │ │ │ ├── reverse2.hpp │ │ │ │ │ │ ├── reverse3.hpp │ │ │ │ │ │ ├── reverse4.hpp │ │ │ │ │ │ └── reverse5.hpp │ │ │ │ │ ├── local.hpp │ │ │ │ │ ├── rlocal.hpp │ │ │ │ │ ├── self.hpp │ │ │ │ │ └── start.hpp │ │ │ │ ├── iterate.hpp │ │ │ │ ├── local.hpp │ │ │ │ └── self.hpp │ │ │ ├── list │ │ │ │ ├── adt.hpp │ │ │ │ ├── detail │ │ │ │ │ ├── dmc │ │ │ │ │ │ └── fold_left.hpp │ │ │ │ │ ├── edg │ │ │ │ │ │ ├── fold_left.hpp │ │ │ │ │ │ └── fold_right.hpp │ │ │ │ │ ├── fold_left.hpp │ │ │ │ │ └── fold_right.hpp │ │ │ │ ├── fold_left.hpp │ │ │ │ ├── fold_right.hpp │ │ │ │ ├── for_each_i.hpp │ │ │ │ └── reverse.hpp │ │ │ ├── logical │ │ │ │ ├── and.hpp │ │ │ │ ├── bitand.hpp │ │ │ │ ├── bool.hpp │ │ │ │ └── compl.hpp │ │ │ ├── punctuation │ │ │ │ ├── comma.hpp │ │ │ │ └── comma_if.hpp │ │ │ ├── repeat.hpp │ │ │ ├── repetition │ │ │ │ ├── detail │ │ │ │ │ ├── dmc │ │ │ │ │ │ └── for.hpp │ │ │ │ │ ├── edg │ │ │ │ │ │ └── for.hpp │ │ │ │ │ ├── for.hpp │ │ │ │ │ └── msvc │ │ │ │ │ │ └── for.hpp │ │ │ │ ├── enum_params.hpp │ │ │ │ ├── for.hpp │ │ │ │ └── repeat.hpp │ │ │ ├── slot │ │ │ │ ├── detail │ │ │ │ │ ├── counter.hpp │ │ │ │ │ ├── def.hpp │ │ │ │ │ ├── shared.hpp │ │ │ │ │ ├── slot1.hpp │ │ │ │ │ ├── slot2.hpp │ │ │ │ │ ├── slot3.hpp │ │ │ │ │ ├── slot4.hpp │ │ │ │ │ └── slot5.hpp │ │ │ │ └── slot.hpp │ │ │ ├── tuple │ │ │ │ ├── eat.hpp │ │ │ │ ├── elem.hpp │ │ │ │ ├── rem.hpp │ │ │ │ └── to_list.hpp │ │ │ └── variadic │ │ │ │ ├── elem.hpp │ │ │ │ └── size.hpp │ │ │ ├── static_assert.hpp │ │ │ ├── throw_exception.hpp │ │ │ ├── type_traits │ │ │ ├── add_pointer.hpp │ │ │ ├── add_reference.hpp │ │ │ ├── broken_compiler_spec.hpp │ │ │ ├── config.hpp │ │ │ ├── decay.hpp │ │ │ ├── detail │ │ │ │ ├── bool_trait_def.hpp │ │ │ │ ├── bool_trait_undef.hpp │ │ │ │ ├── cv_traits_impl.hpp │ │ │ │ ├── false_result.hpp │ │ │ │ ├── ice_and.hpp │ │ │ │ ├── ice_eq.hpp │ │ │ │ ├── ice_not.hpp │ │ │ │ ├── ice_or.hpp │ │ │ │ ├── is_function_ptr_helper.hpp │ │ │ │ ├── is_function_ptr_tester.hpp │ │ │ │ ├── template_arity_spec.hpp │ │ │ │ ├── type_trait_def.hpp │ │ │ │ ├── type_trait_undef.hpp │ │ │ │ ├── wrap.hpp │ │ │ │ └── yes_no_type.hpp │ │ │ ├── ice.hpp │ │ │ ├── integral_constant.hpp │ │ │ ├── is_array.hpp │ │ │ ├── is_const.hpp │ │ │ ├── is_function.hpp │ │ │ ├── is_lvalue_reference.hpp │ │ │ ├── is_reference.hpp │ │ │ ├── is_rvalue_reference.hpp │ │ │ ├── is_same.hpp │ │ │ ├── msvc │ │ │ │ ├── remove_bounds.hpp │ │ │ │ ├── remove_reference.hpp │ │ │ │ └── typeof.hpp │ │ │ ├── remove_bounds.hpp │ │ │ └── remove_reference.hpp │ │ │ ├── utility │ │ │ └── enable_if.hpp │ │ │ └── version.hpp │ ├── pugiconfig.hpp │ ├── pugixml.cpp │ └── pugixml.hpp ├── Printing.cpp ├── Printing.h ├── ServerHelper.cpp ├── ServerHelper.h ├── ServiceInfo.h ├── SetTimeout.cpp ├── SetTimeout.h ├── SocketHelper.cpp ├── SocketHelper.h ├── SocketIncludes.h ├── StringHelper.cpp ├── StringHelper.h ├── configuration.xcconfig ├── json.hpp ├── mac_impl.cpp └── windows_impl.cpp ├── LICENSE ├── README.md ├── constants.js ├── index.js ├── ios-device-lib-stdio-handler.js ├── ios-device-lib.js ├── message-unpack-stream.js ├── package-lock.json ├── package.json ├── test ├── message-unpack-stream.js └── mocha.opts └── typings ├── interfaces.d.ts └── ios-device-lib.d.ts /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npm test 5 | npx lint-staged -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | IOSDeviceLib/* 2 | IOSDeviceLib.xcodeproj/* 3 | x64/* 4 | x86/* 5 | **/*.sln 6 | **/*.VC.db 7 | .vscode/* 8 | .vs/* 9 | DerivedData 10 | **/*.pdb 11 | **/*.ipdb 12 | **/*.iobj 13 | .frameworks/* 14 | 15 | ### Test files 16 | test/ 17 | coverage/ 18 | *.tgz -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "type": "node", 9 | "request": "launch", 10 | "name": "Launch Tests", 11 | "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", 12 | // modify timeout, so we can debug tests without failing with timeout error 13 | // real value can be found in mocha.opts file 14 | "args": ["--timeout", "1500000"] 15 | } 16 | ] 17 | } -------------------------------------------------------------------------------- /IOSDeviceLib.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IOSDeviceLib", "IOSDeviceLib\IOSDeviceLib.vcxproj", "{27E85690-A0FE-42DB-8CC7-D36FC5873A84}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {27E85690-A0FE-42DB-8CC7-D36FC5873A84}.Debug|x64.ActiveCfg = Debug|x64 17 | {27E85690-A0FE-42DB-8CC7-D36FC5873A84}.Debug|x64.Build.0 = Debug|x64 18 | {27E85690-A0FE-42DB-8CC7-D36FC5873A84}.Debug|x86.ActiveCfg = Debug|Win32 19 | {27E85690-A0FE-42DB-8CC7-D36FC5873A84}.Debug|x86.Build.0 = Debug|Win32 20 | {27E85690-A0FE-42DB-8CC7-D36FC5873A84}.Release|x64.ActiveCfg = Release|x64 21 | {27E85690-A0FE-42DB-8CC7-D36FC5873A84}.Release|x64.Build.0 = Release|x64 22 | {27E85690-A0FE-42DB-8CC7-D36FC5873A84}.Release|x86.ActiveCfg = Release|Win32 23 | {27E85690-A0FE-42DB-8CC7-D36FC5873A84}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /IOSDeviceLib.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /IOSDeviceLib.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /IOSDeviceLib/CommonFunctions.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "Declarations.h" 4 | #include "PlistCpp/Plist.hpp" 5 | #include "PlistCpp/PlistDate.hpp" 6 | #include "PlistCpp/include/boost/any.hpp" 7 | #include 8 | 9 | AFCConnectionRef start_house_arrest(std::string device_identifier, 10 | const char *application_identifier, 11 | std::string method_id); 12 | inline bool has_complete_status(std::map &dict); 13 | ServiceInfo start_secure_service(std::string device_identifier, 14 | const char *service_name, 15 | std::string method_id, 16 | bool should_log_error = true, 17 | bool skip_cache = false); 18 | bool mount_image(std::string &device_identifier, std::string &image_path, 19 | std::string &method_id); 20 | std::string get_device_property_value(std::string &device_identifier, 21 | const char *property_name); 22 | int start_session(std::string &device_identifier); 23 | void stop_session(std::string &device_identifier); 24 | CFStringRef create_CFString(const char *str); 25 | 26 | int get_product_version(std::string &device_identifier); 27 | std::string exec(const char *cmd); 28 | int get_xcode_major_version(); 29 | -------------------------------------------------------------------------------- /IOSDeviceLib/DevicectlHelper.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "Declarations.h" 3 | 4 | bool devicectl_stop_application(std::string &executable, std::string &device_identifier); 5 | bool devicectl_start_application(std::string &bundle_id, std::string &device_identifier, bool wait_for_debugger); 6 | -------------------------------------------------------------------------------- /IOSDeviceLib/FileHelper.cpp: -------------------------------------------------------------------------------- 1 | #include "FileHelper.h" 2 | #include 3 | 4 | #ifndef _WIN32 5 | #include 6 | #endif 7 | 8 | static const std::string base64_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 9 | "abcdefghijklmnopqrstuvwxyz" 10 | "0123456789+/"; 11 | 12 | inline bool exists(std::string &path) { 13 | struct stat buffer; 14 | return stat(path.c_str(), &buffer) == 0; 15 | } 16 | 17 | FileInfo get_file_info(std::string &path, bool get_contents) { 18 | FileInfo result = {0}; 19 | if (exists(path)) { 20 | std::ifstream file(path, std::ios::binary | std::ios::ate); 21 | std::streamsize size = file.tellg(); 22 | result.size = size; 23 | if (get_contents) { 24 | file.seekg(0, std::ios::beg); 25 | 26 | std::vector buffer(size); 27 | file.read(buffer.data(), size); 28 | if (buffer.size() == 0 && size == 0) { 29 | // We will get here if the file exists and it is empty. 30 | buffer.push_back(""[0]); 31 | } 32 | 33 | result.contents = buffer; 34 | } 35 | } else { 36 | return {-1}; 37 | } 38 | 39 | return result; 40 | } 41 | 42 | std::string base64_encode(const char *path, unsigned int len) { 43 | std::string ret; 44 | int i = 0; 45 | int j = 0; 46 | unsigned char char_array_3[3]; 47 | unsigned char char_array_4[4]; 48 | 49 | while (len--) { 50 | char_array_3[i++] = *(path++); 51 | if (i == 3) { 52 | char_array_4[0] = (char_array_3[0] & 0xfc) >> 2; 53 | char_array_4[1] = 54 | ((char_array_3[0] & 0x03) << 4) + ((char_array_3[1] & 0xf0) >> 4); 55 | char_array_4[2] = 56 | ((char_array_3[1] & 0x0f) << 2) + ((char_array_3[2] & 0xc0) >> 6); 57 | char_array_4[3] = char_array_3[2] & 0x3f; 58 | 59 | for (i = 0; (i < 4); i++) 60 | ret += base64_chars[char_array_4[i]]; 61 | i = 0; 62 | } 63 | } 64 | 65 | if (i) { 66 | for (j = i; j < 3; j++) 67 | char_array_3[j] = '\0'; 68 | 69 | char_array_4[0] = (char_array_3[0] & 0xfc) >> 2; 70 | char_array_4[1] = 71 | ((char_array_3[0] & 0x03) << 4) + ((char_array_3[1] & 0xf0) >> 4); 72 | char_array_4[2] = 73 | ((char_array_3[1] & 0x0f) << 2) + ((char_array_3[2] & 0xc0) >> 6); 74 | char_array_4[3] = char_array_3[2] & 0x3f; 75 | 76 | for (j = 0; (j < i + 1); j++) 77 | ret += base64_chars[char_array_4[j]]; 78 | 79 | while ((i++ < 3)) 80 | ret += '='; 81 | } 82 | 83 | return ret; 84 | } 85 | -------------------------------------------------------------------------------- /IOSDeviceLib/FileHelper.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include 4 | 5 | struct FileInfo { 6 | long size; 7 | std::vector contents; 8 | }; 9 | 10 | bool exists(std::string &path); 11 | FileInfo get_file_info(std::string &path, bool get_contents); 12 | std::string base64_encode(const char *path, unsigned int len); 13 | -------------------------------------------------------------------------------- /IOSDeviceLib/GDBHelper.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "Declarations.h" 4 | #include "SocketHelper.h" 5 | #include 6 | 7 | std::string get_gdb_message(std::string message); 8 | int gdb_send_message(std::string message, ServiceInfo info, 9 | long long length = -1); 10 | bool run_application(std::string &executable, ServiceInfo info, 11 | std::string &application_identifier, 12 | DeviceData *device_data, bool wait_for_debugger); 13 | bool stop_application(std::string &executable, ServiceInfo info, 14 | std::string &application_identifier, 15 | std::map &apps_cache); 16 | void detach_connection(ServiceInfo info, DeviceData *device_data); 17 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/base64.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativeScript/ios-device-lib/c272051b2dea5ad6704a67694cb3c615c7877819/IOSDeviceLib/PlistCpp/base64.hpp -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config.hpp: -------------------------------------------------------------------------------- 1 | // Boost config.hpp configuration header file ------------------------------// 2 | 3 | // (C) Copyright John Maddock 2002. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org/libs/config for most recent version. 9 | 10 | // Boost config.hpp policy and rationale documentation has been moved to 11 | // http://www.boost.org/libs/config 12 | // 13 | // CAUTION: This file is intended to be completely stable - 14 | // DO NOT MODIFY THIS FILE! 15 | // 16 | 17 | #ifndef BOOST_CONFIG_HPP 18 | #define BOOST_CONFIG_HPP 19 | 20 | // if we don't have a user config, then use the default location: 21 | #if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG) 22 | # define BOOST_USER_CONFIG 23 | #endif 24 | // include it first: 25 | #ifdef BOOST_USER_CONFIG 26 | # include BOOST_USER_CONFIG 27 | #endif 28 | 29 | // if we don't have a compiler config set, try and find one: 30 | #if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) && !defined(BOOST_NO_CONFIG) 31 | # include 32 | #endif 33 | // if we have a compiler config, include it now: 34 | #ifdef BOOST_COMPILER_CONFIG 35 | # include BOOST_COMPILER_CONFIG 36 | #endif 37 | 38 | // if we don't have a std library config set, try and find one: 39 | #if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG) && defined(__cplusplus) 40 | # include 41 | #endif 42 | // if we have a std library config, include it now: 43 | #ifdef BOOST_STDLIB_CONFIG 44 | # include BOOST_STDLIB_CONFIG 45 | #endif 46 | 47 | // if we don't have a platform config set, try and find one: 48 | #if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG) 49 | # include 50 | #endif 51 | // if we have a platform config, include it now: 52 | #ifdef BOOST_PLATFORM_CONFIG 53 | # include BOOST_PLATFORM_CONFIG 54 | #endif 55 | 56 | // get config suffix code: 57 | #include 58 | 59 | #ifdef BOOST_HAS_PRAGMA_ONCE 60 | #pragma once 61 | #endif 62 | 63 | #endif // BOOST_CONFIG_HPP 64 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/abi/borland_prefix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // for C++ Builder the following options effect the ABI: 7 | // 8 | // -b (on or off - effect emum sizes) 9 | // -Vx (on or off - empty members) 10 | // -Ve (on or off - empty base classes) 11 | // -aX (alignment - 5 options). 12 | // -pX (Calling convention - 4 options) 13 | // -VmX (member pointer size and layout - 5 options) 14 | // -VC (on or off, changes name mangling) 15 | // -Vl (on or off, changes struct layout). 16 | 17 | // In addition the following warnings are sufficiently annoying (and 18 | // unfixable) to have them turned off by default: 19 | // 20 | // 8027 - functions containing [for|while] loops are not expanded inline 21 | // 8026 - functions taking class by value arguments are not expanded inline 22 | 23 | #pragma nopushoptwarn 24 | # pragma option push -a8 -Vx- -Ve- -b- -pc -Vmv -VC- -Vl- -w-8027 -w-8026 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/abi/borland_suffix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | # pragma option pop 7 | #pragma nopushoptwarn 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/abi/msvc_prefix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // 7 | // Boost binaries are built with the compiler's default ABI settings, 8 | // if the user changes their default alignment in the VS IDE then their 9 | // code will no longer be binary compatible with the bjam built binaries 10 | // unless this header is included to force Boost code into a consistent ABI. 11 | // 12 | // Note that inclusion of this header is only necessary for libraries with 13 | // separate source, header only libraries DO NOT need this as long as all 14 | // translation units are built with the same options. 15 | // 16 | #if defined(_M_X64) 17 | # pragma pack(push,16) 18 | #else 19 | # pragma pack(push,8) 20 | #endif 21 | 22 | 23 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/abi/msvc_suffix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #pragma pack(pop) 7 | 8 | 9 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/abi_prefix.hpp: -------------------------------------------------------------------------------- 1 | // abi_prefix header -------------------------------------------------------// 2 | 3 | // (c) Copyright John Maddock 2003 4 | 5 | // Use, modification and distribution are subject to the Boost Software License, 6 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt). 8 | 9 | #ifndef BOOST_CONFIG_ABI_PREFIX_HPP 10 | # define BOOST_CONFIG_ABI_PREFIX_HPP 11 | #else 12 | # error double inclusion of header boost/config/abi_prefix.hpp is an error 13 | #endif 14 | 15 | #include 16 | 17 | // this must occur after all other includes and before any code appears: 18 | #ifdef BOOST_HAS_ABI_HEADERS 19 | # include BOOST_ABI_PREFIX 20 | #endif 21 | 22 | #if defined( __BORLANDC__ ) 23 | #pragma nopushoptwarn 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/abi_suffix.hpp: -------------------------------------------------------------------------------- 1 | // abi_sufffix header -------------------------------------------------------// 2 | 3 | // (c) Copyright John Maddock 2003 4 | 5 | // Use, modification and distribution are subject to the Boost Software License, 6 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt). 8 | 9 | // This header should be #included AFTER code that was preceded by a #include 10 | // . 11 | 12 | #ifndef BOOST_CONFIG_ABI_PREFIX_HPP 13 | # error Header boost/config/abi_suffix.hpp must only be used after boost/config/abi_prefix.hpp 14 | #else 15 | # undef BOOST_CONFIG_ABI_PREFIX_HPP 16 | #endif 17 | 18 | // the suffix header occurs after all of our code: 19 | #ifdef BOOST_HAS_ABI_HEADERS 20 | # include BOOST_ABI_SUFFIX 21 | #endif 22 | 23 | #if defined( __BORLANDC__ ) 24 | #pragma nopushoptwarn 25 | #endif 26 | 27 | 28 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/compiler/comeau.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // (C) Copyright Douglas Gregor 2001. 3 | // (C) Copyright Peter Dimov 2001. 4 | // (C) Copyright Aleksey Gurtovoy 2003. 5 | // (C) Copyright Beman Dawes 2003. 6 | // (C) Copyright Jens Maurer 2003. 7 | // Use, modification and distribution are subject to the 8 | // Boost Software License, Version 1.0. (See accompanying file 9 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 10 | 11 | // See http://www.boost.org for most recent version. 12 | 13 | // Comeau C++ compiler setup: 14 | 15 | #include "boost/config/compiler/common_edg.hpp" 16 | 17 | #if (__COMO_VERSION__ <= 4245) 18 | 19 | # if defined(_MSC_VER) && _MSC_VER <= 1300 20 | # if _MSC_VER > 100 21 | // only set this in non-strict mode: 22 | # define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP 23 | # endif 24 | # endif 25 | 26 | // Void returns don't work when emulating VC 6 (Peter Dimov) 27 | // TODO: look up if this doesn't apply to the whole 12xx range 28 | # if defined(_MSC_VER) && (_MSC_VER < 1300) 29 | # define BOOST_NO_VOID_RETURNS 30 | # endif 31 | 32 | #endif // version 4245 33 | 34 | // 35 | // enable __int64 support in VC emulation mode 36 | // 37 | # if defined(_MSC_VER) && (_MSC_VER >= 1200) 38 | # define BOOST_HAS_MS_INT64 39 | # endif 40 | 41 | #define BOOST_COMPILER "Comeau compiler version " BOOST_STRINGIZE(__COMO_VERSION__) 42 | 43 | // 44 | // versions check: 45 | // we don't know Comeau prior to version 4245: 46 | #if __COMO_VERSION__ < 4245 47 | # error "Compiler not configured - please reconfigure" 48 | #endif 49 | // 50 | // last known and checked version is 4245: 51 | #if (__COMO_VERSION__ > 4245) 52 | # if defined(BOOST_ASSERT_CONFIG) 53 | # error "Unknown compiler version - please run the configure tests and report the results" 54 | # endif 55 | #endif 56 | 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/compiler/compaq_cxx.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Tru64 C++ compiler setup (now HP): 9 | 10 | #define BOOST_COMPILER "HP Tru64 C++ " BOOST_STRINGIZE(__DECCXX_VER) 11 | 12 | #include "boost/config/compiler/common_edg.hpp" 13 | 14 | // 15 | // versions check: 16 | // Nothing to do here? 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/compiler/cray.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2011. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Greenhills C compiler setup: 9 | 10 | #define BOOST_COMPILER "Cray C version " BOOST_STRINGIZE(_RELEASE) 11 | 12 | #if _RELEASE < 7 13 | # error "Boost is not configured for Cray compilers prior to version 7, please try the configure script." 14 | #endif 15 | 16 | // 17 | // Check this is a recent EDG based compiler, otherwise we don't support it here: 18 | // 19 | #ifndef __EDG_VERSION__ 20 | # error "Unsupported Cray compiler, please try running the configure script." 21 | #endif 22 | 23 | #include "boost/config/compiler/common_edg.hpp" 24 | 25 | // 26 | // Cray peculiarities, probably version 7 specific: 27 | // 28 | #undef BOOST_NO_CXX11_AUTO_DECLARATIONS 29 | #undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS 30 | #define BOOST_HAS_NRVO 31 | #define BOOST_NO_CXX11_VARIADIC_TEMPLATES 32 | #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX 33 | #define BOOST_NO_CXX11_UNICODE_LITERALS 34 | #define BOOST_NO_TWO_PHASE_NAME_LOOKUP 35 | #define BOOST_HAS_NRVO 36 | #define BOOST_NO_CXX11_TEMPLATE_ALIASES 37 | #define BOOST_NO_CXX11_STATIC_ASSERT 38 | #define BOOST_NO_SFINAE_EXPR 39 | #define BOOST_NO_CXX11_SCOPED_ENUMS 40 | #define BOOST_NO_CXX11_RVALUE_REFERENCES 41 | #define BOOST_NO_CXX11_RANGE_BASED_FOR 42 | #define BOOST_NO_CXX11_RAW_LITERALS 43 | #define BOOST_NO_CXX11_NULLPTR 44 | #define BOOST_NO_CXX11_NOEXCEPT 45 | #define BOOST_NO_CXX11_LAMBDAS 46 | #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS 47 | #define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS 48 | #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS 49 | #define BOOST_NO_CXX11_DELETED_FUNCTIONS 50 | #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS 51 | #define BOOST_NO_CXX11_DECLTYPE_N3276 52 | #define BOOST_NO_CXX11_DECLTYPE 53 | #define BOOST_NO_CXX11_CONSTEXPR 54 | #define BOOST_NO_CXX11_USER_DEFINED_LITERALS 55 | #define BOOST_NO_COMPLETE_VALUE_INITIALIZATION 56 | #define BOOST_NO_CXX11_CHAR32_T 57 | #define BOOST_NO_CXX11_CHAR16_T 58 | #define BOOST_NO_CXX11_ALIGNAS 59 | //#define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG 60 | #define BOOST_MATH_DISABLE_STD_FPCLASSIFY 61 | //#define BOOST_HAS_FPCLASSIFY 62 | 63 | #define BOOST_SP_USE_PTHREADS 64 | #define BOOST_AC_USE_PTHREADS 65 | 66 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/compiler/gcc_xml.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2006. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // GCC-XML C++ compiler setup: 9 | 10 | # if !defined(__GCCXML_GNUC__) || ((__GCCXML_GNUC__ <= 3) && (__GCCXML_GNUC_MINOR__ <= 3)) 11 | # define BOOST_NO_IS_ABSTRACT 12 | # endif 13 | 14 | // 15 | // Threading support: Turn this on unconditionally here (except for 16 | // those platforms where we can know for sure). It will get turned off again 17 | // later if no threading API is detected. 18 | // 19 | #if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(linux) && !defined(__linux) && !defined(__linux__) 20 | # define BOOST_HAS_THREADS 21 | #endif 22 | 23 | // 24 | // gcc has "long long" 25 | // 26 | #define BOOST_HAS_LONG_LONG 27 | 28 | // C++0x features: 29 | // 30 | # define BOOST_NO_CXX11_CONSTEXPR 31 | # define BOOST_NO_CXX11_NULLPTR 32 | # define BOOST_NO_CXX11_TEMPLATE_ALIASES 33 | # define BOOST_NO_CXX11_DECLTYPE 34 | # define BOOST_NO_CXX11_DECLTYPE_N3276 35 | # define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS 36 | # define BOOST_NO_CXX11_RVALUE_REFERENCES 37 | # define BOOST_NO_CXX11_STATIC_ASSERT 38 | # define BOOST_NO_CXX11_VARIADIC_TEMPLATES 39 | # define BOOST_NO_CXX11_VARIADIC_MACROS 40 | # define BOOST_NO_CXX11_AUTO_DECLARATIONS 41 | # define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS 42 | # define BOOST_NO_CXX11_CHAR16_T 43 | # define BOOST_NO_CXX11_CHAR32_T 44 | # define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS 45 | # define BOOST_NO_CXX11_DELETED_FUNCTIONS 46 | # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST 47 | # define BOOST_NO_CXX11_SCOPED_ENUMS 48 | # define BOOST_NO_SFINAE_EXPR 49 | # define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS 50 | # define BOOST_NO_CXX11_LAMBDAS 51 | # define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS 52 | # define BOOST_NO_CXX11_RANGE_BASED_FOR 53 | # define BOOST_NO_CXX11_RAW_LITERALS 54 | # define BOOST_NO_CXX11_UNICODE_LITERALS 55 | # define BOOST_NO_CXX11_NOEXCEPT 56 | # define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX 57 | # define BOOST_NO_CXX11_USER_DEFINED_LITERALS 58 | # define BOOST_NO_CXX11_ALIGNAS 59 | # define BOOST_NO_CXX11_TRAILING_RESULT_TYPES 60 | # define BOOST_NO_CXX11_INLINE_NAMESPACES 61 | 62 | #define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__ 63 | 64 | 65 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/compiler/greenhills.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Greenhills C++ compiler setup: 9 | 10 | #define BOOST_COMPILER "Greenhills C++ version " BOOST_STRINGIZE(__ghs) 11 | 12 | #include "boost/config/compiler/common_edg.hpp" 13 | 14 | // 15 | // versions check: 16 | // we don't support Greenhills prior to version 0: 17 | #if __ghs < 0 18 | # error "Compiler not supported or configured - please reconfigure" 19 | #endif 20 | // 21 | // last known and checked version is 0: 22 | #if (__ghs > 0) 23 | # if defined(BOOST_ASSERT_CONFIG) 24 | # error "Unknown compiler version - please run the configure tests and report the results" 25 | # endif 26 | #endif 27 | 28 | 29 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/compiler/kai.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // (C) Copyright David Abrahams 2002. 3 | // (C) Copyright Aleksey Gurtovoy 2002. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org for most recent version. 9 | 10 | // Kai C++ compiler setup: 11 | 12 | #include "boost/config/compiler/common_edg.hpp" 13 | 14 | # if (__KCC_VERSION <= 4001) || !defined(BOOST_STRICT_CONFIG) 15 | // at least on Sun, the contents of is not in namespace std 16 | # define BOOST_NO_STDC_NAMESPACE 17 | # endif 18 | 19 | // see also common_edg.hpp which needs a special check for __KCC 20 | # if !defined(_EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS) 21 | # define BOOST_NO_EXCEPTIONS 22 | # endif 23 | 24 | // 25 | // last known and checked version is 4001: 26 | #if (__KCC_VERSION > 4001) 27 | # if defined(BOOST_ASSERT_CONFIG) 28 | # error "Unknown compiler version - please run the configure tests and report the results" 29 | # endif 30 | #endif 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/compiler/nvcc.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Eric Jourdanneau, Joel Falcou 2010 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // NVIDIA CUDA C++ compiler setup 9 | 10 | #ifndef BOOST_COMPILER 11 | # define BOOST_COMPILER "NVIDIA CUDA C++ Compiler" 12 | #endif 13 | 14 | // NVIDIA Specific support 15 | // BOOST_GPU_ENABLED : Flag a function or a method as being enabled on the host and device 16 | #define BOOST_GPU_ENABLED __host__ __device__ 17 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/compiler/sgi_mipspro.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // SGI C++ compiler setup: 9 | 10 | #define BOOST_COMPILER "SGI Irix compiler version " BOOST_STRINGIZE(_COMPILER_VERSION) 11 | 12 | #include "boost/config/compiler/common_edg.hpp" 13 | 14 | // 15 | // Threading support: 16 | // Turn this on unconditionally here, it will get turned off again later 17 | // if no threading API is detected. 18 | // 19 | #define BOOST_HAS_THREADS 20 | #define BOOST_NO_TWO_PHASE_NAME_LOOKUP 21 | 22 | #undef BOOST_NO_SWPRINTF 23 | #undef BOOST_DEDUCED_TYPENAME 24 | 25 | // 26 | // version check: 27 | // probably nothing to do here? 28 | 29 | 30 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/no_tr1/cmath.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2008. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | // 6 | // The aim of this header is just to include but to do 7 | // so in a way that does not result in recursive inclusion of 8 | // the Boost TR1 components if boost/tr1/tr1/cmath is in the 9 | // include search path. We have to do this to avoid circular 10 | // dependencies: 11 | // 12 | 13 | #ifndef BOOST_CONFIG_CMATH 14 | # define BOOST_CONFIG_CMATH 15 | 16 | # ifndef BOOST_TR1_NO_RECURSION 17 | # define BOOST_TR1_NO_RECURSION 18 | # define BOOST_CONFIG_NO_CMATH_RECURSION 19 | # endif 20 | 21 | # include 22 | 23 | # ifdef BOOST_CONFIG_NO_CMATH_RECURSION 24 | # undef BOOST_TR1_NO_RECURSION 25 | # undef BOOST_CONFIG_NO_CMATH_RECURSION 26 | # endif 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/no_tr1/complex.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2005. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | // 6 | // The aim of this header is just to include but to do 7 | // so in a way that does not result in recursive inclusion of 8 | // the Boost TR1 components if boost/tr1/tr1/complex is in the 9 | // include search path. We have to do this to avoid circular 10 | // dependencies: 11 | // 12 | 13 | #ifndef BOOST_CONFIG_COMPLEX 14 | # define BOOST_CONFIG_COMPLEX 15 | 16 | # ifndef BOOST_TR1_NO_RECURSION 17 | # define BOOST_TR1_NO_RECURSION 18 | # define BOOST_CONFIG_NO_COMPLEX_RECURSION 19 | # endif 20 | 21 | # include 22 | 23 | # ifdef BOOST_CONFIG_NO_COMPLEX_RECURSION 24 | # undef BOOST_TR1_NO_RECURSION 25 | # undef BOOST_CONFIG_NO_COMPLEX_RECURSION 26 | # endif 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/no_tr1/functional.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2005. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | // 6 | // The aim of this header is just to include but to do 7 | // so in a way that does not result in recursive inclusion of 8 | // the Boost TR1 components if boost/tr1/tr1/functional is in the 9 | // include search path. We have to do this to avoid circular 10 | // dependencies: 11 | // 12 | 13 | #ifndef BOOST_CONFIG_FUNCTIONAL 14 | # define BOOST_CONFIG_FUNCTIONAL 15 | 16 | # ifndef BOOST_TR1_NO_RECURSION 17 | # define BOOST_TR1_NO_RECURSION 18 | # define BOOST_CONFIG_NO_FUNCTIONAL_RECURSION 19 | # endif 20 | 21 | # include 22 | 23 | # ifdef BOOST_CONFIG_NO_FUNCTIONAL_RECURSION 24 | # undef BOOST_TR1_NO_RECURSION 25 | # undef BOOST_CONFIG_NO_FUNCTIONAL_RECURSION 26 | # endif 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/no_tr1/memory.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2005. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | // 6 | // The aim of this header is just to include but to do 7 | // so in a way that does not result in recursive inclusion of 8 | // the Boost TR1 components if boost/tr1/tr1/memory is in the 9 | // include search path. We have to do this to avoid circular 10 | // dependencies: 11 | // 12 | 13 | #ifndef BOOST_CONFIG_MEMORY 14 | # define BOOST_CONFIG_MEMORY 15 | 16 | # ifndef BOOST_TR1_NO_RECURSION 17 | # define BOOST_TR1_NO_RECURSION 18 | # define BOOST_CONFIG_NO_MEMORY_RECURSION 19 | # endif 20 | 21 | # include 22 | 23 | # ifdef BOOST_CONFIG_NO_MEMORY_RECURSION 24 | # undef BOOST_TR1_NO_RECURSION 25 | # undef BOOST_CONFIG_NO_MEMORY_RECURSION 26 | # endif 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/no_tr1/utility.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2005. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | // 6 | // The aim of this header is just to include but to do 7 | // so in a way that does not result in recursive inclusion of 8 | // the Boost TR1 components if boost/tr1/tr1/utility is in the 9 | // include search path. We have to do this to avoid circular 10 | // dependencies: 11 | // 12 | 13 | #ifndef BOOST_CONFIG_UTILITY 14 | # define BOOST_CONFIG_UTILITY 15 | 16 | # ifndef BOOST_TR1_NO_RECURSION 17 | # define BOOST_TR1_NO_RECURSION 18 | # define BOOST_CONFIG_NO_UTILITY_RECURSION 19 | # endif 20 | 21 | # include 22 | 23 | # ifdef BOOST_CONFIG_NO_UTILITY_RECURSION 24 | # undef BOOST_TR1_NO_RECURSION 25 | # undef BOOST_CONFIG_NO_UTILITY_RECURSION 26 | # endif 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/platform/aix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // IBM/Aix specific config options: 9 | 10 | #define BOOST_PLATFORM "IBM Aix" 11 | 12 | #define BOOST_HAS_UNISTD_H 13 | #define BOOST_HAS_NL_TYPES_H 14 | #define BOOST_HAS_NANOSLEEP 15 | #define BOOST_HAS_CLOCK_GETTIME 16 | 17 | // This needs support in "boost/cstdint.hpp" exactly like FreeBSD. 18 | // This platform has header named which includes all 19 | // the things needed. 20 | #define BOOST_HAS_STDINT_H 21 | 22 | // Threading API's: 23 | #define BOOST_HAS_PTHREADS 24 | #define BOOST_HAS_PTHREAD_DELAY_NP 25 | #define BOOST_HAS_SCHED_YIELD 26 | //#define BOOST_HAS_PTHREAD_YIELD 27 | 28 | // boilerplate code: 29 | #include 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/platform/amigaos.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | #define BOOST_PLATFORM "AmigaOS" 9 | 10 | #define BOOST_DISABLE_THREADS 11 | #define BOOST_NO_CWCHAR 12 | #define BOOST_NO_STD_WSTRING 13 | #define BOOST_NO_INTRINSIC_WCHAR_T 14 | 15 | 16 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/platform/beos.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // BeOS specific config options: 9 | 10 | #define BOOST_PLATFORM "BeOS" 11 | 12 | #define BOOST_NO_CWCHAR 13 | #define BOOST_NO_CWCTYPE 14 | #define BOOST_HAS_UNISTD_H 15 | 16 | #define BOOST_HAS_BETHREADS 17 | 18 | #ifndef BOOST_DISABLE_THREADS 19 | # define BOOST_HAS_THREADS 20 | #endif 21 | 22 | // boilerplate code: 23 | #include 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/platform/cray.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2011. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | 7 | // See http://www.boost.org for most recent version. 8 | 9 | // SGI Irix specific config options: 10 | 11 | #define BOOST_PLATFORM "Cray" 12 | 13 | // boilerplate code: 14 | #define BOOST_HAS_UNISTD_H 15 | #include 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/platform/cygwin.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // cygwin specific config options: 9 | 10 | #define BOOST_PLATFORM "Cygwin" 11 | #define BOOST_HAS_DIRENT_H 12 | #define BOOST_HAS_LOG1P 13 | #define BOOST_HAS_EXPM1 14 | 15 | // 16 | // Threading API: 17 | // See if we have POSIX threads, if we do use them, otherwise 18 | // revert to native Win threads. 19 | #define BOOST_HAS_UNISTD_H 20 | #include 21 | #if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS) 22 | # define BOOST_HAS_PTHREADS 23 | # define BOOST_HAS_SCHED_YIELD 24 | # define BOOST_HAS_GETTIMEOFDAY 25 | # define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE 26 | # define BOOST_HAS_SIGACTION 27 | #else 28 | # if !defined(BOOST_HAS_WINTHREADS) 29 | # define BOOST_HAS_WINTHREADS 30 | # endif 31 | # define BOOST_HAS_FTIME 32 | #endif 33 | 34 | // 35 | // find out if we have a stdint.h, there should be a better way to do this: 36 | // 37 | #include 38 | #ifdef _STDINT_H 39 | #define BOOST_HAS_STDINT_H 40 | #endif 41 | 42 | /// Cygwin has no fenv.h 43 | #define BOOST_NO_FENV_H 44 | 45 | // boilerplate code: 46 | #include 47 | 48 | // 49 | // Cygwin lies about XSI conformance, there is no nl_types.h: 50 | // 51 | #ifdef BOOST_HAS_NL_TYPES_H 52 | # undef BOOST_HAS_NL_TYPES_H 53 | #endif 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/platform/irix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // (C) Copyright Jens Maurer 2003. 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | 8 | // See http://www.boost.org for most recent version. 9 | 10 | // SGI Irix specific config options: 11 | 12 | #define BOOST_PLATFORM "SGI Irix" 13 | 14 | #define BOOST_NO_SWPRINTF 15 | // 16 | // these are not auto detected by POSIX feature tests: 17 | // 18 | #define BOOST_HAS_GETTIMEOFDAY 19 | #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE 20 | 21 | #ifdef __GNUC__ 22 | // GNU C on IRIX does not support threads (checked up to gcc 3.3) 23 | # define BOOST_DISABLE_THREADS 24 | #endif 25 | 26 | // boilerplate code: 27 | #define BOOST_HAS_UNISTD_H 28 | #include 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/platform/qnxnto.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Jim Douglas 2005. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // QNX specific config options: 9 | 10 | #define BOOST_PLATFORM "QNX" 11 | 12 | #define BOOST_HAS_UNISTD_H 13 | #include 14 | 15 | // QNX claims XOpen version 5 compatibility, but doesn't have an nl_types.h 16 | // or log1p and expm1: 17 | #undef BOOST_HAS_NL_TYPES_H 18 | #undef BOOST_HAS_LOG1P 19 | #undef BOOST_HAS_EXPM1 20 | 21 | #define BOOST_HAS_PTHREADS 22 | #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE 23 | 24 | #define BOOST_HAS_GETTIMEOFDAY 25 | #define BOOST_HAS_CLOCK_GETTIME 26 | #define BOOST_HAS_NANOSLEEP 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/platform/solaris.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // (C) Copyright Jens Maurer 2003. 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org for most recent version. 8 | 9 | // sun specific config options: 10 | 11 | #define BOOST_PLATFORM "Sun Solaris" 12 | 13 | #define BOOST_HAS_GETTIMEOFDAY 14 | 15 | // boilerplate code: 16 | #define BOOST_HAS_UNISTD_H 17 | #include 18 | 19 | // 20 | // pthreads don't actually work with gcc unless _PTHREADS is defined: 21 | // 22 | #if defined(__GNUC__) && defined(_POSIX_THREADS) && !defined(_PTHREADS) 23 | # undef BOOST_HAS_PTHREADS 24 | #endif 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/platform/vms.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Artyom Beilis 2010. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_CONFIG_PLATFORM_VMS_HPP 7 | #define BOOST_CONFIG_PLATFORM_VMS_HPP 8 | 9 | #define BOOST_PLATFORM "OpenVMS" 10 | 11 | #undef BOOST_HAS_STDINT_H 12 | #define BOOST_HAS_UNISTD_H 13 | #define BOOST_HAS_NL_TYPES_H 14 | #define BOOST_HAS_GETTIMEOFDAY 15 | #define BOOST_HAS_DIRENT_H 16 | #define BOOST_HAS_PTHREADS 17 | #define BOOST_HAS_NANOSLEEP 18 | #define BOOST_HAS_CLOCK_GETTIME 19 | #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE 20 | #define BOOST_HAS_LOG1P 21 | #define BOOST_HAS_EXPM1 22 | #define BOOST_HAS_THREADS 23 | #undef BOOST_HAS_SCHED_YIELD 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/platform/win32.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // (C) Copyright Bill Kempf 2001. 3 | // (C) Copyright Aleksey Gurtovoy 2003. 4 | // (C) Copyright Rene Rivera 2005. 5 | // Use, modification and distribution are subject to the 6 | // Boost Software License, Version 1.0. (See accompanying file 7 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 8 | 9 | // See http://www.boost.org for most recent version. 10 | 11 | // Win32 specific config options: 12 | 13 | #define BOOST_PLATFORM "Win32" 14 | 15 | // Get the information about the MinGW runtime, i.e. __MINGW32_*VERSION. 16 | #if defined(__MINGW32__) 17 | # include <_mingw.h> 18 | #endif 19 | 20 | #if defined(__GNUC__) && !defined(BOOST_NO_SWPRINTF) 21 | # define BOOST_NO_SWPRINTF 22 | #endif 23 | 24 | // Default defines for BOOST_SYMBOL_EXPORT and BOOST_SYMBOL_IMPORT 25 | // If a compiler doesn't support __declspec(dllexport)/__declspec(dllimport), 26 | // its boost/config/compiler/ file must define BOOST_SYMBOL_EXPORT and 27 | // BOOST_SYMBOL_IMPORT 28 | #ifndef BOOST_SYMBOL_EXPORT 29 | # define BOOST_HAS_DECLSPEC 30 | # define BOOST_SYMBOL_EXPORT __declspec(dllexport) 31 | # define BOOST_SYMBOL_IMPORT __declspec(dllimport) 32 | #endif 33 | 34 | #if defined(__MINGW32__) && ((__MINGW32_MAJOR_VERSION > 2) || ((__MINGW32_MAJOR_VERSION == 2) && (__MINGW32_MINOR_VERSION >= 0))) 35 | # define BOOST_HAS_STDINT_H 36 | # ifndef __STDC_LIMIT_MACROS 37 | # define __STDC_LIMIT_MACROS 38 | # endif 39 | # define BOOST_HAS_DIRENT_H 40 | # define BOOST_HAS_UNISTD_H 41 | #endif 42 | 43 | #if defined(__MINGW32__) && (__GNUC__ >= 4) 44 | # define BOOST_HAS_EXPM1 45 | # define BOOST_HAS_LOG1P 46 | # define BOOST_HAS_GETTIMEOFDAY 47 | #endif 48 | // 49 | // Win32 will normally be using native Win32 threads, 50 | // but there is a pthread library avaliable as an option, 51 | // we used to disable this when BOOST_DISABLE_WIN32 was 52 | // defined but no longer - this should allow some 53 | // files to be compiled in strict mode - while maintaining 54 | // a consistent setting of BOOST_HAS_THREADS across 55 | // all translation units (needed for shared_ptr etc). 56 | // 57 | 58 | #ifdef _WIN32_WCE 59 | # define BOOST_NO_ANSI_APIS 60 | #else 61 | # define BOOST_HAS_GETSYSTEMTIMEASFILETIME 62 | #endif 63 | 64 | #ifndef BOOST_HAS_PTHREADS 65 | # define BOOST_HAS_WINTHREADS 66 | #endif 67 | 68 | #ifndef BOOST_DISABLE_WIN32 69 | // WEK: Added 70 | #define BOOST_HAS_FTIME 71 | #define BOOST_WINDOWS 1 72 | 73 | #endif 74 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/stdlib/libcomo.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2002 - 2003. 2 | // (C) Copyright Jens Maurer 2002 - 2003. 3 | // (C) Copyright Beman Dawes 2002 - 2003. 4 | // Use, modification and distribution are subject to the 5 | // Boost Software License, Version 1.0. (See accompanying file 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org for most recent version. 9 | 10 | // Comeau STL: 11 | 12 | #if !defined(__LIBCOMO__) 13 | # include 14 | # if !defined(__LIBCOMO__) 15 | # error "This is not the Comeau STL!" 16 | # endif 17 | #endif 18 | 19 | // 20 | // std::streambuf is non-standard 21 | // NOTE: versions of libcomo prior to beta28 have octal version numbering, 22 | // e.g. version 25 is 21 (dec) 23 | #if __LIBCOMO_VERSION__ <= 22 24 | # define BOOST_NO_STD_WSTREAMBUF 25 | #endif 26 | 27 | #if (__LIBCOMO_VERSION__ <= 31) && defined(_WIN32) 28 | #define BOOST_NO_SWPRINTF 29 | #endif 30 | 31 | #if __LIBCOMO_VERSION__ >= 31 32 | # define BOOST_HAS_HASH 33 | # define BOOST_HAS_SLIST 34 | #endif 35 | 36 | // C++0x headers not yet implemented 37 | // 38 | # define BOOST_NO_CXX11_HDR_ARRAY 39 | # define BOOST_NO_CXX11_HDR_CHRONO 40 | # define BOOST_NO_CXX11_HDR_CODECVT 41 | # define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE 42 | # define BOOST_NO_CXX11_HDR_FORWARD_LIST 43 | # define BOOST_NO_CXX11_HDR_FUTURE 44 | # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST 45 | # define BOOST_NO_CXX11_HDR_MUTEX 46 | # define BOOST_NO_CXX11_HDR_RANDOM 47 | # define BOOST_NO_CXX11_HDR_RATIO 48 | # define BOOST_NO_CXX11_HDR_REGEX 49 | # define BOOST_NO_CXX11_HDR_SYSTEM_ERROR 50 | # define BOOST_NO_CXX11_HDR_THREAD 51 | # define BOOST_NO_CXX11_HDR_TUPLE 52 | # define BOOST_NO_CXX11_HDR_TYPE_TRAITS 53 | # define BOOST_NO_CXX11_HDR_TYPEINDEX 54 | # define BOOST_NO_CXX11_HDR_UNORDERED_MAP 55 | # define BOOST_NO_CXX11_HDR_UNORDERED_SET 56 | # define BOOST_NO_CXX11_NUMERIC_LIMITS 57 | # define BOOST_NO_CXX11_ALLOCATOR 58 | # define BOOST_NO_CXX11_ATOMIC_SMART_PTR 59 | # define BOOST_NO_CXX11_SMART_PTR 60 | # define BOOST_NO_CXX11_HDR_FUNCTIONAL 61 | 62 | // 63 | // Intrinsic type_traits support. 64 | // The SGI STL has it's own __type_traits class, which 65 | // has intrinsic compiler support with SGI's compilers. 66 | // Whatever map SGI style type traits to boost equivalents: 67 | // 68 | #define BOOST_HAS_SGI_TYPE_TRAITS 69 | 70 | #define BOOST_STDLIB "Comeau standard library " BOOST_STRINGIZE(__LIBCOMO_VERSION__) 71 | 72 | 73 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/stdlib/libcpp.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Christopher Jefferson 2011. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // config for libc++ 9 | // Might need more in here later. 10 | 11 | #if !defined(_LIBCPP_VERSION) 12 | # include 13 | # if !defined(_LIBCPP_VERSION) 14 | # error "This is not libc++!" 15 | # endif 16 | #endif 17 | 18 | #define BOOST_STDLIB "libc++ version " BOOST_STRINGIZE(_LIBCPP_VERSION) 19 | 20 | #define BOOST_HAS_THREADS 21 | 22 | #ifdef _LIBCPP_HAS_NO_VARIADICS 23 | # define BOOST_NO_CXX11_HDR_TUPLE 24 | #endif 25 | 26 | // 27 | // These appear to be unusable/incomplete so far: 28 | // 29 | # define BOOST_NO_CXX11_HDR_CHRONO 30 | # define BOOST_NO_CXX11_HDR_FUTURE 31 | # define BOOST_NO_CXX11_HDR_TYPE_TRAITS 32 | # define BOOST_NO_CXX11_ATOMIC_SMART_PTR 33 | 34 | // libc++ uses a non-standard messages_base 35 | #define BOOST_NO_STD_MESSAGES 36 | 37 | // --- end --- 38 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/stdlib/modena.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Jens Maurer 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Modena C++ standard library (comes with KAI C++) 9 | 10 | #if !defined(MSIPL_COMPILE_H) 11 | # include 12 | # if !defined(__MSIPL_COMPILE_H) 13 | # error "This is not the Modena C++ library!" 14 | # endif 15 | #endif 16 | 17 | #ifndef MSIPL_NL_TYPES 18 | #define BOOST_NO_STD_MESSAGES 19 | #endif 20 | 21 | #ifndef MSIPL_WCHART 22 | #define BOOST_NO_STD_WSTRING 23 | #endif 24 | 25 | // C++0x headers not yet implemented 26 | // 27 | # define BOOST_NO_CXX11_HDR_ARRAY 28 | # define BOOST_NO_CXX11_HDR_CHRONO 29 | # define BOOST_NO_CXX11_HDR_CODECVT 30 | # define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE 31 | # define BOOST_NO_CXX11_HDR_FORWARD_LIST 32 | # define BOOST_NO_CXX11_HDR_FUTURE 33 | # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST 34 | # define BOOST_NO_CXX11_HDR_MUTEX 35 | # define BOOST_NO_CXX11_HDR_RANDOM 36 | # define BOOST_NO_CXX11_HDR_RATIO 37 | # define BOOST_NO_CXX11_HDR_REGEX 38 | # define BOOST_NO_CXX11_HDR_SYSTEM_ERROR 39 | # define BOOST_NO_CXX11_HDR_THREAD 40 | # define BOOST_NO_CXX11_HDR_TUPLE 41 | # define BOOST_NO_CXX11_HDR_TYPE_TRAITS 42 | # define BOOST_NO_CXX11_HDR_TYPEINDEX 43 | # define BOOST_NO_CXX11_HDR_UNORDERED_MAP 44 | # define BOOST_NO_CXX11_HDR_UNORDERED_SET 45 | # define BOOST_NO_CXX11_NUMERIC_LIMITS 46 | # define BOOST_NO_CXX11_ALLOCATOR 47 | # define BOOST_NO_CXX11_ATOMIC_SMART_PTR 48 | # define BOOST_NO_CXX11_SMART_PTR 49 | # define BOOST_NO_CXX11_HDR_FUNCTIONAL 50 | 51 | #define BOOST_STDLIB "Modena C++ standard library" 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/stdlib/vacpp.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | #if __IBMCPP__ <= 501 9 | # define BOOST_NO_STD_ALLOCATOR 10 | #endif 11 | 12 | #define BOOST_HAS_MACRO_USE_FACET 13 | #define BOOST_NO_STD_MESSAGES 14 | 15 | // Apple doesn't seem to reliably defined a *unix* macro 16 | #if !defined(CYGWIN) && ( defined(__unix__) \ 17 | || defined(__unix) \ 18 | || defined(unix) \ 19 | || defined(__APPLE__) \ 20 | || defined(__APPLE) \ 21 | || defined(APPLE)) 22 | # include 23 | #endif 24 | 25 | // C++0x headers not yet implemented 26 | // 27 | # define BOOST_NO_CXX11_HDR_ARRAY 28 | # define BOOST_NO_CXX11_HDR_CHRONO 29 | # define BOOST_NO_CXX11_HDR_CODECVT 30 | # define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE 31 | # define BOOST_NO_CXX11_HDR_FORWARD_LIST 32 | # define BOOST_NO_CXX11_HDR_FUTURE 33 | # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST 34 | # define BOOST_NO_CXX11_HDR_MUTEX 35 | # define BOOST_NO_CXX11_HDR_RANDOM 36 | # define BOOST_NO_CXX11_HDR_RATIO 37 | # define BOOST_NO_CXX11_HDR_REGEX 38 | # define BOOST_NO_CXX11_HDR_SYSTEM_ERROR 39 | # define BOOST_NO_CXX11_HDR_THREAD 40 | # define BOOST_NO_CXX11_HDR_TUPLE 41 | # define BOOST_NO_CXX11_HDR_TYPE_TRAITS 42 | # define BOOST_NO_CXX11_HDR_TYPEINDEX 43 | # define BOOST_NO_CXX11_HDR_UNORDERED_MAP 44 | # define BOOST_NO_CXX11_HDR_UNORDERED_SET 45 | # define BOOST_NO_CXX11_NUMERIC_LIMITS 46 | # define BOOST_NO_CXX11_ALLOCATOR 47 | # define BOOST_NO_CXX11_ATOMIC_SMART_PTR 48 | # define BOOST_NO_CXX11_SMART_PTR 49 | # define BOOST_NO_CXX11_HDR_FUNCTIONAL 50 | 51 | #define BOOST_STDLIB "Visual Age default standard library" 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/config/warning_disable.hpp: -------------------------------------------------------------------------------- 1 | // Copyright John Maddock 2008 2 | // Use, modification, and distribution is subject to the Boost Software 3 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | // 6 | // This file exists to turn off some overly-pedantic warning emitted 7 | // by certain compilers. You should include this header only in: 8 | // 9 | // * A test case, before any other headers, or, 10 | // * A library source file before any other headers. 11 | // 12 | // IT SHOULD NOT BE INCLUDED BY ANY BOOST HEADER. 13 | // 14 | // YOU SHOULD NOT INCLUDE IT IF YOU CAN REASONABLY FIX THE WARNING. 15 | // 16 | // The only warnings disabled here are those that are: 17 | // 18 | // * Quite unreasonably pedantic. 19 | // * Generally only emitted by a single compiler. 20 | // * Can't easily be fixed: for example if the vendors own std lib 21 | // code emits these warnings! 22 | // 23 | // Note that THIS HEADER MUST NOT INCLUDE ANY OTHER HEADERS: 24 | // not even std library ones! Doing so may turn the warning 25 | // off too late to be of any use. For example the VC++ C4996 26 | // warning can be emitted from if that header is included 27 | // before or by this one :-( 28 | // 29 | 30 | #ifndef BOOST_CONFIG_WARNING_DISABLE_HPP 31 | #define BOOST_CONFIG_WARNING_DISABLE_HPP 32 | 33 | #if defined(_MSC_VER) && (_MSC_VER >= 1400) 34 | // Error 'function': was declared deprecated 35 | // http://msdn2.microsoft.com/en-us/library/ttcz0bys(VS.80).aspx 36 | // This error is emitted when you use some perfectly conforming 37 | // std lib functions in a perfectly correct way, and also by 38 | // some of Microsoft's own std lib code ! 39 | # pragma warning(disable:4996) 40 | #endif 41 | #if defined(__INTEL_COMPILER) || defined(__ICL) 42 | // As above: gives warning when a "deprecated" 43 | // std library function is encountered. 44 | # pragma warning(disable:1786) 45 | #endif 46 | 47 | #endif // BOOST_CONFIG_WARNING_DISABLE_HPP 48 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/current_function.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_CURRENT_FUNCTION_HPP_INCLUDED 2 | #define BOOST_CURRENT_FUNCTION_HPP_INCLUDED 3 | 4 | // MS compatible compilers support #pragma once 5 | 6 | #if defined(_MSC_VER) && (_MSC_VER >= 1020) 7 | # pragma once 8 | #endif 9 | 10 | // 11 | // boost/current_function.hpp - BOOST_CURRENT_FUNCTION 12 | // 13 | // Copyright (c) 2002 Peter Dimov and Multi Media Ltd. 14 | // 15 | // Distributed under the Boost Software License, Version 1.0. (See 16 | // accompanying file LICENSE_1_0.txt or copy at 17 | // http://www.boost.org/LICENSE_1_0.txt) 18 | // 19 | // http://www.boost.org/libs/utility/current_function.html 20 | // 21 | 22 | namespace boost 23 | { 24 | 25 | namespace detail 26 | { 27 | 28 | inline void current_function_helper() 29 | { 30 | 31 | #if defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000)) || (defined(__ICC) && (__ICC >= 600)) || defined(__ghs__) 32 | 33 | # define BOOST_CURRENT_FUNCTION __PRETTY_FUNCTION__ 34 | 35 | #elif defined(__DMC__) && (__DMC__ >= 0x810) 36 | 37 | # define BOOST_CURRENT_FUNCTION __PRETTY_FUNCTION__ 38 | 39 | #elif defined(__FUNCSIG__) 40 | 41 | # define BOOST_CURRENT_FUNCTION __FUNCSIG__ 42 | 43 | #elif (defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 600)) || (defined(__IBMCPP__) && (__IBMCPP__ >= 500)) 44 | 45 | # define BOOST_CURRENT_FUNCTION __FUNCTION__ 46 | 47 | #elif defined(__BORLANDC__) && (__BORLANDC__ >= 0x550) 48 | 49 | # define BOOST_CURRENT_FUNCTION __FUNC__ 50 | 51 | #elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901) 52 | 53 | # define BOOST_CURRENT_FUNCTION __func__ 54 | 55 | #else 56 | 57 | # define BOOST_CURRENT_FUNCTION "(unknown)" 58 | 59 | #endif 60 | 61 | } 62 | 63 | } // namespace detail 64 | 65 | } // namespace boost 66 | 67 | #endif // #ifndef BOOST_CURRENT_FUNCTION_HPP_INCLUDED 68 | 69 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/exception/detail/attribute_noreturn.hpp: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2009 Emil Dotchevski and Reverge Studios, Inc. 2 | 3 | //Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef UUID_61531AB0680611DEADD5846855D89593 7 | #define UUID_61531AB0680611DEADD5846855D89593 8 | 9 | #if defined(_MSC_VER) 10 | #define BOOST_ATTRIBUTE_NORETURN __declspec(noreturn) 11 | #elif defined(__GNUC__) 12 | #define BOOST_ATTRIBUTE_NORETURN __attribute__((__noreturn__)) 13 | #else 14 | #define BOOST_ATTRIBUTE_NORETURN 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/license.txt: -------------------------------------------------------------------------------- 1 | Boost Software License - Version 1.0 - August 17th, 2003 2 | 3 | Permission is hereby granted, free of charge, to any person or organization 4 | obtaining a copy of the software and accompanying documentation covered by 5 | this license (the "Software") to use, reproduce, display, distribute, 6 | execute, and transmit the Software, and to prepare derivative works of the 7 | Software, and to permit third-parties to whom the Software is furnished to 8 | do so, all subject to the following: 9 | 10 | The copyright notices in the Software and this entire statement, including 11 | the above license grant, this restriction and the following disclaimer, 12 | must be included in all copies of the Software, in whole or in part, and 13 | all derivative works of the Software, unless such copies or derivative 14 | works are solely in the form of machine-executable object code generated by 15 | a source language processor. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT 20 | SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE 21 | FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, 22 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/locale/definitions.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh) 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. (See 5 | // accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | #ifndef BOOST_LOCALE_DEFINITIONS_HPP_INCLUDED 9 | #define BOOST_LOCALE_DEFINITIONS_HPP_INCLUDED 10 | 11 | #include 12 | 13 | // Support older ICU versions 14 | #ifndef BOOST_SYMBOL_VISIBLE 15 | # define BOOST_SYMBOL_VISIBLE 16 | #endif 17 | 18 | #ifdef BOOST_HAS_DECLSPEC 19 | # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_LOCALE_DYN_LINK) 20 | # ifdef BOOST_LOCALE_SOURCE 21 | # define BOOST_LOCALE_DECL BOOST_SYMBOL_EXPORT 22 | # else 23 | # define BOOST_LOCALE_DECL BOOST_SYMBOL_IMPORT 24 | # endif // BOOST_LOCALE_SOURCE 25 | # endif // DYN_LINK 26 | #endif // BOOST_HAS_DECLSPEC 27 | 28 | #ifndef BOOST_LOCALE_DECL 29 | # define BOOST_LOCALE_DECL 30 | #endif 31 | 32 | #endif // boost/locale/config.hpp 33 | // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 34 | 35 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/locale/encoding_errors.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh) 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. (See 5 | // accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | #ifndef BOOST_LOCALE_ENCODING_ERRORS_HPP_INCLUDED 9 | #define BOOST_LOCALE_ENCODING_ERRORS_HPP_INCLUDED 10 | 11 | #include 12 | #ifdef BOOST_MSVC 13 | # pragma warning(push) 14 | # pragma warning(disable : 4275 4251 4231 4660) 15 | #endif 16 | #include 17 | 18 | 19 | 20 | namespace boost { 21 | namespace locale { 22 | namespace conv { 23 | /// 24 | /// \addtogroup codepage 25 | /// 26 | /// @{ 27 | 28 | /// 29 | /// \brief The excepton that is thrown in case of conversion error 30 | /// 31 | class BOOST_SYMBOL_VISIBLE conversion_error : public std::runtime_error { 32 | public: 33 | conversion_error() : std::runtime_error("Conversion failed") {} 34 | }; 35 | 36 | /// 37 | /// \brief This exception is thrown in case of use of unsupported 38 | /// or invalid character set 39 | /// 40 | class BOOST_SYMBOL_VISIBLE invalid_charset_error : public std::runtime_error { 41 | public: 42 | 43 | /// Create an error for charset \a charset 44 | invalid_charset_error(std::string charset) : 45 | std::runtime_error("Invalid or unsupported charset:" + charset) 46 | { 47 | } 48 | }; 49 | 50 | 51 | /// 52 | /// enum that defines conversion policy 53 | /// 54 | typedef enum { 55 | skip = 0, ///< Skip illegal/unconvertable characters 56 | stop = 1, ///< Stop conversion and throw conversion_error 57 | default_method = skip ///< Default method - skip 58 | } method_type; 59 | 60 | 61 | /// @} 62 | 63 | } // conv 64 | 65 | } // locale 66 | } // boost 67 | 68 | #ifdef BOOST_MSVC 69 | #pragma warning(pop) 70 | #endif 71 | 72 | #endif 73 | 74 | // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 75 | 76 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/adl_barrier.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_ADL_BARRIER_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_ADL_BARRIER_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: adl_barrier.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | #include 20 | 21 | #if !defined(BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE) 22 | 23 | # define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE mpl_ 24 | # define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN namespace mpl_ { 25 | # define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE } 26 | # define BOOST_MPL_AUX_ADL_BARRIER_DECL(type) \ 27 | namespace boost { namespace mpl { \ 28 | using ::BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE::type; \ 29 | } } \ 30 | /**/ 31 | 32 | #if !defined(BOOST_MPL_PREPROCESSING_MODE) 33 | namespace BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE { namespace aux {} } 34 | namespace boost { namespace mpl { using namespace BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE; 35 | namespace aux { using namespace BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE::aux; } 36 | }} 37 | #endif 38 | 39 | #else // BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE 40 | 41 | # define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE boost::mpl 42 | # define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN namespace boost { namespace mpl { 43 | # define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE }} 44 | # define BOOST_MPL_AUX_ADL_BARRIER_DECL(type) /**/ 45 | 46 | #endif 47 | 48 | #endif // BOOST_MPL_AUX_ADL_BARRIER_HPP_INCLUDED 49 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/arity.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_ARITY_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_ARITY_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2001-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: arity.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | #if defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) 20 | 21 | # include 22 | # include 23 | 24 | namespace boost { namespace mpl { namespace aux { 25 | 26 | // agurt, 15/mar/02: it's possible to implement the template so that it will 27 | // "just work" and do not require any specialization, but not on the compilers 28 | // that require the arity workaround in the first place 29 | template< typename F, BOOST_MPL_AUX_NTTP_DECL(int, N) > 30 | struct arity 31 | { 32 | BOOST_STATIC_CONSTANT(int, value = N); 33 | }; 34 | 35 | }}} 36 | 37 | #endif // BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES 38 | 39 | #endif // BOOST_MPL_AUX_ARITY_HPP_INCLUDED 40 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/adl.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_ADL_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_ADL_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: adl.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | 22 | // agurt, 25/apr/04: technically, the ADL workaround is only needed for GCC, 23 | // but putting everything expect public, user-specializable metafunctions into 24 | // a separate global namespace has a nice side effect of reducing the length 25 | // of template instantiation symbols, so we apply the workaround on all 26 | // platforms that can handle it 27 | 28 | #if !defined(BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE) \ 29 | && ( BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1400)) \ 30 | || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) \ 31 | || BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840)) \ 32 | || BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3202)) \ 33 | || BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, BOOST_TESTED_AT(810)) \ 34 | ) 35 | 36 | # define BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE 37 | 38 | #endif 39 | 40 | #endif // BOOST_MPL_AUX_CONFIG_ADL_HPP_INCLUDED 41 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/arrays.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_ARRAYS_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_ARRAYS_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2003-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: arrays.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | 20 | #if !defined(BOOST_MPL_CFG_NO_DEPENDENT_ARRAY_TYPES) \ 21 | && !defined(BOOST_MPL_PREPROCESSING_MODE) \ 22 | && ( BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) \ 23 | || BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \ 24 | ) 25 | 26 | # define BOOST_MPL_CFG_NO_DEPENDENT_ARRAY_TYPES 27 | 28 | #endif 29 | 30 | #endif // BOOST_MPL_AUX_CONFIG_ARRAYS_HPP_INCLUDED 31 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/ctps.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_CTPS_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_CTPS_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: ctps.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | 20 | #if !defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC) \ 21 | && !defined(BOOST_MPL_PREPROCESSING_MODE) \ 22 | && BOOST_WORKAROUND(__BORLANDC__, < 0x582) 23 | 24 | # define BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC 25 | 26 | #endif 27 | 28 | // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION is defined in 29 | 30 | #endif // BOOST_MPL_AUX_CONFIG_CTPS_HPP_INCLUDED 31 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/dtp.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2001-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: dtp.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | // MWCW 7.x-8.0 "losts" default template parameters of nested class 20 | // templates when their owner classes are passed as arguments to other 21 | // templates; Borland 5.5.1 "forgets" them from the very beginning (if 22 | // the owner class is a class template), and Borland 5.6 isn't even 23 | // able to compile a definition of nested class template with DTP 24 | 25 | #if !defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \ 26 | && !defined(BOOST_MPL_PREPROCESSING_MODE) \ 27 | && BOOST_WORKAROUND(__BORLANDC__, >= 0x560) \ 28 | && BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) 29 | 30 | # define BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES 31 | 32 | #endif 33 | 34 | 35 | #if !defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \ 36 | && !defined(BOOST_MPL_PREPROCESSING_MODE) \ 37 | && ( BOOST_WORKAROUND(__MWERKS__, <= 0x3001) \ 38 | || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) \ 39 | || defined(BOOST_MPL_CFG_NO_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) \ 40 | ) 41 | 42 | # define BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES 43 | 44 | #endif 45 | 46 | #endif // BOOST_MPL_AUX_CONFIG_DTP_HPP_INCLUDED 47 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/eti.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_ETI_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_ETI_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2001-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: eti.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | 20 | // flags for MSVC 6.5's so-called "early template instantiation bug" 21 | #if !defined(BOOST_MPL_CFG_MSVC_60_ETI_BUG) \ 22 | && !defined(BOOST_MPL_PREPROCESSING_MODE) \ 23 | && BOOST_WORKAROUND(BOOST_MSVC, < 1300) 24 | 25 | # define BOOST_MPL_CFG_MSVC_60_ETI_BUG 26 | 27 | #endif 28 | 29 | #if !defined(BOOST_MPL_CFG_MSVC_70_ETI_BUG) \ 30 | && !defined(BOOST_MPL_PREPROCESSING_MODE) \ 31 | && BOOST_WORKAROUND(BOOST_MSVC, == 1300) 32 | 33 | # define BOOST_MPL_CFG_MSVC_70_ETI_BUG 34 | 35 | #endif 36 | 37 | #if !defined(BOOST_MPL_CFG_MSVC_ETI_BUG) \ 38 | && !defined(BOOST_MPL_PREPROCESSING_MODE) \ 39 | && ( defined(BOOST_MPL_CFG_MSVC_60_ETI_BUG) \ 40 | || defined(BOOST_MPL_CFG_MSVC_70_ETI_BUG) \ 41 | ) 42 | 43 | # define BOOST_MPL_CFG_MSVC_ETI_BUG 44 | 45 | #endif 46 | 47 | #endif // BOOST_MPL_AUX_CONFIG_ETI_HPP_INCLUDED 48 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/gcc.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_GCC_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_GCC_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: gcc.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #if defined(__GNUC__) && !defined(__EDG_VERSION__) 18 | # define BOOST_MPL_CFG_GCC ((__GNUC__ << 8) | __GNUC_MINOR__) 19 | #else 20 | # define BOOST_MPL_CFG_GCC 0 21 | #endif 22 | 23 | #endif // BOOST_MPL_AUX_CONFIG_GCC_HPP_INCLUDED 24 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/integral.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_INTEGRAL_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_INTEGRAL_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: integral.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | 20 | #if !defined(BOOST_MPL_CFG_BCC_INTEGRAL_CONSTANTS) \ 21 | && !defined(BOOST_MPL_PREPROCESSING_MODE) \ 22 | && BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) 23 | 24 | # define BOOST_MPL_CFG_BCC_INTEGRAL_CONSTANTS 25 | 26 | #endif 27 | 28 | #if !defined(BOOST_MPL_CFG_NO_NESTED_VALUE_ARITHMETIC) \ 29 | && !defined(BOOST_MPL_PREPROCESSING_MODE) \ 30 | && ( BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \ 31 | || BOOST_WORKAROUND(__EDG_VERSION__, <= 238) \ 32 | ) 33 | 34 | # define BOOST_MPL_CFG_NO_NESTED_VALUE_ARITHMETIC 35 | 36 | #endif 37 | 38 | #endif // BOOST_MPL_AUX_CONFIG_INTEGRAL_HPP_INCLUDED 39 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/intel.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_INTEL_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_INTEL_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: intel.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | 18 | // BOOST_INTEL_CXX_VERSION is defined here: 19 | #include 20 | 21 | #endif // BOOST_MPL_AUX_CONFIG_INTEL_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/lambda.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_LAMBDA_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_LAMBDA_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: lambda.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | 20 | // agurt, 15/jan/02: full-fledged implementation requires both 21 | // template template parameters _and_ partial specialization 22 | 23 | #if !defined(BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT) \ 24 | && ( defined(BOOST_MPL_CFG_NO_TEMPLATE_TEMPLATE_PARAMETERS) \ 25 | || defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \ 26 | ) 27 | 28 | # define BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT 29 | 30 | #endif 31 | 32 | #endif // BOOST_MPL_AUX_CONFIG_LAMBDA_HPP_INCLUDED 33 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/msvc.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_MSVC_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_MSVC_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: msvc.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | 18 | // BOOST_MSVC is defined here: 19 | #include 20 | 21 | #endif // BOOST_MPL_AUX_CONFIG_MSVC_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/nttp.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_NTTP_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_NTTP_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2001-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: nttp.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | 20 | // MSVC 6.5 ICE-s on the code as simple as this (see "aux_/nttp_decl.hpp" 21 | // for a workaround): 22 | // 23 | // namespace std { 24 | // template< typename Char > struct string; 25 | // } 26 | // 27 | // void foo(std::string); 28 | // 29 | // namespace boost { namespace mpl { 30 | // template< int > struct arg; 31 | // }} 32 | 33 | #if !defined(BOOST_MPL_CFG_NTTP_BUG) \ 34 | && !defined(BOOST_MPL_PREPROCESSING_MODE) \ 35 | && BOOST_WORKAROUND(BOOST_MSVC, < 1300) 36 | 37 | # define BOOST_MPL_CFG_NTTP_BUG 38 | 39 | #endif 40 | 41 | #endif // BOOST_MPL_AUX_CONFIG_NTTP_HPP_INCLUDED 42 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/overload_resolution.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_OVERLOAD_RESOLUTION_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_OVERLOAD_RESOLUTION_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: overload_resolution.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | #if !defined(BOOST_MPL_CFG_BROKEN_OVERLOAD_RESOLUTION) \ 20 | && !defined(BOOST_MPL_PREPROCESSING_MODE) \ 21 | && ( BOOST_WORKAROUND(__BORLANDC__, < 0x590) \ 22 | || BOOST_WORKAROUND(__MWERKS__, < 0x3001) \ 23 | ) 24 | 25 | # define BOOST_MPL_CFG_BROKEN_OVERLOAD_RESOLUTION 26 | 27 | #endif 28 | 29 | #endif // BOOST_MPL_AUX_CONFIG_OVERLOAD_RESOLUTION_HPP_INCLUDED 30 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/preprocessor.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_PREPROCESSOR_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_PREPROCESSOR_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: preprocessor.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | #if !defined(BOOST_MPL_CFG_BROKEN_PP_MACRO_EXPANSION) \ 20 | && ( BOOST_WORKAROUND(__MWERKS__, <= 0x3003) \ 21 | || BOOST_WORKAROUND(__BORLANDC__, < 0x582) \ 22 | || BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(502)) \ 23 | ) 24 | 25 | # define BOOST_MPL_CFG_BROKEN_PP_MACRO_EXPANSION 26 | 27 | #endif 28 | 29 | #if !defined(BOOST_MPL_CFG_NO_OWN_PP_PRIMITIVES) 30 | # define BOOST_MPL_CFG_NO_OWN_PP_PRIMITIVES 31 | #endif 32 | 33 | #if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING) \ 34 | && BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840)) 35 | # define BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING 36 | #endif 37 | 38 | 39 | #endif // BOOST_MPL_AUX_CONFIG_PREPROCESSOR_HPP_INCLUDED 40 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/static_constant.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_STATIC_CONSTANT_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_STATIC_CONSTANT_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: static_constant.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #if !defined(BOOST_MPL_PREPROCESSING_MODE) 18 | // BOOST_STATIC_CONSTANT is defined here: 19 | # include 20 | #else 21 | // undef the macro for the preprocessing mode 22 | # undef BOOST_STATIC_CONSTANT 23 | #endif 24 | 25 | #endif // BOOST_MPL_AUX_CONFIG_STATIC_CONSTANT_HPP_INCLUDED 26 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/ttp.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_TTP_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_TTP_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: ttp.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | #include 20 | 21 | #if !defined(BOOST_MPL_CFG_NO_TEMPLATE_TEMPLATE_PARAMETERS) \ 22 | && ( defined(BOOST_NO_TEMPLATE_TEMPLATES) \ 23 | || BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x590) ) \ 24 | ) 25 | 26 | # define BOOST_MPL_CFG_NO_TEMPLATE_TEMPLATE_PARAMETERS 27 | 28 | #endif 29 | 30 | 31 | #if !defined(BOOST_MPL_CFG_EXTENDED_TEMPLATE_PARAMETERS_MATCHING) \ 32 | && !defined(BOOST_MPL_PREPROCESSING_MODE) \ 33 | && ( BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, BOOST_TESTED_AT(0x0302)) \ 34 | || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) \ 35 | ) 36 | 37 | # define BOOST_MPL_CFG_EXTENDED_TEMPLATE_PARAMETERS_MATCHING 38 | 39 | #endif 40 | 41 | #endif // BOOST_MPL_AUX_CONFIG_TTP_HPP_INCLUDED 42 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/config/workaround.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_WORKAROUND_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_WORKAROUND_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: workaround.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_AUX_CONFIG_WORKAROUND_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/lambda_arity_param.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_LAMBDA_ARITY_PARAM_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_LAMBDA_ARITY_PARAM_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2001-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: lambda_arity_param.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | #if !defined(BOOST_MPL_CFG_EXTENDED_TEMPLATE_PARAMETERS_MATCHING) 20 | # define BOOST_MPL_AUX_LAMBDA_ARITY_PARAM(param) 21 | #else 22 | # define BOOST_MPL_AUX_LAMBDA_ARITY_PARAM(param) , param 23 | #endif 24 | 25 | #endif // BOOST_MPL_AUX_LAMBDA_ARITY_PARAM_HPP_INCLUDED 26 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/na.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_NA_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_NA_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2001-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: na.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | 22 | namespace boost { namespace mpl { 23 | 24 | template< typename T > 25 | struct is_na 26 | : false_ 27 | { 28 | #if BOOST_WORKAROUND(BOOST_MSVC, < 1300) 29 | using false_::value; 30 | #endif 31 | }; 32 | 33 | template<> 34 | struct is_na 35 | : true_ 36 | { 37 | #if BOOST_WORKAROUND(BOOST_MSVC, < 1300) 38 | using true_::value; 39 | #endif 40 | }; 41 | 42 | template< typename T > 43 | struct is_not_na 44 | : true_ 45 | { 46 | #if BOOST_WORKAROUND(BOOST_MSVC, < 1300) 47 | using true_::value; 48 | #endif 49 | }; 50 | 51 | template<> 52 | struct is_not_na 53 | : false_ 54 | { 55 | #if BOOST_WORKAROUND(BOOST_MSVC, < 1300) 56 | using false_::value; 57 | #endif 58 | }; 59 | 60 | #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) 61 | template< typename T, typename U > struct if_na 62 | { 63 | typedef T type; 64 | }; 65 | 66 | template< typename U > struct if_na 67 | { 68 | typedef U type; 69 | }; 70 | #else 71 | template< typename T > struct if_na_impl 72 | { 73 | template< typename U > struct apply 74 | { 75 | typedef T type; 76 | }; 77 | }; 78 | 79 | template<> struct if_na_impl 80 | { 81 | template< typename U > struct apply 82 | { 83 | typedef U type; 84 | }; 85 | }; 86 | 87 | template< typename T, typename U > struct if_na 88 | : if_na_impl::template apply 89 | { 90 | }; 91 | #endif 92 | 93 | }} 94 | 95 | #endif // BOOST_MPL_AUX_NA_HPP_INCLUDED 96 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/na_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_NA_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_NA_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2001-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: na_fwd.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN 20 | 21 | // n.a. == not available 22 | struct na 23 | { 24 | typedef na type; 25 | enum { value = 0 }; 26 | }; 27 | 28 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE 29 | BOOST_MPL_AUX_ADL_BARRIER_DECL(na) 30 | 31 | #endif // BOOST_MPL_AUX_NA_FWD_HPP_INCLUDED 32 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/nttp_decl.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_NTTP_DECL_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_NTTP_DECL_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2001-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: nttp_decl.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | #if defined(BOOST_MPL_CFG_NTTP_BUG) 20 | 21 | typedef bool _mpl_nttp_bool; 22 | typedef int _mpl_nttp_int; 23 | typedef unsigned _mpl_nttp_unsigned; 24 | typedef long _mpl_nttp_long; 25 | 26 | # include 27 | # define BOOST_MPL_AUX_NTTP_DECL(T, x) BOOST_PP_CAT(_mpl_nttp_,T) x /**/ 28 | 29 | #else 30 | 31 | # define BOOST_MPL_AUX_NTTP_DECL(T, x) T x /**/ 32 | 33 | #endif 34 | 35 | #endif // BOOST_MPL_AUX_NTTP_DECL_HPP_INCLUDED 36 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/preprocessor/enum.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_PREPROCESSOR_ENUM_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_PREPROCESSOR_ENUM_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: enum.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | // BOOST_MPL_PP_ENUM(0,int): 20 | // BOOST_MPL_PP_ENUM(1,int): int 21 | // BOOST_MPL_PP_ENUM(2,int): int, int 22 | // BOOST_MPL_PP_ENUM(n,int): int, int, .., int 23 | 24 | #if !defined(BOOST_MPL_CFG_NO_OWN_PP_PRIMITIVES) 25 | 26 | # include 27 | 28 | # define BOOST_MPL_PP_ENUM(n, param) \ 29 | BOOST_PP_CAT(BOOST_MPL_PP_ENUM_,n)(param) \ 30 | /**/ 31 | 32 | # define BOOST_MPL_PP_ENUM_0(p) 33 | # define BOOST_MPL_PP_ENUM_1(p) p 34 | # define BOOST_MPL_PP_ENUM_2(p) p,p 35 | # define BOOST_MPL_PP_ENUM_3(p) p,p,p 36 | # define BOOST_MPL_PP_ENUM_4(p) p,p,p,p 37 | # define BOOST_MPL_PP_ENUM_5(p) p,p,p,p,p 38 | # define BOOST_MPL_PP_ENUM_6(p) p,p,p,p,p,p 39 | # define BOOST_MPL_PP_ENUM_7(p) p,p,p,p,p,p,p 40 | # define BOOST_MPL_PP_ENUM_8(p) p,p,p,p,p,p,p,p 41 | # define BOOST_MPL_PP_ENUM_9(p) p,p,p,p,p,p,p,p,p 42 | 43 | #else 44 | 45 | # include 46 | # include 47 | 48 | # define BOOST_MPL_PP_AUX_ENUM_FUNC(unused, i, param) \ 49 | BOOST_PP_COMMA_IF(i) param \ 50 | /**/ 51 | 52 | # define BOOST_MPL_PP_ENUM(n, param) \ 53 | BOOST_PP_REPEAT( \ 54 | n \ 55 | , BOOST_MPL_PP_AUX_ENUM_FUNC \ 56 | , param \ 57 | ) \ 58 | /**/ 59 | 60 | #endif 61 | 62 | #endif // BOOST_MPL_AUX_PREPROCESSOR_ENUM_HPP_INCLUDED 63 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/preprocessor/filter_params.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_PREPROCESSOR_FILTER_PARAMS_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_PREPROCESSOR_FILTER_PARAMS_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: filter_params.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #define BOOST_MPL_PP_FILTER_PARAMS_0(p1,p2,p3,p4,p5,p6,p7,p8,p9) 18 | #define BOOST_MPL_PP_FILTER_PARAMS_1(p1,p2,p3,p4,p5,p6,p7,p8,p9) p1 19 | #define BOOST_MPL_PP_FILTER_PARAMS_2(p1,p2,p3,p4,p5,p6,p7,p8,p9) p1,p2 20 | #define BOOST_MPL_PP_FILTER_PARAMS_3(p1,p2,p3,p4,p5,p6,p7,p8,p9) p1,p2,p3 21 | #define BOOST_MPL_PP_FILTER_PARAMS_4(p1,p2,p3,p4,p5,p6,p7,p8,p9) p1,p2,p3,p4 22 | #define BOOST_MPL_PP_FILTER_PARAMS_5(p1,p2,p3,p4,p5,p6,p7,p8,p9) p1,p2,p3,p4,p5 23 | #define BOOST_MPL_PP_FILTER_PARAMS_6(p1,p2,p3,p4,p5,p6,p7,p8,p9) p1,p2,p3,p4,p5,p6 24 | #define BOOST_MPL_PP_FILTER_PARAMS_7(p1,p2,p3,p4,p5,p6,p7,p8,p9) p1,p2,p3,p4,p5,p6,p7 25 | #define BOOST_MPL_PP_FILTER_PARAMS_8(p1,p2,p3,p4,p5,p6,p7,p8,p9) p1,p2,p3,p4,p5,p6,p7,p8 26 | #define BOOST_MPL_PP_FILTER_PARAMS_9(p1,p2,p3,p4,p5,p6,p7,p8,p9) p1,p2,p3,p4,p5,p6,p7,p8,p9 27 | 28 | #endif // BOOST_MPL_AUX_PREPROCESSOR_FILTER_PARAMS_HPP_INCLUDED 29 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/preprocessor/params.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_PREPROCESSOR_PARAMS_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_PREPROCESSOR_PARAMS_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: params.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | // BOOST_MPL_PP_PARAMS(0,T): 20 | // BOOST_MPL_PP_PARAMS(1,T): T1 21 | // BOOST_MPL_PP_PARAMS(2,T): T1, T2 22 | // BOOST_MPL_PP_PARAMS(n,T): T1, T2, .., Tn 23 | 24 | #if !defined(BOOST_MPL_CFG_NO_OWN_PP_PRIMITIVES) 25 | 26 | # include 27 | 28 | # define BOOST_MPL_PP_PARAMS(n,p) \ 29 | BOOST_PP_CAT(BOOST_MPL_PP_PARAMS_,n)(p) \ 30 | /**/ 31 | 32 | # define BOOST_MPL_PP_PARAMS_0(p) 33 | # define BOOST_MPL_PP_PARAMS_1(p) p##1 34 | # define BOOST_MPL_PP_PARAMS_2(p) p##1,p##2 35 | # define BOOST_MPL_PP_PARAMS_3(p) p##1,p##2,p##3 36 | # define BOOST_MPL_PP_PARAMS_4(p) p##1,p##2,p##3,p##4 37 | # define BOOST_MPL_PP_PARAMS_5(p) p##1,p##2,p##3,p##4,p##5 38 | # define BOOST_MPL_PP_PARAMS_6(p) p##1,p##2,p##3,p##4,p##5,p##6 39 | # define BOOST_MPL_PP_PARAMS_7(p) p##1,p##2,p##3,p##4,p##5,p##6,p##7 40 | # define BOOST_MPL_PP_PARAMS_8(p) p##1,p##2,p##3,p##4,p##5,p##6,p##7,p##8 41 | # define BOOST_MPL_PP_PARAMS_9(p) p##1,p##2,p##3,p##4,p##5,p##6,p##7,p##8,p##9 42 | 43 | #else 44 | 45 | # include 46 | # include 47 | # include 48 | # include 49 | 50 | # define BOOST_MPL_PP_AUX_PARAM_FUNC(unused, i, param) \ 51 | BOOST_PP_COMMA_IF(i) \ 52 | BOOST_PP_CAT(param, BOOST_PP_INC(i)) \ 53 | /**/ 54 | 55 | # define BOOST_MPL_PP_PARAMS(n, param) \ 56 | BOOST_PP_REPEAT( \ 57 | n \ 58 | , BOOST_MPL_PP_AUX_PARAM_FUNC \ 59 | , param \ 60 | ) \ 61 | /**/ 62 | 63 | #endif 64 | 65 | #endif // BOOST_MPL_AUX_PREPROCESSOR_PARAMS_HPP_INCLUDED 66 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/preprocessor/sub.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_PREPROCESSOR_SUB_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_PREPROCESSOR_SUB_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: sub.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | #if !defined(BOOST_MPL_CFG_NO_OWN_PP_PRIMITIVES) 20 | 21 | # include 22 | 23 | #if defined(BOOST_MPL_CFG_BROKEN_PP_MACRO_EXPANSION) 24 | # include 25 | 26 | # define BOOST_MPL_PP_SUB(i,j) \ 27 | BOOST_MPL_PP_SUB_DELAY(i,j) \ 28 | /**/ 29 | 30 | # define BOOST_MPL_PP_SUB_DELAY(i,j) \ 31 | BOOST_PP_CAT(BOOST_MPL_PP_TUPLE_11_ELEM_##i,BOOST_MPL_PP_SUB_##j) \ 32 | /**/ 33 | #else 34 | # define BOOST_MPL_PP_SUB(i,j) \ 35 | BOOST_MPL_PP_SUB_DELAY(i,j) \ 36 | /**/ 37 | 38 | # define BOOST_MPL_PP_SUB_DELAY(i,j) \ 39 | BOOST_MPL_PP_TUPLE_11_ELEM_##i BOOST_MPL_PP_SUB_##j \ 40 | /**/ 41 | #endif 42 | 43 | # define BOOST_MPL_PP_SUB_0 (0,1,2,3,4,5,6,7,8,9,10) 44 | # define BOOST_MPL_PP_SUB_1 (0,0,1,2,3,4,5,6,7,8,9) 45 | # define BOOST_MPL_PP_SUB_2 (0,0,0,1,2,3,4,5,6,7,8) 46 | # define BOOST_MPL_PP_SUB_3 (0,0,0,0,1,2,3,4,5,6,7) 47 | # define BOOST_MPL_PP_SUB_4 (0,0,0,0,0,1,2,3,4,5,6) 48 | # define BOOST_MPL_PP_SUB_5 (0,0,0,0,0,0,1,2,3,4,5) 49 | # define BOOST_MPL_PP_SUB_6 (0,0,0,0,0,0,0,1,2,3,4) 50 | # define BOOST_MPL_PP_SUB_7 (0,0,0,0,0,0,0,0,1,2,3) 51 | # define BOOST_MPL_PP_SUB_8 (0,0,0,0,0,0,0,0,0,1,2) 52 | # define BOOST_MPL_PP_SUB_9 (0,0,0,0,0,0,0,0,0,0,1) 53 | # define BOOST_MPL_PP_SUB_10 (0,0,0,0,0,0,0,0,0,0,0) 54 | 55 | #else 56 | 57 | # include 58 | 59 | # define BOOST_MPL_PP_SUB(i,j) \ 60 | BOOST_PP_SUB(i,j) \ 61 | /**/ 62 | 63 | #endif 64 | 65 | #endif // BOOST_MPL_AUX_PREPROCESSOR_SUB_HPP_INCLUDED 66 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/preprocessor/tuple.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_PREPROCESSOR_TUPLE_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_PREPROCESSOR_TUPLE_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: tuple.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #define BOOST_MPL_PP_TUPLE_11_ELEM_0(e0,e1,e2,e3,e4,e5,e6,e7,e8,e9,e10) e0 18 | #define BOOST_MPL_PP_TUPLE_11_ELEM_1(e0,e1,e2,e3,e4,e5,e6,e7,e8,e9,e10) e1 19 | #define BOOST_MPL_PP_TUPLE_11_ELEM_2(e0,e1,e2,e3,e4,e5,e6,e7,e8,e9,e10) e2 20 | #define BOOST_MPL_PP_TUPLE_11_ELEM_3(e0,e1,e2,e3,e4,e5,e6,e7,e8,e9,e10) e3 21 | #define BOOST_MPL_PP_TUPLE_11_ELEM_4(e0,e1,e2,e3,e4,e5,e6,e7,e8,e9,e10) e4 22 | #define BOOST_MPL_PP_TUPLE_11_ELEM_5(e0,e1,e2,e3,e4,e5,e6,e7,e8,e9,e10) e5 23 | #define BOOST_MPL_PP_TUPLE_11_ELEM_6(e0,e1,e2,e3,e4,e5,e6,e7,e8,e9,e10) e6 24 | #define BOOST_MPL_PP_TUPLE_11_ELEM_7(e0,e1,e2,e3,e4,e5,e6,e7,e8,e9,e10) e7 25 | #define BOOST_MPL_PP_TUPLE_11_ELEM_8(e0,e1,e2,e3,e4,e5,e6,e7,e8,e9,e10) e8 26 | #define BOOST_MPL_PP_TUPLE_11_ELEM_9(e0,e1,e2,e3,e4,e5,e6,e7,e8,e9,e10) e9 27 | #define BOOST_MPL_PP_TUPLE_11_ELEM_10(e0,e1,e2,e3,e4,e5,e6,e7,e8,e9,e10) e10 28 | 29 | #endif // BOOST_MPL_AUX_PREPROCESSOR_TUPLE_HPP_INCLUDED 30 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/static_cast.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_STATIC_CAST_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_STATIC_CAST_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2001-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: static_cast.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x561)) \ 20 | || BOOST_WORKAROUND(__GNUC__, < 3) \ 21 | || BOOST_WORKAROUND(__MWERKS__, <= 0x3001) 22 | # define BOOST_MPL_AUX_STATIC_CAST(T, expr) (T)(expr) 23 | #else 24 | # define BOOST_MPL_AUX_STATIC_CAST(T, expr) static_cast(expr) 25 | #endif 26 | 27 | #endif // BOOST_MPL_AUX_STATIC_CAST_HPP_INCLUDED 28 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/template_arity_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_TEMPLATE_ARITY_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_TEMPLATE_ARITY_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2001-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: template_arity_fwd.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | namespace boost { namespace mpl { namespace aux { 18 | 19 | template< typename F > struct template_arity; 20 | 21 | }}} 22 | 23 | #endif // BOOST_MPL_AUX_TEMPLATE_ARITY_FWD_HPP_INCLUDED 24 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/value_wknd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_VALUE_WKND_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_VALUE_WKND_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: value_wknd.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | 22 | #if defined(BOOST_MPL_CFG_BCC_INTEGRAL_CONSTANTS) \ 23 | || defined(BOOST_MPL_CFG_MSVC_60_ETI_BUG) 24 | 25 | # include 26 | 27 | namespace boost { namespace mpl { namespace aux { 28 | template< typename C_ > struct value_wknd 29 | : C_ 30 | { 31 | }; 32 | 33 | #if defined(BOOST_MPL_CFG_MSVC_60_ETI_BUG) 34 | template<> struct value_wknd 35 | : int_<1> 36 | { 37 | using int_<1>::value; 38 | }; 39 | #endif 40 | }}} 41 | 42 | 43 | #if !defined(BOOST_MPL_CFG_MSVC_60_ETI_BUG) 44 | # define BOOST_MPL_AUX_VALUE_WKND(C) \ 45 | ::BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE::aux::value_wknd< C > \ 46 | /**/ 47 | # define BOOST_MPL_AUX_MSVC_VALUE_WKND(C) BOOST_MPL_AUX_VALUE_WKND(C) 48 | #else 49 | # define BOOST_MPL_AUX_VALUE_WKND(C) C 50 | # define BOOST_MPL_AUX_MSVC_VALUE_WKND(C) \ 51 | ::boost::mpl::aux::value_wknd< C > \ 52 | /**/ 53 | #endif 54 | 55 | #else // BOOST_MPL_CFG_BCC_INTEGRAL_CONSTANTS 56 | 57 | # define BOOST_MPL_AUX_VALUE_WKND(C) C 58 | # define BOOST_MPL_AUX_MSVC_VALUE_WKND(C) C 59 | 60 | #endif 61 | 62 | #if BOOST_WORKAROUND(__EDG_VERSION__, <= 238) 63 | # define BOOST_MPL_AUX_NESTED_VALUE_WKND(T, C) \ 64 | BOOST_MPL_AUX_STATIC_CAST(T, C::value) \ 65 | /**/ 66 | #else 67 | # define BOOST_MPL_AUX_NESTED_VALUE_WKND(T, C) \ 68 | BOOST_MPL_AUX_VALUE_WKND(C)::value \ 69 | /**/ 70 | #endif 71 | 72 | 73 | namespace boost { namespace mpl { namespace aux { 74 | 75 | template< typename T > struct value_type_wknd 76 | { 77 | typedef typename T::value_type type; 78 | }; 79 | 80 | #if defined(BOOST_MPL_CFG_MSVC_ETI_BUG) 81 | template<> struct value_type_wknd 82 | { 83 | typedef int type; 84 | }; 85 | #endif 86 | 87 | }}} 88 | 89 | #endif // BOOST_MPL_AUX_VALUE_WKND_HPP_INCLUDED 90 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/aux_/yes_no.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_YES_NO_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_YES_NO_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: yes_no.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | 22 | 23 | namespace boost { namespace mpl { namespace aux { 24 | 25 | typedef char (&no_tag)[1]; 26 | typedef char (&yes_tag)[2]; 27 | 28 | template< bool C_ > struct yes_no_tag 29 | { 30 | typedef no_tag type; 31 | }; 32 | 33 | template<> struct yes_no_tag 34 | { 35 | typedef yes_tag type; 36 | }; 37 | 38 | 39 | template< BOOST_MPL_AUX_NTTP_DECL(long, n) > struct weighted_tag 40 | { 41 | #if !BOOST_WORKAROUND(BOOST_MSVC, < 1300) 42 | typedef char (&type)[n]; 43 | #else 44 | char buf[n]; 45 | typedef weighted_tag type; 46 | #endif 47 | }; 48 | 49 | #if defined(BOOST_MPL_CFG_NO_DEPENDENT_ARRAY_TYPES) 50 | template<> struct weighted_tag<0> 51 | { 52 | typedef char (&type)[1]; 53 | }; 54 | #endif 55 | 56 | }}} 57 | 58 | #endif // BOOST_MPL_AUX_YES_NO_HPP_INCLUDED 59 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/bool.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_BOOL_HPP_INCLUDED 3 | #define BOOST_MPL_BOOL_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: bool.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | #include 20 | 21 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN 22 | 23 | template< bool C_ > struct bool_ 24 | { 25 | BOOST_STATIC_CONSTANT(bool, value = C_); 26 | typedef integral_c_tag tag; 27 | typedef bool_ type; 28 | typedef bool value_type; 29 | operator bool() const { return this->value; } 30 | }; 31 | 32 | #if !defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION) 33 | template< bool C_ > 34 | bool const bool_::value; 35 | #endif 36 | 37 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE 38 | 39 | #endif // BOOST_MPL_BOOL_HPP_INCLUDED 40 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/bool_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_BOOL_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_BOOL_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: bool_fwd.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN 20 | 21 | template< bool C_ > struct bool_; 22 | 23 | // shorcuts 24 | typedef bool_ true_; 25 | typedef bool_ false_; 26 | 27 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE 28 | 29 | BOOST_MPL_AUX_ADL_BARRIER_DECL(bool_) 30 | BOOST_MPL_AUX_ADL_BARRIER_DECL(true_) 31 | BOOST_MPL_AUX_ADL_BARRIER_DECL(false_) 32 | 33 | #endif // BOOST_MPL_BOOL_FWD_HPP_INCLUDED 34 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/eval_if.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_EVAL_IF_HPP_INCLUDED 3 | #define BOOST_MPL_EVAL_IF_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: eval_if.hpp 61921 2010-05-11 21:33:24Z neilgroves $ 14 | // $Date: 2010-05-11 14:33:24 -0700 (Tue, 11 May 2010) $ 15 | // $Revision: 61921 $ 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | 24 | namespace boost { namespace mpl { 25 | 26 | template< 27 | typename BOOST_MPL_AUX_NA_PARAM(C) 28 | , typename BOOST_MPL_AUX_NA_PARAM(F1) 29 | , typename BOOST_MPL_AUX_NA_PARAM(F2) 30 | > 31 | struct eval_if 32 | #if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \ 33 | || ( BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, >= 0x0300) \ 34 | && BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, BOOST_TESTED_AT(0x0304)) \ 35 | ) 36 | { 37 | typedef typename if_::type f_; 38 | typedef typename f_::type type; 39 | #else 40 | : if_::type 41 | { 42 | #endif 43 | BOOST_MPL_AUX_LAMBDA_SUPPORT(3,eval_if,(C,F1,F2)) 44 | }; 45 | 46 | // (almost) copy & paste in order to save one more 47 | // recursively nested template instantiation to user 48 | template< 49 | bool C 50 | , typename F1 51 | , typename F2 52 | > 53 | struct eval_if_c 54 | #if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \ 55 | || ( BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, >= 0x0300) \ 56 | && BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, BOOST_TESTED_AT(0x0304)) \ 57 | ) 58 | { 59 | typedef typename if_c::type f_; 60 | typedef typename f_::type type; 61 | #else 62 | : if_c::type 63 | { 64 | #endif 65 | }; 66 | 67 | BOOST_MPL_AUX_NA_SPEC(3, eval_if) 68 | 69 | }} 70 | 71 | #endif // BOOST_MPL_EVAL_IF_HPP_INCLUDED 72 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/identity.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_IDENTITY_HPP_INCLUDED 3 | #define BOOST_MPL_IDENTITY_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: identity.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | 20 | namespace boost { namespace mpl { 21 | 22 | template< 23 | typename BOOST_MPL_AUX_NA_PARAM(T) 24 | > 25 | struct identity 26 | { 27 | typedef T type; 28 | BOOST_MPL_AUX_LAMBDA_SUPPORT(1, identity, (T)) 29 | }; 30 | 31 | template< 32 | typename BOOST_MPL_AUX_NA_PARAM(T) 33 | > 34 | struct make_identity 35 | { 36 | typedef identity type; 37 | BOOST_MPL_AUX_LAMBDA_SUPPORT(1, make_identity, (T)) 38 | }; 39 | 40 | BOOST_MPL_AUX_NA_SPEC_NO_ETI(1, identity) 41 | BOOST_MPL_AUX_NA_SPEC_NO_ETI(1, make_identity) 42 | 43 | }} 44 | 45 | #endif // BOOST_MPL_IDENTITY_HPP_INCLUDED 46 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/int.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_INT_HPP_INCLUDED 3 | #define BOOST_MPL_INT_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: int.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | #define AUX_WRAPPER_VALUE_TYPE int 20 | #include 21 | 22 | #endif // BOOST_MPL_INT_HPP_INCLUDED 23 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/int_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_INT_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_INT_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: int_fwd.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | 20 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN 21 | 22 | template< BOOST_MPL_AUX_NTTP_DECL(int, N) > struct int_; 23 | 24 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE 25 | BOOST_MPL_AUX_ADL_BARRIER_DECL(int_) 26 | 27 | #endif // BOOST_MPL_INT_FWD_HPP_INCLUDED 28 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/integral_c.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_INTEGRAL_C_HPP_INCLUDED 3 | #define BOOST_MPL_INTEGRAL_C_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2006 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: integral_c.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | 22 | #if BOOST_WORKAROUND(__HP_aCC, <= 53800) 23 | // the type of non-type template arguments may not depend on template arguments 24 | # define AUX_WRAPPER_PARAMS(N) typename T, long N 25 | #else 26 | # define AUX_WRAPPER_PARAMS(N) typename T, T N 27 | #endif 28 | 29 | #define AUX_WRAPPER_NAME integral_c 30 | #define AUX_WRAPPER_VALUE_TYPE T 31 | #define AUX_WRAPPER_INST(value) AUX_WRAPPER_NAME< T, value > 32 | #include 33 | 34 | 35 | #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \ 36 | && !BOOST_WORKAROUND(__BORLANDC__, <= 0x551) 37 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN 38 | // 'bool' constant doesn't have 'next'/'prior' members 39 | template< bool C > 40 | struct integral_c 41 | { 42 | BOOST_STATIC_CONSTANT(bool, value = C); 43 | typedef integral_c_tag tag; 44 | typedef integral_c type; 45 | typedef bool value_type; 46 | operator bool() const { return this->value; } 47 | }; 48 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE 49 | #endif 50 | 51 | #endif // BOOST_MPL_INTEGRAL_C_HPP_INCLUDED 52 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/integral_c_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_INTEGRAL_C_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_INTEGRAL_C_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2006 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: integral_c_fwd.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | 20 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN 21 | 22 | #if BOOST_WORKAROUND(__HP_aCC, <= 53800) 23 | // the type of non-type template arguments may not depend on template arguments 24 | template< typename T, long N > struct integral_c; 25 | #else 26 | template< typename T, T N > struct integral_c; 27 | #endif 28 | 29 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE 30 | BOOST_MPL_AUX_ADL_BARRIER_DECL(integral_c) 31 | 32 | #endif // BOOST_MPL_INTEGRAL_C_FWD_HPP_INCLUDED 33 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/integral_c_tag.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_INTEGRAL_C_TAG_HPP_INCLUDED 3 | #define BOOST_MPL_INTEGRAL_C_TAG_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: integral_c_tag.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | 18 | #include 19 | #include 20 | 21 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN 22 | struct integral_c_tag { BOOST_STATIC_CONSTANT(int, value = 0); }; 23 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE 24 | BOOST_MPL_AUX_ADL_BARRIER_DECL(integral_c_tag) 25 | 26 | #endif // BOOST_MPL_INTEGRAL_C_TAG_HPP_INCLUDED 27 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/lambda_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LAMBDA_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_LAMBDA_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2001-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: lambda_fwd.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | #include 19 | #include 20 | 21 | #if !defined(BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT) 22 | 23 | # include 24 | # include 25 | # include 26 | 27 | namespace boost { namespace mpl { 28 | 29 | template< 30 | typename T = na 31 | , typename Tag = void_ 32 | BOOST_MPL_AUX_LAMBDA_ARITY_PARAM( 33 | typename Arity = int_< aux::template_arity::value > 34 | ) 35 | > 36 | struct lambda; 37 | 38 | }} 39 | 40 | #else // BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT 41 | 42 | # include 43 | 44 | namespace boost { namespace mpl { 45 | 46 | template< 47 | typename T = na 48 | , typename Tag = void_ 49 | , typename Protect = true_ 50 | > 51 | struct lambda; 52 | 53 | }} 54 | 55 | #endif 56 | 57 | #endif // BOOST_MPL_LAMBDA_FWD_HPP_INCLUDED 58 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/limits/arity.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LIMITS_ARITY_HPP_INCLUDED 3 | #define BOOST_MPL_LIMITS_ARITY_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: arity.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #if !defined(BOOST_MPL_LIMIT_METAFUNCTION_ARITY) 18 | # define BOOST_MPL_LIMIT_METAFUNCTION_ARITY 5 19 | #endif 20 | 21 | #endif // BOOST_MPL_LIMITS_ARITY_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/mpl/void_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_VOID_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_VOID_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2001-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: void_fwd.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ 14 | // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ 15 | // $Revision: 49267 $ 16 | 17 | #include 18 | 19 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN 20 | 21 | struct void_; 22 | 23 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE 24 | BOOST_MPL_AUX_ADL_BARRIER_DECL(void_) 25 | 26 | #endif // BOOST_MPL_VOID_FWD_HPP_INCLUDED 27 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/arithmetic/add.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_ARITHMETIC_ADD_HPP 15 | # define BOOST_PREPROCESSOR_ARITHMETIC_ADD_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # include 21 | # include 22 | # 23 | # /* BOOST_PP_ADD */ 24 | # 25 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 26 | # define BOOST_PP_ADD(x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE(BOOST_PP_ADD_P, BOOST_PP_ADD_O, (x, y))) 27 | # else 28 | # define BOOST_PP_ADD(x, y) BOOST_PP_ADD_I(x, y) 29 | # define BOOST_PP_ADD_I(x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE(BOOST_PP_ADD_P, BOOST_PP_ADD_O, (x, y))) 30 | # endif 31 | # 32 | # define BOOST_PP_ADD_P(d, xy) BOOST_PP_TUPLE_ELEM(2, 1, xy) 33 | # 34 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() 35 | # define BOOST_PP_ADD_O(d, xy) BOOST_PP_ADD_O_I xy 36 | # else 37 | # define BOOST_PP_ADD_O(d, xy) BOOST_PP_ADD_O_I(BOOST_PP_TUPLE_ELEM(2, 0, xy), BOOST_PP_TUPLE_ELEM(2, 1, xy)) 38 | # endif 39 | # 40 | # define BOOST_PP_ADD_O_I(x, y) (BOOST_PP_INC(x), BOOST_PP_DEC(y)) 41 | # 42 | # /* BOOST_PP_ADD_D */ 43 | # 44 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 45 | # define BOOST_PP_ADD_D(d, x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_ADD_P, BOOST_PP_ADD_O, (x, y))) 46 | # else 47 | # define BOOST_PP_ADD_D(d, x, y) BOOST_PP_ADD_D_I(d, x, y) 48 | # define BOOST_PP_ADD_D_I(d, x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_ADD_P, BOOST_PP_ADD_O, (x, y))) 49 | # endif 50 | # 51 | # endif 52 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/arithmetic/sub.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_ARITHMETIC_SUB_HPP 15 | # define BOOST_PREPROCESSOR_ARITHMETIC_SUB_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # include 21 | # 22 | # /* BOOST_PP_SUB */ 23 | # 24 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 25 | # define BOOST_PP_SUB(x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE(BOOST_PP_SUB_P, BOOST_PP_SUB_O, (x, y))) 26 | # else 27 | # define BOOST_PP_SUB(x, y) BOOST_PP_SUB_I(x, y) 28 | # define BOOST_PP_SUB_I(x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE(BOOST_PP_SUB_P, BOOST_PP_SUB_O, (x, y))) 29 | # endif 30 | # 31 | # define BOOST_PP_SUB_P(d, xy) BOOST_PP_TUPLE_ELEM(2, 1, xy) 32 | # 33 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() 34 | # define BOOST_PP_SUB_O(d, xy) BOOST_PP_SUB_O_I xy 35 | # else 36 | # define BOOST_PP_SUB_O(d, xy) BOOST_PP_SUB_O_I(BOOST_PP_TUPLE_ELEM(2, 0, xy), BOOST_PP_TUPLE_ELEM(2, 1, xy)) 37 | # endif 38 | # 39 | # define BOOST_PP_SUB_O_I(x, y) (BOOST_PP_DEC(x), BOOST_PP_DEC(y)) 40 | # 41 | # /* BOOST_PP_SUB_D */ 42 | # 43 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 44 | # define BOOST_PP_SUB_D(d, x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_SUB_P, BOOST_PP_SUB_O, (x, y))) 45 | # else 46 | # define BOOST_PP_SUB_D(d, x, y) BOOST_PP_SUB_D_I(d, x, y) 47 | # define BOOST_PP_SUB_D_I(d, x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_SUB_P, BOOST_PP_SUB_O, (x, y))) 48 | # endif 49 | # 50 | # endif 51 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/array/data.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_ARRAY_DATA_HPP 13 | # define BOOST_PREPROCESSOR_ARRAY_DATA_HPP 14 | # 15 | # include 16 | # include 17 | # 18 | # /* BOOST_PP_ARRAY_DATA */ 19 | # 20 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 21 | # define BOOST_PP_ARRAY_DATA(array) BOOST_PP_TUPLE_ELEM(2, 1, array) 22 | # else 23 | # define BOOST_PP_ARRAY_DATA(array) BOOST_PP_ARRAY_DATA_I(array) 24 | # define BOOST_PP_ARRAY_DATA_I(array) BOOST_PP_ARRAY_DATA_II array 25 | # define BOOST_PP_ARRAY_DATA_II(size, data) data 26 | # endif 27 | # 28 | # endif 29 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/array/elem.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_ARRAY_ELEM_HPP 13 | # define BOOST_PREPROCESSOR_ARRAY_ELEM_HPP 14 | # 15 | # include 16 | # include 17 | # include 18 | # include 19 | # 20 | # /* BOOST_PP_ARRAY_ELEM */ 21 | # 22 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 23 | # define BOOST_PP_ARRAY_ELEM(i, array) BOOST_PP_TUPLE_ELEM(BOOST_PP_ARRAY_SIZE(array), i, BOOST_PP_ARRAY_DATA(array)) 24 | # else 25 | # define BOOST_PP_ARRAY_ELEM(i, array) BOOST_PP_ARRAY_ELEM_I(i, array) 26 | # define BOOST_PP_ARRAY_ELEM_I(i, array) BOOST_PP_TUPLE_ELEM(BOOST_PP_ARRAY_SIZE(array), i, BOOST_PP_ARRAY_DATA(array)) 27 | # endif 28 | # 29 | # endif 30 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/array/size.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_ARRAY_SIZE_HPP 13 | # define BOOST_PREPROCESSOR_ARRAY_SIZE_HPP 14 | # 15 | # include 16 | # include 17 | # 18 | # /* BOOST_PP_ARRAY_SIZE */ 19 | # 20 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 21 | # define BOOST_PP_ARRAY_SIZE(array) BOOST_PP_TUPLE_ELEM(2, 0, array) 22 | # else 23 | # define BOOST_PP_ARRAY_SIZE(array) BOOST_PP_ARRAY_SIZE_I(array) 24 | # define BOOST_PP_ARRAY_SIZE_I(array) BOOST_PP_ARRAY_SIZE_II array 25 | # define BOOST_PP_ARRAY_SIZE_II(size, data) size 26 | # endif 27 | # 28 | # endif 29 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/cat.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_CAT_HPP 15 | # define BOOST_PREPROCESSOR_CAT_HPP 16 | # 17 | # include 18 | # 19 | # /* BOOST_PP_CAT */ 20 | # 21 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() 22 | # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b) 23 | # else 24 | # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_OO((a, b)) 25 | # define BOOST_PP_CAT_OO(par) BOOST_PP_CAT_I ## par 26 | # endif 27 | # 28 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC() 29 | # define BOOST_PP_CAT_I(a, b) a ## b 30 | # else 31 | # define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b) 32 | # define BOOST_PP_CAT_II(p, res) res 33 | # endif 34 | # 35 | # endif 36 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/comma_if.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_COMMA_IF_HPP 13 | # define BOOST_PREPROCESSOR_COMMA_IF_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/control/expr_iif.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_CONTROL_EXPR_IIF_HPP 13 | # define BOOST_PREPROCESSOR_CONTROL_EXPR_IIF_HPP 14 | # 15 | # include 16 | # 17 | # /* BOOST_PP_EXPR_IIF */ 18 | # 19 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() 20 | # define BOOST_PP_EXPR_IIF(bit, expr) BOOST_PP_EXPR_IIF_I(bit, expr) 21 | # else 22 | # define BOOST_PP_EXPR_IIF(bit, expr) BOOST_PP_EXPR_IIF_OO((bit, expr)) 23 | # define BOOST_PP_EXPR_IIF_OO(par) BOOST_PP_EXPR_IIF_I ## par 24 | # endif 25 | # 26 | # define BOOST_PP_EXPR_IIF_I(bit, expr) BOOST_PP_EXPR_IIF_ ## bit(expr) 27 | # 28 | # define BOOST_PP_EXPR_IIF_0(expr) 29 | # define BOOST_PP_EXPR_IIF_1(expr) expr 30 | # 31 | # endif 32 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/control/if.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_CONTROL_IF_HPP 15 | # define BOOST_PREPROCESSOR_CONTROL_IF_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # 21 | # /* BOOST_PP_IF */ 22 | # 23 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 24 | # define BOOST_PP_IF(cond, t, f) BOOST_PP_IIF(BOOST_PP_BOOL(cond), t, f) 25 | # else 26 | # define BOOST_PP_IF(cond, t, f) BOOST_PP_IF_I(cond, t, f) 27 | # define BOOST_PP_IF_I(cond, t, f) BOOST_PP_IIF(BOOST_PP_BOOL(cond), t, f) 28 | # endif 29 | # 30 | # endif 31 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/control/iif.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_CONTROL_IIF_HPP 13 | # define BOOST_PREPROCESSOR_CONTROL_IIF_HPP 14 | # 15 | # include 16 | # 17 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() 18 | # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f) 19 | # else 20 | # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_OO((bit, t, f)) 21 | # define BOOST_PP_IIF_OO(par) BOOST_PP_IIF_I ## par 22 | # endif 23 | # 24 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC() 25 | # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f) 26 | # else 27 | # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_II(BOOST_PP_IIF_ ## bit(t, f)) 28 | # define BOOST_PP_IIF_II(id) id 29 | # endif 30 | # 31 | # define BOOST_PP_IIF_0(t, f) f 32 | # define BOOST_PP_IIF_1(t, f) t 33 | # 34 | # endif 35 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/debug/error.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_DEBUG_ERROR_HPP 13 | # define BOOST_PREPROCESSOR_DEBUG_ERROR_HPP 14 | # 15 | # include 16 | # include 17 | # 18 | # /* BOOST_PP_ERROR */ 19 | # 20 | # if BOOST_PP_CONFIG_ERRORS 21 | # define BOOST_PP_ERROR(code) BOOST_PP_CAT(BOOST_PP_ERROR_, code) 22 | # endif 23 | # 24 | # define BOOST_PP_ERROR_0x0000 BOOST_PP_ERROR(0x0000, BOOST_PP_INDEX_OUT_OF_BOUNDS) 25 | # define BOOST_PP_ERROR_0x0001 BOOST_PP_ERROR(0x0001, BOOST_PP_WHILE_OVERFLOW) 26 | # define BOOST_PP_ERROR_0x0002 BOOST_PP_ERROR(0x0002, BOOST_PP_FOR_OVERFLOW) 27 | # define BOOST_PP_ERROR_0x0003 BOOST_PP_ERROR(0x0003, BOOST_PP_REPEAT_OVERFLOW) 28 | # define BOOST_PP_ERROR_0x0004 BOOST_PP_ERROR(0x0004, BOOST_PP_LIST_FOLD_OVERFLOW) 29 | # define BOOST_PP_ERROR_0x0005 BOOST_PP_ERROR(0x0005, BOOST_PP_SEQ_FOLD_OVERFLOW) 30 | # define BOOST_PP_ERROR_0x0006 BOOST_PP_ERROR(0x0006, BOOST_PP_ARITHMETIC_OVERFLOW) 31 | # define BOOST_PP_ERROR_0x0007 BOOST_PP_ERROR(0x0007, BOOST_PP_DIVISION_BY_ZERO) 32 | # 33 | # endif 34 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/detail/check.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_DETAIL_CHECK_HPP 13 | # define BOOST_PREPROCESSOR_DETAIL_CHECK_HPP 14 | # 15 | # include 16 | # include 17 | # 18 | # /* BOOST_PP_CHECK */ 19 | # 20 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() 21 | # define BOOST_PP_CHECK(x, type) BOOST_PP_CHECK_D(x, type) 22 | # else 23 | # define BOOST_PP_CHECK(x, type) BOOST_PP_CHECK_OO((x, type)) 24 | # define BOOST_PP_CHECK_OO(par) BOOST_PP_CHECK_D ## par 25 | # endif 26 | # 27 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC() && ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_DMC() 28 | # define BOOST_PP_CHECK_D(x, type) BOOST_PP_CHECK_1(BOOST_PP_CAT(BOOST_PP_CHECK_RESULT_, type x)) 29 | # define BOOST_PP_CHECK_1(chk) BOOST_PP_CHECK_2(chk) 30 | # define BOOST_PP_CHECK_2(res, _) res 31 | # elif BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC() 32 | # define BOOST_PP_CHECK_D(x, type) BOOST_PP_CHECK_1(type x) 33 | # define BOOST_PP_CHECK_1(chk) BOOST_PP_CHECK_2(chk) 34 | # define BOOST_PP_CHECK_2(chk) BOOST_PP_CHECK_3((BOOST_PP_CHECK_RESULT_ ## chk)) 35 | # define BOOST_PP_CHECK_3(im) BOOST_PP_CHECK_5(BOOST_PP_CHECK_4 im) 36 | # define BOOST_PP_CHECK_4(res, _) res 37 | # define BOOST_PP_CHECK_5(res) res 38 | # else /* DMC */ 39 | # define BOOST_PP_CHECK_D(x, type) BOOST_PP_CHECK_OO((type x)) 40 | # define BOOST_PP_CHECK_OO(par) BOOST_PP_CHECK_0 ## par 41 | # define BOOST_PP_CHECK_0(chk) BOOST_PP_CHECK_1(BOOST_PP_CAT(BOOST_PP_CHECK_RESULT_, chk)) 42 | # define BOOST_PP_CHECK_1(chk) BOOST_PP_CHECK_2(chk) 43 | # define BOOST_PP_CHECK_2(res, _) res 44 | # endif 45 | # 46 | # define BOOST_PP_CHECK_RESULT_1 1, BOOST_PP_NIL 47 | # 48 | # endif 49 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/detail/is_binary.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_DETAIL_IS_BINARY_HPP 13 | # define BOOST_PREPROCESSOR_DETAIL_IS_BINARY_HPP 14 | # 15 | # include 16 | # include 17 | # 18 | # /* BOOST_PP_IS_BINARY */ 19 | # 20 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 21 | # define BOOST_PP_IS_BINARY(x) BOOST_PP_CHECK(x, BOOST_PP_IS_BINARY_CHECK) 22 | # else 23 | # define BOOST_PP_IS_BINARY(x) BOOST_PP_IS_BINARY_I(x) 24 | # define BOOST_PP_IS_BINARY_I(x) BOOST_PP_CHECK(x, BOOST_PP_IS_BINARY_CHECK) 25 | # endif 26 | # 27 | # define BOOST_PP_IS_BINARY_CHECK(a, b) 1 28 | # define BOOST_PP_CHECK_RESULT_BOOST_PP_IS_BINARY_CHECK 0, BOOST_PP_NIL 29 | # 30 | # endif 31 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/empty.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_EMPTY_HPP 13 | # define BOOST_PREPROCESSOR_EMPTY_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/enum_params.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_ENUM_PARAMS_HPP 13 | # define BOOST_PREPROCESSOR_ENUM_PARAMS_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/facilities/empty.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_FACILITIES_EMPTY_HPP 15 | # define BOOST_PREPROCESSOR_FACILITIES_EMPTY_HPP 16 | # 17 | # /* BOOST_PP_EMPTY */ 18 | # 19 | # define BOOST_PP_EMPTY() 20 | # 21 | # endif 22 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/facilities/identity.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_FACILITIES_IDENTITY_HPP 15 | # define BOOST_PREPROCESSOR_FACILITIES_IDENTITY_HPP 16 | # 17 | # include 18 | # 19 | # /* BOOST_PP_IDENTITY */ 20 | # 21 | # define BOOST_PP_IDENTITY(item) item BOOST_PP_EMPTY 22 | # 23 | # endif 24 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/facilities/overload.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2011. * 4 | # * (C) Copyright Edward Diener 2011. * 5 | # * Distributed under the Boost Software License, Version 1.0. (See * 6 | # * accompanying file LICENSE_1_0.txt or copy at * 7 | # * http://www.boost.org/LICENSE_1_0.txt) * 8 | # * * 9 | # ************************************************************************** */ 10 | # 11 | # /* See http://www.boost.org for most recent version. */ 12 | # 13 | # ifndef BOOST_PREPROCESSOR_FACILITIES_OVERLOAD_HPP 14 | # define BOOST_PREPROCESSOR_FACILITIES_OVERLOAD_HPP 15 | # 16 | # include 17 | # include 18 | # 19 | # /* BOOST_PP_OVERLOAD */ 20 | # 21 | # if BOOST_PP_VARIADICS 22 | # define BOOST_PP_OVERLOAD(prefix, ...) BOOST_PP_CAT(prefix, BOOST_PP_VARIADIC_SIZE(__VA_ARGS__)) 23 | # endif 24 | # 25 | # endif 26 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/identity.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_IDENTITY_HPP 13 | # define BOOST_PREPROCESSOR_IDENTITY_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/inc.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_INC_HPP 13 | # define BOOST_PREPROCESSOR_INC_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/iterate.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_ITERATE_HPP 13 | # define BOOST_PREPROCESSOR_ITERATE_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/iteration/detail/self.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # if !defined(BOOST_PP_INDIRECT_SELF) 13 | # error BOOST_PP_ERROR: no indirect file to include 14 | # endif 15 | # 16 | # define BOOST_PP_IS_SELFISH 1 17 | # 18 | # include BOOST_PP_INDIRECT_SELF 19 | # 20 | # undef BOOST_PP_IS_SELFISH 21 | # undef BOOST_PP_INDIRECT_SELF 22 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/iteration/local.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_ITERATION_LOCAL_HPP 13 | # define BOOST_PREPROCESSOR_ITERATION_LOCAL_HPP 14 | # 15 | # include 16 | # include 17 | # include 18 | # 19 | # /* BOOST_PP_LOCAL_ITERATE */ 20 | # 21 | # define BOOST_PP_LOCAL_ITERATE() 22 | # 23 | # define BOOST_PP_LOCAL_C(n) (BOOST_PP_LOCAL_S) <= n && (BOOST_PP_LOCAL_F) >= n 24 | # define BOOST_PP_LOCAL_R(n) (BOOST_PP_LOCAL_F) <= n && (BOOST_PP_LOCAL_S) >= n 25 | # 26 | # endif 27 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/iteration/self.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_ITERATION_SELF_HPP 13 | # define BOOST_PREPROCESSOR_ITERATION_SELF_HPP 14 | # 15 | # /* BOOST_PP_INCLUDE_SELF */ 16 | # 17 | # define BOOST_PP_INCLUDE_SELF() 18 | # 19 | # endif 20 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/list/adt.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # * 9 | # * See http://www.boost.org for most recent version. 10 | # */ 11 | # 12 | # /* Revised by Paul Mensonides (2002) */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_LIST_ADT_HPP 15 | # define BOOST_PREPROCESSOR_LIST_ADT_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # include 21 | # 22 | # /* BOOST_PP_LIST_CONS */ 23 | # 24 | # define BOOST_PP_LIST_CONS(head, tail) (head, tail) 25 | # 26 | # /* BOOST_PP_LIST_NIL */ 27 | # 28 | # define BOOST_PP_LIST_NIL BOOST_PP_NIL 29 | # 30 | # /* BOOST_PP_LIST_FIRST */ 31 | # 32 | # define BOOST_PP_LIST_FIRST(list) BOOST_PP_LIST_FIRST_D(list) 33 | # 34 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() 35 | # define BOOST_PP_LIST_FIRST_D(list) BOOST_PP_LIST_FIRST_I list 36 | # else 37 | # define BOOST_PP_LIST_FIRST_D(list) BOOST_PP_LIST_FIRST_I ## list 38 | # endif 39 | # 40 | # define BOOST_PP_LIST_FIRST_I(head, tail) head 41 | # 42 | # /* BOOST_PP_LIST_REST */ 43 | # 44 | # define BOOST_PP_LIST_REST(list) BOOST_PP_LIST_REST_D(list) 45 | # 46 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() 47 | # define BOOST_PP_LIST_REST_D(list) BOOST_PP_LIST_REST_I list 48 | # else 49 | # define BOOST_PP_LIST_REST_D(list) BOOST_PP_LIST_REST_I ## list 50 | # endif 51 | # 52 | # define BOOST_PP_LIST_REST_I(head, tail) tail 53 | # 54 | # /* BOOST_PP_LIST_IS_CONS */ 55 | # 56 | # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_BCC() 57 | # define BOOST_PP_LIST_IS_CONS(list) BOOST_PP_LIST_IS_CONS_D(list) 58 | # define BOOST_PP_LIST_IS_CONS_D(list) BOOST_PP_LIST_IS_CONS_ ## list 59 | # define BOOST_PP_LIST_IS_CONS_(head, tail) 1 60 | # define BOOST_PP_LIST_IS_CONS_BOOST_PP_NIL 0 61 | # else 62 | # define BOOST_PP_LIST_IS_CONS(list) BOOST_PP_IS_BINARY(list) 63 | # endif 64 | # 65 | # /* BOOST_PP_LIST_IS_NIL */ 66 | # 67 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_BCC() 68 | # define BOOST_PP_LIST_IS_NIL(list) BOOST_PP_COMPL(BOOST_PP_IS_BINARY(list)) 69 | # else 70 | # define BOOST_PP_LIST_IS_NIL(list) BOOST_PP_COMPL(BOOST_PP_LIST_IS_CONS(list)) 71 | # endif 72 | # 73 | # endif 74 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/list/fold_right.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_LIST_FOLD_RIGHT_HPP 15 | # define BOOST_PREPROCESSOR_LIST_FOLD_RIGHT_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # include 21 | # 22 | # if 0 23 | # define BOOST_PP_LIST_FOLD_RIGHT(op, state, list) 24 | # endif 25 | # 26 | # define BOOST_PP_LIST_FOLD_RIGHT BOOST_PP_CAT(BOOST_PP_LIST_FOLD_RIGHT_, BOOST_PP_AUTO_REC(BOOST_PP_WHILE_P, 256)) 27 | # 28 | # define BOOST_PP_LIST_FOLD_RIGHT_257(o, s, l) BOOST_PP_ERROR(0x0004) 29 | # 30 | # define BOOST_PP_LIST_FOLD_RIGHT_D(d, o, s, l) BOOST_PP_LIST_FOLD_RIGHT_ ## d(o, s, l) 31 | # define BOOST_PP_LIST_FOLD_RIGHT_2ND BOOST_PP_LIST_FOLD_RIGHT 32 | # define BOOST_PP_LIST_FOLD_RIGHT_2ND_D BOOST_PP_LIST_FOLD_RIGHT_D 33 | # 34 | # if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 35 | # include 36 | # else 37 | # include 38 | # endif 39 | # 40 | # endif 41 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/list/reverse.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_LIST_REVERSE_HPP 15 | # define BOOST_PREPROCESSOR_LIST_REVERSE_HPP 16 | # 17 | # include 18 | # include 19 | # 20 | # /* BOOST_PP_LIST_REVERSE */ 21 | # 22 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 23 | # define BOOST_PP_LIST_REVERSE(list) BOOST_PP_LIST_FOLD_LEFT(BOOST_PP_LIST_REVERSE_O, BOOST_PP_NIL, list) 24 | # else 25 | # define BOOST_PP_LIST_REVERSE(list) BOOST_PP_LIST_REVERSE_I(list) 26 | # define BOOST_PP_LIST_REVERSE_I(list) BOOST_PP_LIST_FOLD_LEFT(BOOST_PP_LIST_REVERSE_O, BOOST_PP_NIL, list) 27 | # endif 28 | # 29 | # define BOOST_PP_LIST_REVERSE_O(d, s, x) (x, s) 30 | # 31 | # /* BOOST_PP_LIST_REVERSE_D */ 32 | # 33 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 34 | # define BOOST_PP_LIST_REVERSE_D(d, list) BOOST_PP_LIST_FOLD_LEFT_ ## d(BOOST_PP_LIST_REVERSE_O, BOOST_PP_NIL, list) 35 | # else 36 | # define BOOST_PP_LIST_REVERSE_D(d, list) BOOST_PP_LIST_REVERSE_D_I(d, list) 37 | # define BOOST_PP_LIST_REVERSE_D_I(d, list) BOOST_PP_LIST_FOLD_LEFT_ ## d(BOOST_PP_LIST_REVERSE_O, BOOST_PP_NIL, list) 38 | # endif 39 | # 40 | # endif 41 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/logical/and.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_LOGICAL_AND_HPP 15 | # define BOOST_PREPROCESSOR_LOGICAL_AND_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # 21 | # /* BOOST_PP_AND */ 22 | # 23 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 24 | # define BOOST_PP_AND(p, q) BOOST_PP_BITAND(BOOST_PP_BOOL(p), BOOST_PP_BOOL(q)) 25 | # else 26 | # define BOOST_PP_AND(p, q) BOOST_PP_AND_I(p, q) 27 | # define BOOST_PP_AND_I(p, q) BOOST_PP_BITAND(BOOST_PP_BOOL(p), BOOST_PP_BOOL(q)) 28 | # endif 29 | # 30 | # endif 31 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/logical/bitand.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_LOGICAL_BITAND_HPP 13 | # define BOOST_PREPROCESSOR_LOGICAL_BITAND_HPP 14 | # 15 | # include 16 | # 17 | # /* BOOST_PP_BITAND */ 18 | # 19 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() 20 | # define BOOST_PP_BITAND(x, y) BOOST_PP_BITAND_I(x, y) 21 | # else 22 | # define BOOST_PP_BITAND(x, y) BOOST_PP_BITAND_OO((x, y)) 23 | # define BOOST_PP_BITAND_OO(par) BOOST_PP_BITAND_I ## par 24 | # endif 25 | # 26 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC() 27 | # define BOOST_PP_BITAND_I(x, y) BOOST_PP_BITAND_ ## x ## y 28 | # else 29 | # define BOOST_PP_BITAND_I(x, y) BOOST_PP_BITAND_ID(BOOST_PP_BITAND_ ## x ## y) 30 | # define BOOST_PP_BITAND_ID(res) res 31 | # endif 32 | # 33 | # define BOOST_PP_BITAND_00 0 34 | # define BOOST_PP_BITAND_01 0 35 | # define BOOST_PP_BITAND_10 0 36 | # define BOOST_PP_BITAND_11 1 37 | # 38 | # endif 39 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/logical/compl.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_LOGICAL_COMPL_HPP 13 | # define BOOST_PREPROCESSOR_LOGICAL_COMPL_HPP 14 | # 15 | # include 16 | # 17 | # /* BOOST_PP_COMPL */ 18 | # 19 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() 20 | # define BOOST_PP_COMPL(x) BOOST_PP_COMPL_I(x) 21 | # else 22 | # define BOOST_PP_COMPL(x) BOOST_PP_COMPL_OO((x)) 23 | # define BOOST_PP_COMPL_OO(par) BOOST_PP_COMPL_I ## par 24 | # endif 25 | # 26 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC() 27 | # define BOOST_PP_COMPL_I(x) BOOST_PP_COMPL_ ## x 28 | # else 29 | # define BOOST_PP_COMPL_I(x) BOOST_PP_COMPL_ID(BOOST_PP_COMPL_ ## x) 30 | # define BOOST_PP_COMPL_ID(id) id 31 | # endif 32 | # 33 | # define BOOST_PP_COMPL_0 1 34 | # define BOOST_PP_COMPL_1 0 35 | # 36 | # endif 37 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/punctuation/comma.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_PUNCTUATION_COMMA_HPP 15 | # define BOOST_PREPROCESSOR_PUNCTUATION_COMMA_HPP 16 | # 17 | # /* BOOST_PP_COMMA */ 18 | # 19 | # define BOOST_PP_COMMA() , 20 | # 21 | # endif 22 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/punctuation/comma_if.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_PUNCTUATION_COMMA_IF_HPP 15 | # define BOOST_PREPROCESSOR_PUNCTUATION_COMMA_IF_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # include 21 | # 22 | # /* BOOST_PP_COMMA_IF */ 23 | # 24 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 25 | # define BOOST_PP_COMMA_IF(cond) BOOST_PP_IF(cond, BOOST_PP_COMMA, BOOST_PP_EMPTY)() 26 | # else 27 | # define BOOST_PP_COMMA_IF(cond) BOOST_PP_COMMA_IF_I(cond) 28 | # define BOOST_PP_COMMA_IF_I(cond) BOOST_PP_IF(cond, BOOST_PP_COMMA, BOOST_PP_EMPTY)() 29 | # endif 30 | # 31 | # endif 32 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/repeat.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_REPEAT_HPP 13 | # define BOOST_PREPROCESSOR_REPEAT_HPP 14 | # 15 | # include 16 | # 17 | # endif 18 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/repetition/enum_params.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_REPETITION_ENUM_PARAMS_HPP 15 | # define BOOST_PREPROCESSOR_REPETITION_ENUM_PARAMS_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # 21 | # /* BOOST_PP_ENUM_PARAMS */ 22 | # 23 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 24 | # define BOOST_PP_ENUM_PARAMS(count, param) BOOST_PP_REPEAT(count, BOOST_PP_ENUM_PARAMS_M, param) 25 | # else 26 | # define BOOST_PP_ENUM_PARAMS(count, param) BOOST_PP_ENUM_PARAMS_I(count, param) 27 | # define BOOST_PP_ENUM_PARAMS_I(count, param) BOOST_PP_REPEAT(count, BOOST_PP_ENUM_PARAMS_M, param) 28 | # endif 29 | # 30 | # define BOOST_PP_ENUM_PARAMS_M(z, n, param) BOOST_PP_COMMA_IF(n) param ## n 31 | # 32 | # /* BOOST_PP_ENUM_PARAMS_Z */ 33 | # 34 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 35 | # define BOOST_PP_ENUM_PARAMS_Z(z, count, param) BOOST_PP_REPEAT_ ## z(count, BOOST_PP_ENUM_PARAMS_M, param) 36 | # else 37 | # define BOOST_PP_ENUM_PARAMS_Z(z, count, param) BOOST_PP_ENUM_PARAMS_Z_I(z, count, param) 38 | # define BOOST_PP_ENUM_PARAMS_Z_I(z, count, param) BOOST_PP_REPEAT_ ## z(count, BOOST_PP_ENUM_PARAMS_M, param) 39 | # endif 40 | # 41 | # endif 42 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/slot/slot.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2002. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_SLOT_SLOT_HPP 13 | # define BOOST_PREPROCESSOR_SLOT_SLOT_HPP 14 | # 15 | # include 16 | # include 17 | # 18 | # /* BOOST_PP_ASSIGN_SLOT */ 19 | # 20 | # define BOOST_PP_ASSIGN_SLOT(i) BOOST_PP_CAT(BOOST_PP_ASSIGN_SLOT_, i) 21 | # 22 | # define BOOST_PP_ASSIGN_SLOT_1 23 | # define BOOST_PP_ASSIGN_SLOT_2 24 | # define BOOST_PP_ASSIGN_SLOT_3 25 | # define BOOST_PP_ASSIGN_SLOT_4 26 | # define BOOST_PP_ASSIGN_SLOT_5 27 | # 28 | # /* BOOST_PP_SLOT */ 29 | # 30 | # define BOOST_PP_SLOT(i) BOOST_PP_CAT(BOOST_PP_SLOT_, i)() 31 | # 32 | # endif 33 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/preprocessor/variadic/size.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Edward Diener 2011. * 4 | # * (C) Copyright Paul Mensonides 2011. * 5 | # * Distributed under the Boost Software License, Version 1.0. (See * 6 | # * accompanying file LICENSE_1_0.txt or copy at * 7 | # * http://www.boost.org/LICENSE_1_0.txt) * 8 | # * * 9 | # ************************************************************************** */ 10 | # 11 | # /* See http://www.boost.org for most recent version. */ 12 | # 13 | # ifndef BOOST_PREPROCESSOR_VARIADIC_SIZE_HPP 14 | # define BOOST_PREPROCESSOR_VARIADIC_SIZE_HPP 15 | # 16 | # include 17 | # include 18 | # 19 | # /* BOOST_PP_VARIADIC_SIZE */ 20 | # 21 | # if BOOST_PP_VARIADICS 22 | # if BOOST_PP_VARIADICS_MSVC 23 | # define BOOST_PP_VARIADIC_SIZE(...) BOOST_PP_CAT(BOOST_PP_VARIADIC_SIZE_I(__VA_ARGS__, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1,),) 24 | # else 25 | # define BOOST_PP_VARIADIC_SIZE(...) BOOST_PP_VARIADIC_SIZE_I(__VA_ARGS__, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1,) 26 | # endif 27 | # define BOOST_PP_VARIADIC_SIZE_I(e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12, e13, e14, e15, e16, e17, e18, e19, e20, e21, e22, e23, e24, e25, e26, e27, e28, e29, e30, e31, e32, e33, e34, e35, e36, e37, e38, e39, e40, e41, e42, e43, e44, e45, e46, e47, e48, e49, e50, e51, e52, e53, e54, e55, e56, e57, e58, e59, e60, e61, e62, e63, size, ...) size 28 | # endif 29 | # 30 | # endif 31 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/add_pointer.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | #ifndef BOOST_TT_ADD_POINTER_HPP_INCLUDED 10 | #define BOOST_TT_ADD_POINTER_HPP_INCLUDED 11 | 12 | #include 13 | 14 | // should be the last #include 15 | #include 16 | 17 | namespace boost { 18 | 19 | namespace detail { 20 | 21 | #if defined(__BORLANDC__) && (__BORLANDC__ < 0x5A0) 22 | // 23 | // For some reason this implementation stops Borlands compiler 24 | // from dropping cv-qualifiers, it still fails with references 25 | // to arrays for some reason though (shrug...) (JM 20021104) 26 | // 27 | template 28 | struct add_pointer_impl 29 | { 30 | typedef T* type; 31 | }; 32 | template 33 | struct add_pointer_impl 34 | { 35 | typedef T* type; 36 | }; 37 | template 38 | struct add_pointer_impl 39 | { 40 | typedef T* type; 41 | }; 42 | template 43 | struct add_pointer_impl 44 | { 45 | typedef T* type; 46 | }; 47 | template 48 | struct add_pointer_impl 49 | { 50 | typedef T* type; 51 | }; 52 | 53 | #else 54 | 55 | template 56 | struct add_pointer_impl 57 | { 58 | typedef typename remove_reference::type no_ref_type; 59 | typedef no_ref_type* type; 60 | }; 61 | 62 | #endif 63 | 64 | } // namespace detail 65 | 66 | BOOST_TT_AUX_TYPE_TRAIT_DEF1(add_pointer,T,typename boost::detail::add_pointer_impl::type) 67 | 68 | } // namespace boost 69 | 70 | #include 71 | 72 | #endif // BOOST_TT_ADD_POINTER_HPP_INCLUDED 73 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/decay.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock & Thorsten Ottosen 2005. 2 | // Use, modification and distribution are subject to the Boost Software License, 3 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt). 5 | // 6 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 7 | 8 | 9 | #ifndef BOOST_TT_DECAY_HPP_INCLUDED 10 | #define BOOST_TT_DECAY_HPP_INCLUDED 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | 21 | namespace boost 22 | { 23 | 24 | template< class T > 25 | struct decay 26 | { 27 | private: 28 | typedef BOOST_DEDUCED_TYPENAME remove_reference::type Ty; 29 | public: 30 | typedef BOOST_DEDUCED_TYPENAME mpl::eval_if< 31 | is_array, 32 | mpl::identity::type*>, 33 | BOOST_DEDUCED_TYPENAME mpl::eval_if< 34 | is_function, 35 | add_pointer, 36 | mpl::identity 37 | > 38 | >::type type; 39 | }; 40 | 41 | } // namespace boost 42 | 43 | 44 | #endif // BOOST_TT_DECAY_HPP_INCLUDED 45 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/detail/bool_trait_undef.hpp: -------------------------------------------------------------------------------- 1 | 2 | // NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION 3 | 4 | // Copyright Aleksey Gurtovoy 2002-2004 5 | // 6 | // Distributed under the Boost Software License, Version 1.0. 7 | // (See accompanying file LICENSE_1_0.txt or copy at 8 | // http://www.boost.org/LICENSE_1_0.txt) 9 | 10 | // $Source$ 11 | // $Date: 2011-10-09 15:28:33 -0700 (Sun, 09 Oct 2011) $ 12 | // $Revision: 74865 $ 13 | 14 | #undef BOOST_TT_AUX_BOOL_TRAIT_VALUE_DECL 15 | #undef BOOST_TT_AUX_BOOL_C_BASE 16 | #undef BOOST_TT_AUX_BOOL_TRAIT_DEF1 17 | #undef BOOST_TT_AUX_BOOL_TRAIT_DEF2 18 | #undef BOOST_TT_AUX_BOOL_TRAIT_DEF3 19 | #undef BOOST_TT_AUX_BOOL_TRAIT_SPEC1 20 | #undef BOOST_TT_AUX_BOOL_TRAIT_SPEC2 21 | #undef BOOST_TT_AUX_BOOL_TRAIT_IMPL_SPEC1 22 | #undef BOOST_TT_AUX_BOOL_TRAIT_IMPL_SPEC2 23 | #undef BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC1_1 24 | #undef BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC1_2 25 | #undef BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC2_1 26 | #undef BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC2_2 27 | #undef BOOST_TT_AUX_BOOL_TRAIT_IMPL_PARTIAL_SPEC2_1 28 | #undef BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1 29 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/detail/false_result.hpp: -------------------------------------------------------------------------------- 1 | // Copyright David Abrahams 2002. 2 | // Use, modification and distribution are subject to the Boost Software License, 3 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt). 5 | // 6 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 7 | 8 | 9 | #ifndef BOOST_TT_DETAIL_FALSE_RESULT_HPP_INCLUDED 10 | #define BOOST_TT_DETAIL_FALSE_RESULT_HPP_INCLUDED 11 | 12 | #include 13 | 14 | namespace boost { 15 | namespace type_traits { 16 | 17 | // Utility class which always "returns" false 18 | struct false_result 19 | { 20 | template struct result_ 21 | { 22 | BOOST_STATIC_CONSTANT(bool, value = false); 23 | }; 24 | }; 25 | 26 | }} // namespace boost::type_traits 27 | 28 | #endif // BOOST_TT_DETAIL_FALSE_RESULT_HPP_INCLUDED 29 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/detail/ice_and.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock and Steve Cleary 2000. 2 | // 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | #ifndef BOOST_TT_DETAIL_ICE_AND_HPP_INCLUDED 10 | #define BOOST_TT_DETAIL_ICE_AND_HPP_INCLUDED 11 | 12 | #include 13 | 14 | namespace boost { 15 | namespace type_traits { 16 | 17 | template 18 | struct ice_and; 19 | 20 | template 21 | struct ice_and 22 | { 23 | BOOST_STATIC_CONSTANT(bool, value = false); 24 | }; 25 | 26 | template <> 27 | struct ice_and 28 | { 29 | BOOST_STATIC_CONSTANT(bool, value = true); 30 | }; 31 | 32 | } // namespace type_traits 33 | } // namespace boost 34 | 35 | #endif // BOOST_TT_DETAIL_ICE_AND_HPP_INCLUDED 36 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/detail/ice_eq.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock and Steve Cleary 2000. 2 | // Use, modification and distribution are subject to the Boost Software License, 3 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt). 5 | // 6 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 7 | 8 | #ifndef BOOST_TT_DETAIL_ICE_EQ_HPP_INCLUDED 9 | #define BOOST_TT_DETAIL_ICE_EQ_HPP_INCLUDED 10 | 11 | #include 12 | 13 | namespace boost { 14 | namespace type_traits { 15 | 16 | template 17 | struct ice_eq 18 | { 19 | BOOST_STATIC_CONSTANT(bool, value = (b1 == b2)); 20 | }; 21 | 22 | template 23 | struct ice_ne 24 | { 25 | BOOST_STATIC_CONSTANT(bool, value = (b1 != b2)); 26 | }; 27 | 28 | #ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION 29 | template bool const ice_eq::value; 30 | template bool const ice_ne::value; 31 | #endif 32 | 33 | } // namespace type_traits 34 | } // namespace boost 35 | 36 | #endif // BOOST_TT_DETAIL_ICE_EQ_HPP_INCLUDED 37 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/detail/ice_not.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock and Steve Cleary 2000. 2 | // Use, modification and distribution are subject to the Boost Software License, 3 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt). 5 | // 6 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 7 | 8 | #ifndef BOOST_TT_DETAIL_ICE_NOT_HPP_INCLUDED 9 | #define BOOST_TT_DETAIL_ICE_NOT_HPP_INCLUDED 10 | 11 | #include 12 | 13 | namespace boost { 14 | namespace type_traits { 15 | 16 | template 17 | struct ice_not 18 | { 19 | BOOST_STATIC_CONSTANT(bool, value = true); 20 | }; 21 | 22 | template <> 23 | struct ice_not 24 | { 25 | BOOST_STATIC_CONSTANT(bool, value = false); 26 | }; 27 | 28 | } // namespace type_traits 29 | } // namespace boost 30 | 31 | #endif // BOOST_TT_DETAIL_ICE_NOT_HPP_INCLUDED 32 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/detail/ice_or.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock and Steve Cleary 2000. 2 | // Use, modification and distribution are subject to the Boost Software License, 3 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt). 5 | // 6 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 7 | 8 | #ifndef BOOST_TT_DETAIL_ICE_OR_HPP_INCLUDED 9 | #define BOOST_TT_DETAIL_ICE_OR_HPP_INCLUDED 10 | 11 | #include 12 | 13 | namespace boost { 14 | namespace type_traits { 15 | 16 | template 17 | struct ice_or; 18 | 19 | template 20 | struct ice_or 21 | { 22 | BOOST_STATIC_CONSTANT(bool, value = true); 23 | }; 24 | 25 | template <> 26 | struct ice_or 27 | { 28 | BOOST_STATIC_CONSTANT(bool, value = false); 29 | }; 30 | 31 | } // namespace type_traits 32 | } // namespace boost 33 | 34 | #endif // BOOST_TT_DETAIL_ICE_OR_HPP_INCLUDED 35 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/detail/template_arity_spec.hpp: -------------------------------------------------------------------------------- 1 | 2 | // NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION 3 | 4 | // Copyright Aleksey Gurtovoy 2002-2004 5 | // 6 | // Distributed under the Boost Software License, Version 1.0. 7 | // (See accompanying file LICENSE_1_0.txt or copy at 8 | // http://www.boost.org/LICENSE_1_0.txt) 9 | 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | 16 | #if defined(BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT) \ 17 | && defined(BOOST_MPL_CFG_BROKEN_OVERLOAD_RESOLUTION) 18 | # define BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(i, name) \ 19 | namespace mpl { namespace aux { \ 20 | template< BOOST_MPL_PP_PARAMS(i, typename T) > \ 21 | struct template_arity< \ 22 | name< BOOST_MPL_PP_PARAMS(i, T) > \ 23 | > \ 24 | : int_ \ 25 | { \ 26 | }; \ 27 | }} \ 28 | /**/ 29 | #else 30 | # define BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(i, name) /**/ 31 | #endif 32 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/detail/type_trait_def.hpp: -------------------------------------------------------------------------------- 1 | 2 | // NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION 3 | 4 | // Copyright Aleksey Gurtovoy 2002-2004 5 | // 6 | // Distributed under the Boost Software License, Version 1.0. 7 | // (See accompanying file LICENSE_1_0.txt or copy at 8 | // http://www.boost.org/LICENSE_1_0.txt) 9 | 10 | // $Source$ 11 | // $Date: 2011-04-25 05:26:48 -0700 (Mon, 25 Apr 2011) $ 12 | // $Revision: 71481 $ 13 | 14 | #include 15 | #include 16 | 17 | #define BOOST_TT_AUX_TYPE_TRAIT_DEF1(trait,T,result) \ 18 | template< typename T > struct trait \ 19 | { \ 20 | public:\ 21 | typedef result type; \ 22 | BOOST_MPL_AUX_LAMBDA_SUPPORT(1,trait,(T)) \ 23 | }; \ 24 | \ 25 | BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(1,trait) \ 26 | /**/ 27 | 28 | #define BOOST_TT_AUX_TYPE_TRAIT_SPEC1(trait,spec,result) \ 29 | template<> struct trait \ 30 | { \ 31 | public:\ 32 | typedef result type; \ 33 | BOOST_MPL_AUX_LAMBDA_SUPPORT_SPEC(1,trait,(spec)) \ 34 | }; \ 35 | /**/ 36 | 37 | #define BOOST_TT_AUX_TYPE_TRAIT_IMPL_SPEC1(trait,spec,result) \ 38 | template<> struct trait##_impl \ 39 | { \ 40 | public:\ 41 | typedef result type; \ 42 | }; \ 43 | /**/ 44 | 45 | #define BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(param,trait,spec,result) \ 46 | template< param > struct trait \ 47 | { \ 48 | public:\ 49 | typedef result type; \ 50 | }; \ 51 | /**/ 52 | 53 | #define BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_2(param1,param2,trait,spec,result) \ 54 | template< param1, param2 > struct trait \ 55 | { \ 56 | public:\ 57 | typedef result; \ 58 | }; \ 59 | /**/ 60 | 61 | #define BOOST_TT_AUX_TYPE_TRAIT_IMPL_PARTIAL_SPEC1_1(param,trait,spec,result) \ 62 | template< param > struct trait##_impl \ 63 | { \ 64 | public:\ 65 | typedef result type; \ 66 | }; \ 67 | /**/ 68 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/detail/type_trait_undef.hpp: -------------------------------------------------------------------------------- 1 | 2 | // NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION 3 | 4 | // Copyright Aleksey Gurtovoy 2002-2004 5 | // 6 | // Distributed under the Boost Software License, Version 1.0. 7 | // (See accompanying file LICENSE_1_0.txt or copy at 8 | // http://www.boost.org/LICENSE_1_0.txt) 9 | 10 | // $Source$ 11 | // $Date: 2004-09-02 08:41:37 -0700 (Thu, 02 Sep 2004) $ 12 | // $Revision: 24874 $ 13 | 14 | #undef BOOST_TT_AUX_TYPE_TRAIT_DEF1 15 | #undef BOOST_TT_AUX_TYPE_TRAIT_SPEC1 16 | #undef BOOST_TT_AUX_TYPE_TRAIT_IMPL_SPEC1 17 | #undef BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1 18 | #undef BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_2 19 | #undef BOOST_TT_AUX_TYPE_TRAIT_IMPL_PARTIAL_SPEC1_1 20 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/detail/wrap.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright David Abrahams 2002. 2 | // Use, modification and distribution are subject to the Boost Software License, 3 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt). 5 | // 6 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 7 | 8 | #ifndef BOOST_TT_DETAIL_WRAP_HPP_INCLUDED 9 | #define BOOST_TT_DETAIL_WRAP_HPP_INCLUDED 10 | 11 | namespace boost { 12 | namespace type_traits { 13 | 14 | template struct wrap {}; 15 | 16 | }} // namespace boost::type_traits 17 | 18 | #endif // BOOST_TT_DETAIL_WRAP_HPP_INCLUDED 19 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/detail/yes_no_type.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright John Maddock and Steve Cleary 2000. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | // 9 | // macros and helpers for working with integral-constant-expressions. 10 | 11 | #ifndef BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED 12 | #define BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED 13 | 14 | namespace boost { 15 | namespace type_traits { 16 | 17 | typedef char yes_type; 18 | struct no_type 19 | { 20 | char padding[8]; 21 | }; 22 | 23 | } // namespace type_traits 24 | } // namespace boost 25 | 26 | #endif // BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED 27 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/ice.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright John Maddock and Steve Cleary 2000. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | // 9 | // macros and helpers for working with integral-constant-expressions. 10 | 11 | #ifndef BOOST_TT_ICE_HPP_INCLUDED 12 | #define BOOST_TT_ICE_HPP_INCLUDED 13 | 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | 20 | #endif // BOOST_TT_ICE_HPP_INCLUDED 21 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/integral_constant.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2005. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_TYPE_TRAITS_INTEGRAL_CONSTANT_HPP 7 | #define BOOST_TYPE_TRAITS_INTEGRAL_CONSTANT_HPP 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | namespace boost{ 14 | 15 | #if defined(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS) || defined(__BORLANDC__) 16 | template 17 | #else 18 | template 19 | #endif 20 | struct integral_constant : public mpl::integral_c 21 | { 22 | typedef integral_constant type; 23 | }; 24 | 25 | template<> struct integral_constant : public mpl::true_ 26 | { 27 | #if BOOST_WORKAROUND(BOOST_MSVC, < 1300) 28 | # pragma warning(push) 29 | # pragma warning(disable:4097) 30 | typedef mpl::true_ base_; 31 | using base_::value; 32 | # pragma warning(pop) 33 | #endif 34 | typedef integral_constant type; 35 | }; 36 | template<> struct integral_constant : public mpl::false_ 37 | { 38 | #if BOOST_WORKAROUND(BOOST_MSVC, < 1300) 39 | # pragma warning(push) 40 | # pragma warning(disable:4097) 41 | typedef mpl::false_ base_; 42 | using base_::value; 43 | # pragma warning(pop) 44 | #endif 45 | typedef integral_constant type; 46 | }; 47 | 48 | typedef integral_constant true_type; 49 | typedef integral_constant false_type; 50 | 51 | } 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/is_reference.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, 3 | // Howard Hinnant and John Maddock 2000, 2010. 4 | // (C) Copyright Mat Marcus, Jesse Jones and Adobe Systems Inc 2001 5 | 6 | // Use, modification and distribution are subject to the Boost Software License, 7 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 8 | // http://www.boost.org/LICENSE_1_0.txt). 9 | // 10 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 11 | 12 | #ifndef BOOST_TT_IS_REFERENCE_HPP_INCLUDED 13 | #define BOOST_TT_IS_REFERENCE_HPP_INCLUDED 14 | 15 | #include 16 | #include 17 | #include 18 | #include 19 | 20 | // should be the last #include 21 | #include 22 | 23 | namespace boost { 24 | 25 | namespace detail { 26 | 27 | template 28 | struct is_reference_impl 29 | { 30 | BOOST_STATIC_CONSTANT(bool, value = 31 | (::boost::type_traits::ice_or< 32 | ::boost::is_lvalue_reference::value, ::boost::is_rvalue_reference::value 33 | >::value)); 34 | }; 35 | 36 | } // namespace detail 37 | 38 | BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_reference,T,::boost::detail::is_reference_impl::value) 39 | 40 | } // namespace boost 41 | 42 | #include 43 | 44 | #endif // BOOST_TT_IS_REFERENCE_HPP_INCLUDED 45 | 46 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/is_rvalue_reference.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) John Maddock 2010. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | #ifndef BOOST_TT_IS_RVALUE_REFERENCE_HPP_INCLUDED 10 | #define BOOST_TT_IS_RVALUE_REFERENCE_HPP_INCLUDED 11 | 12 | #include 13 | 14 | // should be the last #include 15 | #include 16 | 17 | namespace boost { 18 | 19 | BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_rvalue_reference,T,false) 20 | #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES 21 | BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC1_1(typename T,is_rvalue_reference,T&&,true) 22 | #endif 23 | 24 | } // namespace boost 25 | 26 | #include 27 | 28 | #endif // BOOST_TT_IS_REFERENCE_HPP_INCLUDED 29 | 30 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/msvc/remove_bounds.hpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2004 Peder Holt 2 | // Use, modification and distribution is subject to the Boost Software 3 | // License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) 4 | 5 | #ifndef BOOST_TYPE_TRAITS_MSVC_REMOVE_BOUNDS_HOLT_2004_0827 6 | #define BOOST_TYPE_TRAITS_MSVC_REMOVE_BOUNDS_HOLT_2004_0827 7 | 8 | #include 9 | #include 10 | 11 | namespace boost { 12 | namespace detail { 13 | template 14 | struct remove_bounds_impl_typeof { 15 | template 16 | struct inner { 17 | typedef T type; 18 | }; 19 | }; 20 | template<> 21 | struct remove_bounds_impl_typeof { 22 | template 23 | struct inner { 24 | template 25 | static msvc_register_type test(U[]); 26 | static msvc_register_type test(...); 27 | BOOST_STATIC_CONSTANT(unsigned,register_test=sizeof(test( *((T*)NULL) ) )); 28 | typedef typename msvc_extract_type::id2type::type type; 29 | }; 30 | }; 31 | } //namespace detail 32 | 33 | template 34 | struct remove_bounds { 35 | typedef typename boost::detail::remove_bounds_impl_typeof< 36 | boost::is_array::value 37 | >::template inner >::type type; 38 | BOOST_MPL_AUX_LAMBDA_SUPPORT(1,remove_bounds,T) 39 | }; 40 | } //namespace boost 41 | 42 | #endif //BOOST_TYPE_TRAITS_MSVC_REMOVE_BOUNDS_HOLT_2004_0827 43 | 44 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/msvc/remove_reference.hpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2004 Peder Holt 2 | // Use, modification and distribution is subject to the Boost Software 3 | // License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) 4 | 5 | #ifndef BOOST_TYPE_TRAITS_MSVC_REMOVE_REFERENCE_HOLT_2004_0827 6 | #define BOOST_TYPE_TRAITS_MSVC_REMOVE_REFERENCE_HOLT_2004_0827 7 | 8 | #include 9 | #include 10 | 11 | namespace boost { 12 | namespace detail { 13 | template 14 | struct remove_reference_impl_typeof { 15 | template 16 | struct inner { 17 | typedef T type; 18 | }; 19 | }; 20 | template<> 21 | struct remove_reference_impl_typeof { 22 | template 23 | struct inner { 24 | template 25 | static msvc_register_type test(U&(*)()); 26 | static msvc_register_type test(...); 27 | BOOST_STATIC_CONSTANT(unsigned,register_test=sizeof(test( (T(*)())(NULL) ) )); 28 | typedef typename msvc_extract_type::id2type::type type; 29 | }; 30 | }; 31 | } //namespace detail 32 | 33 | template 34 | struct remove_reference { 35 | typedef typename boost::detail::remove_reference_impl_typeof< 36 | boost::is_reference::value 37 | >::template inner >::type type; 38 | BOOST_MPL_AUX_LAMBDA_SUPPORT(1,remove_reference,T) 39 | }; 40 | } //namespace boost 41 | 42 | #endif //BOOST_TYPE_TRAITS_MSVC_REMOVE_REFERENCE_HOLT_2004_0827 43 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/msvc/typeof.hpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2004 Peder Holt 2 | // Use, modification and distribution is subject to the Boost Software 3 | // License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) 4 | 5 | #ifndef BOOST_TYPETRAITS_MSVC_TYPEOF_HPP 6 | #define BOOST_TYPETRAITS_MSVC_TYPEOF_HPP 7 | 8 | #include 9 | #include 10 | 11 | namespace boost { namespace detail { 12 | # if BOOST_WORKAROUND(BOOST_MSVC,==1300) 13 | template 14 | struct msvc_extract_type 15 | { 16 | template 17 | struct id2type_impl; 18 | 19 | typedef id2type_impl id2type; 20 | }; 21 | 22 | template 23 | struct msvc_register_type : public msvc_extract_type 24 | { 25 | template<> 26 | struct id2type_impl //VC7.0 specific bugfeature 27 | { 28 | typedef T type; 29 | }; 30 | }; 31 | # else 32 | template 33 | struct msvc_extract_type 34 | { 35 | struct id2type; 36 | }; 37 | 38 | template 39 | struct msvc_register_type : public msvc_extract_type 40 | { 41 | typedef msvc_extract_type base_type; 42 | struct base_type::id2type // This uses nice VC6.5 and VC7.1 bugfeature 43 | { 44 | typedef T type; 45 | }; 46 | }; 47 | # endif 48 | }} 49 | 50 | #endif //BOOST_TYPETRAITS_MSVC_TYPEOF_IMPL_HPP 51 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/remove_bounds.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | #ifndef BOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED 10 | #define BOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED 11 | 12 | #include 13 | #include 14 | #include 15 | 16 | #if BOOST_WORKAROUND(BOOST_MSVC,<=1300) 17 | #include 18 | #endif 19 | 20 | // should be the last #include 21 | #include 22 | 23 | #if !BOOST_WORKAROUND(BOOST_MSVC,<=1300) 24 | 25 | namespace boost { 26 | 27 | BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_bounds,T,T) 28 | 29 | #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS) 30 | BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_2(typename T,std::size_t N,remove_bounds,T[N],T type) 31 | BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_2(typename T,std::size_t N,remove_bounds,T const[N],T const type) 32 | BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_2(typename T,std::size_t N,remove_bounds,T volatile[N],T volatile type) 33 | BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_2(typename T,std::size_t N,remove_bounds,T const volatile[N],T const volatile type) 34 | #if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) && !defined(__IBMCPP__) && !BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840)) 35 | BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_bounds,T[],T) 36 | BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_bounds,T const[],T const) 37 | BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_bounds,T volatile[],T volatile) 38 | BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_bounds,T const volatile[],T const volatile) 39 | #endif 40 | #endif 41 | 42 | } // namespace boost 43 | 44 | #endif 45 | 46 | #include 47 | 48 | #endif // BOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED 49 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/type_traits/remove_reference.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | #ifndef BOOST_TT_REMOVE_REFERENCE_HPP_INCLUDED 10 | #define BOOST_TT_REMOVE_REFERENCE_HPP_INCLUDED 11 | 12 | #include 13 | #include 14 | #include 15 | 16 | #if BOOST_WORKAROUND(BOOST_MSVC,<=1300) 17 | #include 18 | #endif 19 | 20 | // should be the last #include 21 | #include 22 | 23 | namespace boost { 24 | 25 | #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION 26 | 27 | namespace detail{ 28 | // 29 | // We can't filter out rvalue_references at the same level as 30 | // references or we get ambiguities from msvc: 31 | // 32 | template 33 | struct remove_rvalue_ref 34 | { 35 | typedef T type; 36 | }; 37 | #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES 38 | template 39 | struct remove_rvalue_ref 40 | { 41 | typedef T type; 42 | }; 43 | #endif 44 | 45 | } // namespace detail 46 | 47 | BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_reference,T,typename boost::detail::remove_rvalue_ref::type) 48 | BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_reference,T&,T) 49 | 50 | #if defined(BOOST_ILLEGAL_CV_REFERENCES) 51 | // these are illegal specialisations; cv-qualifies applied to 52 | // references have no effect according to [8.3.2p1], 53 | // C++ Builder requires them though as it treats cv-qualified 54 | // references as distinct types... 55 | BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_reference,T& const,T) 56 | BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_reference,T& volatile,T) 57 | BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_reference,T& const volatile,T) 58 | #endif 59 | 60 | #elif !BOOST_WORKAROUND(BOOST_MSVC,<=1300) 61 | 62 | BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_reference,T,typename boost::detail::remove_reference_impl::type) 63 | 64 | #endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION 65 | 66 | } // namespace boost 67 | 68 | #include 69 | 70 | #endif // BOOST_TT_REMOVE_REFERENCE_HPP_INCLUDED 71 | -------------------------------------------------------------------------------- /IOSDeviceLib/PlistCpp/include/boost/version.hpp: -------------------------------------------------------------------------------- 1 | // Boost version.hpp configuration header file ------------------------------// 2 | 3 | // (C) Copyright John maddock 1999. Distributed under the Boost 4 | // Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org/libs/config for documentation 8 | 9 | #ifndef BOOST_VERSION_HPP 10 | #define BOOST_VERSION_HPP 11 | 12 | // 13 | // Caution, this is the only boost header that is guarenteed 14 | // to change with every boost release, including this header 15 | // will cause a recompile every time a new boost version is 16 | // released. 17 | // 18 | // BOOST_VERSION % 100 is the patch level 19 | // BOOST_VERSION / 100 % 1000 is the minor version 20 | // BOOST_VERSION / 100000 is the major version 21 | 22 | #define BOOST_VERSION 105500 23 | 24 | // 25 | // BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION 26 | // but as a *string* in the form "x_y[_z]" where x is the major version 27 | // number, y is the minor version number, and z is the patch level if not 0. 28 | // This is used by to select which library version to link to. 29 | 30 | #define BOOST_LIB_VERSION "1_55" 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /IOSDeviceLib/Printing.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "Constants.h" 4 | #include "Printing.h" 5 | #include "SocketHelper.h" 6 | #include "json.hpp" 7 | 8 | std::mutex print_mutex; 9 | void print_core(const char *str, FILE *destinaton) { 10 | // We need to lock the print method because in some cases we print different 11 | // parts of messages from different threads. 12 | print_mutex.lock(); 13 | LengthEncodedMessage length_encoded_message = 14 | get_message_with_encoded_length(str); 15 | char *buff = new char[length_encoded_message.length]; 16 | std::setvbuf(destinaton, buff, _IOFBF, length_encoded_message.length); 17 | fwrite(length_encoded_message.message, length_encoded_message.length, 1, 18 | destinaton); 19 | fflush(destinaton); 20 | delete[] buff; 21 | print_mutex.unlock(); 22 | } 23 | 24 | void print(const char *str) { print_core(str, stdout); } 25 | 26 | void trace(const char *str) { print_core(str, stderr); } 27 | 28 | void trace(int num) { 29 | std::stringstream str; 30 | str << num; 31 | trace(str.str().c_str()); 32 | } 33 | 34 | void print(const nlohmann::json &message) { 35 | std::string str = message.dump(); 36 | print(str.c_str()); 37 | } 38 | 39 | void print_error(const char *message, std::string device_identifier, 40 | std::string method_id, int code) { 41 | nlohmann::json exception; 42 | exception[kError][kMessage] = message; 43 | exception[kError][kCode] = code; 44 | exception[kError][kDeviceId] = device_identifier; 45 | exception[kDeviceId] = device_identifier; 46 | exception[kId] = method_id; 47 | // Decided it's a better idea to print everything to stdout 48 | // Not a good practice, but the client process wouldn't have to monitor both 49 | // streams fprintf(stderr, "%s", exception.dump().c_str()); 50 | print(exception); 51 | } 52 | 53 | void print_errors(std::vector &messages, 54 | std::string device_identifier, std::string method_id, 55 | int code) { 56 | std::ostringstream joined_error_message; 57 | std::copy(messages.begin(), messages.end(), 58 | std::ostream_iterator(joined_error_message, "\n")); 59 | print_error(joined_error_message.str().c_str(), device_identifier, method_id, 60 | code); 61 | } 62 | -------------------------------------------------------------------------------- /IOSDeviceLib/Printing.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #ifdef _WIN32 3 | #include 4 | #endif 5 | 6 | #include "Constants.h" 7 | #include "json.hpp" 8 | #include 9 | 10 | void trace(const char *str); 11 | void trace(int num); 12 | void print(const char *str); 13 | void print(const nlohmann::json &message); 14 | void print_error(const char *message, std::string device_identifier, 15 | std::string method_id, 16 | int code = 17 | #ifdef _WIN32 18 | GetLastError() 19 | #else 20 | kAMDNotFoundError 21 | #endif 22 | ); 23 | 24 | void print_errors(std::vector &messages, 25 | std::string device_identifier, std::string method_id, 26 | int code = 27 | #ifdef _WIN32 28 | GetLastError() 29 | #else 30 | kAMDNotFoundError 31 | #endif 32 | ); 33 | -------------------------------------------------------------------------------- /IOSDeviceLib/ServerHelper.cpp: -------------------------------------------------------------------------------- 1 | #include "ServerHelper.h" 2 | 3 | struct sockaddr_in bind_socket(SOCKET socket, const char *host) { 4 | struct sockaddr_in server_address; 5 | socklen_t address_length = sizeof(server_address); 6 | 7 | server_address.sin_family = AF_INET; 8 | 9 | #ifdef _WIN32 10 | inet_pton(server_address.sin_family, host, (void *)&server_address.sin_addr); 11 | #else 12 | server_address.sin_addr.s_addr = inet_addr(host); 13 | #endif // _WIN32 14 | 15 | // Find available port. 16 | int port = 1111; 17 | server_address.sin_port = htons(port); 18 | 19 | // If the port is available the bind() will return 0. 20 | int bind_result = bind(socket, (sockaddr *)&server_address, address_length); 21 | while (bind_result != 0) { 22 | ++port; 23 | server_address.sin_port = htons(port); 24 | bind_result = bind(socket, (sockaddr *)&server_address, address_length); 25 | } 26 | 27 | return server_address; 28 | } 29 | 30 | DeviceServerData *create_server(SOCKET device_socket, const char *host) { 31 | #ifdef _WIN32 32 | // Start WinSock2 33 | WSADATA wsa_data; 34 | WORD dll_version = MAKEWORD(2, 1); 35 | if (WSAStartup(dll_version, &wsa_data) != 0) { 36 | return nullptr; 37 | } 38 | #endif // _WIN32 39 | 40 | SOCKET server_socket = socket(AF_INET, SOCK_STREAM, NULL); 41 | 42 | struct sockaddr_in server_address = bind_socket(server_socket, host); 43 | 44 | listen(server_socket, SOMAXCONN); 45 | 46 | DeviceServerData *result = new DeviceServerData(); 47 | result->server_socket = server_socket; 48 | result->device_socket = device_socket; 49 | result->server_address = server_address; 50 | 51 | return result; 52 | } 53 | -------------------------------------------------------------------------------- /IOSDeviceLib/ServerHelper.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifndef _WIN32 4 | #include 5 | #include 6 | #endif // _WIN32 7 | 8 | #include "SocketHelper.h" 9 | 10 | struct DeviceServerData { 11 | SOCKET server_socket; 12 | SOCKET device_socket; 13 | struct sockaddr_in server_address; 14 | 15 | ~DeviceServerData() { 16 | close_socket(server_socket); 17 | close_socket(device_socket); 18 | } 19 | }; 20 | 21 | struct sockaddr_in bind_socket(SOCKET socket, const char *host); 22 | DeviceServerData *create_server(SOCKET device_socket, const char *host); 23 | struct DeviceServerData; -------------------------------------------------------------------------------- /IOSDeviceLib/ServiceInfo.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "SocketIncludes.h" 4 | 5 | typedef struct { 6 | char unknown0[16]; 7 | int sock; 8 | void *sslContext; 9 | } service_conn_t; 10 | 11 | typedef service_conn_t *ServiceConnRef; 12 | struct ServiceInfo { 13 | HANDLE socket; 14 | ServiceConnRef connection; 15 | int connection_id; 16 | const char *service_name; 17 | }; 18 | -------------------------------------------------------------------------------- /IOSDeviceLib/SetTimeout.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifdef _WIN32 4 | #include 5 | #include 6 | #include 7 | typedef void *CFDictionaryRef; 8 | 9 | #pragma comment(lib, "Ws2_32.lib") 10 | #else 11 | typedef void *HANDLE; 12 | typedef unsigned long long SOCKET; 13 | #endif 14 | 15 | #ifndef _WIN32 16 | 17 | #include 18 | #include 19 | #include 20 | #endif 21 | 22 | #include "PlistCpp/include/boost/any.hpp" 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | struct TimeoutData { 29 | int timeout; 30 | void *data; 31 | void (*operation)(void *); 32 | }; 33 | 34 | struct TimeoutOutputData { 35 | std::thread::native_handle_type darwinHandle; 36 | HANDLE windowsHandle; 37 | TimeoutData *timeoutData; 38 | }; 39 | 40 | TimeoutOutputData *setTimeout(int timeout, void *data, 41 | void (*operation)(void *)); 42 | void clearTimeout(TimeoutOutputData *data); 43 | -------------------------------------------------------------------------------- /IOSDeviceLib/SocketHelper.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "ServiceInfo.h" 4 | #include "SocketIncludes.h" 5 | struct LengthEncodedMessage { 6 | char *message; 7 | size_t length; 8 | 9 | ~LengthEncodedMessage() { 10 | delete[] message; 11 | // free(message); 12 | } 13 | }; 14 | 15 | struct Utf16Message { 16 | std::string message; 17 | }; 18 | 19 | LengthEncodedMessage get_message_with_encoded_length(const char *message, 20 | long long length = -1); 21 | int send_message(const char *message, ServiceInfo info, long long length = -1); 22 | int send_message(std::string message, ServiceInfo info, long long length = -1); 23 | std::map receive_message(SOCKET socket, 24 | int timeout = 5); 25 | std::string receive_message_raw(ServiceInfo info, int size = 1000); 26 | 27 | typedef std::function SocketClosedCallback; 28 | void proxy_socket_io(SOCKET first, SOCKET second, 29 | SocketClosedCallback first_socket_closed_callback, 30 | SocketClosedCallback second_socket_closed_callback); 31 | void close_socket(SOCKET socket); 32 | -------------------------------------------------------------------------------- /IOSDeviceLib/SocketIncludes.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifdef _WIN32 4 | #include 5 | #include 6 | #include 7 | typedef void *CFDictionaryRef; 8 | 9 | #pragma comment(lib, "Ws2_32.lib") 10 | #else 11 | typedef void *HANDLE; 12 | typedef unsigned long long SOCKET; 13 | #endif 14 | 15 | #ifndef _WIN32 16 | 17 | #include 18 | #include 19 | #include 20 | #endif 21 | 22 | #include "PlistCpp/include/boost/any.hpp" 23 | #include 24 | #include 25 | #include 26 | -------------------------------------------------------------------------------- /IOSDeviceLib/StringHelper.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include 4 | 5 | std::string to_hex(const std::string &s); 6 | bool contains(const std::string &text, const std::string &search_string, 7 | int start_position = 0); 8 | bool starts_with(const std::string &str, const std::string &prefix); 9 | std::string trim_end(std::string &str); 10 | void split(const std::string &s, char delim, std::vector &elems); 11 | std::vector split(const std::string &s, char delim); 12 | void replace_all(std::string &str, const std::string &from, 13 | const std::string &to); 14 | std::string 15 | url_encode_without_forward_slash_and_colon(const std::string &value); 16 | -------------------------------------------------------------------------------- /IOSDeviceLib/configuration.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $(SRCROOT)/bin/darwin 2 | BUILT_PRODUCTS_DIR = $(SRCROOT)/bin/darwin 3 | -------------------------------------------------------------------------------- /constants.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | exports.DataEventName = "data"; 4 | exports.DeviceFoundEventName = "deviceFound"; 5 | exports.DeviceUpdatedEventName = "deviceUpdated"; 6 | exports.DeviceLostEventName = "deviceLost"; 7 | 8 | exports.DeviceEventEnum = { 9 | kDeviceFound: "deviceFound", 10 | kDeviceUpdated: "deviceUpdated", 11 | kDeviceLost: "deviceLost", 12 | kDeviceTrusted: "deviceTrusted", 13 | kDeviceUnknown: "deviceUnknown" 14 | }; 15 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | const IOSDeviceLib = require("./ios-device-lib").IOSDeviceLib; 4 | const MessageUnpackStream = require("./message-unpack-stream").MessageUnpackStream; 5 | 6 | exports.IOSDeviceLib = IOSDeviceLib; 7 | exports.MessageUnpackStream = MessageUnpackStream; 8 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ios-device-lib", 3 | "version": "0.9.0", 4 | "description": "", 5 | "types": "./typings/ios-device-lib.d.ts", 6 | "main": "index.js", 7 | "files": [ 8 | "bin", 9 | "typings", 10 | "*.js" 11 | ], 12 | "scripts": { 13 | "prepack": "npm test", 14 | "mocha": "mocha", 15 | "test": "istanbul cover ./node_modules/mocha/bin/_mocha", 16 | "prepare": "husky install" 17 | }, 18 | "repository": { 19 | "type": "git", 20 | "url": "git+https://github.com/telerik/ios-device-lib.git" 21 | }, 22 | "author": "", 23 | "license": "Apache-2.0", 24 | "bugs": { 25 | "url": "https://github.com/telerik/ios-device-lib/issues" 26 | }, 27 | "homepage": "https://github.com/telerik/ios-device-lib#readme", 28 | "dependencies": { 29 | "bufferpack": "0.0.6", 30 | "uuid": "8.3.2" 31 | }, 32 | "devDependencies": { 33 | "chai": "4.2.0", 34 | "husky": "^5.1.3", 35 | "istanbul": "0.4.5", 36 | "lint-staged": "^10.5.4", 37 | "mocha": "5.2.0" 38 | }, 39 | "lint-staged": { 40 | "*.{cpp,h}": "clang-format -style=llvm -i" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- 1 | --recursive 2 | --reporter spec 3 | --timeout 50 4 | test/ 5 | -------------------------------------------------------------------------------- /typings/ios-device-lib.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | declare module "ios-device-lib" { 4 | export const IOSDeviceLib: IOSDeviceLib.IOSDeviceLib; 5 | export const MessageUnpackStream: IOSDeviceLib.MessageUnpackStream; 6 | } 7 | --------------------------------------------------------------------------------