aimstil  5.0.5
til::policy::VPAccess_Default< TContainer, TIndex > Class Template Reference

Policy for value_proxy that defines how it should access the container elements. More...

#include <til/value_proxy_policies.h>

Public Types

typedef TContainer::value_type value_type
 
typedef TContainer::const_reference const_reference
 
typedef TContainer::const_pointer const_pointer
 

Static Public Member Functions

static const_reference get (TContainer &container, TIndex i)
 Get an element value. More...
 
static const_pointer getPointer (TContainer &container, TIndex i)
 
static void set (TContainer &container, TIndex i, value_type value)
 Set a value to an element. More...
 

Detailed Description

template<typename TContainer, typename TIndex>
class til::policy::VPAccess_Default< TContainer, TIndex >

Policy for value_proxy that defines how it should access the container elements.

Definition at line 12 of file value_proxy_policies.h.

Member Typedef Documentation

◆ const_pointer

template<typename TContainer , typename TIndex >
typedef TContainer::const_pointer til::policy::VPAccess_Default< TContainer, TIndex >::const_pointer

Definition at line 19 of file value_proxy_policies.h.

◆ const_reference

template<typename TContainer , typename TIndex >
typedef TContainer::const_reference til::policy::VPAccess_Default< TContainer, TIndex >::const_reference

Definition at line 18 of file value_proxy_policies.h.

◆ value_type

template<typename TContainer , typename TIndex >
typedef TContainer::value_type til::policy::VPAccess_Default< TContainer, TIndex >::value_type

Definition at line 16 of file value_proxy_policies.h.

Member Function Documentation

◆ get()

template<typename TContainer , typename TIndex >
static const_reference til::policy::VPAccess_Default< TContainer, TIndex >::get ( TContainer &  container,
TIndex  i 
)
inlinestatic

Get an element value.

Definition at line 26 of file value_proxy_policies.h.

◆ getPointer()

template<typename TContainer , typename TIndex >
static const_pointer til::policy::VPAccess_Default< TContainer, TIndex >::getPointer ( TContainer &  container,
TIndex  i 
)
inlinestatic

Definition at line 29 of file value_proxy_policies.h.

◆ set()

template<typename TContainer , typename TIndex >
static void til::policy::VPAccess_Default< TContainer, TIndex >::set ( TContainer &  container,
TIndex  i,
value_type  value 
)
inlinestatic

Set a value to an element.

Definition at line 35 of file value_proxy_policies.h.


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