Zserio C++ runtime library
1.0.0
Built for Zserio 2.13.0
|
#include <Walker.h>
Public Member Functions | |
BasicDepthWalkFilter (size_t maxDepth) | |
~BasicDepthWalkFilter () override=default | |
bool | beforeArray (const IBasicReflectableConstPtr< ALLOC > &array, const BasicFieldInfo< ALLOC > &fieldInfo) override |
bool | afterArray (const IBasicReflectableConstPtr< ALLOC > &array, const BasicFieldInfo< ALLOC > &fieldInfo) override |
bool | beforeCompound (const IBasicReflectableConstPtr< ALLOC > &compound, const BasicFieldInfo< ALLOC > &fieldInfo, size_t elementIndex) override |
bool | afterCompound (const IBasicReflectableConstPtr< ALLOC > &compound, const BasicFieldInfo< ALLOC > &fieldInfo, size_t elementIndex) override |
bool | beforeValue (const IBasicReflectableConstPtr< ALLOC > &value, const BasicFieldInfo< ALLOC > &fieldInfo, size_t elementIndex) override |
bool | afterValue (const IBasicReflectableConstPtr< ALLOC > &value, const BasicFieldInfo< ALLOC > &fieldInfo, size_t elementIndex) override |
BasicDepthWalkFilter (const BasicDepthWalkFilter &other)=delete | |
BasicDepthWalkFilter & | operator= (const BasicDepthWalkFilter &other)=delete |
BasicDepthWalkFilter (BasicDepthWalkFilter &&other)=delete | |
BasicDepthWalkFilter & | operator= (BasicDepthWalkFilter &&other)=delete |
![]() | |
virtual | ~IBasicWalkFilter ()=default |
Walk filter which allows to walk only to the given maximum depth.
|
explicit |
|
overridedefault |
Method generated by default.
|
delete |
Copying is disallowed!
|
delete |
Copying is disallowed!
|
overridevirtual |
Called after an array.
array | Reflectable zserio array. |
fieldInfo | Array field info. |
Implements zserio::IBasicWalkFilter< ALLOC >.
|
overridevirtual |
Called after a compound object.
compound | Reflectable compound zserio object. |
fieldInfo | Compound field info. |
elementIndex | Element index in array or WALKER_NOT_ELEMENT if the compound is not in array. |
Implements zserio::IBasicWalkFilter< ALLOC >.
|
overridevirtual |
Called after a simple (or an unset compound or array - i.e. nullptr) value.
value | Reflectable simple value. |
fieldInfo | Field info. |
elementIndex | Element index in array or None if the value is not in array. |
Implements zserio::IBasicWalkFilter< ALLOC >.
|
overridevirtual |
Called before an array.
Note that for unset arrays (i.e. non-present optionals) the beforeValue method with nullptr is called instead!
array | Reflectable zserio array. |
fieldInfo | Array field info. |
Implements zserio::IBasicWalkFilter< ALLOC >.
|
overridevirtual |
Called before a compound object.
Note that for unset compounds (i.e. non-present optionals) the beforeValue method with nullptr is called instead!
compound | Reflectable compound zserio object. |
fieldInfo | Compound field info. |
elementIndex | Element index in array or WALKER_NOT_ELEMENT if the compound is not in array. |
Implements zserio::IBasicWalkFilter< ALLOC >.
|
overridevirtual |
Called before a simple (or an unset compound or array - i.e. nullptr) value.
value | Reflectable simple value. |
fieldInfo | Field info. |
elementIndex | Element index in array or WALKER_NOT_ELEMENT if the value is not in array. |
Implements zserio::IBasicWalkFilter< ALLOC >.
|
delete |
Copying is disallowed!
|
delete |
Copying is disallowed!