Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
util.hh
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 util.hh
11 ///
12 /// @brief
13 /// @author Tim Jacobs
14 
15 #ifndef INCLUDED_protocols_features_util_hh
16 #define INCLUDED_protocols_features_util_hh
17 
18 #include <utility/sql_database/DatabaseSessionManager.hh>
19 
20 #include <core/types.hh>
21 
22 #include <string>
23 #include <map>
24 #include <boost/uuid/uuid.hpp>
25 
26 namespace protocols{
27 namespace features{
28 
29 std::pair<core::Size, core::Size>
31  std::string identifier,
32  utility::sql_database::sessionOP db_session);
33 
34 std::pair<core::Size, core::Size> deserialize_db_listener_data(std::string data);
35 
36 std::string serialize_ids(int protocol_id, std::string identifier, core::Size batch_id);
37 
40  boost::uuids::uuid struct_id,
41  utility::sql_database::sessionOP db_session
42 );
43 
44 } //features
45 } //protocols
46 
47 #endif