Kanzi Framework  3.9.0
Kanzi Engine API
kanzi::ViewRangeImpl Class Reference

View range internal implementation class. More...

#include <kanzi/core/property/view_range.hpp>

Inheritance diagram for kanzi::ViewRangeImpl:
[legend]

Public Member Functions

AbstractRangegetSourceRange () const
 Gets the source range. More...
 
size_t getViewLength () const
 Gets the length of the view. More...
 

Protected Member Functions

 ViewRangeImpl (AbstractRangeSharedPtr sourceRange, size_t length)
 Constructor. More...
 

Protected Attributes

size_t m_length
 Limiting length. More...
 
AbstractRangeSharedPtr m_sourceRange
 Source range. More...
 

Detailed Description

View range internal implementation class.

Aggregate class containing the common parts of implementation for ViewRange and IndexedViewRange.

Constructor & Destructor Documentation

◆ ViewRangeImpl()

kanzi::ViewRangeImpl::ViewRangeImpl ( AbstractRangeSharedPtr  sourceRange,
size_t  length 
)
inlineexplicitprotected

Constructor.

Parameters
sourceRangeRange as input to the view range.
lengthView range length.

Member Function Documentation

◆ getSourceRange()

AbstractRange* kanzi::ViewRangeImpl::getSourceRange ( ) const
inline

Gets the source range.

Returns
Pointer to the source range.

◆ getViewLength()

size_t kanzi::ViewRangeImpl::getViewLength ( ) const
inline

Gets the length of the view.

Returns
View length.

Member Data Documentation

◆ m_sourceRange

AbstractRangeSharedPtr kanzi::ViewRangeImpl::m_sourceRange
protected

Source range.

◆ m_length

size_t kanzi::ViewRangeImpl::m_length
protected

Limiting length.


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