mirror of
https://github.com/marzer/tomlplusplus.git
synced 2026-02-20 15:22:13 +00:00
[skip ci] Updates
This commit is contained in:
@@ -1,20 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>toml++</title>
|
||||
<title>toml++ TOML
|
||||
Parser
|
||||
for
|
||||
C++17</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
||||
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
||||
<link href="tomlplusplus.css" rel="stylesheet"/>
|
||||
<link href="favicon-dark.png" rel="icon" type="image/png"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<meta content="#2d2d30" name="theme-color"/>
|
||||
<meta content="#22272e" name="theme-color"/>
|
||||
<script src="tomlplusplus.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header><nav id="navigation">
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="namespaces.html" id="m-navbar-brand">toml++</a>
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="annotated.html" id="m-navbar-brand">toml++ <span class="m-thin">TOML
|
||||
Parser
|
||||
for
|
||||
C++17</span></a>
|
||||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
||||
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
||||
@@ -25,7 +31,7 @@
|
||||
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
||||
<div class="m-row">
|
||||
<ol class="m-col-t-6 m-col-m-none"><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="pages.html">Pages</a></li>
|
||||
</ol>
|
||||
<ol class="m-col-t-6 m-col-m-none" start="2">
|
||||
<li><a href="annotated.html" id="m-navbar-current">Classes</a></li>
|
||||
@@ -44,14 +50,15 @@
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
<h1>Classes</h1>
|
||||
<ul class="m-doc">
|
||||
<li>namespace <a class="m-doc" href="namespacestd.html">std</a> <span class="m-doc">STL namespace.</span></li>
|
||||
<li class="m-doc-collapsible">
|
||||
<a href="#" onclick="return toggle(this)">namespace</a> <a class="m-doc" href="namespacetoml.html">toml</a> <span class="m-doc">The root namespace for all toml++ functions and types.</span>
|
||||
<ul class="m-doc">
|
||||
<li>namespace <a class="m-doc" href="namespacetoml_1_1impl.html">impl</a> <span class="m-doc">Internal implementation details. No user-serviceable parts within.</span></li>
|
||||
<li>namespace <a class="m-doc" href="namespacetoml_1_1literals.html">literals</a> <span class="m-label m-info m-flat tpp-injected tpp-inline-namespace" title="All members of this namespace are automatically members of the parent namespace. It does not require an explicit 'using' statement.">inline</span> <span class="m-doc">User-defined literals.</span></li>
|
||||
<li>struct <a class="m-doc" href="structtoml_1_1source__position.html">source_position</a> <span class="m-label m-flat m-warning">final</span> <span class="m-doc">A source document line-and-column pair.</span></li>
|
||||
<li>struct <a class="m-doc" href="structtoml_1_1source__region.html">source_region</a> <span class="m-label m-flat m-warning">final</span> <span class="m-doc">A source document region.</span></li>
|
||||
<li>class <a class="m-doc" href="classtoml_1_1array.html">array</a> <span class="m-label m-flat m-warning">final</span> <span class="m-doc">A TOML array.</span></li>
|
||||
<li>class <a class="m-doc" href="classtoml_1_1node.html">node</a> <span class="m-doc">A TOML node.</span></li>
|
||||
<li>class <a class="m-doc" href="classtoml_1_1parse__error.html">parse_error</a> <span class="m-label m-flat m-warning">final</span> <span class="m-doc">An error thrown/returned when parsing fails.</span></li>
|
||||
<li>struct <a class="m-doc" href="structtoml_1_1source__position.html">source_position</a> <span class="m-doc">A source document line-and-column pair.</span></li>
|
||||
<li>struct <a class="m-doc" href="structtoml_1_1source__region.html">source_region</a> <span class="m-doc">A source document region.</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -115,15 +122,17 @@
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
•
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
||||
an
|
||||
issue</a>
|
||||
|
||||
<br/><br/><div id="tpp-custom-footer tpp-injected">Documentation generated {} using <a href="https://mcss.mosra.cz/">m.css</a></div>
|
||||
<br/><br/>Documentation
|
||||
generated
|
||||
using
|
||||
<a href="https://mcss.mosra.cz/">m.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
396
classtoml_1_1array.html
Normal file
396
classtoml_1_1array.html
Normal file
@@ -0,0 +1,396 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>toml::array class | toml++ TOML
|
||||
Parser
|
||||
for
|
||||
C++17</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
||||
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
||||
<link href="tomlplusplus.css" rel="stylesheet"/>
|
||||
<link href="favicon-dark.png" rel="icon" type="image/png"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<meta content="#22272e" name="theme-color"/>
|
||||
<script src="tomlplusplus.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header><nav id="navigation">
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="annotated.html" id="m-navbar-brand">toml++ <span class="m-thin">TOML
|
||||
Parser
|
||||
for
|
||||
C++17</span></a>
|
||||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
||||
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
||||
</svg></a>
|
||||
<a href="#navigation" id="m-navbar-show" title="Show navigation"></a>
|
||||
<a href="#" id="m-navbar-hide" title="Hide navigation"></a>
|
||||
</div>
|
||||
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
||||
<div class="m-row">
|
||||
<ol class="m-col-t-6 m-col-m-none"><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a></li>
|
||||
<li><a href="pages.html">Pages</a></li>
|
||||
</ol>
|
||||
<ol class="m-col-t-6 m-col-m-none" start="2">
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li class="m-show-m"><a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<use href="#m-doc-search-icon-path"></use>
|
||||
</svg></a></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav></header>
|
||||
<main><article>
|
||||
<div class="m-container m-container-inflatable">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
<h1>
|
||||
<span class="m-breadcrumb"><a href="namespacetoml.html">toml</a>::<wbr/></span>array <span class="m-thin">class</span> <span class="m-label m-flat m-warning">final</span>
|
||||
</h1>
|
||||
<p>A TOML array.</p>
|
||||
<div class="m-block m-default">
|
||||
<h3>Contents</h3>
|
||||
<ul>
|
||||
<li>
|
||||
Reference
|
||||
<ul>
|
||||
<li><a href="#base-classes">Base classes</a></li>
|
||||
<li><a href="#pub-methods">Public functions</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p>The interface of this type is modeled after <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/container/vector" target="_blank">std::vector</a> so things mostly work as you'd expect them to with a vector:</p><pre class="m-code"><span class="k">auto</span> <span class="n">table</span> <span class="o">=</span> <span class="n">toml</span><span class="o">::</span><span class="n">parse</span><span class="p">(</span><span class="s">"arr = [1, 2, 3, 4, 'five']"</span><span class="n">sv</span><span class="p">);</span>
|
||||
|
||||
<span class="k">auto</span><span class="o">&</span> <span class="n">arr</span> <span class="o">=</span> <span class="o">*</span><span class="n">table</span><span class="p">.</span><span class="n">get_as</span><span class="o"><</span><span class="n">toml</span><span class="o">::</span><span class="n">array</span><span class="o">></span><span class="p">(</span><span class="s">"arr"</span><span class="p">);</span>
|
||||
|
||||
<span class="k">for</span> <span class="p">(</span><span class="kt">size_t</span> <span class="n">i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span> <span class="n">i</span> <span class="o"><</span> <span class="n">arr</span><span class="p">.</span><span class="n">size</span><span class="p">();</span> <span class="n">i</span><span class="o">++</span><span class="p">)</span>
|
||||
<span class="p">{</span>
|
||||
<span class="n">arr</span><span class="p">[</span><span class="n">i</span><span class="p">].</span><span class="n">visit</span><span class="p">([</span><span class="o">=</span><span class="p">](</span><span class="k">auto</span><span class="o">&&</span> <span class="n">el</span><span class="p">)</span> <span class="k">noexcept</span>
|
||||
<span class="p">{</span>
|
||||
<span class="n">std</span><span class="o">::</span><span class="n">cout</span> <span class="o"><<</span> <span class="n">el</span> <span class="o"><<</span> <span class="s">", "</span><span class="p">;</span>
|
||||
<span class="p">});</span>
|
||||
<span class="p">}</span>
|
||||
|
||||
<span class="c1">// prints: 1, 2, 3, 4, "five"</span></pre>
|
||||
<section id="base-classes">
|
||||
<h2><a href="#base-classes">Base classes</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
class <a class="m-doc" href="classtoml_1_1node.html">node</a>
|
||||
</dt>
|
||||
<dd>A TOML node.</dd>
|
||||
</dl>
|
||||
</section>
|
||||
<section id="pub-methods">
|
||||
<h2><a href="#pub-methods">Public functions</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="ac7652c1ab60af2ca1c7d52f0658639b4">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ac7652c1ab60af2ca1c7d52f0658639b4">back</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a reference to the last element in the array.</dd>
|
||||
<dt id="a4c58dea5e8795e4b9f8df4f1e1473204">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a4c58dea5e8795e4b9f8df4f1e1473204">back</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a reference to the last element in the array.</dd>
|
||||
<dt id="a7cff1526a6d1f6157e0eab231b4757aa">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a7cff1526a6d1f6157e0eab231b4757aa">begin</a>(</span><span class="m-doc-wrap">) const -> const_iterator <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to the first element.</dd>
|
||||
<dt id="a8ee8179ddf1cb44fdf0b8d0700f55c2f">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a8ee8179ddf1cb44fdf0b8d0700f55c2f">begin</a>(</span><span class="m-doc-wrap">) -> iterator <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to the first element.</dd>
|
||||
<dt id="a56d1cba006dccc5ad9982b58a8b2ddc1">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a56d1cba006dccc5ad9982b58a8b2ddc1">cbegin</a>(</span><span class="m-doc-wrap">) const -> const_iterator <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to the first element.</dd>
|
||||
<dt id="a50e6b032805760f3930e02923d9a84b0">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a50e6b032805760f3930e02923d9a84b0">cend</a>(</span><span class="m-doc-wrap">) const -> const_iterator <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to one-past-the-last element.</dd>
|
||||
<dt id="adaa65bf63f29f898c27423306c165d68">
|
||||
<span class="m-doc-wrap-bumper">void <a class="m-doc-self" href="#adaa65bf63f29f898c27423306c165d68">clear</a>(</span><span class="m-doc-wrap">) <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Removes all elements from the array.</dd>
|
||||
<dt id="a5d527ea6bfddad1025e90e4363c822cc">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5d527ea6bfddad1025e90e4363c822cc">empty</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if the array is empty.</dd>
|
||||
<dt id="a778b5b807ff7329f7de10237d73f29c2">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a778b5b807ff7329f7de10237d73f29c2">end</a>(</span><span class="m-doc-wrap">) const -> const_iterator <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to one-past-the-last element.</dd>
|
||||
<dt id="adaf908b0cc3e8bcb1ee9ec9ec706d223">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#adaf908b0cc3e8bcb1ee9ec9ec706d223">end</a>(</span><span class="m-doc-wrap">) -> iterator <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns an iterator to one-past-the-last element.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a723388860d72c9a162137d0293366fb2">erase</a>(</span><span class="m-doc-wrap">const_iterator first,
|
||||
const_iterator last) -> iterator <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Removes the specified range of elements elements from the array.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a22389a9ed9444fe52be10c4acbdec908">erase</a>(</span><span class="m-doc-wrap">const_iterator pos) -> iterator <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Removes the specified element from the array.</dd>
|
||||
<dt id="a5ba3af18c63546da6f9d2ac3b5b77f64">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5ba3af18c63546da6f9d2ac3b5b77f64">front</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a reference to the first element in the array.</dd>
|
||||
<dt id="a9c78848129a2a703c154e7cbe1a973d3">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a9c78848129a2a703c154e7cbe1a973d3">front</a>(</span><span class="m-doc-wrap">) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns a reference to the first element in the array.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<typename T></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#ac3f5a8093880f6a8ec4ed9f9bb5b23dc">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const -> const <a class="m-doc" href="namespacetoml.html#a7c937f95568df080c3584862c25f4030">node_<wbr/>of</a><T>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets an element at a specific index if it is a particular type.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<typename T></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a8bbe8bc0acab102ceb786b6b1fcb3fbe">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) -> <a class="m-doc" href="namespacetoml.html#a7c937f95568df080c3584862c25f4030">node_<wbr/>of</a><T>* <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets an element at a specific index if it is a particular type.</dd>
|
||||
<dt id="a17362a39f6ec6f14ce59f8a8ed2b88cf">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a17362a39f6ec6f14ce59f8a8ed2b88cf">is_array</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">override</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this node is an array.</dd>
|
||||
<dt id="ab8e15c4067237ab3192ab8f412bee0f6">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ab8e15c4067237ab3192ab8f412bee0f6">is_array_of_tables</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">override</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this array contains only tables.</dd>
|
||||
<dt>
|
||||
<div class="m-doc-template">template<typename T = void></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a35ffeee7c5ba7a45dda85699af2b0f07">is_homogeneous</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Checks if the array contains values of only one type.</dd>
|
||||
<dt id="a30764b48a4c5cb191b620b77df4c8b00">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a30764b48a4c5cb191b620b77df4c8b00">is_table</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">override</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this node is a table.</dd>
|
||||
<dt id="a7a38831cec7e7215a6101ba40fc1ce11">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a7a38831cec7e7215a6101ba40fc1ce11">is_value</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">override</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this node is a value.</dd>
|
||||
<dt id="ae9f72a1b877f2ac66327a152d55aa9c6">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#ae9f72a1b877f2ac66327a152d55aa9c6">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const -> const <a class="m-doc" href="classtoml_1_1node.html">node</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets a reference to the node element at a specific index.</dd>
|
||||
<dt id="a853bad0297ca4dcee57c97da2fe318e7">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a853bad0297ca4dcee57c97da2fe318e7">operator[]</a>(</span><span class="m-doc-wrap"><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) -> <a class="m-doc" href="classtoml_1_1node.html">node</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Gets a reference to the node element at a specific index.</dd>
|
||||
<dt id="af99d72e29cef84f736d91d627b47a1dc">
|
||||
<span class="m-doc-wrap-bumper">void <a class="m-doc-self" href="#af99d72e29cef84f736d91d627b47a1dc">pop_back</a>(</span><span class="m-doc-wrap">) <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Removes the last element from the array.</dd>
|
||||
<dt id="a1ba073adc52c3df5ad29cfd7e5daa1d5">
|
||||
<span class="m-doc-wrap-bumper">void <a class="m-doc-self" href="#a1ba073adc52c3df5ad29cfd7e5daa1d5">reserve</a>(</span><span class="m-doc-wrap"><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> new_capacity)</span>
|
||||
</dt>
|
||||
<dd>Reserves internal storage capacity up to a pre-determined number of elements.</dd>
|
||||
<dt id="af81d7b6a1257ad766a47d9276855a7c9">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#af81d7b6a1257ad766a47d9276855a7c9">size</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns the number of elements in the array.</dd>
|
||||
<dt id="a10f914637ff56f5bc6f96b089fd141a3">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a10f914637ff56f5bc6f96b089fd141a3">type</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48d">node_<wbr/>type</a> <span class="m-label m-flat m-warning">override</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns the node's type identifier.</dd>
|
||||
</dl>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Function documentation</h2>
|
||||
<section class="m-doc-details" id="a723388860d72c9a162137d0293366fb2"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">iterator toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a723388860d72c9a162137d0293366fb2">erase</a>(</span><span class="m-doc-wrap">const_iterator first,
|
||||
const_iterator last) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Removes the specified range of elements elements from the array.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th style="width: 1%">Returns</th>
|
||||
<td>The position following the Iterator following the last removed element.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a22389a9ed9444fe52be10c4acbdec908"><div>
|
||||
<h3>
|
||||
<span class="m-doc-wrap-bumper">iterator toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a22389a9ed9444fe52be10c4acbdec908">erase</a>(</span><span class="m-doc-wrap">const_iterator pos) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Removes the specified element from the array.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th style="width: 1%">Returns</th>
|
||||
<td>The position following the Iterator following the removed element.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="ac3f5a8093880f6a8ec4ed9f9bb5b23dc"><div>
|
||||
<h3>
|
||||
<div class="m-doc-template">
|
||||
template<typename T>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper">const <a class="m-doc" href="namespacetoml.html#a7c937f95568df080c3584862c25f4030">node_<wbr/>of</a><T>* toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#ac3f5a8093880f6a8ec4ed9f9bb5b23dc">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets an element at a specific index if it is a particular type.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
<thead>
|
||||
<tr><th colspan="2">Template parameters</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 1%">T</td>
|
||||
<td>The node's type.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<thead>
|
||||
<tr><th colspan="2">Parameters</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>index</td>
|
||||
<td>The element index.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td>A pointer to the selected element if it was of the specified type, or nullptr.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a8bbe8bc0acab102ceb786b6b1fcb3fbe"><div>
|
||||
<h3>
|
||||
<div class="m-doc-template">
|
||||
template<typename T>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper"><a class="m-doc" href="namespacetoml.html#a7c937f95568df080c3584862c25f4030">node_<wbr/>of</a><T>* toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a8bbe8bc0acab102ceb786b6b1fcb3fbe">get_as</a>(</span><span class="m-doc-wrap"><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> index) <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Gets an element at a specific index if it is a particular type.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
<thead>
|
||||
<tr><th colspan="2">Template parameters</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 1%">T</td>
|
||||
<td>The node's type.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<thead>
|
||||
<tr><th colspan="2">Parameters</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>index</td>
|
||||
<td>The element index.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td>A pointer to the selected element if it was of the specified type, or nullptr.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a35ffeee7c5ba7a45dda85699af2b0f07"><div>
|
||||
<h3>
|
||||
<div class="m-doc-template">
|
||||
template<typename T = void>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper">bool toml::<wbr/>array::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a35ffeee7c5ba7a45dda85699af2b0f07">is_homogeneous</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Checks if the array contains values of only one type.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
<thead>
|
||||
<tr><th colspan="2">Template parameters</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 1%">T</td>
|
||||
<td>A TOML node type. Provide an explicit type for "is every element a T?". Leave it as the default <code>void</code> for "is every element the same type?".</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td>True if the array was homogeneous.</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<aside class="m-note m-warning"><h4>Attention</h4><p>Empty arrays are <em>not</em> regarded as homogeneous.</p></aside>
|
||||
</div></section>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article></main>
|
||||
<div class="m-doc-search" id="search">
|
||||
<a href="#!" onclick="return hideSearch()"></a>
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-m-8 m-push-m-2">
|
||||
<div class="m-doc-search-header m-text m-small">
|
||||
<div><span class="m-label m-default">Tab</span> / <span class="m-label m-default">T</span> to search, <span class="m-label m-default">Esc</span> to close</div>
|
||||
<div id="search-symbolcount">…</div>
|
||||
</div>
|
||||
<div class="m-doc-search-content">
|
||||
<form>
|
||||
<input autocomplete="off" autofocus="autofocus" disabled="disabled" id="search-input" name="q" placeholder="Loading …" spellcheck="false" type="search"/>
|
||||
</form>
|
||||
<noscript class="m-text m-danger m-text-center">Unlike everything else in the docs, the search functionality <em>requires</em> JavaScript.</noscript>
|
||||
<div class="m-text m-dim m-text-center" id="search-help">
|
||||
<p class="m-noindent">Search for symbols, directories, files, pages or
|
||||
modules. You can omit any prefix from the symbol or file path; adding a
|
||||
<code>:</code> or <code>/</code> suffix lists all members of given symbol or
|
||||
directory.</p>
|
||||
<p class="m-noindent">Use <span class="m-label m-dim">↓</span>
|
||||
/ <span class="m-label m-dim">↑</span> to navigate through the list,
|
||||
<span class="m-label m-dim">Enter</span> to go.
|
||||
<span class="m-label m-dim">Tab</span> autocompletes common prefix, you can
|
||||
copy a link to the result using <span class="m-label m-dim">⌘</span>
|
||||
<span class="m-label m-dim">L</span> while <span class="m-label m-dim">⌘</span>
|
||||
<span class="m-label m-dim">M</span> produces a Markdown link.</p>
|
||||
</div>
|
||||
<div class="m-text m-warning m-text-center" id="search-notfound">Sorry, nothing was found.</div>
|
||||
<ul id="search-results"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="search-v1.js"></script>
|
||||
<script async="async" src="searchdata-v1.js"></script>
|
||||
<footer><nav>
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
•
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
||||
an
|
||||
issue</a>
|
||||
|
||||
<br/><br/>Documentation
|
||||
generated
|
||||
using
|
||||
<a href="https://mcss.mosra.cz/">m.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav></footer>
|
||||
|
||||
|
||||
</body></html>
|
||||
225
classtoml_1_1node.html
Normal file
225
classtoml_1_1node.html
Normal file
@@ -0,0 +1,225 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>toml::node class | toml++ TOML
|
||||
Parser
|
||||
for
|
||||
C++17</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
||||
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
||||
<link href="tomlplusplus.css" rel="stylesheet"/>
|
||||
<link href="favicon-dark.png" rel="icon" type="image/png"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<meta content="#22272e" name="theme-color"/>
|
||||
<script src="tomlplusplus.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header><nav id="navigation">
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="annotated.html" id="m-navbar-brand">toml++ <span class="m-thin">TOML
|
||||
Parser
|
||||
for
|
||||
C++17</span></a>
|
||||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
||||
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
||||
</svg></a>
|
||||
<a href="#navigation" id="m-navbar-show" title="Show navigation"></a>
|
||||
<a href="#" id="m-navbar-hide" title="Hide navigation"></a>
|
||||
</div>
|
||||
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
||||
<div class="m-row">
|
||||
<ol class="m-col-t-6 m-col-m-none"><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a></li>
|
||||
<li><a href="pages.html">Pages</a></li>
|
||||
</ol>
|
||||
<ol class="m-col-t-6 m-col-m-none" start="2">
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li class="m-show-m"><a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<use href="#m-doc-search-icon-path"></use>
|
||||
</svg></a></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav></header>
|
||||
<main><article>
|
||||
<div class="m-container m-container-inflatable">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
<h1>
|
||||
<span class="m-breadcrumb"><a href="namespacetoml.html">toml</a>::<wbr/></span>node <span class="m-thin">class</span>
|
||||
</h1>
|
||||
<p>A TOML node.</p>
|
||||
<div class="m-block m-default">
|
||||
<h3>Contents</h3>
|
||||
<ul>
|
||||
<li>
|
||||
Reference
|
||||
<ul>
|
||||
<li><a href="#derived-classes">Derived classes</a></li>
|
||||
<li><a href="#pub-methods">Public functions</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p>A parsed TOML document forms a tree made up of tables, arrays and values. This type is the base of each of those, providing a lot of the polymorphic plumbing.</p>
|
||||
<section id="derived-classes">
|
||||
<h2><a href="#derived-classes">Derived classes</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
class <a class="m-doc" href="classtoml_1_1array.html">array</a> <span class="m-label m-flat m-warning">final</span>
|
||||
</dt>
|
||||
<dd>A TOML array.</dd>
|
||||
</dl>
|
||||
</section>
|
||||
<section id="pub-methods">
|
||||
<h2><a href="#pub-methods">Public functions</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<div class="m-doc-template">template<typename T></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="#a03e1bbe1a0640953b7105fe40c733118">is</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Checks if a node is a specific type.</dd>
|
||||
<dt id="accce7655b0cc340591a755412fde2ed7">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#accce7655b0cc340591a755412fde2ed7">is_array</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">pure virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this node is an array.</dd>
|
||||
<dt id="a1697f7da1cd6a5e4c3d3e25e08274b34">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a1697f7da1cd6a5e4c3d3e25e08274b34">is_array_of_tables</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this node is an array containing only tables.</dd>
|
||||
<dt id="a47ca3bd6392029a065f13c029b2db0b2">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a47ca3bd6392029a065f13c029b2db0b2">is_boolean</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this node is a boolean value.</dd>
|
||||
<dt id="a6e6060cb1233b87d7b57a2a203891d2a">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a6e6060cb1233b87d7b57a2a203891d2a">is_date</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this node is a local date value.</dd>
|
||||
<dt id="a9115204bee51ac6ef962dd9d47bf1b7e">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a9115204bee51ac6ef962dd9d47bf1b7e">is_date_time</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this node is a date-time value.</dd>
|
||||
<dt id="a3ea1296a95c43125119a6fe26af5b014">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a3ea1296a95c43125119a6fe26af5b014">is_floating_point</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this node is an floating-point value.</dd>
|
||||
<dt id="a5ecdb684288275ce1786281fbe1845cc">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5ecdb684288275ce1786281fbe1845cc">is_integer</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this node is an integer value.</dd>
|
||||
<dt id="aeff35977a4b13fe0fefb9a3b5917f98e">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aeff35977a4b13fe0fefb9a3b5917f98e">is_string</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this node is a string value.</dd>
|
||||
<dt id="a50a2501af7e42b0fab060206dde7a99e">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a50a2501af7e42b0fab060206dde7a99e">is_table</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">pure virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this node is a table.</dd>
|
||||
<dt id="a4a7663a4b15650cf833d5c833e313d9b">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a4a7663a4b15650cf833d5c833e313d9b">is_time</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this node is a local time value.</dd>
|
||||
<dt id="aeddf9eebbd4ece799e5675e2d9d59e4a">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aeddf9eebbd4ece799e5675e2d9d59e4a">is_value</a>(</span><span class="m-doc-wrap">) const -> bool <span class="m-label m-flat m-warning">pure virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns true if this node is a value.</dd>
|
||||
<dt id="a10f389035ce13abb00a1191358af6334">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a10f389035ce13abb00a1191358af6334">type</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48d">node_<wbr/>type</a> <span class="m-label m-flat m-warning">pure virtual</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Returns the node's type identifier.</dd>
|
||||
</dl>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Function documentation</h2>
|
||||
<section class="m-doc-details" id="a03e1bbe1a0640953b7105fe40c733118"><div>
|
||||
<h3>
|
||||
<div class="m-doc-template">
|
||||
template<typename T>
|
||||
</div>
|
||||
<span class="m-doc-wrap-bumper">bool toml::<wbr/>node::<wbr/></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a class="m-doc-self" href="#a03e1bbe1a0640953b7105fe40c733118">is</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-success">noexcept</span></span></span>
|
||||
</h3>
|
||||
<p>Checks if a node is a specific type.</p>
|
||||
<table class="m-table m-fullwidth m-flat">
|
||||
<thead>
|
||||
<tr><th colspan="2">Template parameters</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 1%">T</td>
|
||||
<td>The</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Returns</th>
|
||||
<td>Returns true if this node is an instance</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div></section>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article></main>
|
||||
<div class="m-doc-search" id="search">
|
||||
<a href="#!" onclick="return hideSearch()"></a>
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-m-8 m-push-m-2">
|
||||
<div class="m-doc-search-header m-text m-small">
|
||||
<div><span class="m-label m-default">Tab</span> / <span class="m-label m-default">T</span> to search, <span class="m-label m-default">Esc</span> to close</div>
|
||||
<div id="search-symbolcount">…</div>
|
||||
</div>
|
||||
<div class="m-doc-search-content">
|
||||
<form>
|
||||
<input autocomplete="off" autofocus="autofocus" disabled="disabled" id="search-input" name="q" placeholder="Loading …" spellcheck="false" type="search"/>
|
||||
</form>
|
||||
<noscript class="m-text m-danger m-text-center">Unlike everything else in the docs, the search functionality <em>requires</em> JavaScript.</noscript>
|
||||
<div class="m-text m-dim m-text-center" id="search-help">
|
||||
<p class="m-noindent">Search for symbols, directories, files, pages or
|
||||
modules. You can omit any prefix from the symbol or file path; adding a
|
||||
<code>:</code> or <code>/</code> suffix lists all members of given symbol or
|
||||
directory.</p>
|
||||
<p class="m-noindent">Use <span class="m-label m-dim">↓</span>
|
||||
/ <span class="m-label m-dim">↑</span> to navigate through the list,
|
||||
<span class="m-label m-dim">Enter</span> to go.
|
||||
<span class="m-label m-dim">Tab</span> autocompletes common prefix, you can
|
||||
copy a link to the result using <span class="m-label m-dim">⌘</span>
|
||||
<span class="m-label m-dim">L</span> while <span class="m-label m-dim">⌘</span>
|
||||
<span class="m-label m-dim">M</span> produces a Markdown link.</p>
|
||||
</div>
|
||||
<div class="m-text m-warning m-text-center" id="search-notfound">Sorry, nothing was found.</div>
|
||||
<ul id="search-results"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="search-v1.js"></script>
|
||||
<script async="async" src="searchdata-v1.js"></script>
|
||||
<footer><nav>
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
•
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
||||
an
|
||||
issue</a>
|
||||
|
||||
<br/><br/>Documentation
|
||||
generated
|
||||
using
|
||||
<a href="https://mcss.mosra.cz/">m.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav></footer>
|
||||
|
||||
|
||||
</body></html>
|
||||
@@ -1,20 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>toml::literals namespace | toml++</title>
|
||||
<title>toml::parse_error class | toml++ TOML
|
||||
Parser
|
||||
for
|
||||
C++17</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
||||
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
||||
<link href="tomlplusplus.css" rel="stylesheet"/>
|
||||
<link href="favicon-dark.png" rel="icon" type="image/png"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<meta content="#2d2d30" name="theme-color"/>
|
||||
<meta content="#22272e" name="theme-color"/>
|
||||
<script src="tomlplusplus.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header><nav id="navigation">
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="namespaces.html" id="m-navbar-brand">toml++</a>
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="annotated.html" id="m-navbar-brand">toml++ <span class="m-thin">TOML
|
||||
Parser
|
||||
for
|
||||
C++17</span></a>
|
||||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
||||
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
||||
@@ -25,7 +31,7 @@
|
||||
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
||||
<div class="m-row">
|
||||
<ol class="m-col-t-6 m-col-m-none"><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="pages.html">Pages</a></li>
|
||||
</ol>
|
||||
<ol class="m-col-t-6 m-col-m-none" start="2">
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
@@ -43,31 +49,32 @@
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
<h1>
|
||||
<span class="m-breadcrumb"><a href="namespacetoml.html">toml</a>::<wbr/></span>literals <span class="m-thin">namespace</span>
|
||||
<span class="m-label m-info tpp-injected tpp-inline-namespace" title="All members of this namespace are automatically members of the parent namespace. It does not require an explicit 'using' statement.">inline</span></h1>
|
||||
<p>User-defined literals.</p>
|
||||
<span class="m-breadcrumb"><a href="namespacetoml.html">toml</a>::<wbr/></span>parse_error <span class="m-thin">class</span> <span class="m-label m-flat m-warning">final</span>
|
||||
</h1>
|
||||
<p>An error thrown/returned when parsing fails.</p>
|
||||
<div class="m-block m-default">
|
||||
<h3>Contents</h3>
|
||||
<ul>
|
||||
<li>
|
||||
Reference
|
||||
<ul>
|
||||
<li><a href="#func-members">Functions</a></li>
|
||||
<li><a href="#pub-methods">Public functions</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<section id="func-members">
|
||||
<h2><a href="#func-members">Functions</a></h2>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>This class inherits from <code><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/error/runtime_error" target="_blank">std::runtime_error</a></code> when <code>TOML_EXCEPTIONS</code> is <code>1</code>. The public interface remains the same regardless of exception mode.</p></aside>
|
||||
<section id="pub-methods">
|
||||
<h2><a href="#pub-methods">Public functions</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="a4a1fced946c998e169e75fddecf18363">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a4a1fced946c998e169e75fddecf18363">operator""_sz</a>(</span><span class="m-doc-wrap">unsigned long long n) -> <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-primary">constexpr</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<dt id="a5582e9d66f8aa3f6ef442c0a04d5282f">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a5582e9d66f8aa3f6ef442c0a04d5282f">description</a>(</span><span class="m-doc-wrap">) const -> <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Specifies a <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> literal.</dd>
|
||||
<dt id="a1c49861136a6240d71d7b0d3b79ec42a">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a1c49861136a6240d71d7b0d3b79ec42a">operator""_u8</a>(</span><span class="m-doc-wrap">unsigned long long n) -> <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> <span class="m-label m-flat m-primary">constexpr</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<dd>Returns a textual description of the error.</dd>
|
||||
<dt id="a8168b4941305654cf4ba8fc96efd0514">
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a8168b4941305654cf4ba8fc96efd0514">source</a>(</span><span class="m-doc-wrap">) const -> const <a class="m-doc" href="structtoml_1_1source__region.html">source_<wbr/>region</a>& <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Specifies a <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> literal.</dd>
|
||||
<dd>Returns the region of the source document responsible for the error.</dd>
|
||||
</dl>
|
||||
</section>
|
||||
</div>
|
||||
@@ -114,15 +121,17 @@
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
•
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
||||
an
|
||||
issue</a>
|
||||
|
||||
<br/><br/><div id="tpp-custom-footer tpp-injected">Documentation generated {} using <a href="https://mcss.mosra.cz/">m.css</a></div>
|
||||
<br/><br/>Documentation
|
||||
generated
|
||||
using
|
||||
<a href="https://mcss.mosra.cz/">m.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
22
files.html
22
files.html
@@ -1,20 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>toml++</title>
|
||||
<title>toml++ TOML
|
||||
Parser
|
||||
for
|
||||
C++17</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
||||
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
||||
<link href="tomlplusplus.css" rel="stylesheet"/>
|
||||
<link href="favicon-dark.png" rel="icon" type="image/png"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<meta content="#2d2d30" name="theme-color"/>
|
||||
<meta content="#22272e" name="theme-color"/>
|
||||
<script src="tomlplusplus.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header><nav id="navigation">
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="namespaces.html" id="m-navbar-brand">toml++</a>
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="annotated.html" id="m-navbar-brand">toml++ <span class="m-thin">TOML
|
||||
Parser
|
||||
for
|
||||
C++17</span></a>
|
||||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
||||
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
||||
@@ -25,7 +31,7 @@
|
||||
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
||||
<div class="m-row">
|
||||
<ol class="m-col-t-6 m-col-m-none"><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="pages.html">Pages</a></li>
|
||||
</ol>
|
||||
<ol class="m-col-t-6 m-col-m-none" start="2">
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
@@ -105,15 +111,17 @@
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
•
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
||||
an
|
||||
issue</a>
|
||||
|
||||
<br/><br/><div id="tpp-custom-footer tpp-injected">Documentation generated {} using <a href="https://mcss.mosra.cz/">m.css</a></div>
|
||||
<br/><br/>Documentation
|
||||
generated
|
||||
using
|
||||
<a href="https://mcss.mosra.cz/">m.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
22
index.html
22
index.html
@@ -1,20 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>toml++</title>
|
||||
<title>toml++ TOML
|
||||
Parser
|
||||
for
|
||||
C++17</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
||||
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
||||
<link href="tomlplusplus.css" rel="stylesheet"/>
|
||||
<link href="favicon-dark.png" rel="icon" type="image/png"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<meta content="#2d2d30" name="theme-color"/>
|
||||
<meta content="#22272e" name="theme-color"/>
|
||||
<script src="tomlplusplus.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header><nav id="navigation">
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="namespaces.html" id="m-navbar-brand">toml++</a>
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="annotated.html" id="m-navbar-brand">toml++ <span class="m-thin">TOML
|
||||
Parser
|
||||
for
|
||||
C++17</span></a>
|
||||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
||||
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
||||
@@ -25,7 +31,7 @@
|
||||
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
||||
<div class="m-row">
|
||||
<ol class="m-col-t-6 m-col-m-none"><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="pages.html">Pages</a></li>
|
||||
</ol>
|
||||
<ol class="m-col-t-6 m-col-m-none" start="2">
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
@@ -89,15 +95,17 @@
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
•
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
||||
an
|
||||
issue</a>
|
||||
|
||||
<br/><br/><div id="tpp-custom-footer tpp-injected">Documentation generated {} using <a href="https://mcss.mosra.cz/">m.css</a></div>
|
||||
<br/><br/>Documentation
|
||||
generated
|
||||
using
|
||||
<a href="https://mcss.mosra.cz/">m.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
22
modules.html
22
modules.html
@@ -1,20 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>toml++</title>
|
||||
<title>toml++ TOML
|
||||
Parser
|
||||
for
|
||||
C++17</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
||||
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
||||
<link href="tomlplusplus.css" rel="stylesheet"/>
|
||||
<link href="favicon-dark.png" rel="icon" type="image/png"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<meta content="#2d2d30" name="theme-color"/>
|
||||
<meta content="#22272e" name="theme-color"/>
|
||||
<script src="tomlplusplus.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header><nav id="navigation">
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="namespaces.html" id="m-navbar-brand">toml++</a>
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="annotated.html" id="m-navbar-brand">toml++ <span class="m-thin">TOML
|
||||
Parser
|
||||
for
|
||||
C++17</span></a>
|
||||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
||||
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
||||
@@ -25,7 +31,7 @@
|
||||
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
||||
<div class="m-row">
|
||||
<ol class="m-col-t-6 m-col-m-none"><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="pages.html">Pages</a></li>
|
||||
</ol>
|
||||
<ol class="m-col-t-6 m-col-m-none" start="2">
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
@@ -105,15 +111,17 @@
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
•
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
||||
an
|
||||
issue</a>
|
||||
|
||||
<br/><br/><div id="tpp-custom-footer tpp-injected">Documentation generated {} using <a href="https://mcss.mosra.cz/">m.css</a></div>
|
||||
<br/><br/>Documentation
|
||||
generated
|
||||
using
|
||||
<a href="https://mcss.mosra.cz/">m.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,20 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>toml++</title>
|
||||
<title>toml++ TOML
|
||||
Parser
|
||||
for
|
||||
C++17</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
||||
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
||||
<link href="tomlplusplus.css" rel="stylesheet"/>
|
||||
<link href="favicon-dark.png" rel="icon" type="image/png"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<meta content="#2d2d30" name="theme-color"/>
|
||||
<meta content="#22272e" name="theme-color"/>
|
||||
<script src="tomlplusplus.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header><nav id="navigation">
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="namespaces.html" id="m-navbar-brand">toml++</a>
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="annotated.html" id="m-navbar-brand">toml++ <span class="m-thin">TOML
|
||||
Parser
|
||||
for
|
||||
C++17</span></a>
|
||||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
||||
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
||||
@@ -25,7 +31,7 @@
|
||||
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
||||
<div class="m-row">
|
||||
<ol class="m-col-t-6 m-col-m-none"><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a></li>
|
||||
<li><a href="namespaces.html" id="m-navbar-current">Namespaces</a></li>
|
||||
<li><a href="pages.html">Pages</a></li>
|
||||
</ol>
|
||||
<ol class="m-col-t-6 m-col-m-none" start="2">
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
@@ -44,12 +50,10 @@
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
<h1>Namespaces</h1>
|
||||
<ul class="m-doc">
|
||||
<li>namespace <a class="m-doc" href="namespacestd.html">std</a> <span class="m-doc">STL namespace.</span></li>
|
||||
<li class="m-doc-collapsible">
|
||||
<a href="#" onclick="return toggle(this)">namespace</a> <a class="m-doc" href="namespacetoml.html">toml</a> <span class="m-doc">The root namespace for all toml++ functions and types.</span>
|
||||
<ul class="m-doc">
|
||||
<li>namespace <a class="m-doc" href="namespacetoml_1_1impl.html">impl</a> <span class="m-doc">Internal implementation details. No user-serviceable parts within.</span></li>
|
||||
<li>namespace <a class="m-doc" href="namespacetoml_1_1literals.html">literals</a> <span class="m-label m-info m-flat tpp-injected tpp-inline-namespace" title="All members of this namespace are automatically members of the parent namespace. It does not require an explicit 'using' statement.">inline</span> <span class="m-doc">User-defined literals.</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -113,15 +117,17 @@
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
•
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
||||
an
|
||||
issue</a>
|
||||
|
||||
<br/><br/><div id="tpp-custom-footer tpp-injected">Documentation generated {} using <a href="https://mcss.mosra.cz/">m.css</a></div>
|
||||
<br/><br/>Documentation
|
||||
generated
|
||||
using
|
||||
<a href="https://mcss.mosra.cz/">m.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,108 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>std namespace | toml++</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
||||
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
||||
<link href="tomlplusplus.css" rel="stylesheet"/>
|
||||
<link href="favicon-dark.png" rel="icon" type="image/png"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<meta content="#2d2d30" name="theme-color"/>
|
||||
<script src="tomlplusplus.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header><nav id="navigation">
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="namespaces.html" id="m-navbar-brand">toml++</a>
|
||||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
||||
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
||||
</svg></a>
|
||||
<a href="#navigation" id="m-navbar-show" title="Show navigation"></a>
|
||||
<a href="#" id="m-navbar-hide" title="Hide navigation"></a>
|
||||
</div>
|
||||
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
||||
<div class="m-row">
|
||||
<ol class="m-col-t-6 m-col-m-none"><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
</ol>
|
||||
<ol class="m-col-t-6 m-col-m-none" start="2">
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li class="m-show-m"><a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<use href="#m-doc-search-icon-path"></use>
|
||||
</svg></a></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav></header>
|
||||
<main><article>
|
||||
<div class="m-container m-container-inflatable">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
<h1>
|
||||
std <span class="m-thin">namespace</span>
|
||||
</h1>
|
||||
<p>STL namespace.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article></main>
|
||||
<div class="m-doc-search" id="search">
|
||||
<a href="#!" onclick="return hideSearch()"></a>
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-m-8 m-push-m-2">
|
||||
<div class="m-doc-search-header m-text m-small">
|
||||
<div><span class="m-label m-default">Tab</span> / <span class="m-label m-default">T</span> to search, <span class="m-label m-default">Esc</span> to close</div>
|
||||
<div id="search-symbolcount">…</div>
|
||||
</div>
|
||||
<div class="m-doc-search-content">
|
||||
<form>
|
||||
<input autocomplete="off" autofocus="autofocus" disabled="disabled" id="search-input" name="q" placeholder="Loading …" spellcheck="false" type="search"/>
|
||||
</form>
|
||||
<noscript class="m-text m-danger m-text-center">Unlike everything else in the docs, the search functionality <em>requires</em> JavaScript.</noscript>
|
||||
<div class="m-text m-dim m-text-center" id="search-help">
|
||||
<p class="m-noindent">Search for symbols, directories, files, pages or
|
||||
modules. You can omit any prefix from the symbol or file path; adding a
|
||||
<code>:</code> or <code>/</code> suffix lists all members of given symbol or
|
||||
directory.</p>
|
||||
<p class="m-noindent">Use <span class="m-label m-dim">↓</span>
|
||||
/ <span class="m-label m-dim">↑</span> to navigate through the list,
|
||||
<span class="m-label m-dim">Enter</span> to go.
|
||||
<span class="m-label m-dim">Tab</span> autocompletes common prefix, you can
|
||||
copy a link to the result using <span class="m-label m-dim">⌘</span>
|
||||
<span class="m-label m-dim">L</span> while <span class="m-label m-dim">⌘</span>
|
||||
<span class="m-label m-dim">M</span> produces a Markdown link.</p>
|
||||
</div>
|
||||
<div class="m-text m-warning m-text-center" id="search-notfound">Sorry, nothing was found.</div>
|
||||
<ul id="search-results"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="search-v1.js"></script>
|
||||
<script async="async" src="searchdata-v1.js"></script>
|
||||
<footer><nav>
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
•
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
||||
an
|
||||
issue</a>
|
||||
|
||||
<br/><br/><div id="tpp-custom-footer tpp-injected">Documentation generated {} using <a href="https://mcss.mosra.cz/">m.css</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav></footer>
|
||||
|
||||
|
||||
</body></html>
|
||||
@@ -1,20 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>toml namespace | toml++</title>
|
||||
<title>toml namespace | toml++ TOML
|
||||
Parser
|
||||
for
|
||||
C++17</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
||||
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
||||
<link href="tomlplusplus.css" rel="stylesheet"/>
|
||||
<link href="favicon-dark.png" rel="icon" type="image/png"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<meta content="#2d2d30" name="theme-color"/>
|
||||
<meta content="#22272e" name="theme-color"/>
|
||||
<script src="tomlplusplus.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header><nav id="navigation">
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="namespaces.html" id="m-navbar-brand">toml++</a>
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="annotated.html" id="m-navbar-brand">toml++ <span class="m-thin">TOML
|
||||
Parser
|
||||
for
|
||||
C++17</span></a>
|
||||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
||||
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
||||
@@ -25,7 +31,7 @@
|
||||
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
||||
<div class="m-row">
|
||||
<ol class="m-col-t-6 m-col-m-none"><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="pages.html">Pages</a></li>
|
||||
</ol>
|
||||
<ol class="m-col-t-6 m-col-m-none" start="2">
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
@@ -66,13 +72,23 @@
|
||||
<dl class="m-doc">
|
||||
<dt>namespace <a class="m-doc" href="namespacetoml_1_1impl.html">impl</a></dt>
|
||||
<dd>Internal implementation details. No user-serviceable parts within.</dd>
|
||||
<dt>namespace <a class="m-doc" href="namespacetoml_1_1literals.html">literals</a> <span class="m-label m-info m-flat tpp-injected tpp-inline-namespace" title="All members of this namespace are automatically members of the parent namespace. It does not require an explicit 'using' statement.">inline</span></dt>
|
||||
<dd>User-defined literals.</dd>
|
||||
</dl>
|
||||
</section>
|
||||
<section id="nested-classes">
|
||||
<h2><a href="#nested-classes">Classes</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
class <a class="m-doc" href="classtoml_1_1array.html">array</a>
|
||||
</dt>
|
||||
<dd>A TOML array.</dd>
|
||||
<dt>
|
||||
class <a class="m-doc" href="classtoml_1_1node.html">node</a>
|
||||
</dt>
|
||||
<dd>A TOML node.</dd>
|
||||
<dt>
|
||||
class <a class="m-doc" href="classtoml_1_1parse__error.html">parse_error</a>
|
||||
</dt>
|
||||
<dd>An error thrown/returned when parsing fails.</dd>
|
||||
<dt>
|
||||
struct <a class="m-doc" href="structtoml_1_1source__position.html">source_position</a>
|
||||
</dt>
|
||||
@@ -103,6 +119,11 @@
|
||||
<section id="typedef-members">
|
||||
<h2><a href="#typedef-members">Typedefs</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt id="a7c937f95568df080c3584862c25f4030">
|
||||
<div class="m-doc-template">template<typename T></div>
|
||||
using <a class="m-doc-self" href="#a7c937f95568df080c3584862c25f4030">node_of</a> = typename impl::node_wrapper<T>::type
|
||||
</dt>
|
||||
<dd>Helper alias that wraps a type up as it's TOML node equivalent.</dd>
|
||||
<dt>
|
||||
using <a class="m-doc" href="#ae845239fd7271e3d8e529302d300ad5b">source_index</a>= <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint16_t</a>
|
||||
</dt>
|
||||
@@ -114,28 +135,31 @@
|
||||
<dt>
|
||||
using <a class="m-doc" href="#a1d0523987bb329ff90f8d14550b5f3a6">string</a>= <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>
|
||||
</dt>
|
||||
<dd>The string type for toml++ keys and string values.</dd>
|
||||
<dd>The string type for keys and string values.</dd>
|
||||
<dt>
|
||||
using <a class="m-doc" href="#a29d79a4734dc5c63b2b749b02fc0b823">string_char</a> = char
|
||||
</dt>
|
||||
<dd>The base character type for toml++ keys and string values.</dd>
|
||||
<dd>The base character type for keys and string values.</dd>
|
||||
<dt>
|
||||
using <a class="m-doc" href="#a496653fce75ee70bbe451bb5f2377265">string_view</a>= <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a>
|
||||
</dt>
|
||||
<dd>The string type for toml++ keys and string values.</dd>
|
||||
<dd>The string type for keys and string values.</dd>
|
||||
<dt id="a7b72195a2db21f3eb407442ce9993d01">
|
||||
<div class="m-doc-template">template<typename T></div>
|
||||
using <a class="m-doc-self" href="#a7b72195a2db21f3eb407442ce9993d01">value_of</a> = typename impl::node_unwrapper<T>::type
|
||||
</dt>
|
||||
<dd>Helper alias that unwraps TOML node type to it's raw value equivalent.</dd>
|
||||
</dl>
|
||||
</section>
|
||||
<section id="func-members">
|
||||
<h2><a href="#func-members">Functions</a></h2>
|
||||
<dl class="m-doc">
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="namespacetoml_1_1literals.html#a4a1fced946c998e169e75fddecf18363">operator""_sz</a>(</span><span class="m-doc-wrap">unsigned long long n) -> <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> <span class="m-label m-flat m-primary">constexpr</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
<dt id="aaa1ee3cd7e3a50ae76f0da76eb21a0bc">
|
||||
<div class="m-doc-template">template<typename CHAR></div>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aaa1ee3cd7e3a50ae76f0da76eb21a0bc">operator<<</a>(</span><span class="m-doc-wrap"><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/io/basic_ostream" target="_blank">std::basic_ostream</a><CHAR>& lhs,
|
||||
<a class="m-doc" href="namespacetoml.html#abac3e84bbf1f2c90717fca107055f48d">node_<wbr/>type</a>rhs) -> <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/io/basic_ostream" target="_blank">std::basic_ostream</a><CHAR>&</span>
|
||||
</dt>
|
||||
<dd>Specifies a <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/size_t" target="_blank">size_t</a> literal.</dd>
|
||||
<dt>
|
||||
<span class="m-doc-wrap-bumper">auto <a class="m-doc" href="namespacetoml_1_1literals.html#a1c49861136a6240d71d7b0d3b79ec42a">operator""_u8</a>(</span><span class="m-doc-wrap">unsigned long long n) -> <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> <span class="m-label m-flat m-primary">constexpr</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
||||
</dt>
|
||||
<dd>Specifies a <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> literal.</dd>
|
||||
<dd>Pretty-prints the value of a node_type to a stream.</dd>
|
||||
</dl>
|
||||
</section>
|
||||
<section>
|
||||
@@ -145,28 +169,28 @@
|
||||
using toml::<wbr/><a class="m-doc-self" href="#ae845239fd7271e3d8e529302d300ad5b">source_index</a>= <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint16_t</a>
|
||||
</h3>
|
||||
<p>The integer type used to tally line numbers and columns.</p>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>This will be <code><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint32_t</a></code> if <code>TOML_LARGE_FILES = 1</code>, otherwise it will be <code><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint16_t</a></code>.</p></aside>
|
||||
<aside class="m-note m-warning"><h4>Attention</h4><p>This will be <code><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint32_t</a></code> if <code>TOML_LARGE_FILES</code> is <code>1</code>.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a1d0523987bb329ff90f8d14550b5f3a6"><div>
|
||||
<h3>
|
||||
using toml::<wbr/><a class="m-doc-self" href="#a1d0523987bb329ff90f8d14550b5f3a6">string</a>= <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a>
|
||||
</h3>
|
||||
<p>The string type for toml++ keys and string values.</p>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>This will be <code><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::u8string</a></code> if <code>TOML_CHAR_8_STRINGS = 1</code>, otherwise it will be <code><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::string</a></code>.</p></aside>
|
||||
<p>The string type for keys and string values.</p>
|
||||
<aside class="m-note m-warning"><h4>Attention</h4><p>This will be <code><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/string/basic_string" target="_blank">std::u8string</a></code> if <code>TOML_CHAR_8_STRINGS</code> is <code>1</code>.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a29d79a4734dc5c63b2b749b02fc0b823"><div>
|
||||
<h3>
|
||||
using toml::<wbr/><a class="m-doc-self" href="#a29d79a4734dc5c63b2b749b02fc0b823">string_char</a> = char
|
||||
</h3>
|
||||
<p>The base character type for toml++ keys and string values.</p>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>This will be <code><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/language/types" target="_blank">char8_t</a></code> if <code>TOML_CHAR_8_STRINGS = 1</code>, otherwise it will be <code>char</code>.</p></aside>
|
||||
<p>The base character type for keys and string values.</p>
|
||||
<aside class="m-note m-warning"><h4>Attention</h4><p>This will be <code><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/language/types" target="_blank">char8_t</a></code> if <code>TOML_CHAR_8_STRINGS</code> is <code>1</code>.</p></aside>
|
||||
</div></section>
|
||||
<section class="m-doc-details" id="a496653fce75ee70bbe451bb5f2377265"><div>
|
||||
<h3>
|
||||
using toml::<wbr/><a class="m-doc-self" href="#a496653fce75ee70bbe451bb5f2377265">string_view</a>= <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a>
|
||||
</h3>
|
||||
<p>The string type for toml++ keys and string values.</p>
|
||||
<aside class="m-note m-default"><h4>Remark</h4><p>This will be <code><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::u8string_view</a></code> if <code>TOML_CHAR_8_STRINGS = 1</code>, otherwise it will be <code><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::string_view</a></code>.</p></aside>
|
||||
<p>The string type for keys and string values.</p>
|
||||
<aside class="m-note m-warning"><h4>Attention</h4><p>This will be <code><a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/string/basic_string_view" target="_blank">std::u8string_view</a></code> if <code>TOML_CHAR_8_STRINGS</code> is <code>1</code>.</p></aside>
|
||||
</div></section>
|
||||
</section>
|
||||
</div>
|
||||
@@ -213,15 +237,17 @@
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
•
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
||||
an
|
||||
issue</a>
|
||||
|
||||
<br/><br/><div id="tpp-custom-footer tpp-injected">Documentation generated {} using <a href="https://mcss.mosra.cz/">m.css</a></div>
|
||||
<br/><br/>Documentation
|
||||
generated
|
||||
using
|
||||
<a href="https://mcss.mosra.cz/">m.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,20 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>toml::impl namespace | toml++</title>
|
||||
<title>toml::impl namespace | toml++ TOML
|
||||
Parser
|
||||
for
|
||||
C++17</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
||||
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
||||
<link href="tomlplusplus.css" rel="stylesheet"/>
|
||||
<link href="favicon-dark.png" rel="icon" type="image/png"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<meta content="#2d2d30" name="theme-color"/>
|
||||
<meta content="#22272e" name="theme-color"/>
|
||||
<script src="tomlplusplus.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header><nav id="navigation">
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="namespaces.html" id="m-navbar-brand">toml++</a>
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="annotated.html" id="m-navbar-brand">toml++ <span class="m-thin">TOML
|
||||
Parser
|
||||
for
|
||||
C++17</span></a>
|
||||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
||||
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
||||
@@ -25,7 +31,7 @@
|
||||
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
||||
<div class="m-row">
|
||||
<ol class="m-col-t-6 m-col-m-none"><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="pages.html">Pages</a></li>
|
||||
</ol>
|
||||
<ol class="m-col-t-6 m-col-m-none" start="2">
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
@@ -90,15 +96,17 @@
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
•
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
||||
an
|
||||
issue</a>
|
||||
|
||||
<br/><br/><div id="tpp-custom-footer tpp-injected">Documentation generated {} using <a href="https://mcss.mosra.cz/">m.css</a></div>
|
||||
<br/><br/>Documentation
|
||||
generated
|
||||
using
|
||||
<a href="https://mcss.mosra.cz/">m.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
22
pages.html
22
pages.html
@@ -1,20 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>toml++</title>
|
||||
<title>toml++ TOML
|
||||
Parser
|
||||
for
|
||||
C++17</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
||||
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
||||
<link href="tomlplusplus.css" rel="stylesheet"/>
|
||||
<link href="favicon-dark.png" rel="icon" type="image/png"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<meta content="#2d2d30" name="theme-color"/>
|
||||
<meta content="#22272e" name="theme-color"/>
|
||||
<script src="tomlplusplus.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header><nav id="navigation">
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="namespaces.html" id="m-navbar-brand">toml++</a>
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="annotated.html" id="m-navbar-brand">toml++ <span class="m-thin">TOML
|
||||
Parser
|
||||
for
|
||||
C++17</span></a>
|
||||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
||||
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
||||
@@ -25,7 +31,7 @@
|
||||
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
||||
<div class="m-row">
|
||||
<ol class="m-col-t-6 m-col-m-none"><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="pages.html" id="m-navbar-current">Pages</a></li>
|
||||
</ol>
|
||||
<ol class="m-col-t-6 m-col-m-none" start="2">
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
@@ -105,15 +111,17 @@
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
•
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
||||
an
|
||||
issue</a>
|
||||
|
||||
<br/><br/><div id="tpp-custom-footer tpp-injected">Documentation generated {} using <a href="https://mcss.mosra.cz/">m.css</a></div>
|
||||
<br/><br/>Documentation
|
||||
generated
|
||||
using
|
||||
<a href="https://mcss.mosra.cz/">m.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,20 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>toml::source_position struct | toml++</title>
|
||||
<title>toml::source_position struct | toml++ TOML
|
||||
Parser
|
||||
for
|
||||
C++17</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
||||
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
||||
<link href="tomlplusplus.css" rel="stylesheet"/>
|
||||
<link href="favicon-dark.png" rel="icon" type="image/png"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<meta content="#2d2d30" name="theme-color"/>
|
||||
<meta content="#22272e" name="theme-color"/>
|
||||
<script src="tomlplusplus.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header><nav id="navigation">
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="namespaces.html" id="m-navbar-brand">toml++</a>
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="annotated.html" id="m-navbar-brand">toml++ <span class="m-thin">TOML
|
||||
Parser
|
||||
for
|
||||
C++17</span></a>
|
||||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
||||
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
||||
@@ -25,7 +31,7 @@
|
||||
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
||||
<div class="m-row">
|
||||
<ol class="m-col-t-6 m-col-m-none"><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="pages.html">Pages</a></li>
|
||||
</ol>
|
||||
<ol class="m-col-t-6 m-col-m-none" start="2">
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
@@ -43,7 +49,7 @@
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
<h1>
|
||||
<span class="m-breadcrumb"><a href="namespacetoml.html">toml</a>::<wbr/></span>source_position <span class="m-thin">struct</span> <span class="m-label m-flat m-warning">final</span>
|
||||
<span class="m-breadcrumb"><a href="namespacetoml.html">toml</a>::<wbr/></span>source_position <span class="m-thin">struct</span>
|
||||
</h1>
|
||||
<p>A source document line-and-column pair.</p>
|
||||
<div class="m-block m-default">
|
||||
@@ -141,15 +147,17 @@
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
•
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
||||
an
|
||||
issue</a>
|
||||
|
||||
<br/><br/><div id="tpp-custom-footer tpp-injected">Documentation generated {} using <a href="https://mcss.mosra.cz/">m.css</a></div>
|
||||
<br/><br/>Documentation
|
||||
generated
|
||||
using
|
||||
<a href="https://mcss.mosra.cz/">m.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,20 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>toml::source_region struct | toml++</title>
|
||||
<title>toml::source_region struct | toml++ TOML
|
||||
Parser
|
||||
for
|
||||
C++17</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
||||
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
||||
<link href="tomlplusplus.css" rel="stylesheet"/>
|
||||
<link href="favicon-dark.png" rel="icon" type="image/png"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<meta content="#2d2d30" name="theme-color"/>
|
||||
<meta content="#22272e" name="theme-color"/>
|
||||
<script src="tomlplusplus.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header><nav id="navigation">
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="namespaces.html" id="m-navbar-brand">toml++</a>
|
||||
<a class="m-col-t-8 m-col-m-none m-left-m" href="annotated.html" id="m-navbar-brand">toml++ <span class="m-thin">TOML
|
||||
Parser
|
||||
for
|
||||
C++17</span></a>
|
||||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
||||
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
||||
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
||||
@@ -25,7 +31,7 @@
|
||||
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
||||
<div class="m-row">
|
||||
<ol class="m-col-t-6 m-col-m-none"><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li><li class="tpp-injected tpp-external-navbar"><a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report an issue</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="pages.html">Pages</a></li>
|
||||
</ol>
|
||||
<ol class="m-col-t-6 m-col-m-none" start="2">
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
@@ -43,7 +49,7 @@
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
<h1>
|
||||
<span class="m-breadcrumb"><a href="namespacetoml.html">toml</a>::<wbr/></span>source_region <span class="m-thin">struct</span> <span class="m-label m-flat m-warning">final</span>
|
||||
<span class="m-breadcrumb"><a href="namespacetoml.html">toml</a>::<wbr/></span>source_region <span class="m-thin">struct</span>
|
||||
</h1>
|
||||
<p>A source document region.</p>
|
||||
<div class="m-block m-default">
|
||||
@@ -128,15 +134,17 @@
|
||||
<div class="m-container">
|
||||
<div class="m-row">
|
||||
<div class="m-col-l-10 m-push-l-1">
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
||||
•
|
||||
|
||||
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
||||
an
|
||||
issue</a>
|
||||
|
||||
<br/><br/><div id="tpp-custom-footer tpp-injected">Documentation generated {} using <a href="https://mcss.mosra.cz/">m.css</a></div>
|
||||
<br/><br/>Documentation
|
||||
generated
|
||||
using
|
||||
<a href="https://mcss.mosra.cz/">m.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
195
tomlplusplus.css
195
tomlplusplus.css
@@ -1,3 +1,4 @@
|
||||
/*
|
||||
table.m-table th
|
||||
{
|
||||
color: #ffe698;
|
||||
@@ -49,71 +50,16 @@ dl.m-doc dd
|
||||
margin-bottom: 0.8rem;
|
||||
}
|
||||
|
||||
a.tpp-external
|
||||
{
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.m-doc-template a, dl.m-doc dd a, ul.m-doc li > span.m-doc a
|
||||
{
|
||||
color: #858585;
|
||||
color: #858585;
|
||||
}
|
||||
|
||||
.m-doc-template a.tpp-external:hover,
|
||||
dl.m-doc dd a.tpp-external:hover,
|
||||
ul.m-doc li > span.m-doc a.tpp-external:hover
|
||||
{
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
|
||||
.tpp-swatch, .tpp-enable-if > *
|
||||
{
|
||||
display: inline-block;
|
||||
border-radius: 0.2rem;
|
||||
}
|
||||
|
||||
.tpp-enable-if
|
||||
{
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.tpp-enable-if > *
|
||||
{
|
||||
background-clip: padding-box !important;
|
||||
padding: 0px 2px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tpp-enable-if > a
|
||||
{
|
||||
white-space: nowrap;
|
||||
font-size: 0.8rem;
|
||||
font-weight: bold;
|
||||
background-color: #858585;
|
||||
color: #050505;
|
||||
padding-bottom: 0px;
|
||||
margin: 0px 1px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.tpp-enable-if > a:hover
|
||||
{
|
||||
background-color: #747474;
|
||||
color: initial;
|
||||
}
|
||||
|
||||
.tpp-enable-if > span
|
||||
{
|
||||
display: none;
|
||||
padding-left: 2em;
|
||||
|
||||
}
|
||||
|
||||
.tpp-swatch
|
||||
{
|
||||
min-width: 3em;
|
||||
min-height: 1em;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
body > header > nav
|
||||
@@ -126,12 +72,12 @@ html
|
||||
background-color: #2d2d30;
|
||||
}
|
||||
|
||||
pre, code, .m-label/*.m-flat.m-success*/, .tpp-enable-if > a
|
||||
pre, code, .m-label, .tpp-enable-if > a
|
||||
{
|
||||
font-family: 'Consolas', monospace;
|
||||
}
|
||||
|
||||
pre, .m-doc-search-content /*, .tpp-enable-if > full*/
|
||||
pre, .m-doc-search-content
|
||||
{
|
||||
background-color: #1e1e1e;
|
||||
}
|
||||
@@ -141,31 +87,6 @@ pre.m-code, code
|
||||
background-color: #1e1e1e88;
|
||||
}
|
||||
|
||||
.m-code .c1 /* comments */
|
||||
{
|
||||
color: rgb(87,166,74);
|
||||
}
|
||||
|
||||
.m-code .mi, .m-code .mf /* literals */
|
||||
{
|
||||
color: rgb(181,206,168);
|
||||
}
|
||||
|
||||
.m-code .k /* keywords */
|
||||
{
|
||||
color: rgb(86,156,214);
|
||||
}
|
||||
|
||||
.m-code .n /* names */
|
||||
{
|
||||
color: rgb(220,220,220);
|
||||
}
|
||||
|
||||
.m-code .p /* punctuation */
|
||||
{
|
||||
color: rgb(120,120,120);
|
||||
}
|
||||
|
||||
article section.m-doc-details > div > h3:first-child, article section > h2, body > footer > nav
|
||||
{
|
||||
background-color: #252526;
|
||||
@@ -178,21 +99,7 @@ article section.m-doc-details > div > h3:first-child, article section > h2, body
|
||||
|
||||
.m-label:not(.m-flat)
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
header
|
||||
{
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
margin-top: 3rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.m-doc-include
|
||||
@@ -210,9 +117,91 @@ div.m-doc-include
|
||||
color: #9999AA;
|
||||
}
|
||||
|
||||
article, article > header, article section
|
||||
*/
|
||||
|
||||
html, body
|
||||
{
|
||||
margin-bottom: 3em;
|
||||
background-color: red;
|
||||
background-color: inherit;
|
||||
scroll-padding-top: 3.5rem;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
header {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
article, article > header, article section {
|
||||
margin-bottom: 3em;
|
||||
}
|
||||
|
||||
pre, code, .tpp-enable-if > a {
|
||||
font-family: 'Consolas', 'Source Sans Pro', monospace;
|
||||
}
|
||||
|
||||
a.tpp-external {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.tpp-enable-if {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.tpp-enable-if > * {
|
||||
display: inline-block;
|
||||
border-radius: 0.2rem;
|
||||
background-clip: padding-box !important;
|
||||
padding: 0px 2px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tpp-enable-if > a {
|
||||
white-space: nowrap;
|
||||
font-size: 0.8rem;
|
||||
font-weight: bold;
|
||||
background-color: #858585;
|
||||
color: #050505;
|
||||
padding-bottom: 0px;
|
||||
margin: 0px 1px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.tpp-enable-if > a:hover {
|
||||
background-color: #747474;
|
||||
color: initial;
|
||||
}
|
||||
|
||||
.tpp-enable-if > span {
|
||||
display: none;
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
nav .m-thin {
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
|
||||
.m-code .c1 {
|
||||
color: rgb(87,166,74);
|
||||
}
|
||||
|
||||
.m-code .mi, .m-code .mf {
|
||||
color: rgb(181,206,168);
|
||||
}
|
||||
|
||||
.m-code .k {
|
||||
color: rgb(86,156,214);
|
||||
}
|
||||
|
||||
.m-code .n {
|
||||
color: rgb(220,220,220);
|
||||
}
|
||||
|
||||
.m-code .p {
|
||||
color: rgb(120,120,120);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user