|
Zserio C++17 runtime library
0.5.0
Built for Zserio 2.17.0
|
#include <IWalkFilter.h>
Public Types | |
| using | Path = Vector< BasicString< RebindAlloc< ALLOC, char > >, RebindAlloc< ALLOC, BasicString< RebindAlloc< ALLOC, char > >> > |
Public Member Functions | |
| virtual | ~IBasicWalkFilter ()=default |
| virtual bool | beforeArray (const IBasicReflectableDataConstPtr< ALLOC > &array, const BasicFieldInfo< ALLOC > &fieldInfo)=0 |
| virtual bool | afterArray (const IBasicReflectableDataConstPtr< ALLOC > &array, const BasicFieldInfo< ALLOC > &fieldInfo)=0 |
| virtual bool | beforeCompound (const IBasicReflectableDataConstPtr< ALLOC > &compound, const BasicFieldInfo< ALLOC > &fieldInfo, size_t elementIndex)=0 |
| virtual bool | afterCompound (const IBasicReflectableDataConstPtr< ALLOC > &compound, const BasicFieldInfo< ALLOC > &fieldInfo, size_t elementIndex)=0 |
| virtual bool | beforeValue (const IBasicReflectableDataConstPtr< ALLOC > &value, const BasicFieldInfo< ALLOC > &fieldInfo, size_t elementIndex)=0 |
| virtual bool | afterValue (const IBasicReflectableDataConstPtr< 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.
| using zserio::IBasicWalkFilter< ALLOC >::Path = Vector<BasicString<RebindAlloc<ALLOC, char> >, RebindAlloc<ALLOC, BasicString<RebindAlloc<ALLOC, char> >> > |
Definition at line 98 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 > >.