Rosetta
Static Private Member Functions | List of all members
core::chemical::RefConvert< OutRef > Class Template Reference

An internal implementation class, to get around the fact that functions cannot be partially specialized. More...

#include <AtomRefMapping.hh>

Static Private Member Functions

static OutRef const & invalid ()
 The value for invalid items of the class type. More...
 
template<class ResTypeType , class InRef >
static OutRef convert (ResTypeType const &, InRef const &)
 For the given residue type, convert the given reference into the class reference type. More...
 
template<class InRef >
static OutRef const & identity_pass_through (InRef const &, OutRef const &)
 Will pass through the value if InRef is the same type as OutRef, but will result in the second value (invalid) if it's not. More...
 

Detailed Description

template<class OutRef>
class core::chemical::RefConvert< OutRef >

An internal implementation class, to get around the fact that functions cannot be partially specialized.

Member Function Documentation

◆ convert()

template<class OutRef >
template<class ResTypeType , class InRef >
static OutRef core::chemical::RefConvert< OutRef >::convert ( ResTypeType const &  ,
InRef const &   
)
staticprivate

For the given residue type, convert the given reference into the class reference type.

Referenced by core::chemical::AtomRefMapping< FromRef, ToRef >::AtomRefMapping(), and core::chemical::AtomRefMapping< FromRef, ToRef >::vectorize().

◆ identity_pass_through()

template<class OutRef >
template<class InRef >
static OutRef const& core::chemical::RefConvert< OutRef >::identity_pass_through ( InRef const &  ,
OutRef const &   
)
staticprivate

Will pass through the value if InRef is the same type as OutRef, but will result in the second value (invalid) if it's not.

Referenced by core::chemical::AtomRefMapping< FromRef, ToRef >::operator[]().

◆ invalid()

template<class OutRef >
static OutRef const& core::chemical::RefConvert< OutRef >::invalid ( )
staticprivate

The value for invalid items of the class type.


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