Rosetta 3.4
Public Member Functions | Static Public Member Functions
core::scoring::saxs::FormFactorManager Class Reference

selects a given number of fragments using a quota scheme More...

#include <FormFactorManager.hh>

Inheritance diagram for core::scoring::saxs::FormFactorManager:
Inheritance graph
[legend]
Collaboration diagram for core::scoring::saxs::FormFactorManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void register_ff (std::string atom_name, FormFactorOP new_ff)
void load_ff (std::string config_file)
void load_ff_from_db (std::string file_name)
bool is_known_atom (std::string atom_name)
 returns true if the manager has form factor function for a given atom
FormFactorOP get_ff (Size atom_id)
 returns form factor function for a given atom index
Size count_ff ()
 returns the number of form factors registered in this manager
FormFactorOP get_ff (std::string atom_name)
 returns form factor function for a given atom
utility::vector1< std::string > get_known_atoms ()
 returns a vector of know atom names
Size get_atom_index (std::string atom_name)
 returns an index of an atom type or 0 if teh atom is not registered
void tabulate (const utility::vector1< Real > &q)
 asks all the registered form factors to tabulate their values for the new vector of q-arguments

Static Public Member Functions

static FormFactorManagerget_manager ()
 return singleton of the manager

Detailed Description

selects a given number of fragments using a quota scheme


Member Function Documentation

Size core::scoring::saxs::FormFactorManager::count_ff ( ) [inline]

returns the number of form factors registered in this manager

Size core::scoring::saxs::FormFactorManager::get_atom_index ( std::string  atom_name) [inline]

returns an index of an atom type or 0 if teh atom is not registered

FormFactorOP core::scoring::saxs::FormFactorManager::get_ff ( std::string  atom_name)

returns form factor function for a given atom

References core::scoring::saxs::trFormFactorManager().

FormFactorOP core::scoring::saxs::FormFactorManager::get_ff ( Size  atom_id) [inline]

returns form factor function for a given atom index

utility::vector1<std::string> core::scoring::saxs::FormFactorManager::get_known_atoms ( ) [inline]

returns a vector of know atom names

FormFactorManager * core::scoring::saxs::FormFactorManager::get_manager ( ) [static]

return singleton of the manager

Referenced by core::scoring::saxs::SAXSEnergy::init_ff().

bool core::scoring::saxs::FormFactorManager::is_known_atom ( std::string  atom_name)

returns true if the manager has form factor function for a given atom

void core::scoring::saxs::FormFactorManager::load_ff ( std::string  config_file)
void core::scoring::saxs::FormFactorManager::load_ff_from_db ( std::string  file_name)
void core::scoring::saxs::FormFactorManager::register_ff ( std::string  atom_name,
FormFactorOP  new_ff 
)

Referenced by load_ff(), and load_ff_from_db().

void core::scoring::saxs::FormFactorManager::tabulate ( const utility::vector1< Real > &  q) [inline]

asks all the registered form factors to tabulate their values for the new vector of q-arguments


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines