Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
core
fragment
picking_old
FragmentLibraryManager.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 core/fragment/picking_old/FragmentLibraryManager.hh
11
/// @brief singleton class for accessing fragment libraries
12
/// @author Yih-En Andrew Ban (yab@u.washington.edu)
13
14
#ifndef INCLUDED_core_fragment_picking_old_FragmentLibraryManager_hh
15
#define INCLUDED_core_fragment_picking_old_FragmentLibraryManager_hh
16
17
// unit headers
18
#include <
core/fragment/picking_old/FragmentLibraryManager.fwd.hh
>
19
20
// package headers
21
#include <
core/fragment/picking_old/vall/VallLibrary.fwd.hh
>
22
23
24
namespace
core {
25
namespace
fragment {
26
namespace
picking_old {
27
28
29
/// @brief singleton class for accessing fragment libraries
30
class
FragmentLibraryManager
{
31
32
33
private
:
// constructor
34
35
36
/// @brief default constructor
37
FragmentLibraryManager
();
38
39
40
public
:
// access
41
42
43
/// @brief return singleton instance of manager
44
static
FragmentLibraryManager
*
get_instance
();
45
46
47
/// @brief return instance of standard Vall library
48
vall::VallLibrary
const
&
get_Vall
()
const
;
49
50
51
public
:
// memory management
52
53
54
/// @brief clear standard Vall library from memory
55
void
clear_Vall
();
56
57
58
private
:
// data
59
60
61
/// @brief singleton instance
62
static
FragmentLibraryManager
*
instance_
;
63
64
65
// *** WARNING -- pointers for all libraries below must be
66
// initialized to NULL in constructor ***
67
68
/// @brief standard Vall library
69
mutable
vall::VallLibrary
*
vall_
;
70
71
72
};
73
74
75
}
// picking_old
76
}
// fragment
77
}
// core
78
79
80
#endif
/* INCLUDED_core_fragment_picking_old_FragmentLibraryManager_HH */
Generated on Sat Jun 1 2013 11:32:37 for Rosetta 3.5 by
1.8.4