From 9596806644d81401e28b56eda36a078bbd6db593 Mon Sep 17 00:00:00 2001
From: Ferdinand Majerech Each YAML scalar, sequence or mapping has a tag specifying its data type.
Constructor uses user-specifyable functions to create a node of desired
data type from a scalar, sequence or mapping.
+ Construct a Constructor.
sLZigKoz
z09o%2D-~RgmX==TS*;y7898LJ#Vb`M&kW&IStV78&1t>0()^)Fz$XVoy6g$)ir~q4
zL!Dudz&XtK1R~?G+?BG5v(Ol3%BM;)OjldgfU0+=3B{w~Y^%Vj)wPcq@Qv@AC{G$N
zVA&Ee77tNTfg`o>HzR-%dSO~B<}xP)^?Ft6AiU&a!!o@h!@#S5b3;t{pEm@Y(X;gXX)SuN+f;Eq{`mZfpA}->aFg|`0%CLCfsE6&;#BfJsY-urue3Pb!XClSZ=U~>_
zrYyQe)KC2vfVc!zU|&pTNmJsI&JBh)=8qVbhCGQ?Q|>Q}ifKt8HD`m|H6%R+oz{wi
zNnPc!Jj(i23rl?0%sriR&xq+K~QrtmnWh
JMfVj9gt(jYT1
SOAcp1K#UXe14Y`NpWD*z2`7s@9n`+?bwjB6m`^f2Q(16PB
z#Y0s51V?LMBC4-ab|0hfPoPoR1E{Q`x*<
Ha
zUwzutcJT_cI?U|u`KqSkKS;!@u*MiJy#{-Y(WCx=h~=&%B{*N~XYdeTq%-UeYf8k2
zGVtZ+bvR?>#NJ@%P?D}iT6I+qC~=W*GQ(gk6cJv9w!gXJ0D~QL|NGq3gC>6{qT`E|
z8*g;Thm#VA(Ciu*(c3D=i^FuD7N?@F`J>6C#^`0NH|7Z8QaPp)|4Ad>qU#}UpQ?FU
zQCNKTM>#kZ7e^Rns0+lO2uA(qX?1t0KHV?=jF$QomjjnlNc8f*O~8S!#w$?MJ9M5l
z$Ze_;@4|@Pv(I~vjH&Gk?)CIPC-E1E?RGl
+
Each of these functions is associated with a tag, and can process either
@@ -82,7 +84,7 @@
If a tag is detected with no known constructor function, it is considered an error.
+
The value returned by this function will be stored in the resulting node.
Only one constructor function can be set for one tag.
+
+
+
+
+ Structs and classes must implement the opCmp() operator for D:YAML
+ support. The signature of the operator that must be implemented
+ is const int opCmp(ref const MyStruct s) for structs where
+ MyStruct is the struct type, and int opCmp(Object o) for
+ classes. Note that the class opCmp() should not alter the compared
+ values - it is not const for compatibility reasons.