Rosetta
Public Types | Public Member Functions | Private Attributes | List of all members
utility::tag::XMLSchemaRepeatableCTNode Class Reference

#include <XMLSchemaGeneration.hh>

Inheritance diagram for utility::tag::XMLSchemaRepeatableCTNode:
Inheritance graph
[legend]

Public Types

typedef XMLSchemaSimpleSubelementList::DerivedNameFunction DerivedNameFunction
 
typedef XMLSchemaSimpleSubelementList::NameFunction NameFunction
 

Public Member Functions

 XMLSchemaRepeatableCTNode ()
 
 ~XMLSchemaRepeatableCTNode () override
 
XMLSchemaRepeatableCTNodeCOP get_self_ptr () const
 self pointers More...
 
XMLSchemaRepeatableCTNodeOP get_self_ptr ()
 
XMLSchemaRepeatableCTNodeCAP get_self_weak_ptr () const
 
XMLSchemaRepeatableCTNodeAP get_self_weak_ptr ()
 
XMLSchemaRepeatableCTNodeset_element_w_attributes (std::string const &name, AttributeList const &atts, std::string const &description)
 
XMLSchemaRepeatableCTNodeset_already_defined_element (std::string const &name, DerivedNameFunction const &naming_func)
 
XMLSchemaRepeatableCTNodeset_already_defined_element_w_alt_name (std::string const &name, std::string const &reference_element_name, DerivedNameFunction const &naming_func)
 
XMLSchemaRepeatableCTNodeset_group_subelement (NameFunction const &group_name_function)
 
XMLSchemaRepeatableCTNodeset_kids_naming_func (DerivedNameFunction const &naming_func)
 
XMLSchemaRepeatableCTNodeset_root_node_naming_func (DerivedNameFunction const &naming_func)
 
XMLSchemaRepeatableCTNodeadd_child (XMLSchemaRepeatableCTNodeOP child_element)
 
void recursively_write_ct_to_schema (XMLSchemaDefinition &xsd)
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Private Attributes

std::list< XMLSchemaRepeatableCTNodeOPchildren_
 
XMLSchemaRepeatableCTNodeAP parent_
 
DerivedNameFunction kids_ct_naming_func_
 
DerivedNameFunction my_naming_func_
 
XMLSchemaSimpleSubelementList::ElementSummary element_
 

Member Typedef Documentation

◆ DerivedNameFunction

◆ NameFunction

Constructor & Destructor Documentation

◆ XMLSchemaRepeatableCTNode()

utility::tag::XMLSchemaRepeatableCTNode::XMLSchemaRepeatableCTNode ( )
default

◆ ~XMLSchemaRepeatableCTNode()

utility::tag::XMLSchemaRepeatableCTNode::~XMLSchemaRepeatableCTNode ( )
overridedefault

Member Function Documentation

◆ add_child()

XMLSchemaRepeatableCTNode & utility::tag::XMLSchemaRepeatableCTNode::add_child ( XMLSchemaRepeatableCTNodeOP  child_element)

References children_, and get_self_weak_ptr().

◆ get_self_ptr() [1/2]

XMLSchemaRepeatableCTNodeOP utility::tag::XMLSchemaRepeatableCTNode::get_self_ptr ( )
inline

◆ get_self_ptr() [2/2]

XMLSchemaRepeatableCTNodeCOP utility::tag::XMLSchemaRepeatableCTNode::get_self_ptr ( ) const
inline

self pointers

◆ get_self_weak_ptr() [1/2]

XMLSchemaRepeatableCTNodeAP utility::tag::XMLSchemaRepeatableCTNode::get_self_weak_ptr ( )
inline

◆ get_self_weak_ptr() [2/2]

XMLSchemaRepeatableCTNodeCAP utility::tag::XMLSchemaRepeatableCTNode::get_self_weak_ptr ( ) const
inline

Referenced by add_child().

◆ recursively_write_ct_to_schema()

void utility::tag::XMLSchemaRepeatableCTNode::recursively_write_ct_to_schema ( XMLSchemaDefinition xsd)

◆ set_already_defined_element()

XMLSchemaRepeatableCTNode & utility::tag::XMLSchemaRepeatableCTNode::set_already_defined_element ( std::string const &  name,
DerivedNameFunction const &  naming_func 
)

◆ set_already_defined_element_w_alt_name()

XMLSchemaRepeatableCTNode & utility::tag::XMLSchemaRepeatableCTNode::set_already_defined_element_w_alt_name ( std::string const &  name,
std::string const &  reference_element_name,
DerivedNameFunction const &  naming_func 
)

◆ set_element_w_attributes()

XMLSchemaRepeatableCTNode & utility::tag::XMLSchemaRepeatableCTNode::set_element_w_attributes ( std::string const &  name,
AttributeList const &  atts,
std::string const &  description 
)

◆ set_group_subelement()

XMLSchemaRepeatableCTNode & utility::tag::XMLSchemaRepeatableCTNode::set_group_subelement ( NameFunction const &  group_name_function)

◆ set_kids_naming_func()

XMLSchemaRepeatableCTNode & utility::tag::XMLSchemaRepeatableCTNode::set_kids_naming_func ( DerivedNameFunction const &  naming_func)

References kids_ct_naming_func_.

◆ set_root_node_naming_func()

XMLSchemaRepeatableCTNode & utility::tag::XMLSchemaRepeatableCTNode::set_root_node_naming_func ( DerivedNameFunction const &  naming_func)

References my_naming_func_.

Member Data Documentation

◆ children_

std::list< XMLSchemaRepeatableCTNodeOP > utility::tag::XMLSchemaRepeatableCTNode::children_
private

◆ element_

XMLSchemaSimpleSubelementList::ElementSummary utility::tag::XMLSchemaRepeatableCTNode::element_
private

◆ kids_ct_naming_func_

DerivedNameFunction utility::tag::XMLSchemaRepeatableCTNode::kids_ct_naming_func_
private

◆ my_naming_func_

DerivedNameFunction utility::tag::XMLSchemaRepeatableCTNode::my_naming_func_
private

◆ parent_

XMLSchemaRepeatableCTNodeAP utility::tag::XMLSchemaRepeatableCTNode::parent_
private

The documentation for this class was generated from the following files: