Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
protocols::nonlocal::PolicyFactory Class Reference

#include <PolicyFactory.hh>

Static Public Member Functions

static PolicyOP get_policy (const std::string &policy_name, core::fragment::FragSetCOP fragments, core::Size num_fragments=std::numeric_limits< core::Size >::max())
 If a valid policy name was provided, returns a Policy object of the given type, exits otherwise. The resulting instance is constructed with a copy of the given set of fragments, which may be optionally filtered by rank (see num_fragments). More...
 

Member Function Documentation

PolicyOP protocols::nonlocal::PolicyFactory::get_policy ( const std::string &  policy_name,
core::fragment::FragSetCOP  fragments,
core::Size  num_fragments = std::numeric_limits<core::Size>::max() 
)
static

If a valid policy name was provided, returns a Policy object of the given type, exits otherwise. The resulting instance is constructed with a copy of the given set of fragments, which may be optionally filtered by rank (see num_fragments).

References core::fragment::retain_top().

Referenced by protocols::nonlocal::SingleFragmentMover::parse_my_tag(), and protocols::nonlocal::SingleFragmentMover::SingleFragmentMover().


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