Menu

famouso::mw::attributes::AttributeSet< AttrSeq > Struct Template Reference

Represents a sequence of attributes in binary representation. More...

#include <AttributeSet.h>

Inheritance diagram for famouso::mw::attributes::AttributeSet< AttrSeq >:
famouso::mw::attributes::access::AttributeSet_RT famouso::mw::attributes::access::AttributeSetHeader_RT

Data Structures

struct  find_ct
 Searches for the attribute given as a template argument in the compile time representation of this attribute set. More...

Public Types

typedef AttributeSet type
 This type.
typedef AttrSeq sequence
 The sequence that was given to create this set.

Public Member Functions

 AttributeSet ()
 Constructor creating the binary representation of the attribute sequence into its member array.

Static Public Attributes

static const uint16_t overallSize = headerSize + contentSize
 The size of the complete attribute sequence in binary representation.

Detailed Description

template<typename AttrSeq = boost::mpl::vector<>>
struct famouso::mw::attributes::AttributeSet< AttrSeq >

Represents a sequence of attributes in binary representation.

Template Parameters:
AttrSeq The sequence of attributes, the sequence elements should be derived from Attribute, see this struct's description for requirements concerning an attribute type

Member Typedef Documentation

template<typename AttrSeq = boost::mpl::vector<>>
typedef AttrSeq famouso::mw::attributes::AttributeSet< AttrSeq >::sequence

The sequence that was given to create this set.

template<typename AttrSeq = boost::mpl::vector<>>
typedef AttributeSet famouso::mw::attributes::AttributeSet< AttrSeq >::type

This type.


Constructor & Destructor Documentation

template<typename AttrSeq = boost::mpl::vector<>>
famouso::mw::attributes::AttributeSet< AttrSeq >::AttributeSet (  )  [inline]

Constructor creating the binary representation of the attribute sequence into its member array.

References famouso::mw::attributes::detail::AttributeSetImpl< AttrSeq, Iter >::construct(), and famouso::mw::attributes::access::AttributeSetHeader_RT::writeSize().


Field Documentation

template<typename AttrSeq = boost::mpl::vector<>>
const uint16_t famouso::mw::attributes::AttributeSet< AttrSeq >::overallSize = headerSize + contentSize [static]

The size of the complete attribute sequence in binary representation.

This includes the sequence header and every single attribute contained in the sequence.

Referenced by famouso::mw::nl::AWDSNL::deliver().


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