Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BasePartner.cc
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file
11 /// @brief
12 /// @author
13 
15 
16 #include <core/pose/Pose.hh>
18 #include <basic/datacache/BasicDataCache.hh>
19 
20 #include <utility/vector1.hh>
21 
22 
23 namespace core {
24 namespace scoring {
25 namespace dna {
26 
27 /// helper routine
28 
29 BasePartner const &
31 {
32  //using core::pose::datacache::CacheableDataType::BASE_PARTNER;
33 
35  assert( dynamic_cast< BasePartner const *>( &( pose.data().get( core::pose::datacache::CacheableDataType::BASE_PARTNER ))));
36  return ( static_cast< BasePartner const &>( pose.data().get( core::pose::datacache::CacheableDataType::BASE_PARTNER )));
37 }
38 
39 
40 
41 
42 } // namespace dna
43 } // scoring
44 } // core
45