pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2013-11-16
2013-11-16 12:16:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>
aad25e3d0c6f090d8c9aca152744e478ecd587ff (
33
lines) (+
30
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Serializer: Added some more AutoDoc.
4763:
*! in the inheriting class. *! *! This function calls @[_serialize_variable()] once
-
*! for every variable in the inheriting class.
+
*! for every variable in the inheriting class
, which
+
*! in turn will call @[serializer] with the arguments:
+
*! @dl
+
*! @item Argument 1
+
*! The value of the variable
.
+
*! @item Argument 2
+
*! The name of the variable.
+
*! @item Argument 3
+
*! The declared type of the variable.
+
*! @enddl
*! *! @note *! The symbols will be listed in the order they were defined
4771:
*! *! @note *! This function is typically called via @[Serializer.serialize()].
+
*!
+
*! @seealso
+
*! @[Serializer.serialize()], @[_serialize_variable()],
+
*! @[_deserialize()]
*/ PIKEFUN void _serialize(object o, function(mixed, string, type:void) serializer)
4854:
*! These issues can all be solved by overloading this function. *! *! @seealso
-
*! @[_deserialize()], @[_serialize_variable()]
+
*! @[_deserialize()], @[_serialize_variable()]
, @[Builtin.Setter]
*/ PIKEFUN void _deserialize_variable(function(function(mixed:void), string, type: void)
4896:
*! in the inheriting class. *! *! This function calls @[_deserialize_variable()] once
-
*! for every variable in the inheriting class.
+
*! for every variable in the inheriting class
, which
+
*! in turn will call @[deserializer] with the arguments:
+
*! @dl
+
*! @item Argument 1
+
*! The setter for the variable
.
+
*! @item Argument 2
+
*! The name of the variable.
+
*! @item Argument 3
+
*! The declared type of the variable.
+
*! @enddl
*! *! @note *! The symbols will be listed in the order they were defined
4904:
*! *! @note *! This function is typically called via @[Serializer.deserialize()].
+
*!
+
*! @seealso
+
*! @[Serializer.deserialize()], @[_deserialize_variable()],
+
*! @[_serialize()], @[Builtin.Setter]
*/ PIKEFUN void _deserialize(object o, function(function(mixed:void),