Alchemy  1.0
A framework to robustly process network messages and structured data
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Hg::message_size_trait< T > Struct Template Reference

Indicates the type size the specified message is, static or dynamic. More...

#include <hg_def.h>

Inherits conditional< has_dynamic< T >::value, dynamic_size_trait, static_size_trait >, and conditional< has_dynamic< T >::value, dynamic_size_trait, static_size_trait >.

Detailed Description

template<typename T>
struct Hg::message_size_trait< T >

Indicates the type size the specified message is, static or dynamic.

T A TypeList definition.

Returns
A typedef called type is defined to return the size trait.
  • static_size_trait indicates a fixed-size message whose size is completely known at compile-time.
  • dynamic_size_trait indicates a dyanmically sized message. At least some part of the message requires runtime processing to determine the size of the message.

Definition at line 75 of file hg_def.h.


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