Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs
ITransformScale.h File Reference
#include <memory>
#include <string>
#include <vector>
#include "MantidAPI/DllConfig.h"

Go to the source code of this file.

Classes

class  Mantid::API::ITransformScale
 

Namespaces

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

Macros

#define DECLARE_TRANSFORMSCALE(classname)
 

Typedefs

using Mantid::API::ITransformScale_sptr = std::shared_ptr< ITransformScale >
 typedef for a shared pointer More...
 

Macro Definition Documentation

◆ DECLARE_TRANSFORMSCALE

#define DECLARE_TRANSFORMSCALE (   classname)
Value:
namespace { \
Mantid::Kernel::RegistrationHelper register_trs_##classname( \
((Mantid::API::TransformScaleFactory::Instance().subscribe<classname>(#classname)), 0)); \
}
This class is simply used in the subscription of classes into the various factories in Mantid.
static T & Instance()
Return a reference to the Singleton instance, creating it if it does not already exist Creation is do...

Definition at line 46 of file ITransformScale.h.