Zserio C++ runtime library
1.2.0
Built for Zserio 2.16.0
|
#include <IWalkFilter.h>
Public Member Functions | |
virtual | ~IBasicWalkFilter ()=default |
virtual bool | beforeArray (const IBasicReflectableConstPtr< ALLOC > &array, const BasicFieldInfo< ALLOC > &fieldInfo)=0 |
virtual bool | afterArray (const IBasicReflectableConstPtr< ALLOC > &array, const BasicFieldInfo< ALLOC > &fieldInfo)=0 |
virtual bool | beforeCompound (const IBasicReflectableConstPtr< ALLOC > &compound, const BasicFieldInfo< ALLOC > &fieldInfo, size_t elementIndex)=0 |
virtual bool | afterCompound (const IBasicReflectableConstPtr< ALLOC > &compound, const BasicFieldInfo< ALLOC > &fieldInfo, size_t elementIndex)=0 |
virtual bool | beforeValue (const IBasicReflectableConstPtr< ALLOC > &value, const BasicFieldInfo< ALLOC > &fieldInfo, size_t elementIndex)=0 |
virtual bool | afterValue (const IBasicReflectableConstPtr< ALLOC > &value, const BasicFieldInfo< ALLOC > &fieldInfo, size_t elementIndex)=0 |
Interface for filters which can influence the walking.
Definition at line 15 of file IWalkFilter.h.
|
virtualdefault |
Destructor.
|
pure virtual |
Called after an array.
array | Reflectable zserio array. |
fieldInfo | Array field info. |
Implemented in zserio::BasicDefaultWalkFilter< std::allocator< uint8_t > >.
|
pure virtual |
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. |
Implemented in zserio::BasicDefaultWalkFilter< std::allocator< uint8_t > >.
|
pure virtual |
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. |
Implemented in zserio::BasicDefaultWalkFilter< std::allocator< uint8_t > >.
|
pure virtual |
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. |
Implemented in zserio::BasicDefaultWalkFilter< std::allocator< uint8_t > >.
|
pure virtual |
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. |
Implemented in zserio::BasicDefaultWalkFilter< std::allocator< uint8_t > >.
|
pure virtual |
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. |
Implemented in zserio::BasicDefaultWalkFilter< std::allocator< uint8_t > >.