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

#include <scale.h>

Public Types

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

Public Member Functions

 Traits ()=delete
 

Static Public Attributes

static constexpr auto name = "Scale"
 
static constexpr auto fully_qualified_name = "Game.Scale"
 
static constexpr size_t num_fields = 3
 
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 = 3
 This is the column that the entity scale will reside in, in every table.
 

Member Typedef Documentation

◆ field_types

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

◆ type

Constructor & Destructor Documentation

◆ Traits()

Game::Scale::Traits::Traits ( )
delete

Member Data Documentation

◆ field_byte_offsets

constexpr size_t Game::Scale::Traits::field_byte_offsets[num_fields]
staticconstexpr
Initial value:
= {
offsetof(Scale, x),
offsetof(Scale, y),
offsetof(Scale, z)
}
Scale()
Definition scale.h:11
float x
Definition vec3.h:93
float z
Definition vec3.h:93
float y
Definition vec3.h:93

◆ field_names

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

◆ field_typenames

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

◆ fixed_column_index

constexpr uint32_t Game::Scale::Traits::fixed_column_index = 3
staticconstexpr

This is the column that the entity scale 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::Scale::Traits::fully_qualified_name = "Game.Scale"
staticconstexpr

◆ name

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

◆ num_fields

constexpr size_t Game::Scale::Traits::num_fields = 3
staticconstexpr

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