open_iA 2024.7
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
iAByteOrder Class Reference

Byte Order handling - mainly for simplifying exporting string constants for the two possible values. More...

#include <iAToolsVTK.h>

Static Public Member Functions

static int mapStringToVTKType (QString const &name)
 Maps a given readable string to the according VTK byte order type.
 
static QString mapVTKTypeToString (int byteOrder)
 Maps a given VTK byte order type to the according readable string.
 
static QStringList const & stringList ()
 Returns a human-readable list of available byte orders (little/big endian)
 

Static Public Attributes

static const QString BigEndianStr
 
static const QString LittleEndianStr
 

Detailed Description

Byte Order handling - mainly for simplifying exporting string constants for the two possible values.

Member Function Documentation

◆ mapStringToVTKType()

int iAByteOrder::mapStringToVTKType ( QString const & name)
static

Maps a given readable string to the according VTK byte order type.

Reverse to mapVTKByteOrderToReadable

◆ mapVTKTypeToString()

QString iAByteOrder::mapVTKTypeToString ( int byteOrder)
static

Maps a given VTK byte order type to the according readable string.

Reverse to mapReadableByteOrderToVTKType

◆ stringList()

QStringList const & iAByteOrder::stringList ( )
static

Returns a human-readable list of available byte orders (little/big endian)

Member Data Documentation

◆ BigEndianStr

const QString iAByteOrder::BigEndianStr
static

◆ LittleEndianStr

const QString iAByteOrder::LittleEndianStr
static

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