OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BgpAttributeValue< Size, C, T, Member > Class Template Reference
Inheritance diagram for BgpAttributeValue< Size, C, T, Member >:
Collaboration diagram for BgpAttributeValue< Size, C, T, Member >:

Public Types

typedef Accessor< C, T, Member > Setter
 
- Public Types inherited from ProtoElement< BgpAttributeValue< Size, C, T, Member > >
typedef void SequenceLength
 
- Public Types inherited from ElementBase
typedef void SaveOffset
 
typedef void ContextType
 
typedef NullCtxInit ContextInit
 
typedef NoMatch ContextMatch
 
typedef void Setter
 
typedef void EncodingCallback
 
typedef void ContextSwap
 
typedef void SizeSetter
 

Static Public Member Functions

static bool Verifier (const C *obj, const uint8_t *data, size_t size, ParseContext *context)
 
- Static Public Member Functions inherited from ProtoElement< BgpAttributeValue< Size, C, T, Member > >
static void Writer (T *msg, uint8_t *data, size_t size)
 
static int Parse (const uint8_t *data, size_t size, ParseContext *context, T *obj)
 
static int Encode (EncodeContext *context, const T *msg, uint8_t *data, size_t size)
 
- Static Public Member Functions inherited from ElementBase
static bool Verifier (const void *obj, const uint8_t *data, size_t size, ParseContext *context)
 

Static Public Attributes

static const int kSize = Size
 
- Static Public Attributes inherited from ElementBase
static const int kSize = 0
 
static const int kErrorCode = 0
 
static const int kErrorSubcode = 0
 

Detailed Description

template<int Size, class C, typename T, T C::* Member>
class BgpAttributeValue< Size, C, T, Member >

Definition at line 915 of file bgp_proto.cc.

Member Typedef Documentation

template<int Size, class C , typename T , T C::* Member>
typedef Accessor<C, T, Member> BgpAttributeValue< Size, C, T, Member >::Setter

Definition at line 923 of file bgp_proto.cc.

Member Function Documentation

template<int Size, class C , typename T , T C::* Member>
static bool BgpAttributeValue< Size, C, T, Member >::Verifier ( const C *  obj,
const uint8_t *  data,
size_t  size,
ParseContext context 
)
inlinestatic

Definition at line 919 of file bgp_proto.cc.

Here is the call graph for this function:

Member Data Documentation

template<int Size, class C , typename T , T C::* Member>
const int BgpAttributeValue< Size, C, T, Member >::kSize = Size
static

Definition at line 918 of file bgp_proto.cc.


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