Rosetta
Classes | Typedefs | Functions
protocols::chemistries Namespace Reference

Classes

class  Chemistry
 
class  ChemistryCreator
 
class  ChemistryFactory
 
class  ChemistryLoader
 A class for loading arbitrary data into the XML chemistries's basic::datacache::DataMap. More...
 
class  ChemistryLoaderCreator
 
class  ChemistryRegistrator
 This templated class will register an instance of an ChemistryCreator (class T) with the ChemistryFactory. It will ensure that no ChemistryCreator is registered twice, and, centralizes this registration logic so that thread safety issues can be handled in one place. More...
 
class  PatchChemistry
 
class  PatchChemistryCreator
 
class  WrappedBaseChemistry
 

Typedefs

typedef utility::pointer::shared_ptr< ChemistryChemistryOP
 
typedef utility::pointer::shared_ptr< Chemistry const > ChemistryCOP
 
typedef utility::pointer::shared_ptr< ChemistryCreatorChemistryCreatorOP
 
typedef utility::pointer::shared_ptr< ChemistryCreator const > ChemistryCreatorCOP
 
typedef utility::pointer::shared_ptr< PatchChemistryPatchChemistryOP
 
typedef utility::pointer::shared_ptr< PatchChemistry const > PatchChemistryCOP
 

Functions

static basic::Tracer TR ("protocols.chemistries.ChemistryFactory")
 
static basic::Tracer TR ("protocols.chemistries.ChemistryLoader")
 
static basic::Tracer TR ("protocols.chemistry.PatchChemistry")
 
std::string complex_type_name_for_chemistry (std::string const &chem_type)
 Used to name the xs:complexType for a chemistry that is created with the "chem_type" tag-name. Does so by prepending "chemistry_" and appending "Type" to the "chem_type". More...
 
void xsd_type_definition_w_attributes (utility::tag::XMLSchemaDefinition &xsd, std::string const &chem_type, std::string const &chem_description, utility::tag::AttributeList const &attributes)
 Define the XML schema definition for a Chemistry which possibly contains attributes/options, but no sub-tags. More...
 
void xsd_type_definition_w_attributes_and_repeatable_subelements (utility::tag::XMLSchemaDefinition &xsd, std::string const &chem_type, std::string const &description, utility::tag::AttributeList const &attributes, utility::tag::XMLSchemaSimpleSubelementList const &subelements)
 Define the XML schema definition for a Chemistry that contains subtags and attributes (aka options). More...
 

Typedef Documentation

◆ ChemistryCOP

typedef utility::pointer::shared_ptr<Chemistry const> protocols::chemistries::ChemistryCOP

◆ ChemistryCreatorCOP

typedef utility::pointer::shared_ptr< ChemistryCreator const > protocols::chemistries::ChemistryCreatorCOP

◆ ChemistryCreatorOP

typedef utility::pointer::shared_ptr< ChemistryCreator > protocols::chemistries::ChemistryCreatorOP

◆ ChemistryOP

typedef utility::pointer::shared_ptr<Chemistry> protocols::chemistries::ChemistryOP

◆ PatchChemistryCOP

typedef utility::pointer::shared_ptr< PatchChemistry const > protocols::chemistries::PatchChemistryCOP

◆ PatchChemistryOP

typedef utility::pointer::shared_ptr< PatchChemistry > protocols::chemistries::PatchChemistryOP

Function Documentation

◆ complex_type_name_for_chemistry()

std::string protocols::chemistries::complex_type_name_for_chemistry ( std::string const &  chem_type)

Used to name the xs:complexType for a chemistry that is created with the "chem_type" tag-name. Does so by prepending "chemistry_" and appending "Type" to the "chem_type".

Referenced by protocols::chemistries::ChemistryFactory::define_chemistry_xml_schema(), xsd_type_definition_w_attributes(), and xsd_type_definition_w_attributes_and_repeatable_subelements().

◆ TR() [1/3]

static basic::Tracer protocols::chemistries::TR ( "protocols.chemistries.ChemistryFactory"  )
static

◆ TR() [2/3]

static basic::Tracer protocols::chemistries::TR ( "protocols.chemistries.ChemistryLoader"  )
static

◆ TR() [3/3]

static basic::Tracer protocols::chemistries::TR ( "protocols.chemistry.PatchChemistry"  )
static

◆ xsd_type_definition_w_attributes()

void protocols::chemistries::xsd_type_definition_w_attributes ( utility::tag::XMLSchemaDefinition &  xsd,
std::string const &  chem_type,
std::string const &  description,
utility::tag::AttributeList const &  attributes 
)

Define the XML schema definition for a Chemistry which possibly contains attributes/options, but no sub-tags.

References complex_type_name_for_chemistry().

◆ xsd_type_definition_w_attributes_and_repeatable_subelements()

void protocols::chemistries::xsd_type_definition_w_attributes_and_repeatable_subelements ( utility::tag::XMLSchemaDefinition &  xsd,
std::string const &  chem_type,
std::string const &  description,
utility::tag::AttributeList const &  attributes,
utility::tag::XMLSchemaSimpleSubelementList const &  subelements 
)

Define the XML schema definition for a Chemistry that contains subtags and attributes (aka options).

References complex_type_name_for_chemistry().

Referenced by protocols::chemistries::PatchChemistry::provide_xml_schema().