Skip to content

Class muda::SubField

ClassList > muda > SubField

Public Functions

Type Name
FieldBuilder< FieldEntryLayout::AoS > AoS (const FieldBuildOptions & options={})
The layout is array of structs (determined at compile time)
FieldBuilder< FieldEntryLayout::AoSoA > AoSoA (uint32_t innermost_array_size=32, const FieldBuildOptions & options={})
The layout is array of structs of arrays (determined at compile time)
FieldBuilder< FieldEntryLayout::SoA > SoA (const FieldBuildOptions & options={})
The layout is struct of arrays (determined at compile time)
SubField (Field & field, std::string_view name)
SubField (const SubField &) = delete
SubField (SubField &&) = delete
FieldBuilder< Layout > builder (FieldEntryLayoutInfo layout=FieldEntryLayoutInfo, const FieldBuildOptions & options={})
FieldBuilder< FieldEntryLayout::RuntimeLayout > builder (FieldEntryLayoutInfo layout, const FieldBuildOptions & options={})
The layout is determined at runtime.
std::string_view name () const
SubField & operator= (const SubField &) = delete
SubField & operator= (SubField &&) = delete
void resize (size_t num_elements)
size_t size () const
~SubField ()

Public Functions Documentation

function AoS

The layout is array of structs (determined at compile time)

FieldBuilder < FieldEntryLayout::AoS > muda::SubField::AoS (
    const FieldBuildOptions & options={}
) 

Returns:


function AoSoA

The layout is array of structs of arrays (determined at compile time)

FieldBuilder < FieldEntryLayout::AoSoA > muda::SubField::AoSoA (
    uint32_t innermost_array_size=32,
    const FieldBuildOptions & options={}
) 

Parameters:

  • layout

Returns:


function SoA

The layout is struct of arrays (determined at compile time)

FieldBuilder < FieldEntryLayout::SoA > muda::SubField::SoA (
    const FieldBuildOptions & options={}
) 

Returns:


function SubField [2/4]

muda::SubField::SubField (
    Field & field,
    std::string_view name
) 

function SubField [3/4]

muda::SubField::SubField (
    const SubField &
) = delete

function SubField [4/4]

muda::SubField::SubField (
    SubField &&
) = delete

function builder [1/2]

template<FieldEntryLayout Layout>
FieldBuilder < Layout > muda::SubField::builder (
    FieldEntryLayoutInfo layout=FieldEntryLayoutInfo {Layout},
    const FieldBuildOptions & options={}
) 

function builder [2/2]

The layout is determined at runtime.

FieldBuilder < FieldEntryLayout::RuntimeLayout > muda::SubField::builder (
    FieldEntryLayoutInfo layout,
    const FieldBuildOptions & options={}
) 

Parameters:

  • layout

Returns:


function name

inline std::string_view muda::SubField::name () const

function operator=

SubField & muda::SubField::operator= (
    const SubField &
) = delete

function operator=

SubField & muda::SubField::operator= (
    SubField &&
) = delete

function resize

void muda::SubField::resize (
    size_t num_elements
) 

function size

size_t muda::SubField::size () const

function ~SubField

muda::SubField::~SubField () 


The documentation for this class was generated from the following file src/muda/ext/field/sub_field.h