Kanzi  3.9.9
Kanzi Engine C++ 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...
 
void setSourceRange (AbstractRangeSharedPtr sourceRange)
 Sets the source range. More...
 
void setViewLength (size_t viewLength)
 Sets 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

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

Constructor.

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

Member Function Documentation

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

Gets the source range.

Returns
Pointer to the source range.
void kanzi::ViewRangeImpl::setSourceRange ( AbstractRangeSharedPtr  sourceRange)
inline

Sets the source range.

Parameters
sourceRangeSource range.
Since
Kanzi 3.9.6
size_t kanzi::ViewRangeImpl::getViewLength ( ) const
inline

Gets the length of the view.

Returns
View length.
void kanzi::ViewRangeImpl::setViewLength ( size_t  viewLength)
inline

Sets the length of the view.

Parameters
viewLengthView length.
Since
Kanzi 3.9.6

Member Data Documentation

AbstractRangeSharedPtr kanzi::ViewRangeImpl::m_sourceRange
protected

Source range.

size_t kanzi::ViewRangeImpl::m_length
protected

Limiting length.


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