Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
util.hh File Reference

Utility functions for the jump selector classes, primarily, in constructing XML-Schema type definitions. More...

#include <core/select/jump_selector/JumpSelector.fwd.hh>
#include <core/types.hh>
#include <basic/datacache/DataMap.fwd.hh>
#include <utility/tag/Tag.fwd.hh>
#include <utility/tag/XMLSchemaGeneration.fwd.hh>
#include <string>
#include <list>
#include <algorithm>

Namespaces

 core
 A class for reading in the atom type properties.
 
 core::select
 
 core::select::jump_selector
 

Functions

std::string core::select::jump_selector::complex_type_name_for_jump_selector (std::string const &js_type)
 Used to name the xs:complexType for a jump selector that is created with the "js_type" tag-name. Does so by prepending "js_" and appending "Type" to the "js_type". E.g., "js_AndType" would be the name given to the complexType to describe the format of the AndJumpSelector. More...
 
void core::select::jump_selector::xsd_type_definition_w_attributes (utility::tag::XMLSchemaDefinition &xsd, std::string const &js_type, std::string const &js_description, utility::tag::AttributeList const &attributes)
 Define the XML schema definition for a JumpSelector that contains no other JumpSelectors but may contain some number of attributes (aka options). More...
 
void core::select::jump_selector::xsd_type_definition_w_attributes_and_optional_subselector (utility::tag::XMLSchemaDefinition &xsd, std::string const &js_type, std::string const &js_description, utility::tag::AttributeList const &attributes)
 Define the XML schema definition for a JumpSelector that contains a single JumpSelector in its set of sub-elements (aka sub-tags) and may contain some number of attributes (aka options). More...
 
void core::select::jump_selector::xsd_type_definition_w_attributes_and_optional_subselectors (utility::tag::XMLSchemaDefinition &xsd, std::string const &js_type, std::string const &js_description, utility::tag::AttributeList const &attributes)
 Define the XML schema definition for a JumpSelector that contains more than one JumpSelector in its set of sub-elements (aka sub-tags) and may contain some number of attributes (aka options). More...
 
void core::select::jump_selector::xsd_type_definition_w_attributes_and_optional_subselectors (utility::tag::XMLSchemaDefinition &xsd, std::string const &js_type, std::string const &js_description, core::Size min_occurrence, core::Size max_occurrence, utility::tag::AttributeList const &attributes)
 Define the XML schema definition for a JumpSelector that contains more than one JumpSelector in its set of sub-elements (aka sub-tags) and may contain some number of attributes (aka options). More...
 
JumpSelectorCOP core::select::jump_selector::parse_jump_selector (utility::tag::TagCOP tag, basic::datacache::DataMap const &data, std::string const &option_name="jump_selector")
 returns a jump selector given a tag and datamap More...
 
void core::select::jump_selector::attributes_for_parse_jump_selector_default_option_name (utility::tag::AttributeList &attlist, std::string const &documentation_string)
 Companion function for parse_jump_selector. More...
 
void core::select::jump_selector::attributes_for_parse_jump_selector (utility::tag::AttributeList &attlist, std::string const &option_name="jump_selector", std::string const &documentation_string="")
 Companion function for parse_jump_selector. More...
 
void core::select::jump_selector::attributes_for_parse_jump_selector_when_required (utility::tag::AttributeList &attlist, std::string const &option_name="jump_selector", std::string const &documentation_string="")
 Companion function for parse_jump_selector to be used when it is unacceptible for the parse_jump_selector function to return a null pointer. More...
 
JumpSelectorCOP core::select::jump_selector::get_jump_selector (std::string const &selector_name, basic::datacache::DataMap const &data)
 returns a jump selector given a selector's name and datamap More...
 

Detailed Description

Utility functions for the jump selector classes, primarily, in constructing XML-Schema type definitions.

Author
Andrew Leaver-Fay (aleav.nosp@m.erfa.nosp@m.y@gma.nosp@m.il.c.nosp@m.om)