Skip to content

Commit

Permalink
Work on pimpl_my_class doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Dec 14, 2023
1 parent 66131d6 commit 4dbadfe
Show file tree
Hide file tree
Showing 26 changed files with 1,301 additions and 1,324 deletions.
48 changes: 24 additions & 24 deletions docs/litgen_book/01_05_05_online.html
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ <h1>Use litgen online<a class="headerlink" href="#use-litgen-online" title="Perm
</style>

<script>
function copy_code_1702589511144_058() {
function copy_code_1702590480842_062() {
let code = `#################### <generated_from:BoxedTypes> ####################
class BoxedBool:
value: bool
Expand Down Expand Up @@ -628,10 +628,10 @@ <h1>Use litgen online<a class="headerlink" href="#use-litgen-online" title="Perm
navigator.clipboard.writeText(code);
}
</script>
<button class="collapsible_header" id="btn_1702589511144_058_2" >Corresponding python decls (stub)</button>
<div class="collapsible_content" id="content_1702589511144_058_2">
<button class="collapsible_header" id="btn_1702590480842_062_2" >Corresponding python decls (stub)</button>
<div class="collapsible_content" id="content_1702590480842_062_2">
<div>
<button onclick="copy_code_1702589511144_058()" align="right">copy &#x270d;</button>
<button onclick="copy_code_1702590480842_062()" align="right">copy &#x270d;</button>
</div>
<style>pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
Expand Down Expand Up @@ -773,10 +773,10 @@ <h1>Use litgen online<a class="headerlink" href="#use-litgen-online" title="Perm
</div>

<script>
var button = document.getElementById("btn_1702589511144_058_2");
var button = document.getElementById("btn_1702590480842_062_2");
button.addEventListener("click", function() {
this.classList.toggle("collapsible_header_opened");
var content = document.getElementById("content_1702589511144_058_2");
var content = document.getElementById("content_1702590480842_062_2");
if (content.style.maxHeight){
content.style.maxHeight = null;
} else {
Expand All @@ -786,9 +786,9 @@ <h1>Use litgen online<a class="headerlink" href="#use-litgen-online" title="Perm
</script>

<script>
var collapsible_header = document.getElementById("btn_1702589511144_058_2");
var collapsible_header = document.getElementById("btn_1702590480842_062_2");
collapsible_header.classList.toggle("collapsible_header_opened");
var collapsible_content = document.getElementById("content_1702589511144_058_2");
var collapsible_content = document.getElementById("content_1702590480842_062_2");
collapsible_content.style.maxHeight = "80em";
</script>
<br/>
Expand Down Expand Up @@ -837,7 +837,7 @@ <h1>Use litgen online<a class="headerlink" href="#use-litgen-online" title="Perm
</style>

<script>
function copy_code_1702589511126_108() {
function copy_code_1702590480825_353() {
let code = `//////////////////// <generated_from:BoxedTypes> ////////////////////
auto pyClassBoxedBool =
py::class_<BoxedBool>
Expand Down Expand Up @@ -915,10 +915,10 @@ <h1>Use litgen online<a class="headerlink" href="#use-litgen-online" title="Perm
navigator.clipboard.writeText(code);
}
</script>
<button class="collapsible_header" id="btn_1702589511126_108_0" >pybind11 C++ binding code</button>
<div class="collapsible_content" id="content_1702589511126_108_0">
<button class="collapsible_header" id="btn_1702590480825_353_0" >pybind11 C++ binding code</button>
<div class="collapsible_content" id="content_1702590480825_353_0">
<div>
<button onclick="copy_code_1702589511126_108()" align="right">copy &#x270d;</button>
<button onclick="copy_code_1702590480825_353()" align="right">copy &#x270d;</button>
</div>
<style>pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
Expand Down Expand Up @@ -1068,10 +1068,10 @@ <h1>Use litgen online<a class="headerlink" href="#use-litgen-online" title="Perm
</div>

<script>
var button = document.getElementById("btn_1702589511126_108_0");
var button = document.getElementById("btn_1702590480825_353_0");
button.addEventListener("click", function() {
this.classList.toggle("collapsible_header_opened");
var content = document.getElementById("content_1702589511126_108_0");
var content = document.getElementById("content_1702590480825_353_0");
if (content.style.maxHeight){
content.style.maxHeight = null;
} else {
Expand All @@ -1081,9 +1081,9 @@ <h1>Use litgen online<a class="headerlink" href="#use-litgen-online" title="Perm
</script>

<script>
var collapsible_header = document.getElementById("btn_1702589511126_108_0");
var collapsible_header = document.getElementById("btn_1702590480825_353_0");
collapsible_header.classList.toggle("collapsible_header_opened");
var collapsible_content = document.getElementById("content_1702589511126_108_0");
var collapsible_content = document.getElementById("content_1702590480825_353_0");
collapsible_content.style.maxHeight = "80em";
</script>
<br/>
Expand Down Expand Up @@ -1132,7 +1132,7 @@ <h1>Use litgen online<a class="headerlink" href="#use-litgen-online" title="Perm
</style>

<script>
function copy_code_1702589511126_709() {
function copy_code_1702590480825_9158() {
let code = `struct BoxedBool
{
bool value;
Expand All @@ -1143,10 +1143,10 @@ <h1>Use litgen online<a class="headerlink" href="#use-litgen-online" title="Perm
navigator.clipboard.writeText(code);
}
</script>
<button class="collapsible_header" id="btn_1702589511126_709_1" >C++ glue code</button>
<div class="collapsible_content" id="content_1702589511126_709_1">
<button class="collapsible_header" id="btn_1702590480825_9158_1" >C++ glue code</button>
<div class="collapsible_content" id="content_1702590480825_9158_1">
<div>
<button onclick="copy_code_1702589511126_709()" align="right">copy &#x270d;</button>
<button onclick="copy_code_1702590480825_9158()" align="right">copy &#x270d;</button>
</div>
<style>pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
Expand Down Expand Up @@ -1229,10 +1229,10 @@ <h1>Use litgen online<a class="headerlink" href="#use-litgen-online" title="Perm
</div>

<script>
var button = document.getElementById("btn_1702589511126_709_1");
var button = document.getElementById("btn_1702590480825_9158_1");
button.addEventListener("click", function() {
this.classList.toggle("collapsible_header_opened");
var content = document.getElementById("content_1702589511126_709_1");
var content = document.getElementById("content_1702590480825_9158_1");
if (content.style.maxHeight){
content.style.maxHeight = null;
} else {
Expand All @@ -1242,9 +1242,9 @@ <h1>Use litgen online<a class="headerlink" href="#use-litgen-online" title="Perm
</script>

<script>
var collapsible_header = document.getElementById("btn_1702589511126_709_1");
var collapsible_header = document.getElementById("btn_1702590480825_9158_1");
collapsible_header.classList.toggle("collapsible_header_opened");
var collapsible_content = document.getElementById("content_1702589511126_709_1");
var collapsible_content = document.getElementById("content_1702590480825_9158_1");
collapsible_content.style.maxHeight = "80em";
</script>
</div></div>
Expand Down
Loading

0 comments on commit 4dbadfe

Please sign in to comment.