ug4
|
define the interface that enables you to use your own types as element-types in an AttachmentPipe. More...
#include <attachment_pipe.h>
Public Types | |
typedef const void * | ConstElemHandlerPtr |
typedef const void * | ConstElemPtr |
typedef void | element_iterator |
typedef void * | ElemHandlerPtr |
typedef void * | ElemPtr |
typedef TElem & | ElemRef |
Static Public Member Functions | |
static element_iterator | elements_begin (ElemHandlerPtr pHandler) |
static element_iterator | elements_end (ElemHandlerPtr pHandler) |
static uint | get_data_index (ElemHandlerPtr pHandler, ConstElemPtr elem) |
static void | set_data_index (ElemHandlerPtr pHandler, ElemPtr elem, size_t index) |
define the interface that enables you to use your own types as element-types in an AttachmentPipe.
By creating a template specialization for your own element types, you can use arbitrary types as element-types in an AttachmentPipe.
typedef const void* ug::attachment_traits< TElem, TElemHandler >::ConstElemHandlerPtr |
typedef const void* ug::attachment_traits< TElem, TElemHandler >::ConstElemPtr |
typedef void ug::attachment_traits< TElem, TElemHandler >::element_iterator |
typedef void* ug::attachment_traits< TElem, TElemHandler >::ElemHandlerPtr |
typedef void* ug::attachment_traits< TElem, TElemHandler >::ElemPtr |
typedef TElem& ug::attachment_traits< TElem, TElemHandler >::ElemRef |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
References ug::INVALID_ATTACHMENT_INDEX.
Referenced by ug::AttachmentAccessor< TElem, TAttachment, TElemHandler >::element_data_index().
|
inlinestatic |