Lines Matching defs:step
295 template <typename _InTp> size_t CountVariant(TLVObject &data, uint32_t step, const _InTp &intput)
301 size_t CountVariant(TLVObject &data, uint32_t step, const _InTp &input)
303 if (step == input.index()) {
306 return CountVariant<_InTp, _Rest...>(data, step + 1, input);
318 template <typename _InTp> bool WriteVariant(TLVObject &data, uint32_t step, const _InTp &input, TAG tag)
324 bool WriteVariant(TLVObject &data, uint32_t step, const _InTp &input, TAG tag)
326 if (step == input.index()) {
330 return WriteVariant<_InTp, _Rest...>(data, step + 1, input, tag);
348 template <typename _OutTp> bool ReadVariant(TLVObject &data, uint32_t step, uint32_t index, _OutTp &value, TLVHead head)
354 bool ReadVariant(TLVObject &data, uint32_t step, uint32_t index, _OutTp &value, TLVHead head)
356 if (step == index) {
362 return ReadVariant<_OutTp, _Rest...>(data, step + 1, index, value, head);