aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_structs.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-04-24 22:08:24 -0400
committerRalph Amissah <ralph@amissah.com>2016-04-24 22:08:24 -0400
commited302d1be74d2b4e69ee4b6e3834637ed531eaea (patch)
tree0f605c3756788d2fda6fe0782a7a472172a285b9 /org/ao_structs.org
parentbase ... tag (diff)
Diffstat (limited to 'org/ao_structs.org')
-rw-r--r--org/ao_structs.org71
1 files changed, 71 insertions, 0 deletions
diff --git a/org/ao_structs.org b/org/ao_structs.org
new file mode 100644
index 0000000..9350eb5
--- /dev/null
+++ b/org/ao_structs.org
@@ -0,0 +1,71 @@
+#+TITLE: sdp structs
+#+AUTHOR: Ralph Amissah
+#+EMAIL: ralph.amissah@gmail.com
+#+STARTUP: indent
+#+LANGUAGE: en
+#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
+#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
+#+OPTIONS: author:nil email:nil creator:nil timestamp:nil
+#+PROPERTY: header-args :padline no :exports code :noweb yes
+#+EXPORT_SELECT_TAGS: export
+#+EXPORT_EXCLUDE_TAGS: noexport
+#+FILETAGS: :sdp:dev:ao:
+#+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n)
+
+* structs :struct:
+[[./sdp.org][sdp]]
+
+** initialize
+#+name: structs
+#+BEGIN_SRC d
+/+ structs +/
+
+mixin template Structs() {
+ struct ObjHeading {
+ string type;
+ string lev;
+ string lvn;
+ string lcn;
+ }
+ struct ObjPara {
+ string indent_first;
+ string indent_second;
+ string bullet;
+ }
+ struct ObjComment {
+ // does not have .attrib;
+ // does not have .ocn
+ }
+ struct ObjBlock {
+ }
+ struct ObjBlockOcnString {
+ // does not have .attrib;
+ string node;
+ }
+ struct ObjComposite {
+ // size_t id;
+ string use;
+ string of;
+ string is_a;
+ string object;
+ string ocn;
+ string attrib;
+ // int ocn;
+ ObjHeading heading;
+ ObjPara para;
+ ObjBlock block;
+ ObjBlockOcnString block_ocn_string;
+ }
+}
+#+END_SRC
+
+* tangles :tangle:
+** code structure: :ao_structs.d:
+#+name: tangle_ao_structs
+#+BEGIN_SRC d :tangle ../lib/sdp/ao_structs.d
+/+
+ structs
+ ao_structs.d
++/
+<<structs>>
+#+END_SRC