TSDuck v3.40-4120
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::Names::Visitor Class Referenceabstract

A visitor interface class to be implemented by applications needing ranges of values. More...

#include <tsNames.h>

Inheritance diagram for ts::Names::Visitor:

Public Member Functions

virtual bool handleNameValue (const Names &section, uint_t value, const UString &name)=0
 Called for each name/value pair to visit.
 

Detailed Description

A visitor interface class to be implemented by applications needing ranges of values.

Member Function Documentation

◆ handleNameValue()

virtual bool ts::Names::Visitor::handleNameValue ( const Names section,
uint_t  value,
const UString name 
)
pure virtual

Called for each name/value pair to visit.

Parameters
[in]sectionA constant reference to the Names instance calling this visitor.
[in]valueThe value.
[in]nameThe name of the value.
Returns
True to continue visiting other values, false to abort the visit.

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