Nebula
Loading...
Searching...
No Matches
Game::Orientation::Traits Struct Reference

#include <orientation.h>

Public Types

using type = Orientation
 
using field_types = std::tuple<float, float, float, float>
 

Public Member Functions

 Traits ()=delete
 

Static Public Attributes

static constexpr auto name = "Orientation"
 
static constexpr auto fully_qualified_name = "Game.Orientation"
 
static constexpr size_t num_fields = 4
 
static constexpr const char * field_names [num_fields]
 
static constexpr const char * field_typenames [num_fields]
 
static constexpr size_t field_byte_offsets [num_fields]
 
static constexpr uint32_t fixed_column_index = 2
 This is the column that the entity orientation will reside in, in every table.
 

Member Typedef Documentation

◆ field_types

using Game::Orientation::Traits::field_types = std::tuple<float, float, float, float>

◆ type

Constructor & Destructor Documentation

◆ Traits()

Game::Orientation::Traits::Traits ( )
delete

Member Data Documentation

◆ field_byte_offsets

constexpr size_t Game::Orientation::Traits::field_byte_offsets[num_fields]
staticconstexpr
Initial value:
= {
offsetof(Orientation, x),
offsetof(Orientation, y),
offsetof(Orientation, z),
offsetof(Orientation, w),
}
Orientation(Math::quat const &q)
Definition orientation.h:12
float y
Definition quat.h:78
float z
Definition quat.h:78
float w
Definition quat.h:78
float x
Definition quat.h:78

◆ field_names

constexpr const char* Game::Orientation::Traits::field_names[num_fields]
staticconstexpr
Initial value:
= {
"x",
"y",
"z",
"w"
}

◆ field_typenames

constexpr const char* Game::Orientation::Traits::field_typenames[num_fields]
staticconstexpr
Initial value:
= {
"float",
"float",
"float",
"float"
}

◆ fixed_column_index

constexpr uint32_t Game::Orientation::Traits::fixed_column_index = 2
staticconstexpr

This is the column that the entity orientation will reside in, in every table.

NOTE: This can never be changed, due to assumptions that have been made.

◆ fully_qualified_name

constexpr auto Game::Orientation::Traits::fully_qualified_name = "Game.Orientation"
staticconstexpr

◆ name

constexpr auto Game::Orientation::Traits::name = "Orientation"
staticconstexpr

◆ num_fields

constexpr size_t Game::Orientation::Traits::num_fields = 4
staticconstexpr

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