server GET apply pvRequest to mask

This commit is contained in:
Michael Davidsaver
2020-01-29 15:27:18 -08:00
parent 31412aff2e
commit 3bd86f9777
3 changed files with 30 additions and 19 deletions
+6 -1
View File
@@ -147,18 +147,23 @@ struct StructTop {
using Type = std::shared_ptr<const FieldDesc>;
//! serialize all Value fields
PVXS_API
void to_wire_full(Buffer& buf, const Value& val);
//! serialize BitMask and marked valid Value fields
PVXS_API
void to_wire_valid(Buffer& buf, const Value& val);
void to_wire_valid(Buffer& buf, const Value& val, const BitMask* mask=nullptr);
//! deserialize type description
PVXS_API
void from_wire_full(Buffer& buf, TypeStore& ctxt, Value& val);
//! deserialize BitMask and partial Value
PVXS_API
void from_wire_valid(Buffer& buf, TypeStore& ctxt, Value& val);
//! deserialize type description and full value (a la. pvRequest)
PVXS_API
void from_wire_type_value(Buffer& buf, TypeStore& ctxt, Value& val);