OGS
MeshLib::IO::PropertyVectorMetaData Struct Reference

Detailed Description

Definition at line 21 of file PropertyVectorMetaData.h.

#include <PropertyVectorMetaData.h>

Public Member Functions

template<typename T >
void fillPropertyVectorMetaDataTypeInfo ()
 

Public Attributes

std::string property_name
 
bool is_int_type
 
bool is_data_type_signed
 
unsigned long data_type_size_in_bytes
 
unsigned long number_of_components
 
unsigned long number_of_tuples
 

Member Function Documentation

◆ fillPropertyVectorMetaDataTypeInfo()

template<typename T >
void MeshLib::IO::PropertyVectorMetaData::fillPropertyVectorMetaDataTypeInfo ( )
inline

Definition at line 35 of file PropertyVectorMetaData.h.

36 {
37 is_int_type = std::numeric_limits<T>::is_integer;
38 is_data_type_signed = std::numeric_limits<T>::is_signed;
39 data_type_size_in_bytes = sizeof(T);
40 }

References data_type_size_in_bytes, is_data_type_signed, and is_int_type.

Referenced by ApplicationUtils::writePropertyVector().

Member Data Documentation

◆ data_type_size_in_bytes

◆ is_data_type_signed

bool MeshLib::IO::PropertyVectorMetaData::is_data_type_signed

if the component type is an integer number the flag is_data_type_signed signals if it has a sign or not

Definition at line 29 of file PropertyVectorMetaData.h.

Referenced by fillPropertyVectorMetaDataTypeInfo(), MeshLib::IO::readPropertyVectorMetaData(), and MeshLib::IO::writePropertyVectorMetaData().

◆ is_int_type

bool MeshLib::IO::PropertyVectorMetaData::is_int_type

is_int_type is true if the type of the components is an integer type, if it is a floating point number type the is_int_type is false

Definition at line 26 of file PropertyVectorMetaData.h.

Referenced by fillPropertyVectorMetaDataTypeInfo(), MeshLib::IO::readPropertyVectorMetaData(), and MeshLib::IO::writePropertyVectorMetaData().

◆ number_of_components

◆ number_of_tuples

unsigned long MeshLib::IO::PropertyVectorMetaData::number_of_tuples

◆ property_name


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