Zserio C++ runtime library  1.1.0
Built for Zserio 2.15.0
zserio::BasicArrayLengthWalkFilter< ALLOC > Class Template Reference

#include <Walker.h>

Inheritance diagram for zserio::BasicArrayLengthWalkFilter< ALLOC >:
Collaboration diagram for zserio::BasicArrayLengthWalkFilter< ALLOC >:

Public Member Functions

 BasicArrayLengthWalkFilter (size_t maxArrayLength)
 
 ~BasicArrayLengthWalkFilter () 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
 
 BasicArrayLengthWalkFilter (const BasicArrayLengthWalkFilter &other)=delete
 
BasicArrayLengthWalkFilteroperator= (const BasicArrayLengthWalkFilter &other)=delete
 
 BasicArrayLengthWalkFilter (BasicArrayLengthWalkFilter &&other)=delete
 
BasicArrayLengthWalkFilteroperator= (BasicArrayLengthWalkFilter &&other)=delete
 
- Public Member Functions inherited from zserio::IBasicWalkFilter< std::allocator< uint8_t > >
virtual ~IBasicWalkFilter ()=default
 
virtual bool beforeArray (const IBasicReflectableConstPtr< std::allocator< uint8_t > > &array, const BasicFieldInfo< std::allocator< uint8_t > > &fieldInfo)=0
 
virtual bool afterArray (const IBasicReflectableConstPtr< std::allocator< uint8_t > > &array, const BasicFieldInfo< std::allocator< uint8_t > > &fieldInfo)=0
 
virtual bool beforeCompound (const IBasicReflectableConstPtr< std::allocator< uint8_t > > &compound, const BasicFieldInfo< std::allocator< uint8_t > > &fieldInfo, size_t elementIndex)=0
 
virtual bool afterCompound (const IBasicReflectableConstPtr< std::allocator< uint8_t > > &compound, const BasicFieldInfo< std::allocator< uint8_t > > &fieldInfo, size_t elementIndex)=0
 
virtual bool beforeValue (const IBasicReflectableConstPtr< std::allocator< uint8_t > > &value, const BasicFieldInfo< std::allocator< uint8_t > > &fieldInfo, size_t elementIndex)=0
 
virtual bool afterValue (const IBasicReflectableConstPtr< std::allocator< uint8_t > > &value, const BasicFieldInfo< std::allocator< uint8_t > > &fieldInfo, size_t elementIndex)=0
 

Detailed Description

template<typename ALLOC = std::allocator<uint8_t>>
class zserio::BasicArrayLengthWalkFilter< ALLOC >

Walk filter which allows to walk only to the given maximum array length.

Definition at line 317 of file Walker.h.

Constructor & Destructor Documentation

◆ BasicArrayLengthWalkFilter() [1/3]

template<typename ALLOC >
zserio::BasicArrayLengthWalkFilter< ALLOC >::BasicArrayLengthWalkFilter ( size_t  maxArrayLength)
explicit

Constructor.

Parameters
maxArrayLengthMaximum array length to walk to.

Definition at line 876 of file Walker.h.

◆ ~BasicArrayLengthWalkFilter()

template<typename ALLOC = std::allocator<uint8_t>>
zserio::BasicArrayLengthWalkFilter< ALLOC >::~BasicArrayLengthWalkFilter ( )
overridedefault

Method generated by default.

◆ BasicArrayLengthWalkFilter() [2/3]

template<typename ALLOC = std::allocator<uint8_t>>
zserio::BasicArrayLengthWalkFilter< ALLOC >::BasicArrayLengthWalkFilter ( const BasicArrayLengthWalkFilter< ALLOC > &  other)
delete

Copying and moving is disallowed!

◆ BasicArrayLengthWalkFilter() [3/3]

template<typename ALLOC = std::allocator<uint8_t>>
zserio::BasicArrayLengthWalkFilter< ALLOC >::BasicArrayLengthWalkFilter ( BasicArrayLengthWalkFilter< ALLOC > &&  other)
delete

Copying and moving is disallowed!

Member Function Documentation

◆ afterArray()

template<typename ALLOC >
bool zserio::BasicArrayLengthWalkFilter< ALLOC >::afterArray ( const IBasicReflectableConstPtr< ALLOC > &  array,
const BasicFieldInfo< ALLOC > &  fieldInfo 
)
override

Definition at line 888 of file Walker.h.

◆ afterCompound()

template<typename ALLOC >
bool zserio::BasicArrayLengthWalkFilter< ALLOC >::afterCompound ( const IBasicReflectableConstPtr< ALLOC > &  compound,
const BasicFieldInfo< ALLOC > &  fieldInfo,
size_t  elementIndex 
)
override

Definition at line 902 of file Walker.h.

◆ afterValue()

template<typename ALLOC >
bool zserio::BasicArrayLengthWalkFilter< ALLOC >::afterValue ( const IBasicReflectableConstPtr< ALLOC > &  value,
const BasicFieldInfo< ALLOC > &  fieldInfo,
size_t  elementIndex 
)
override

Definition at line 916 of file Walker.h.

◆ beforeArray()

template<typename ALLOC >
bool zserio::BasicArrayLengthWalkFilter< ALLOC >::beforeArray ( const IBasicReflectableConstPtr< ALLOC > &  array,
const BasicFieldInfo< ALLOC > &  fieldInfo 
)
override

Definition at line 881 of file Walker.h.

◆ beforeCompound()

template<typename ALLOC >
bool zserio::BasicArrayLengthWalkFilter< ALLOC >::beforeCompound ( const IBasicReflectableConstPtr< ALLOC > &  compound,
const BasicFieldInfo< ALLOC > &  fieldInfo,
size_t  elementIndex 
)
override

Definition at line 895 of file Walker.h.

◆ beforeValue()

template<typename ALLOC >
bool zserio::BasicArrayLengthWalkFilter< ALLOC >::beforeValue ( const IBasicReflectableConstPtr< ALLOC > &  value,
const BasicFieldInfo< ALLOC > &  fieldInfo,
size_t  elementIndex 
)
override

Definition at line 909 of file Walker.h.

◆ operator=() [1/2]

template<typename ALLOC = std::allocator<uint8_t>>
BasicArrayLengthWalkFilter& zserio::BasicArrayLengthWalkFilter< ALLOC >::operator= ( BasicArrayLengthWalkFilter< ALLOC > &&  other)
delete

Copying and moving is disallowed!

◆ operator=() [2/2]

template<typename ALLOC = std::allocator<uint8_t>>
BasicArrayLengthWalkFilter& zserio::BasicArrayLengthWalkFilter< ALLOC >::operator= ( const BasicArrayLengthWalkFilter< ALLOC > &  other)
delete

Copying and moving is disallowed!


The documentation for this class was generated from the following file: