Mantid
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Static Private Member Functions | Private Attributes | List of all members
NXnumtype Class Reference

The primitive types published by this API. More...

#include <NexusFile_fwd.h>

Public Member Functions

 NXnumtype ()
 
 NXnumtype (int const val)
 
 operator int () const
 
 operator std::string () const
 
NXnumtypeoperator= (int const)
 

Static Public Attributes

static unsigned short constexpr BAD = 0xFFu
 
static unsigned short constexpr BINARY = 0xF1u
 
static unsigned short constexpr CHAR = 0xF0u
 
static unsigned short constexpr FLOAT32 = 0x24u
 
static unsigned short constexpr FLOAT64 = 0x28u
 
static unsigned short constexpr INT16 = 0x12u
 
static unsigned short constexpr INT32 = 0x14u
 
static unsigned short constexpr INT64 = 0x18u
 
static unsigned short constexpr INT8 = 0x11u
 
static unsigned short constexpr UINT16 = 0x02u
 
static unsigned short constexpr UINT32 = 0x04u
 
static unsigned short constexpr UINT64 = 0x08u
 
static unsigned short constexpr UINT8 = 0x01u
 

Static Private Member Functions

static int validate_val (int const x)
 

Private Attributes

int m_val
 

Detailed Description

The primitive types published by this API.

Definition at line 67 of file NexusFile_fwd.h.

Constructor & Destructor Documentation

◆ NXnumtype() [1/2]

NXnumtype::NXnumtype ( )

◆ NXnumtype() [2/2]

NXnumtype::NXnumtype ( int const  val)

Member Function Documentation

◆ operator int()

NXnumtype::operator int ( ) const

◆ operator std::string()

NXnumtype::operator std::string ( ) const

◆ operator=()

NXnumtype & NXnumtype::operator= ( int const  )

◆ validate_val()

static int NXnumtype::validate_val ( int const  x)
staticprivate

Member Data Documentation

◆ BAD

unsigned short constexpr NXnumtype::BAD = 0xFFu
staticconstexpr

Definition at line 83 of file NexusFile_fwd.h.

Referenced by hdf5ToNXType().

◆ BINARY

unsigned short constexpr NXnumtype::BINARY = 0xF1u
staticconstexpr

Definition at line 82 of file NexusFile_fwd.h.

Referenced by hdf5ToNXType().

◆ CHAR

unsigned short constexpr NXnumtype::CHAR = 0xF0u
staticconstexpr

◆ FLOAT32

unsigned short constexpr NXnumtype::FLOAT32 = 0x24u
staticconstexpr

◆ FLOAT64

unsigned short constexpr NXnumtype::FLOAT64 = 0x28u
staticconstexpr

◆ INT16

unsigned short constexpr NXnumtype::INT16 = 0x12u
staticconstexpr

◆ INT32

unsigned short constexpr NXnumtype::INT32 = 0x14u
staticconstexpr

◆ INT64

unsigned short constexpr NXnumtype::INT64 = 0x18u
staticconstexpr

◆ INT8

unsigned short constexpr NXnumtype::INT8 = 0x11u
staticconstexpr

◆ m_val

int NXnumtype::m_val
private

Definition at line 86 of file NexusFile_fwd.h.

◆ UINT16

unsigned short constexpr NXnumtype::UINT16 = 0x02u
staticconstexpr

◆ UINT32

unsigned short constexpr NXnumtype::UINT32 = 0x04u
staticconstexpr

◆ UINT64

unsigned short constexpr NXnumtype::UINT64 = 0x08u
staticconstexpr

◆ UINT8

unsigned short constexpr NXnumtype::UINT8 = 0x01u
staticconstexpr

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