diff options
author | Richard Nelson <none@none> | 2010-10-06 16:56:38 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-10-06 16:56:38 -0700 |
commit | 5647e745989d6c3e4387ec990a35c4308dd6b929 (patch) | |
tree | 18b17faf6c2c7c03ba24445ee1e6018fff49413f /indra/llui/llsdparam.h | |
parent | b285fd4d0abf9113fc416c30ac115db06c9f2ebf (diff) |
added param block support for empty/undefined elements in XML/LLSD respectively.
This way <foo/> or LLSD["foo"]; both define a default constructed value for the parameter named foo, useful in the Multiple<T> case
Diffstat (limited to 'indra/llui/llsdparam.h')
-rw-r--r-- | indra/llui/llsdparam.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llsdparam.h b/indra/llui/llsdparam.h index 97e8b58e49..69dab2b411 100644 --- a/indra/llui/llsdparam.h +++ b/indra/llui/llsdparam.h @@ -63,7 +63,9 @@ private: LLSD* getSDWriteNode(const parser_t::name_stack_t& name_stack); static bool writeU32Param(Parser& parser, const void* value_ptr, const parser_t::name_stack_t& name_stack); + static bool writeNoValue(Parser& parser, const void* value_ptr, const parser_t::name_stack_t& name_stack); + static bool readNoValue(Parser& parser, void* val_ptr); static bool readS32(Parser& parser, void* val_ptr); static bool readU32(Parser& parser, void* val_ptr); static bool readF32(Parser& parser, void* val_ptr); |