+Jam + | +
+
|
+
+C++ + | +
+
|
+
diff --git a/manual/main/index.html b/manual/main/index.html index 8a7b98f61d..5309066006 100644 --- a/manual/main/index.html +++ b/manual/main/index.html @@ -995,6 +995,11 @@
b2:
-6.5.8. path
+6.5.8. db
module.
+
+Classes and functions to manage structured data.
+
+
+b2::property_db
(property-db
)
+
+Container for values structured as a tree with keys that are the tree path to
+the value. Arrays and objects (named fields) are supported.
+
+
+b2::property_db::emplace
+
+
+
+
+
+
+Jam
+
+
+rule emplace ( key + : value )
+
+
+
+
+C++
+
+
+void emplace(list_cref k, value_ref v);
+
+
+
+
+
+
+
+Set, or add, element at path key
with value
. The path can contain two kinds
+of position items: an array index or an object member. An array index is
+"[]" n
. Where the "[]"
indicates that a zero based index in the array,
+n
follows. Anything else is treated as a member field name.
+
+
+
+b2::property_db::write_file
+
+
+
+
+
+
+Jam
+
+
+rule write-file ( filename : format ? )
+
+
+
+
+C++
+
+
+void write_file(value_ref filename, value_ref format);
+
+
+
+
+
+
+
+Writes out a representation of the data to the given filename
file formatted
+as format
. Supported formats are: JSON
.
+
+
+
+
+
+
+6.5.9. path
Performs various path manipulations. Paths are always in a 'normalized'
representation. In it, a path may be either:
@@ -9594,7 +9707,7 @@
-6.5.9. sequence
+6.5.10. sequence
Various useful list functions. Note that algorithms in this module
execute largely in the caller’s module namespace, so that local rules
@@ -9675,7 +9788,7 @@
-6.5.10. stage
+6.5.11. stage
This module defines the install
rule, used to copy a set of targets to a
single location.
@@ -9794,7 +9907,7 @@
-6.5.11. type
+6.5.12. type
+
+Appendix A: Licenses
+
+
+In addition to B2 being licensed under the Boost Software License - Version 1.0,
+B2 makes use of additional libraries that are differently licensed as follows.
+
+
+A.1. MIT License
+
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+
+
+- JSON for Modern C++
+-
+
Copyright (c) 2013-2022 Niels Lohmann
+
+
+
+
+
+