text
stringlengths
24
1.04M
metadata
stringlengths
233
497
### File: sros2/sros2/verb/create_enclave.py # Copyright 2016-2017 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/sros2", "path": "sros2/sros2/verb/create_enclave.py", "license": "apache-2.0", "size": 1783}
### File: sros2/sros2/verb/create_keystore.py # Copyright 2016-2017 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/license...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/sros2", "path": "sros2/sros2/verb/create_keystore.py", "license": "apache-2.0", "size": 1377}
### File: sros2/sros2/verb/create_permission.py # Copyright 2016-2017 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licen...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/sros2", "path": "sros2/sros2/verb/create_permission.py", "license": "apache-2.0", "size": 1842}
### File: sros2/sros2/verb/generate_artifacts.py # Copyright 2019 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/sros2", "path": "sros2/sros2/verb/generate_artifacts.py", "license": "apache-2.0", "size": 2134}
### File: sros2/sros2/verb/generate_policy.py # Copyright 2016-2017 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/license...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/sros2", "path": "sros2/sros2/verb/generate_policy.py", "license": "apache-2.0", "size": 7087}
### File: sros2/sros2/verb/list_enclaves.py # Copyright 2016-2017 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/sros2", "path": "sros2/sros2/verb/list_enclaves.py", "license": "apache-2.0", "size": 1901}
### File: sros2/test/conftest.py # Copyright 2019 Apex.AI, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/sros2", "path": "sros2/test/conftest.py", "license": "apache-2.0", "size": 886}
### File: sros2/test/policies/policy_to_permissions.py # Copyright 2018 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/lic...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/sros2", "path": "sros2/test/policies/policy_to_permissions.py", "license": "apache-2.0", "size": 2039}
### File: sros2/test/sros2/commands/security/verbs/fixtures/client_service_node.py # Copyright 2019 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/sros2", "path": "sros2/test/sros2/commands/security/verbs/fixtures/client_service_node.py", "license": "apache-2.0", "size": 1397}
### File: sros2/test/sros2/commands/security/verbs/fixtures/pub_sub_node.py # Copyright 2019 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/sros2", "path": "sros2/test/sros2/commands/security/verbs/fixtures/pub_sub_node.py", "license": "apache-2.0", "size": 1413}
### File: sros2/test/sros2/commands/security/verbs/utilities/sros2_cli_test_case.py # Copyright 2020 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/sros2", "path": "sros2/test/sros2/commands/security/verbs/utilities/sros2_cli_test_case.py", "license": "apache-2.0", "size": 4634}
### File: sros2_cmake/CMakeLists.txt cmake_minimum_required(VERSION 3.5) project(sros2_cmake) find_package(ament_cmake REQUIRED) if(BUILD_TESTING) find_package(ament_lint_auto REQUIRED) ament_lint_auto_find_test_dependencies() endif() ament_package( CONFIG_EXTRAS "sros2_cmake-extras.cmake" ) install( DIRECT...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/sros2", "path": "sros2_cmake/CMakeLists.txt", "license": "apache-2.0", "size": 331}
### File: sros2_cmake/cmake/sros2_generate_artifacts.cmake # Copyright 2016-2020 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apach...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/sros2", "path": "sros2_cmake/cmake/sros2_generate_artifacts.cmake", "license": "apache-2.0", "size": 2607}
### File: sros2_cmake/sros2_cmake-extras.cmake # Copyright 2019-2020 Open Source Robotics Foundation Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/license...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/sros2", "path": "sros2_cmake/sros2_cmake-extras.cmake", "license": "apache-2.0", "size": 740}
### File: CMakeLists.txt # note: the minimum required version needs to go hand in hand with appveyor builds, # which is CMake 3.16 for the Visual Studio 2017 build worker image cmake_minimum_required (VERSION 3.16) # PACKAGE_VERSION is used by cpack scripts currently # Both sqlite_orm_VERSION and PACKAGE_VERSION shoul...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/sqlite_orm", "path": "CMakeLists.txt", "license": "mit", "size": 3122}
### File: cmake/SqliteOrmConfig.cmake.in include(CMakeFindDependencyMacro) find_dependency(SQLite3) include(${CMAKE_CURRENT_LIST_DIR}/SqliteOrmTargets.cmake)
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/sqlite_orm", "path": "cmake/SqliteOrmConfig.cmake.in", "license": "mit", "size": 118}
### File: cmake/ucm.cmake # # ucm.cmake - useful cmake macros # # Copyright (c) 2016 Viktor Kirilov # # Distributed under the MIT Software License # See accompanying file LICENSE.txt or copy at # https://opensource.org/licenses/MIT # # The documentation can be found at the library's page: # https://github.com...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/sqlite_orm", "path": "cmake/ucm.cmake", "license": "mit", "size": 25580}
### File: dev/alias.h #pragma once #include <type_traits> // std::enable_if, std::is_base_of, std::is_member_pointer, std::remove_const #include <utility> // std::index_sequence, std::make_index_sequence #include <string> // std::string #include <sstream> // std::stringstream #include <algorithm> // std::cop...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/alias.h", "license": "mit", "size": 6726}
### File: dev/alias_traits.h #pragma once #include <type_traits> // std::remove_const, std::is_base_of, std::is_same #include "functional/cxx_universal.h" #include "functional/cxx_type_traits_polyfill.h" #include "type_traits.h" namespace sqlite_orm { /** @short Base class for a custom table alias, ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/alias_traits.h", "license": "mit", "size": 1828}
### File: dev/arg_values.h #pragma once #include <sqlite3.h> #include "row_extractor.h" namespace sqlite_orm { struct arg_value { arg_value() : arg_value(nullptr) {} arg_value(sqlite3_value* value_) : value(value_) {} template<class T> T get() const { return row_ex...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/arg_values.h", "license": "mit", "size": 3995}
### File: dev/arithmetic_tag.h #pragma once #include <type_traits> namespace sqlite_orm { /** * Helper classes used by statement_binder and row_extractor. */ struct int_or_smaller_tag {}; struct bigint_tag {}; struct real_tag {}; template<class V> using arithmetic_tag_t = s...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/arithmetic_tag.h", "license": "mit", "size": 575}
### File: dev/ast/excluded.h #pragma once #include <utility> // std::move namespace sqlite_orm { namespace internal { template<class T> struct excluded_t { using expression_type = T; expression_type expression; }; } template<class T> internal::exclu...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/ast/excluded.h", "license": "mit", "size": 373}
### File: dev/ast/exists.h #pragma once #include <utility> // std::move #include "../tags.h" namespace sqlite_orm { namespace internal { template<class T> struct exists_t : condition_t, negatable_t { using expression_type = T; using self = exists_t<expression_type>; ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/ast/exists.h", "license": "mit", "size": 909}
### File: dev/ast/group_by.h #pragma once #include <tuple> // std::tuple, std::make_tuple #include <type_traits> // std::true_type, std::false_type #include <utility> // std::forward, std::move #include "../functional/cxx_type_traits_polyfill.h" namespace sqlite_orm { namespace internal { template...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/ast/group_by.h", "license": "mit", "size": 2240}
### File: dev/ast/into.h #pragma once #include "../functional/cxx_type_traits_polyfill.h" namespace sqlite_orm { namespace internal { template<class T> struct into_t { using type = T; }; template<class T> using is_into = polyfill::is_specialization_of<T, into_...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/ast/into.h", "license": "mit", "size": 388}
### File: dev/ast/set.h #pragma once #include <tuple> // std::tuple, std::tuple_size #include <string> // std::string #include <vector> // std::vector #include <sstream> // std::stringstream #include <type_traits> // std::false_type, std::true_type #include "../table_name_collector.h" namespace sqlite_orm ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/ast/set.h", "license": "mit", "size": 3697}
### File: dev/ast/upsert_clause.h #pragma once #if SQLITE_VERSION_NUMBER >= 3024000 #include <tuple> // std::tuple #include <utility> // std::forward, std::move #endif #include "../functional/cxx_type_traits_polyfill.h" namespace sqlite_orm { namespace internal { #if SQLITE_VERSION_NUMBER >= 3024000 ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/ast/upsert_clause.h", "license": "mit", "size": 2486}
### File: dev/ast/where.h #pragma once #include <type_traits> // std::false_type, std::true_type #include <utility> // std::move #include "../functional/cxx_universal.h" #include "../functional/cxx_type_traits_polyfill.h" #include "../serialize_result_type.h" namespace sqlite_orm { namespace internal { ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/ast/where.h", "license": "mit", "size": 1621}
### File: dev/ast_iterator.h #pragma once #include <vector> // std::vector #include <functional> // std::reference_wrapper #include "tuple_helper/tuple_iteration.h" #include "type_traits.h" #include "conditions.h" #include "alias.h" #include "select_constraints.h" #include "operators.h" #include "core_functions.h...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/ast_iterator.h", "license": "mit", "size": 22161}
### File: dev/backup.h #pragma once #include <sqlite3.h> #include <system_error> // std::system_error #include <string> // std::string #include <memory> #include <utility> // std::move, std::exchange #include "error_code.h" #include "connection_holder.h" namespace sqlite_orm { namespace internal { ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/backup.h", "license": "mit", "size": 2535}
### File: dev/carray.h #pragma once /* * Note: This feature needs constexpr variables with external linkage. * which can be achieved before C++17's inline variables, but differs from compiler to compiler. * Hence we make it only available for compilers supporting inline variables. */ #ifdef SQLITE_ORM_INLINE_V...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/carray.h", "license": "mit", "size": 2802}
### File: dev/collate_argument.h #pragma once namespace sqlite_orm { namespace internal { enum class collate_argument { binary, nocase, rtrim, }; } }
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/collate_argument.h", "license": "mit", "size": 181}
### File: dev/column.h #pragma once #include <tuple> // std::tuple #include <string> // std::string #include <memory> // std::unique_ptr #include <type_traits> // std::is_same, std::is_member_object_pointer #include "functional/cxx_universal.h" #include "functional/cxx_type_traits_polyfill.h" #include "tuple_...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/column.h", "license": "mit", "size": 7420}
### File: dev/column_names_getter.h #pragma once #include <type_traits> // std::is_base_of #include <string> // std::string #include <vector> // std::vector #include <functional> // std::reference_wrapper #include <system_error> #include <utility> // std::move #include "tuple_helper/tuple_traits.h" #include...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/column_names_getter.h", "license": "mit", "size": 5456}
### File: dev/column_pointer.h #pragma once #include <string> // std::string #include <utility> // std::move #include "functional/cxx_core_features.h" #include "conditions.h" #include "alias_traits.h" namespace sqlite_orm { namespace internal { /** * This class is used to store ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/column_pointer.h", "license": "mit", "size": 1960}
### File: dev/column_result.h #pragma once #include <type_traits> // std::enable_if, std::is_same, std::decay, std::is_arithmetic, std::is_base_of #include <tuple> // std::tuple #include <functional> // std::reference_wrapper #include "functional/cxx_universal.h" #include "tuple_helper/tuple_traits.h" #include ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/column_result.h", "license": "mit", "size": 10002}
### File: dev/conditions.h #pragma once #include <string> // std::string #include <type_traits> // std::enable_if, std::is_same, std::remove_const #include <vector> // std::vector #include <tuple> // std::tuple #include <sstream> // std::stringstream #include "functional/cxx_universal.h" #include "functiona...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/conditions.h", "license": "mit", "size": 39078}
### File: dev/connection_holder.h #pragma once #include <sqlite3.h> #include <atomic> #include <string> // std::string #include "error_code.h" namespace sqlite_orm { namespace internal { struct connection_holder { connection_holder(std::string filename_) : filename(std::move(filename_)) ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/connection_holder.h", "license": "mit", "size": 1911}
### File: dev/constraints.h #pragma once #include <system_error> // std::system_error #include <ostream> // std::ostream #include <string> // std::string #include <tuple> // std::tuple, std::make_tuple #include <type_traits> // std::is_base_of, std::false_type, std::true_type #include "functional/cxx_univer...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/constraints.h", "license": "mit", "size": 19150}
### File: dev/core_functions.h #pragma once #include <string> // std::string #include <tuple> // std::make_tuple, std::tuple_size #include <type_traits> // std::forward, std::is_base_of, std::enable_if #include <memory> // std::unique_ptr #include <vector> // std::vector #include "functional/cxx_type_traits...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/core_functions.h", "license": "mit", "size": 74846}
### File: dev/dbstat.h #pragma once #include <string> // std::string #include "column.h" #include "table.h" namespace sqlite_orm { #ifdef SQLITE_ENABLE_DBSTAT_VTAB struct dbstat { std::string name; std::string path; int pageno = 0; std::string pagetype; int ncell = 0; ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/dbstat.h", "license": "mit", "size": 1219}
### File: dev/default_value_extractor.h #pragma once #include <string> // std::string #include "constraints.h" #include "serializer_context.h" #include "storage_lookup.h" namespace sqlite_orm { namespace internal { template<class T, class DBOs> std::string serialize(const T&, const serializer...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/default_value_extractor.h", "license": "mit", "size": 666}
### File: dev/error_code.h #pragma once #include <sqlite3.h> #include <system_error> // std::error_code, std::system_error #include <string> // std::string #include <stdexcept> #include <sstream> // std::ostringstream #include <type_traits> namespace sqlite_orm { /** @short Enables classifying sqlite error ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/error_code.h", "license": "mit", "size": 6182}
### File: dev/expression.h #pragma once #include <tuple> #include <utility> // std::move, std::forward #include "functional/cxx_optional.h" #include "functional/cxx_universal.h" #include "operators.h" namespace sqlite_orm { namespace internal { template<class L, class R> struct and_condition_...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/expression.h", "license": "mit", "size": 2374}
### File: dev/expression_object_type.h #pragma once #include <type_traits> // std::decay #include <functional> // std::reference_wrapper #include "prepared_statement.h" namespace sqlite_orm { namespace internal { template<class T, class SFINAE = void> struct expression_object_type; ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/expression_object_type.h", "license": "mit", "size": 4100}
### File: dev/field_printer.h #pragma once #include <locale> // std::wstring_convert #include <string> // std::string #include <sstream> // std::stringstream #include <vector> // std::vector #include <memory> // std::shared_ptr, std::unique_ptr #ifndef SQLITE_ORM_OMITS_CODECVT #include <codecvt> // std::cod...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/field_printer.h", "license": "mit", "size": 5106}
### File: dev/function.h #pragma once #include <sqlite3.h> #include <type_traits> #include <string> // std::string #include <tuple> // std::tuple #include <functional> // std::function #include <algorithm> // std::min #include <utility> // std::move, std::forward #include "functional/cxx_universal.h" #inclu...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/function.h", "license": "mit", "size": 11122}
### File: dev/functional/config.h #pragma once #include "cxx_universal.h" #ifdef SQLITE_ORM_INLINE_VARIABLES_SUPPORTED #define SQLITE_ORM_INLINE_VAR inline #else #define SQLITE_ORM_INLINE_VAR #endif #if SQLITE_ORM_HAS_CPP_ATTRIBUTE(no_unique_address) >= 201803L #define SQLITE_ORM_NOUNIQUEADDRESS [[no_uniq...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/functional/config.h", "license": "mit", "size": 487}
### File: dev/functional/cxx_compiler_quirks.h #pragma once /* * This header defines macros for circumventing compiler quirks on which sqlite_orm depends. * May amend cxx_core_features.h */ #ifdef __clang__ #define SQLITE_ORM_DO_PRAGMA(...) _Pragma(#__VA_ARGS__) #endif #ifdef __clang__ #define SQLIT...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/functional/cxx_compiler_quirks.h", "license": "mit", "size": 2293}
### File: dev/functional/cxx_core_features.h #pragma once /* * This header detects core C++ language features on which sqlite_orm depends. * May be updated/overwritten by cxx_compiler_quirks.h */ #ifdef __has_cpp_attribute #define SQLITE_ORM_HAS_CPP_ATTRIBUTE(attr) __has_cpp_attribute(attr) #else #defi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/functional/cxx_core_features.h", "license": "mit", "size": 1593}
### File: dev/functional/cxx_functional_polyfill.h #pragma once #include <functional> #if __cpp_lib_invoke < 201411L #include <type_traits> // std::enable_if, std::is_member_object_pointer, std::is_member_function_pointer #endif #include <utility> // std::forward #if __cpp_lib_invoke < 201411L #include "cxx_type_t...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/functional/cxx_functional_polyfill.h", "license": "mit", "size": 3607}
### File: dev/functional/cxx_optional.h #pragma once #include "cxx_core_features.h" #if SQLITE_ORM_HAS_INCLUDE(<optional>) #include <optional> #endif #if __cpp_lib_optional >= 201606L #define SQLITE_ORM_OPTIONAL_SUPPORTED #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/functional/cxx_optional.h", "license": "mit", "size": 203}
### File: dev/functional/cxx_string_view.h #pragma once #include "cxx_core_features.h" #if SQLITE_ORM_HAS_INCLUDE(<string_view>) #include <string_view> #endif #if __cpp_lib_string_view >= 201606L #define SQLITE_ORM_STRING_VIEW_SUPPORTED #endif
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/functional/cxx_string_view.h", "license": "mit", "size": 215}
### File: dev/functional/cxx_type_traits_polyfill.h #pragma once #include <type_traits> #include "cxx_universal.h" namespace sqlite_orm { namespace internal { namespace polyfill { #if __cpp_lib_void_t >= 201411L using std::void_t; #else template<class...> us...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/functional/cxx_type_traits_polyfill.h", "license": "mit", "size": 5656}
### File: dev/functional/cxx_universal.h #pragma once /* * This header makes central C++ functionality on which sqlite_orm depends universally available: * - alternative operator representations * - ::size_t, ::ptrdiff_t, ::nullptr_t * - C++ core language feature macros * - macros for dealing with com...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/functional/cxx_universal.h", "license": "mit", "size": 836}
### File: dev/functional/finish_macros.h #pragma once #if defined(_MSC_VER) __pragma(pop_macro("max")) __pragma(pop_macro("min")) #endif // defined(_MSC_VER)
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/functional/finish_macros.h", "license": "mit", "size": 119}
### File: dev/functional/index_sequence_util.h #pragma once #include <utility> // std::index_sequence, std::make_index_sequence #include "../functional/cxx_universal.h" namespace sqlite_orm { namespace internal { /** * Get the first value of an index_sequence. */ t...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/functional/index_sequence_util.h", "license": "mit", "size": 1079}
### File: dev/functional/mpl.h #pragma once /* * Symbols for 'template metaprogramming' (compile-time template programming), * inspired by the MPL of Aleksey Gurtovoy and David Abrahams. * * Currently, the focus is on facilitating advanced type filtering, * such as filtering columns by constraints ha...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/functional/mpl.h", "license": "mit", "size": 12625}
### File: dev/functional/start_macros.h #pragma once #if defined(_MSC_VER) __pragma(push_macro("min")) #undef min __pragma(push_macro("max")) #undef max #endif // defined(_MSC_VER)
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/functional/start_macros.h", "license": "mit", "size": 143}
### File: dev/functional/static_magic.h #pragma once #ifndef SQLITE_ORM_IF_CONSTEXPR_SUPPORTED #include <type_traits> // std::false_type, std::true_type, std::integral_constant #endif #include <utility> // std::forward namespace sqlite_orm { // got from here // https://stackoverflow.com/questions/37617...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/functional/static_magic.h", "license": "mit", "size": 2483}
### File: dev/get_prepared_statement.h #pragma once #include <type_traits> // std::is_same, std::decay, std::remove_reference #include <tuple> // std::get #include "functional/cxx_universal.h" // ::size_t #include "functional/static_magic.h" #include "prepared_statement.h" #include "ast_iterator.h" #include "no...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/get_prepared_statement.h", "license": "mit", "size": 7556}
### File: dev/implementations/column_definitions.h /** @file Mainly existing to disentangle implementation details from circular and cross dependencies * (e.g. column_t -> default_value_extractor -> serializer_context -> db_objects_tuple -> table_t -> column_t) * this file is also used to provide definitions of i...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/implementations/column_definitions.h", "license": "mit", "size": 1631}
### File: dev/implementations/storage_definitions.h /** @file Mainly existing to disentangle implementation details from circular and cross dependencies * this file is also used to separate implementation details from the main header file, * e.g. usage of the dbstat table. */ #pragma once #include <type_trait...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/implementations/storage_definitions.h", "license": "mit", "size": 7342}
### File: dev/implementations/table_definitions.h /** @file Mainly existing to disentangle implementation details from circular and cross dependencies * (e.g. column_t -> default_value_extractor -> serializer_context -> db_objects_tuple -> table_t -> column_t) * this file is also used to provide definitions of in...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/implementations/table_definitions.h", "license": "mit", "size": 2274}
### File: dev/index.h #pragma once #include <tuple> // std::tuple, std::make_tuple, std::declval, std::tuple_element_t #include <string> // std::string #include <utility> // std::forward #include "functional/cxx_universal.h" #include "tuple_helper/tuple_filter.h" #include "indexed_column.h" #include "table_type...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/index.h", "license": "mit", "size": 3039}
### File: dev/indexed_column.h #pragma once #include <string> // std::string #include <utility> // std::move #include "functional/cxx_universal.h" #include "ast/where.h" namespace sqlite_orm { namespace internal { template<class C> struct indexed_column_t { using column_type = C...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/indexed_column.h", "license": "mit", "size": 1957}
### File: dev/interface_definitions.h /** @file Mainly existing to disentangle implementation details from circular and cross dependencies * (e.g. column_t -> default_value_extractor -> serializer_context -> db_objects_tuple -> table_t -> column_t) * this file is also used to provide definitions of interface meth...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/interface_definitions.h", "license": "mit", "size": 479}
### File: dev/is_base_of_template.h #pragma once #include <type_traits> // std::true_type, std::false_type, std::declval namespace sqlite_orm { namespace internal { /* * This is because of bug in MSVC, for more information, please visit * https://stackoverflow.com/questions/34672441/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/is_base_of_template.h", "license": "mit", "size": 1401}
### File: dev/is_std_ptr.h #pragma once #include <type_traits> #include <memory> namespace sqlite_orm { /** * Specialization for optional type (std::shared_ptr / std::unique_ptr). */ template<typename T> struct is_std_ptr : std::false_type {}; template<typename T> struct is_std_ptr<std...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/is_std_ptr.h", "license": "mit", "size": 824}
### File: dev/iterator.h #pragma once #include <sqlite3.h> #include <memory> // std::shared_ptr, std::unique_ptr, std::make_shared #include <type_traits> // std::decay #include <utility> // std::move #include <iterator> // std::input_iterator_tag #include <system_error> // std::system_error #include <functio...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/iterator.h", "license": "mit", "size": 3155}
### File: dev/journal_mode.h #pragma once #include <iterator> // std::back_inserter #include <string> // std::string #include <memory> // std::unique_ptr #include <array> // std::array #include <algorithm> // std::transform #include <cctype> // std::toupper #if defined(_WINNT_) // DELETE is a macro defined...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/journal_mode.h", "license": "mit", "size": 2089}
### File: dev/limit_accessor.h #pragma once #include <sqlite3.h> #include <map> // std::map #include <functional> // std::function #include <memory> // std::shared_ptr #include "connection_holder.h" namespace sqlite_orm { namespace internal { struct limit_accessor { using get_connecti...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/limit_accessor.h", "license": "mit", "size": 3901}
### File: dev/literal.h #pragma once namespace sqlite_orm { namespace internal { /* * Protect an otherwise bindable element so that it is always serialized as a literal value. */ template<class T> struct literal_holder { using type = T; ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/literal.h", "license": "mit", "size": 337}
### File: dev/mapped_row_extractor.h #pragma once #include <sqlite3.h> #include "object_from_column_builder.h" namespace sqlite_orm { namespace internal { /** * This is a private row extractor class. It is used for extracting rows as objects instead of tuple. * Main difference from re...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/mapped_row_extractor.h", "license": "mit", "size": 1049}
### File: dev/mapped_type_proxy.h #pragma once #include <type_traits> // std::remove_const #include "type_traits.h" #include "alias_traits.h" namespace sqlite_orm { namespace internal { /** * If T is a recordset alias then the typename mapped_type_proxy<T>::type is the unqualified aliased t...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/mapped_type_proxy.h", "license": "mit", "size": 686}
### File: dev/member_traits/member_traits.h #pragma once #include <type_traits> // std::enable_if, std::is_function, std::true_type, std::false_type #include "../functional/cxx_universal.h" #include "../functional/cxx_type_traits_polyfill.h" namespace sqlite_orm { namespace internal { // SFINAE friendl...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/member_traits/member_traits.h", "license": "mit", "size": 3282}
### File: dev/node_tuple.h #pragma once #include <type_traits> // std::enable_if #include <tuple> // std::tuple #include <utility> // std::pair #include <functional> // std::reference_wrapper #include "functional/cxx_optional.h" #include "functional/cxx_type_traits_polyfill.h" #include "tuple_helper/tuple_fil...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/node_tuple.h", "license": "mit", "size": 11524}
### File: dev/object_from_column_builder.h #pragma once #include <sqlite3.h> #include <type_traits> // std::is_member_object_pointer #include "functional/static_magic.h" #include "row_extractor.h" namespace sqlite_orm { namespace internal { struct object_from_column_builder_base { sqlite3...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/object_from_column_builder.h", "license": "mit", "size": 1563}
### File: dev/operators.h #pragma once #include <type_traits> // std::false_type, std::true_type #include <utility> // std::move #include "functional/cxx_optional.h" #include "tags.h" #include "serialize_result_type.h" namespace sqlite_orm { namespace internal { /** * Inherit this class t...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/operators.h", "license": "mit", "size": 7963}
### File: dev/optional_container.h #pragma once namespace sqlite_orm { namespace internal { /** * This is a cute class which allows storing something or nothing * depending on template argument. Useful for optional class members */ template<class T> struct opt...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/optional_container.h", "license": "mit", "size": 706}
### File: dev/order_by_serializer.h #pragma once #include <string> // std::string #include <sstream> // std::stringstream namespace sqlite_orm { namespace internal { template<class T, class SFINAE = void> struct order_by_serializer; template<class T, class Ctx> std::string s...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/order_by_serializer.h", "license": "mit", "size": 2514}
### File: dev/pointer_value.h #pragma once #include <type_traits> #include <memory> #include <utility> #include "functional/cxx_universal.h" #include "xdestroy_handling.h" namespace sqlite_orm { /** * Wraps a pointer and tags it with a pointer type, * used for accepting function parameters, * ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/pointer_value.h", "license": "mit", "size": 5770}
### File: dev/pragma.h #pragma once #include <sqlite3.h> #include <string> // std::string #include <functional> // std::function #include <memory> // std::shared_ptr #include <vector> // std::vector #include <sstream> #include "error_code.h" #include "row_extractor.h" #include "journal_mode.h" #include "connec...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/pragma.h", "license": "mit", "size": 8869}
### File: dev/prepared_statement.h #pragma once #include <sqlite3.h> #include <memory> // std::unique_ptr #include <iterator> // std::iterator_traits #include <string> // std::string #include <type_traits> // std::integral_constant, std::declval #include <utility> // std::pair #include "functional/cxx_unive...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/prepared_statement.h", "license": "mit", "size": 27636}
### File: dev/row_extractor.h #pragma once #include <sqlite3.h> #include <type_traits> // std::enable_if_t, std::is_arithmetic, std::is_same, std::enable_if #include <stdlib.h> // atof, atoi, atoll #include <system_error> // std::system_error #include <string> // std::string, std::wstring #ifndef SQLITE_ORM_OM...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/row_extractor.h", "license": "mit", "size": 11252}
### File: dev/row_extractor_builder.h #pragma once #include "functional/cxx_universal.h" #include "row_extractor.h" #include "mapped_row_extractor.h" namespace sqlite_orm { namespace internal { template<class T> row_extractor<T> make_row_extractor(nullptr_t) { return {}; } ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/row_extractor_builder.h", "license": "mit", "size": 448}
### File: dev/rowid.h #pragma once #include <string> // std::string namespace sqlite_orm { namespace internal { struct rowid_t { operator std::string() const { return "rowid"; } }; struct oid_t { operator std::string() const { ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/rowid.h", "license": "mit", "size": 1284}
### File: dev/select_constraints.h #pragma once #include <type_traits> // std::remove_const #include <string> // std::string #include <utility> // std::move #include <tuple> // std::tuple, std::get, std::tuple_size #include "functional/cxx_optional.h" #include "functional/cxx_universal.h" #include "functional...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/select_constraints.h", "license": "mit", "size": 14182}
### File: dev/serialize_result_type.h #pragma once #include "functional/cxx_string_view.h" #ifndef SQLITE_ORM_STRING_VIEW_SUPPORTED #include <string> // std::string #endif namespace sqlite_orm { namespace internal { #ifdef SQLITE_ORM_STRING_VIEW_SUPPORTED using serialize_result_type = std::string_view; ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/serialize_result_type.h", "license": "mit", "size": 462}
### File: dev/serializer_context.h #pragma once namespace sqlite_orm { namespace internal { struct serializer_context_base { bool replace_bindable_with_question = false; bool skip_table_name = true; bool use_parentheses = true; }; template<class DBOs> ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/serializer_context.h", "license": "mit", "size": 1023}
### File: dev/serializing_util.h #pragma once #include <type_traits> // std::index_sequence #include <tuple> #include <array> #include <string> #include <ostream> #include <utility> // std::exchange, std::tuple_size #include "functional/cxx_universal.h" // ::size_t #include "functional/cxx_type_traits...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/serializing_util.h", "license": "mit", "size": 18041}
### File: dev/statement_binder.h #pragma once #include <sqlite3.h> #include <type_traits> // std::enable_if_t, std::is_arithmetic, std::is_same, std::true_type, std::false_type, std::make_index_sequence, std::index_sequence #include <memory> // std::default_delete #include <string> // std::string, std::wstring #...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/statement_binder.h", "license": "mit", "size": 13902}
### File: dev/statement_finalizer.h #pragma once #include <sqlite3.h> #include <memory> // std::unique_ptr #include <type_traits> // std::integral_constant namespace sqlite_orm { /** * Guard class which finalizes `sqlite3_stmt` in dtor */ using statement_finalizer = std::unique_ptr<sqlit...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/statement_finalizer.h", "license": "mit", "size": 367}
### File: dev/statement_serializer.h #pragma once #include <sstream> // std::stringstream #include <string> // std::string #include <type_traits> // std::enable_if, std::remove_pointer #include <vector> // std::vector #include <algorithm> // std::iter_swap #ifndef SQLITE_ORM_OMITS_CODECVT #include <codecvt> ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/statement_serializer.h", "license": "mit", "size": 83863}
### File: dev/storage.h #pragma once #include <sqlite3.h> #include <memory> // std::unique_ptr/shared_ptr, std::make_unique/std::make_shared #include <system_error> // std::system_error #include <string> // std::string #include <type_traits> // std::remove_reference, std::is_base_of, std::decay, std::false_typ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/storage.h", "license": "mit", "size": 69951}
### File: dev/storage_base.h #pragma once #include <sqlite3.h> #include <functional> // std::function, std::bind #include <string> // std::string #include <sstream> // std::stringstream #include <utility> // std::move #include <system_error> // std::system_error #include <vector> // std::vector #include <m...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/storage_base.h", "license": "mit", "size": 35002}
### File: dev/storage_impl.h #pragma once #include <string> // std::string #include "functional/cxx_universal.h" // ::nullptr_t #include "functional/static_magic.h" #include "tuple_helper/tuple_filter.h" #include "tuple_helper/tuple_iteration.h" #include "type_traits.h" #include "select_constraints.h" #include "s...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/storage_impl.h", "license": "mit", "size": 2779}
### File: dev/storage_lookup.h #pragma once #include <type_traits> // std::true_type, std::false_type, std::remove_const, std::enable_if, std::is_base_of, std::is_void #include <tuple> #include <utility> // std::index_sequence, std::make_index_sequence #include "functional/cxx_universal.h" #include "functi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/storage_lookup.h", "license": "mit", "size": 5973}
### File: dev/storage_traits.h #pragma once #include <tuple> // std::tuple #include "functional/cxx_type_traits_polyfill.h" #include "tuple_helper/tuple_filter.h" #include "tuple_helper/tuple_transformer.h" #include "type_traits.h" #include "storage_lookup.h" namespace sqlite_orm { namespace internal { ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/storage_traits.h", "license": "mit", "size": 1034}
### File: dev/sync_schema_result.h #pragma once #include <ostream> namespace sqlite_orm { enum class sync_schema_result { /** * created new table, table with the same tablename did not exist */ new_table_created, /** * table schema is the same as storage, no...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/sqlite_orm", "path": "dev/sync_schema_result.h", "license": "mit", "size": 2056}