Rosetta
Functions | Variables
make_templates Namespace Reference

Functions

def getVectorFunction (n, className, functionName)
 
def getMapFunction (n, className, functionName)
 
def makeFile (fileName, include, function, className, cppName)
 
def main ()
 

Variables

int NFunctions = 25
 
string Header
 
string Footer
 
list tasks
 

Function Documentation

◆ getMapFunction()

def make_templates.getMapFunction (   n,
  className,
  functionName 
)

References range.

◆ getVectorFunction()

def make_templates.getVectorFunction (   n,
  className,
  functionName 
)

References range.

◆ main()

def make_templates.main ( )

References makeFile().

◆ makeFile()

def make_templates.makeFile (   fileName,
  include,
  function,
  className,
  cppName 
)

References evaluate_beta_mutants.file, plot.function, and range.

Referenced by main().

Variable Documentation

◆ Footer

string make_templates.Footer
Initial value:
1 = """
2 } // namespace utility
3 } // namespace tools
4 
5 #endif // INCLUDED_utility_tools_%(iguard)s
6 
7 """

◆ Header

string make_templates.Header
Initial value:
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 CoMotion, email: license@uw.edu.
9 //
10 /// @file utility/tools/make_vector.hh
11 /// @brief Common function to build vector, vector0, vector1, map.
12 /// @author Sergey Lyskov
13 
14 #ifndef INCLUDED_utility_tools_%(iguard)s
15 #define INCLUDED_utility_tools_%(iguard)s
16 
17 %(include)s
18 
19 namespace utility {
20 namespace tools {
21 
22 """

◆ NFunctions

int make_templates.NFunctions = 25

◆ tasks

list make_templates.tasks
Initial value:
1 = [
2  dict(fileName='make_vector.hh', include='#include <vector>\n',
3  function=getVectorFunction, className='std::vector', cppName='make_vector'),
4 
5  dict(fileName='make_vector0.hh', include='#include <utility/vector0.fwd.hh>\n',
6  function=getVectorFunction, className='utility::vector0', cppName='make_vector0'),
7 
8  dict(fileName='make_vector1.hh', include='#include <utility/vector1.fwd.hh>\n',
9  function=getVectorFunction, className='utility::vector1', cppName='make_vector1'),
10 
11  dict(fileName='make_map.hh', include='#include <map>\n',
12  function=getMapFunction, className='std::map', cppName='make_map'),
13 ]

Referenced by TCDock.gather_hits(), get_tasks_from_command_line(), main(), TCDock.run(), and ui::task::ProjectTasksModel.update_from_tasks().