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.hxx"
#include "MantidNexus/NexusFile.h"

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
std::string name
Definition Run.cpp:60

Definition at line 17 of file PropertyWithValue.cpp.