Geogram  Version 1.9.0
A programming library of geometric algorithms
GEO::GeoFile::AttributeInfo Struct Reference

Internal representation of attributes. More...

#include <geogram/basic/geofile.h>

Public Member Functions

 AttributeInfo ()
 AttributeInfo constructor.
 
 AttributeInfo (const std::string &name_in, const std::string &element_type_in, size_t element_size_in, index_t dimension_in)
 AttributeInfo constructor. More...
 

Public Attributes

std::string name
 Name of the attribute.
 
std::string element_type
 A string with the name fo the C++ type of the elements.
 
size_t element_size
 The size in bytes of each element.
 
index_t dimension
 The number of elements per item.
 

Detailed Description

Internal representation of attributes.

Definition at line 334 of file geofile.h.

Constructor & Destructor Documentation

◆ AttributeInfo()

GEO::GeoFile::AttributeInfo::AttributeInfo ( const std::string &  name_in,
const std::string &  element_type_in,
size_t  element_size_in,
index_t  dimension_in 
)
inline

AttributeInfo constructor.

Parameters
[in]name_inname of the attribute
[in]element_type_inC++ type of the elements, as a string
[in]element_size_insize in bytes of an element
[in]dimension_innumber of elements per item

Definition at line 349 of file geofile.h.


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