CoreComponents 3.0.0
A Modern C++ Toolkit
Loading...
Searching...
No Matches
Layout< T, E >::Range Class Reference

Range for reading all layout stops within a given layout range More...

#include <Layout>

Public Types

using Item = Stop
 
using iterator = SourceIterator<Range>
 
using value_type = Stop
 
using size_type = long
 

Public Member Functions

 Range (const Layout &layout)
 Create a new view range for all stops of layout.
 
 Range (const Layout &layout, Extent pos0, Extent pos1)
 Create a new view range for layout in range [pos0, pos1)
 
bool read (Out< Stop > stop)
 Read the next layout stop stop.
 
iterator begin ()
 
iterator end ()
 

Detailed Description

template<class T, class E>
class cc::Layout< T, E >::Range

Range for reading all layout stops within a given layout range

Constructor & Destructor Documentation

◆ Range() [1/2]

template<class T , class E >
Range ( const Layout & layout)
explicit

Create a new view range for all stops of layout.

◆ Range() [2/2]

template<class T , class E >
Range ( const Layout & layout,
Extent pos0,
Extent pos1 )

Create a new view range for layout in range [pos0, pos1)

Member Function Documentation

◆ read()

template<class T , class E >
bool read ( Out< Stop > stop)

Read the next layout stop stop.