CoreComponents 3.0.0
A Modern C++ Toolkit
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Modules
Layout< T, E >::Access Class Reference

Access item value and associated layout properties More...

#include <Layout>

Inheritance diagram for Layout< T, E >::Access:

Public Member Functions

 Access ()=default
 Create a null item access.
 
const Item & item () const
 Get access to the current item value.
 
Item & item ()
 Get access to the current item value.
 
const Extent & extent () const
 Get the current item's extent.
 
void setExtent (Extent newValue)
 Set the current item's extent
 
Extent pos () const
 Get the current item's layout position.
 

Detailed Description

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

Access item value and associated layout properties

Constructor & Destructor Documentation

◆ Access()

template<class T , class E >
Access ( )
default

Create a null item access.

Member Function Documentation

◆ item() [1/2]

template<class T , class E >
const Item & item ( ) const

Get access to the current item value.

◆ item() [2/2]

template<class T , class E >
Item & item ( )

Get access to the current item value.

◆ extent()

template<class T , class E >
const Extent & extent ( ) const

Get the current item's extent.

◆ setExtent()

template<class T , class E >
void setExtent ( Extent newValue)

Set the current item's extent

◆ pos()

template<class T , class E >
Extent pos ( ) const

Get the current item's layout position.