Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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< VD, core::Size >::AtomRefMapping(), and core::chemical::AtomRefMapping< VD, core::Size >::vectorize().

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< VD, core::Size >::operator[]().

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: