OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VectorAccessor< C, T, Member > Struct Template Reference

#include <proto.h>

Static Public Member Functions

static void set (C *obj, const uint8_t *data, size_t elem_size)
 
static int size (const C *obj)
 
static std::vector< T >
::const_iterator 
begin (const C *obj)
 
static std::vector< T >
::const_iterator 
end (const C *obj)
 

Detailed Description

template<class C, typename T, std::vector< T > C::* Member>
struct VectorAccessor< C, T, Member >

Definition at line 119 of file src/contrail-common/base/proto.h.

Member Function Documentation

template<class C , typename T , std::vector< T > C::* Member>
static std::vector<T>::const_iterator VectorAccessor< C, T, Member >::begin ( const C *  obj)
inlinestatic

Definition at line 132 of file src/contrail-common/base/proto.h.

template<class C , typename T , std::vector< T > C::* Member>
static std::vector<T>::const_iterator VectorAccessor< C, T, Member >::end ( const C *  obj)
inlinestatic

Definition at line 135 of file src/contrail-common/base/proto.h.

template<class C , typename T , std::vector< T > C::* Member>
static void VectorAccessor< C, T, Member >::set ( C *  obj,
const uint8_t *  data,
size_t  elem_size 
)
inlinestatic

Definition at line 120 of file src/contrail-common/base/proto.h.

Here is the call graph for this function:

template<class C , typename T , std::vector< T > C::* Member>
static int VectorAccessor< C, T, Member >::size ( const C *  obj)
inlinestatic

Definition at line 129 of file src/contrail-common/base/proto.h.


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