Zserio C++ runtime library  1.2.0
Built for Zserio 2.16.0
zserio::BasicWalker< ALLOC > Class Template Reference

#include <Walker.h>

Public Member Functions

 BasicWalker (IBasicWalkObserver< ALLOC > &walkObserver)
 
 BasicWalker (IBasicWalkObserver< ALLOC > &walkObserver, IBasicWalkFilter< ALLOC > &walkFilter)
 
 ~BasicWalker ()=default
 
void walk (const IBasicReflectableConstPtr< ALLOC > &compound)
 
 BasicWalker (const BasicWalker &other)=delete
 
BasicWalkeroperator= (const BasicWalker &other)=delete
 
 BasicWalker (BasicWalker &&other)=delete
 
BasicWalkeroperator= (BasicWalker &&other)=delete
 

Detailed Description

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

Walker through zserio objects, based on generated type info (see -withTypeInfoCode) and reflectable interface (see -withReflectionCode).

Definition at line 29 of file Walker.h.

Constructor & Destructor Documentation

◆ BasicWalker() [1/4]

template<typename ALLOC >
zserio::BasicWalker< ALLOC >::BasicWalker ( IBasicWalkObserver< ALLOC > &  walkObserver)
explicit

Constructor using default walk filter.

Parameters
walkObserverObserver to use during walking.

Definition at line 446 of file Walker.h.

◆ BasicWalker() [2/4]

template<typename ALLOC >
zserio::BasicWalker< ALLOC >::BasicWalker ( IBasicWalkObserver< ALLOC > &  walkObserver,
IBasicWalkFilter< ALLOC > &  walkFilter 
)

Constructor.

Parameters
walkObserverObserver to use during walking.
walkFilterWalk filter to use.

Definition at line 452 of file Walker.h.

◆ ~BasicWalker()

template<typename ALLOC = std::allocator<uint8_t>>
zserio::BasicWalker< ALLOC >::~BasicWalker ( )
default

Method generated by default.

◆ BasicWalker() [3/4]

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

Copying and moving is disallowed!

◆ BasicWalker() [4/4]

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

Copying and moving is disallowed!

Member Function Documentation

◆ operator=() [1/2]

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

Copying and moving is disallowed!

◆ operator=() [2/2]

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

Copying and moving is disallowed!

◆ walk()

template<typename ALLOC >
void zserio::BasicWalker< ALLOC >::walk ( const IBasicReflectableConstPtr< ALLOC > &  compound)

Walks given reflectable zserio compound object.

Parameters
compoundZserio compound object to walk.

Definition at line 458 of file Walker.h.


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