#include <swcdb/db/Cells/CellValueSerialFieldUpdate.h>
Public Member Functions | |
SWC_CAN_INLINE | FieldUpdate (uint8_t a_ctrl) noexcept |
SWC_CAN_INLINE | FieldUpdate (const uint8_t **ptrp, size_t *remainp) |
FieldUpdate (FieldUpdate &&) noexcept=default | |
FieldUpdate & | operator= (FieldUpdate &&) noexcept=default |
FieldUpdate (const FieldUpdate &)=delete | |
FieldUpdate & | operator= (const FieldUpdate &)=delete |
virtual | ~FieldUpdate () noexcept |
SWC_CAN_INLINE bool | set_ctrl (const char **ptr, uint32_t *remainp, bool w_value_ctrl) noexcept |
SWC_CAN_INLINE void | set_no_add_field () noexcept |
SWC_CAN_INLINE bool | is_no_add_field () const noexcept |
SWC_CAN_INLINE void | set_delete_field () noexcept |
SWC_CAN_INLINE bool | is_delete_field () const noexcept |
SWC_CAN_INLINE void | set_value_set () noexcept |
SWC_CAN_INLINE bool | is_value_set () const noexcept |
SWC_CAN_INLINE void | set_value_del () noexcept |
SWC_CAN_INLINE bool | is_value_del () const noexcept |
SWC_CAN_INLINE bool | is_sub_op_required () const noexcept |
virtual SWC_CAN_INLINE uint24_t | encoded_length () const noexcept |
virtual SWC_CAN_INLINE void | encode (uint8_t **bufp) const |
virtual SWC_CAN_INLINE void | decode (const uint8_t **ptrp, size_t *remainp) |
virtual std::ostream & | print (std::ostream &out) const |
Public Attributes | |
uint8_t | ctrl |
Static Public Attributes | |
static constexpr const uint8_t | CTRL_DEFAULT = 0x00 |
static constexpr const uint8_t | CTRL_NO_ADD_FIELD = 0x01 |
static constexpr const uint8_t | CTRL_DELETE_FIELD = 0x02 |
static constexpr const uint8_t | CTRL_VALUE_SET = 0x04 |
static constexpr const uint8_t | CTRL_VALUE_DEL = 0x08 |
Definition at line 29 of file CellValueSerialFieldUpdate.h.
|
inlinenoexcept |
Definition at line 37 of file CellValueSerialFieldUpdate.h.
|
inline |
Definition at line 39 of file CellValueSerialFieldUpdate.h.
|
defaultnoexcept |
|
delete |
|
inlinevirtualnoexcept |
Definition at line 46 of file CellValueSerialFieldUpdate.h.
|
inlinevirtual |
Reimplemented in SWC::DB::Cell::Serial::Value::FieldUpdate_LIST_ITEMS< UpdateField_T, ValueT >, SWC::DB::Cell::Serial::Value::FieldUpdate_LIST, and SWC::DB::Cell::Serial::Value::FieldUpdate_MATH.
Definition at line 121 of file CellValueSerialFieldUpdate.h.
References ctrl, and SWC::Serialization::decode_i8().
Referenced by SWC::DB::Cell::Serial::Value::FieldUpdate_MATH::decode(), and SWC::DB::Cell::Serial::Value::FieldUpdate_LIST::decode().
|
inlinevirtual |
Reimplemented in SWC::DB::Cell::Serial::Value::FieldUpdate_LIST_ITEMS< UpdateField_T, ValueT >, SWC::DB::Cell::Serial::Value::FieldUpdate_LIST, and SWC::DB::Cell::Serial::Value::FieldUpdate_MATH.
Definition at line 117 of file CellValueSerialFieldUpdate.h.
References ctrl, and SWC::Serialization::encode_i8().
Referenced by SWC::DB::Cell::Serial::Value::FieldsWriter::add(), SWC::DB::Cell::Serial::Value::FieldUpdate_MATH::encode(), and SWC::DB::Cell::Serial::Value::FieldUpdate_LIST::encode().
|
inlinevirtualnoexcept |
Reimplemented in SWC::DB::Cell::Serial::Value::FieldUpdate_LIST_ITEMS< UpdateField_T, ValueT >, SWC::DB::Cell::Serial::Value::FieldUpdate_LIST, and SWC::DB::Cell::Serial::Value::FieldUpdate_MATH.
Definition at line 113 of file CellValueSerialFieldUpdate.h.
Referenced by SWC::DB::Cell::Serial::Value::FieldsWriter::add(), SWC::DB::Cell::Serial::Value::FieldUpdate_MATH::encoded_length(), and SWC::DB::Cell::Serial::Value::FieldUpdate_LIST::encoded_length().
|
inlinenoexcept |
Definition at line 89 of file CellValueSerialFieldUpdate.h.
References ctrl, and CTRL_DELETE_FIELD.
Referenced by is_sub_op_required(), print(), SWC::client::SQL::Reader::read_ts_and_value(), and SWC::Thrift::Converter::set().
|
inlinenoexcept |
Definition at line 81 of file CellValueSerialFieldUpdate.h.
References ctrl, and CTRL_NO_ADD_FIELD.
Referenced by print().
|
inlinenoexcept |
Definition at line 109 of file CellValueSerialFieldUpdate.h.
References is_delete_field(), is_value_del(), and is_value_set().
Referenced by SWC::DB::Cell::Serial::Value::FieldUpdate_MATH::decode(), SWC::DB::Cell::Serial::Value::FieldUpdate_LIST::decode(), SWC::DB::Cell::Serial::Value::FieldUpdate_MATH::encode(), SWC::DB::Cell::Serial::Value::FieldUpdate_LIST::encode(), SWC::DB::Cell::Serial::Value::FieldUpdate_MATH::encoded_length(), and SWC::DB::Cell::Serial::Value::FieldUpdate_LIST::encoded_length().
|
inlinenoexcept |
Definition at line 105 of file CellValueSerialFieldUpdate.h.
References ctrl, and CTRL_VALUE_DEL.
Referenced by is_sub_op_required(), and print().
|
inlinenoexcept |
Definition at line 97 of file CellValueSerialFieldUpdate.h.
References ctrl, and CTRL_VALUE_SET.
Referenced by is_sub_op_required(), and print().
|
delete |
|
defaultnoexcept |
|
virtual |
Reimplemented in SWC::DB::Cell::Serial::Value::FieldUpdate_LIST_ITEMS< UpdateField_T, ValueT >, SWC::DB::Cell::Serial::Value::FieldUpdate_LIST, and SWC::DB::Cell::Serial::Value::FieldUpdate_MATH.
Definition at line 15 of file CellValueSerialFieldUpdate.cc.
References is_delete_field(), is_no_add_field(), is_value_del(), and is_value_set().
Referenced by SWC::DB::Cell::Serial::Value::FieldUpdate_MATH::print(), and SWC::DB::Cell::Serial::Value::FieldUpdate_LIST::print().
|
inlinenoexcept |
Definition at line 48 of file CellValueSerialFieldUpdate.h.
References set_delete_field(), set_no_add_field(), set_value_del(), set_value_set(), and SWC::Condition::str_eq().
Referenced by SWC::DB::Cell::Serial::Value::FieldUpdate_MATH::set_op(), and SWC::DB::Cell::Serial::Value::FieldUpdate_LIST::set_op().
|
inlinenoexcept |
Definition at line 85 of file CellValueSerialFieldUpdate.h.
References ctrl, and CTRL_DELETE_FIELD.
Referenced by set_ctrl().
|
inlinenoexcept |
Definition at line 77 of file CellValueSerialFieldUpdate.h.
References ctrl, and CTRL_NO_ADD_FIELD.
Referenced by set_ctrl().
|
inlinenoexcept |
Definition at line 101 of file CellValueSerialFieldUpdate.h.
References ctrl, and CTRL_VALUE_DEL.
Referenced by set_ctrl().
|
inlinenoexcept |
Definition at line 93 of file CellValueSerialFieldUpdate.h.
References ctrl, and CTRL_VALUE_SET.
Referenced by set_ctrl().
uint8_t SWC::DB::Cell::Serial::Value::FieldUpdate::ctrl |
Definition at line 126 of file CellValueSerialFieldUpdate.h.
Referenced by decode(), encode(), is_delete_field(), is_no_add_field(), is_value_del(), is_value_set(), set_delete_field(), set_no_add_field(), set_value_del(), and set_value_set().
|
staticconstexpr |
Definition at line 31 of file CellValueSerialFieldUpdate.h.
|
staticconstexpr |
Definition at line 33 of file CellValueSerialFieldUpdate.h.
Referenced by is_delete_field(), and set_delete_field().
|
staticconstexpr |
Definition at line 32 of file CellValueSerialFieldUpdate.h.
Referenced by is_no_add_field(), and set_no_add_field().
|
staticconstexpr |
Definition at line 35 of file CellValueSerialFieldUpdate.h.
Referenced by is_value_del(), and set_value_del().
|
staticconstexpr |
Definition at line 34 of file CellValueSerialFieldUpdate.h.
Referenced by is_value_set(), and set_value_set().