icedb  version 0.5.1
Snow particle scattering database API
Public Member Functions | Public Attributes | List of all members
icedb::Examples::Shapes::ShapeRequiredData Struct Reference

#include <shape.hpp>

Collaboration diagram for icedb::Examples::Shapes::ShapeRequiredData:
Collaboration graph
[legend]

Public Member Functions

void apply (icedb::Shapes::NewShapeRequiredProperties &) const
 
void apply (icedb::Shapes::NewShapeRequiredProperties &) const
 
void apply (icedb::Shapes::NewShapeRequiredProperties &) const
 

Public Attributes

bool NC4_compat = true
 
uint64_t number_of_particle_scattering_elements = 0
 
uint8_t number_of_particle_constituents = 0
 
uint8_t particle_scattering_element_coordinates_are_integral = 0
 
FloatData_t particle_scattering_element_coordinates
 
std::string particle_id
 

Detailed Description

Definition at line 16 of file shape.hpp.

Member Function Documentation

◆ apply() [1/3]

void icedb::Examples::Shapes::ShapeRequiredData::apply ( icedb::Shapes::NewShapeRequiredProperties p) const

Definition at line 13 of file shapeIOtext.cpp.

References icedb::Shapes::NewShapeRequiredProperties::NC4_compat, NC4_compat, number_of_particle_constituents, icedb::Shapes::NewShapeRequiredProperties::number_of_particle_constituents, number_of_particle_scattering_elements, icedb::Shapes::NewShapeRequiredProperties::number_of_particle_scattering_elements, particle_id, icedb::Shapes::NewShapeRequiredProperties::particle_id, particle_scattering_element_coordinates, icedb::Shapes::NewShapeRequiredProperties::particle_scattering_element_coordinates, particle_scattering_element_coordinates_are_integral, and icedb::Shapes::NewShapeRequiredProperties::particle_scattering_element_coordinates_are_integral.

13  {
14  p.NC4_compat = this->NC4_compat;
20  }
uint8_t particle_scattering_element_coordinates_are_integral
Definition: shape.hpp:21
std::string particle_id
ATTRIBUTE: Unique Particle Identifier.
Definition: shape.hpp:48
gsl::span< const float > particle_scattering_element_coordinates
Definition: shape.hpp:37
uint64_t particle_scattering_element_coordinates_are_integral
Definition: shape.hpp:42

◆ apply() [2/3]

void icedb::Examples::Shapes::ShapeRequiredData::apply ( icedb::Shapes::NewShapeRequiredProperties ) const

◆ apply() [3/3]

void icedb::Examples::Shapes::ShapeRequiredData::apply ( icedb::Shapes::NewShapeRequiredProperties ) const

Member Data Documentation

◆ NC4_compat

bool icedb::Examples::Shapes::ShapeRequiredData::NC4_compat = true

Definition at line 17 of file shape.hpp.

Referenced by apply().

◆ number_of_particle_constituents

uint8_t icedb::Examples::Shapes::ShapeRequiredData::number_of_particle_constituents = 0

◆ number_of_particle_scattering_elements

uint64_t icedb::Examples::Shapes::ShapeRequiredData::number_of_particle_scattering_elements = 0

◆ particle_id

std::string icedb::Examples::Shapes::ShapeRequiredData::particle_id

◆ particle_scattering_element_coordinates

FloatData_t icedb::Examples::Shapes::ShapeRequiredData::particle_scattering_element_coordinates

◆ particle_scattering_element_coordinates_are_integral

uint8_t icedb::Examples::Shapes::ShapeRequiredData::particle_scattering_element_coordinates_are_integral = 0

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