Mantid
Loading...
Searching...
No Matches
Namespaces | Macros
PropertyWithValue.cpp File Reference
#include "MantidKernel/PropertyWithValue.h"
#include "MantidKernel/Matrix.h"
#include "MantidKernel/PropertyManager.h"
#include "MantidKernel/PropertyWithValue.tcc"
#include <NeXusFile.hpp>

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::Kernel
 

Macros

#define PROPERTYWITHVALUE_SAVEPROPERTY(type)
 

Macro Definition Documentation

◆ PROPERTYWITHVALUE_SAVEPROPERTY

#define PROPERTYWITHVALUE_SAVEPROPERTY (   type)
Value:
template <> void PropertyWithValue<type>::saveProperty(::NeXus::File *file) { \
file->makeGroup(this->name(), "NXlog", true); \
file->writeData("value", m_value); \
file->openData("value"); \
file->putAttr("units", this->units()); \
file->closeData(); \
file->closeGroup(); \
}
const std::string & m_value
Definition: Algorithm.cpp:71

Definition at line 18 of file PropertyWithValue.cpp.