ug4
ug::Grid::AttachmentAccessor< TElem, TAttachment > Class Template Reference

the generic attachment-accessor for access to grids attachment pipes. More...

#include <grid.h>

+ Inheritance diagram for ug::Grid::AttachmentAccessor< TElem, TAttachment >:

Public Member Functions

bool access (Grid &grid, TAttachment &a)
 
 AttachmentAccessor ()
 
 AttachmentAccessor (const AttachmentAccessor &aa)
 
 AttachmentAccessor (Grid &grid, TAttachment &a)
 
 AttachmentAccessor (Grid &grid, TAttachment &a, bool autoAttach)
 
- Public Member Functions inherited from ug::AttachmentAccessor< TElem::grid_base_object *, TAttachment, traits< TElem >::ElementStorage >
bool access (attachment_pipe &attachmentPipe, TAttachment &attachment)
 
 AttachmentAccessor ()
 
 AttachmentAccessor (AttachmentPipe< TElem, traits< TElem >::ElementStorage > &attachmentPipe, TAttachment &attachment)
 
 AttachmentAccessor (const AttachmentAccessor &aa)
 
size_t element_data_index (typename atraits::ConstElemPtr elem)
 returns the data index of the given element regarding the associated container. More...
 
void invalidate ()
 
attachment_value_traits< ValueType >::reference operator[] (typename atraits::ConstElemPtr elem)
 
attachment_value_traits< ValueType >::const_reference operator[] (typename atraits::ConstElemPtr elem) const
 
ValueTyperaw_data ()
 returns the raw pointer to the data of the associated container More...
 
void swap (AttachmentAccessor< TElem, TAttachment, traits< TElem >::ElementStorage > &acc)
 calls swap on associated containers More...
 
bool valid () const
 

Additional Inherited Members

- Public Types inherited from ug::AttachmentAccessor< TElem::grid_base_object *, TAttachment, traits< TElem >::ElementStorage >
typedef attachment_traits< TElem, traits< TElem >::ElementStorageatraits
 
typedef TAttachment attachment
 
typedef AttachmentPipe< TElem, traits< TElem >::ElementStorageattachment_pipe
 
typedef TAttachment::ContainerType ContainerType
 
typedef TElem element
 
typedef traits< TElem >::ElementStorage ElemHandler
 
typedef TAttachment::ValueType ValueType
 
- Protected Attributes inherited from ug::AttachmentAccessor< TElem::grid_base_object *, TAttachment, traits< TElem >::ElementStorage >
ContainerTypem_pContainer
 
traits< TElem >::ElementStoragem_pHandler
 

Detailed Description

template<class TElem, class TAttachment>
class ug::Grid::AttachmentAccessor< TElem, TAttachment >

the generic attachment-accessor for access to grids attachment pipes.

Constructor & Destructor Documentation

◆ AttachmentAccessor() [1/4]

template<class TElem , class TAttachment >
ug::Grid::AttachmentAccessor< TElem, TAttachment >::AttachmentAccessor ( )

◆ AttachmentAccessor() [2/4]

template<class TElem , class TAttachment >
ug::Grid::AttachmentAccessor< TElem, TAttachment >::AttachmentAccessor ( const AttachmentAccessor< TElem, TAttachment > &  aa)

◆ AttachmentAccessor() [3/4]

template<class TElem , class TAttachment >
ug::Grid::AttachmentAccessor< TElem, TAttachment >::AttachmentAccessor ( Grid grid,
TAttachment &  a 
)

◆ AttachmentAccessor() [4/4]

template<class TElem , class TAttachment >
ug::Grid::AttachmentAccessor< TElem, TAttachment >::AttachmentAccessor ( Grid grid,
TAttachment &  a,
bool  autoAttach 
)

Member Function Documentation

◆ access()


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