Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs
PointGroupFactory.h File Reference
#include "MantidGeometry/Crystal/PointGroup.h"
#include "MantidGeometry/Crystal/SpaceGroup.h"
#include "MantidGeometry/DllConfig.h"
#include "MantidKernel/RegistrationHelper.h"
#include "MantidKernel/SingletonHolder.h"
#include <boost/regex.hpp>

Go to the source code of this file.

Classes

class  Mantid::Geometry::PointGroupFactoryImpl
 
class  Mantid::Geometry::PointGroupGenerator
 

Namespaces

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

Macros

#define DECLARE_POINTGROUP(hmSymbol, generators, description)
 
#define PGF_CONCAT(x, y)   PGF_CONCAT_IMPL(x, y)
 
#define PGF_CONCAT_IMPL(x, y)   x##y
 

Typedefs

using Mantid::Geometry::PointGroupFactory = Mantid::Kernel::SingletonHolder< PointGroupFactoryImpl >
 
using Mantid::Geometry::PointGroupGenerator_sptr = std::shared_ptr< PointGroupGenerator >
 

Macro Definition Documentation

◆ DECLARE_POINTGROUP

#define DECLARE_POINTGROUP (   hmSymbol,
  generators,
  description 
)
Value:
namespace { \
Mantid::Kernel::RegistrationHelper PGF_CONCAT(register_pointgroup, __COUNTER__)( \
((Mantid::Geometry::PointGroupFactory::Instance().subscribePointGroup(hmSymbol, generators, description)), 0)); \
}
#define PGF_CONCAT(x, y)
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 112 of file PointGroupFactory.h.

◆ PGF_CONCAT

#define PGF_CONCAT (   x,
 
)    PGF_CONCAT_IMPL(x, y)

Definition at line 110 of file PointGroupFactory.h.

◆ PGF_CONCAT_IMPL

#define PGF_CONCAT_IMPL (   x,
 
)    x##y

Definition at line 109 of file PointGroupFactory.h.