Mantid
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
Mantid::Geometry::CenteringGroupCreatorImpl Class Reference

Helper class to keep this out of the interface of CenteringGroup. More...

#include <CenteringGroup.h>

Public Member Functions

CenteringGroup::CenteringType getCenteringType (const std::string &centeringSymbol) const
 Returns centering type enum value if centering symbol exists, throws std::invalid_argument exception otherwise. More...
 
std::vector< SymmetryOperationgetSymmetryOperations (CenteringGroup::CenteringType centeringType) const
 Returns a vector of symmetry operations for the given centering type or throws std::invalid_argument if an invalid value is supplied. More...
 

Protected Member Functions

 CenteringGroupCreatorImpl ()
 
std::vector< SymmetryOperationgetACentered () const
 Returns symmetry operations for A-centering. More...
 
std::vector< SymmetryOperationgetBCentered () const
 Returns symmetry operations for B-centering. More...
 
std::vector< SymmetryOperationgetBodyCentered () const
 Returns symmetry operations for I-centering. More...
 
std::vector< SymmetryOperationgetCCentered () const
 Returns symmetry operations for C-centering. More...
 
std::vector< SymmetryOperationgetFCentered () const
 Returns symmetry operations for F-centering. More...
 
std::vector< SymmetryOperationgetPrimitive () const
 Returns symmetry operations for P-centering. More...
 
std::vector< SymmetryOperationgetRobvCentered () const
 Returns symmetry operations for R-centering, obverse setting. More...
 
std::vector< SymmetryOperationgetRrevCentered () const
 Returns symmetry operations for R-centering, reverse setting. More...
 

Protected Attributes

std::map< std::string, CenteringGroup::CenteringTypem_centeringSymbolMap
 

Friends

struct Mantid::Kernel::CreateUsingNew< CenteringGroupCreatorImpl >
 

Detailed Description

Helper class to keep this out of the interface of CenteringGroup.

Definition at line 57 of file CenteringGroup.h.

Constructor & Destructor Documentation

◆ CenteringGroupCreatorImpl()

Mantid::Geometry::CenteringGroupCreatorImpl::CenteringGroupCreatorImpl ( )
protected

Member Function Documentation

◆ getACentered()

std::vector< SymmetryOperation > Mantid::Geometry::CenteringGroupCreatorImpl::getACentered ( ) const
protected

Returns symmetry operations for A-centering.

Definition at line 77 of file CenteringGroup.cpp.

References Mantid::Kernel::SingletonHolder< T >::Instance().

Referenced by getSymmetryOperations().

◆ getBCentered()

std::vector< SymmetryOperation > Mantid::Geometry::CenteringGroupCreatorImpl::getBCentered ( ) const
protected

Returns symmetry operations for B-centering.

Definition at line 82 of file CenteringGroup.cpp.

References Mantid::Kernel::SingletonHolder< T >::Instance().

Referenced by getSymmetryOperations().

◆ getBodyCentered()

std::vector< SymmetryOperation > Mantid::Geometry::CenteringGroupCreatorImpl::getBodyCentered ( ) const
protected

Returns symmetry operations for I-centering.

Definition at line 72 of file CenteringGroup.cpp.

References Mantid::Kernel::SingletonHolder< T >::Instance().

Referenced by getSymmetryOperations().

◆ getCCentered()

std::vector< SymmetryOperation > Mantid::Geometry::CenteringGroupCreatorImpl::getCCentered ( ) const
protected

Returns symmetry operations for C-centering.

Definition at line 87 of file CenteringGroup.cpp.

References Mantid::Kernel::SingletonHolder< T >::Instance().

Referenced by getSymmetryOperations().

◆ getCenteringType()

CenteringGroup::CenteringType Mantid::Geometry::CenteringGroupCreatorImpl::getCenteringType ( const std::string &  centeringSymbol) const

Returns centering type enum value if centering symbol exists, throws std::invalid_argument exception otherwise.

Definition at line 30 of file CenteringGroup.cpp.

References m_centeringSymbolMap.

◆ getFCentered()

std::vector< SymmetryOperation > Mantid::Geometry::CenteringGroupCreatorImpl::getFCentered ( ) const
protected

Returns symmetry operations for F-centering.

Definition at line 92 of file CenteringGroup.cpp.

References Mantid::Kernel::SingletonHolder< T >::Instance().

Referenced by getSymmetryOperations().

◆ getPrimitive()

std::vector< SymmetryOperation > Mantid::Geometry::CenteringGroupCreatorImpl::getPrimitive ( ) const
protected

Returns symmetry operations for P-centering.

Definition at line 67 of file CenteringGroup.cpp.

References Mantid::Kernel::SingletonHolder< T >::Instance().

Referenced by getSymmetryOperations().

◆ getRobvCentered()

std::vector< SymmetryOperation > Mantid::Geometry::CenteringGroupCreatorImpl::getRobvCentered ( ) const
protected

Returns symmetry operations for R-centering, obverse setting.

Definition at line 97 of file CenteringGroup.cpp.

References Mantid::Kernel::SingletonHolder< T >::Instance().

Referenced by getSymmetryOperations().

◆ getRrevCentered()

std::vector< SymmetryOperation > Mantid::Geometry::CenteringGroupCreatorImpl::getRrevCentered ( ) const
protected

Returns symmetry operations for R-centering, reverse setting.

Definition at line 102 of file CenteringGroup.cpp.

References Mantid::Kernel::SingletonHolder< T >::Instance().

Referenced by getSymmetryOperations().

◆ getSymmetryOperations()

std::vector< SymmetryOperation > Mantid::Geometry::CenteringGroupCreatorImpl::getSymmetryOperations ( CenteringGroup::CenteringType  centeringType) const

Friends And Related Function Documentation

◆ Mantid::Kernel::CreateUsingNew< CenteringGroupCreatorImpl >

Definition at line 74 of file CenteringGroup.h.

Member Data Documentation

◆ m_centeringSymbolMap

std::map<std::string, CenteringGroup::CenteringType> Mantid::Geometry::CenteringGroupCreatorImpl::m_centeringSymbolMap
protected

Definition at line 74 of file CenteringGroup.h.

Referenced by getCenteringType().


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