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

#include <Walker.h>

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

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
 
BasicDepthWalkFilteroperator= (const BasicDepthWalkFilter &other)=delete
 
 BasicDepthWalkFilter (BasicDepthWalkFilter &&other)=delete
 
BasicDepthWalkFilteroperator= (BasicDepthWalkFilter &&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::BasicDepthWalkFilter< ALLOC >

Walk filter which allows to walk only to the given maximum depth.

Definition at line 197 of file Walker.h.

Constructor & Destructor Documentation

◆ BasicDepthWalkFilter() [1/3]

template<typename ALLOC >
zserio::BasicDepthWalkFilter< ALLOC >::BasicDepthWalkFilter ( size_t  maxDepth)
explicit

Constructor.

Parameters
maxDepthMaximum depth to walk to.

Definition at line 562 of file Walker.h.

◆ ~BasicDepthWalkFilter()

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

Method generated by default.

◆ BasicDepthWalkFilter() [2/3]

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

Copying is disallowed!

◆ BasicDepthWalkFilter() [3/3]

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

Copying is disallowed!

Member Function Documentation

◆ afterArray()

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

Definition at line 575 of file Walker.h.

◆ afterCompound()

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

Definition at line 589 of file Walker.h.

◆ afterValue()

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

Definition at line 603 of file Walker.h.

◆ beforeArray()

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

Definition at line 568 of file Walker.h.

◆ beforeCompound()

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

Definition at line 582 of file Walker.h.

◆ beforeValue()

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

Definition at line 596 of file Walker.h.

◆ operator=() [1/2]

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

Copying is disallowed!

◆ operator=() [2/2]

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

Copying is disallowed!


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