PLYwoot
Header-only C++17 library for parsing and writing PLY files
Loading...
Searching...
No Matches
plywoot::reflect::Pack< T, N > Struct Template Reference

#include <reflect.hpp>

Public Types

using DestT = T
 Type of the member types in the target type to pack.
 

Static Public Attributes

static constexpr std::size_t size = N
 

Detailed Description

template<typename T, std::size_t N>
struct plywoot::reflect::Pack< T, N >

Can be used in a Layout type to pack together a sequence of properties of the same type, such that they will be parsed in one go, speeding up parsing.

Definition at line 75 of file reflect.hpp.

Member Typedef Documentation

◆ DestT

template<typename T , std::size_t N>
using plywoot::reflect::Pack< T, N >::DestT = T

Type of the member types in the target type to pack.

Definition at line 78 of file reflect.hpp.

Member Data Documentation

◆ size

template<typename T , std::size_t N>
constexpr std::size_t plywoot::reflect::Pack< T, N >::size = N
staticconstexpr

Number of PLY properties to pack together and memcpy to the corresponding target type members.

Definition at line 81 of file reflect.hpp.


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