Mantid
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Mantid::Nexus::NXInfo Struct Reference

Structure for keeping information about a Nexus data set, such as the dimensions and the type. More...

#include <NexusClasses.h>

Public Member Functions

 NXInfo ()
 
 NXInfo (Info const &info, std::string const &name)
 
 operator bool ()
 returns success of an operation
 

Public Attributes

bool allGood
 return status
 
NXDimArray dims
 sizes along each dimension
 
std::string nxname
 name of the object
 
std::size_t rank
 number of dimensions of the data
 
NXnumtype type
 type of the data, e.g. NX_CHAR, FLOAT32; see NexusFile_fwd.h
 

Detailed Description

Structure for keeping information about a Nexus data set, such as the dimensions and the type.

Definition at line 36 of file NexusClasses.h.

Constructor & Destructor Documentation

◆ NXInfo() [1/2]

Mantid::Nexus::NXInfo::NXInfo ( )
inline

Definition at line 37 of file NexusClasses.h.

◆ NXInfo() [2/2]

Mantid::Nexus::NXInfo::NXInfo ( Info const &  info,
std::string const &  name 
)

Definition at line 23 of file NexusClasses.cpp.

Member Function Documentation

◆ operator bool()

Mantid::Nexus::NXInfo::operator bool ( )
inline

returns success of an operation

Definition at line 44 of file NexusClasses.h.

References allGood.

Member Data Documentation

◆ allGood

bool Mantid::Nexus::NXInfo::allGood

◆ dims

NXDimArray Mantid::Nexus::NXInfo::dims

◆ nxname

std::string Mantid::Nexus::NXInfo::nxname

name of the object

Definition at line 39 of file NexusClasses.h.

Referenced by Mantid::Nexus::NXDataSet::NXDataSet().

◆ rank

std::size_t Mantid::Nexus::NXInfo::rank

◆ type

NXnumtype Mantid::Nexus::NXInfo::type

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