Geogram Version 1.10.2
A programming library of geometric algorithms
Loading...
Searching...
No Matches
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.

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 356 of file geofile.h.

Constructor & Destructor Documentation

◆ AttributeInfo() [1/2]

GEO::GeoFile::AttributeInfo::AttributeInfo ( )
inline

AttributeInfo constructor.

Definition at line 361 of file geofile.h.

◆ AttributeInfo() [2/2]

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 371 of file geofile.h.

Member Data Documentation

◆ dimension

index_t GEO::GeoFile::AttributeInfo::dimension

The number of elements per item.

Definition at line 403 of file geofile.h.

◆ element_size

size_t GEO::GeoFile::AttributeInfo::element_size

The size in bytes of each element.

Definition at line 398 of file geofile.h.

◆ element_type

std::string GEO::GeoFile::AttributeInfo::element_type

A string with the name fo the C++ type of the elements.

Definition at line 393 of file geofile.h.

◆ name

std::string GEO::GeoFile::AttributeInfo::name

Name of the attribute.

Definition at line 387 of file geofile.h.


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