libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
msgs_t::static_size::Header_t Struct Reference
Inheritance diagram for msgs_t::static_size::Header_t:
[legend]

Public Types

enum  : bool { has_static_size =true }
 
enum  : bool { has_static_size =true }
 

Public Member Functions

constexpr Header_t (std::size_t l) noexcept(true)
 
constexpr std::size_t length () const noexcept(true)
 
constexpr bool is_valid () const noexcept(true)
 
constexpr Header_t (std::size_t l) noexcept(true)
 
constexpr std::size_t length () const noexcept(true)
 
constexpr bool is_valid () const noexcept(true)
 

Public Attributes

const std::size_t length_
 
std::uint64_t sequence {}
 

Detailed Description

Definition at line 64 of file socket_server.cpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : bool
Enumerator
has_static_size 

Definition at line 65 of file socket_server.cpp.

◆ anonymous enum

anonymous enum : bool
Enumerator
has_static_size 

Definition at line 65 of file socket_server.cpp.

Constructor & Destructor Documentation

◆ Header_t() [1/2]

constexpr msgs_t::static_size::Header_t::Header_t ( std::size_t  l)
inlineexplicitconstexprnoexcept

◆ Header_t() [2/2]

constexpr msgs_t::static_size::Header_t::Header_t ( std::size_t  l)
inlineexplicitconstexprnoexcept

Definition at line 72 of file socket_server.cpp.

Member Function Documentation

◆ is_valid() [1/2]

constexpr bool msgs_t::static_size::Header_t::is_valid ( ) const
constexprnoexcept

◆ is_valid() [2/2]

constexpr bool msgs_t::static_size::Header_t::is_valid ( ) const
constexprnoexcept

◆ length() [1/2]

constexpr std::size_t msgs_t::static_size::Header_t::length ( ) const
inlineconstexprnoexcept

Definition at line 74 of file socket_server.cpp.

References length_.

◆ length() [2/2]

constexpr std::size_t msgs_t::static_size::Header_t::length ( ) const
inlineconstexprnoexcept

Definition at line 74 of file socket_server.cpp.

Member Data Documentation

◆ length_

const std::size_t msgs_t::static_size::Header_t::length_

Definition at line 69 of file socket_server.cpp.

Referenced by Header_t(), is_valid(), and length().

◆ sequence

std::uint64_t msgs_t::static_size::Header_t::sequence {}

Definition at line 70 of file socket_server.cpp.


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