From f39d0733369552968d053b80ab80b8fc5832da65 Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Wed, 10 Jun 2015 22:04:06 +0200 Subject: [PATCH] simplify includes --- alib2data/src/XmlApi.cpp | 78 --------------------------- alib2data/src/XmlApi.hpp | 96 ++------------------------------- alib2data/src/XmlTagNames.cpp | 91 ++++++++++++++++++++++++++++++++ alib2data/src/XmlTagNames.h | 99 +++++++++++++++++++++++++++++++++++ 4 files changed, 195 insertions(+), 169 deletions(-) create mode 100644 alib2data/src/XmlTagNames.cpp create mode 100644 alib2data/src/XmlTagNames.h diff --git a/alib2data/src/XmlApi.cpp b/alib2data/src/XmlApi.cpp index 7f2c71faef..21a28d361e 100644 --- a/alib2data/src/XmlApi.cpp +++ b/alib2data/src/XmlApi.cpp @@ -50,84 +50,6 @@ const tree::TreeToXMLComposer ToXMLComposers::treeComposer; const ToXMLComposers ToXMLComposers::toXMLComposers; -const std::string Names::ALIB_VOID = "Void"; -const std::string Names::CONTAINER_OBJECTS_SET = "ObjectsSet"; -const std::string Names::CONTAINER_OBJECTS_VECTOR = "ObjectsVector"; -const std::string Names::CONTAINER_OBJECTS_PAIR = "ObjectsPair"; -const std::string Names::CONTAINER_OBJECTS_MAP = "ObjectsMap"; -const std::string Names::EXCEPTION_ALIB_EXCEPTION = "AlibException"; -const std::string Names::ALPHABET_LABELED_SYMBOL = "LabeledSymbol"; -const std::string Names::ALPHABET_BLANK_SYMBOL = "BlankSymbol"; -const std::string Names::ALPHABET_BOTTOM_OF_THE_STACK_SYMBOL = "BottomOfTheStackSymbol"; -const std::string Names::ALPHABET_END_SYMBOL = "EndSymbol"; -const std::string Names::ALPHABET_RANKED_SYMBOL = "RankedSymbol"; -const std::string Names::ALPHABET_BAR_SYMBOL = "BarSymbol"; -const std::string Names::ALPHABET_VARIABLES_BAR_SYMBOL = "VariablesBarSymbol"; -const std::string Names::ALPHABET_SUBTREE_WILDCARD_SYMBOL = "SubtreeWildcardSymbol"; -const std::string Names::ALPHABET_SYMBOL_SET_SYMBOL = "SymbolSetSymbol"; -const std::string Names::ALPHABET_SYMBOL_PAIR_SYMBOL = "SymbolPairSymbol"; -const std::string Names::ALPHABET_UNIQUE_SYMBOL = "UniqueSymbol"; -const std::string Names::ALPHABET_START_SYMBOL = "StartSymbol"; -const std::string Names::AUTOMATON_EPSILON_NFA = "EpsilonNFA"; -const std::string Names::AUTOMATON_MULTI_INITIAL_STATE_NFA = "MultiInitialStateNFA"; -const std::string Names::AUTOMATON_NFA = "NFA"; -const std::string Names::AUTOMATON_DFA = "DFA"; -const std::string Names::AUTOMATON_EXTENDED_NFA = "ExtendedNFA"; -const std::string Names::AUTOMATON_COMPACT_NFA = "CompactNFA"; -const std::string Names::AUTOMATON_DFTA = "DFTA"; -const std::string Names::AUTOMATON_NFTA = "NFTA"; -const std::string Names::AUTOMATON_DPDA = "DPDA"; -const std::string Names::AUTOMATON_SINGLE_POP_DPDA = "SinglePopDPDA"; -const std::string Names::AUTOMATON_INPUT_DRIVEN_DPDA = "InputDrivenDPDA"; -const std::string Names::AUTOMATON_INPUT_DRIVEN_NPDA = "InputDrivenNPDA"; -const std::string Names::AUTOMATON_VISIBLY_PUSHDOWN_DPDA = "VisiblyPushdownDPDA"; -const std::string Names::AUTOMATON_VISIBLY_PUSHDOWN_NPDA = "VisiblyPushdownNPDA"; -const std::string Names::AUTOMATON_REAL_TIME_HEIGHT_DETERMINISTIC_DPDA = "RealTimeHeightDeterministicDPDA"; -const std::string Names::AUTOMATON_REAL_TIME_HEIGHT_DETERMINISTIC_NPDA = "RealTimeHeightDeterministicNPDA"; -const std::string Names::AUTOMATON_NPDA = "NPDA"; -const std::string Names::AUTOMATON_SINGLE_POP_NPDA = "SinglePopNPDA"; -const std::string Names::AUTOMATON_ONE_TAPE_DTM = "OneTapeDTM"; -const std::string Names::AUTOMATON_STATE = "State"; -const std::string Names::GRAMMAR_LEFT_LG = "LeftLG"; -const std::string Names::GRAMMAR_LEFT_RG = "LeftRG"; -const std::string Names::GRAMMAR_RIGHT_LG = "RightLG"; -const std::string Names::GRAMMAR_RIGHT_RG = "RightRG"; -const std::string Names::GRAMMAR_LG = "LG"; -const std::string Names::GRAMMAR_CFG = "CFG"; -const std::string Names::GRAMMAR_EPSILON_FREE_CFG = "EpsilonFreeCFG"; -const std::string Names::GRAMMAR_CNF = "CNF"; -const std::string Names::GRAMMAR_GNF = "GNF"; -const std::string Names::GRAMMAR_CSG = "CSG"; -const std::string Names::GRAMMAR_NON_CONTRACTING_GRAMMAR = "NonContractingGrammar"; -const std::string Names::GRAMMAR_CONTEXT_PRESERVING_UNRESTRICTED_GRAMMAR = "ContextPpreservingUnrestrictedGrammar"; -const std::string Names::GRAMMAR_UNRESTRICTED_GRAMMAR = "UnrestrictedGrammar"; -const std::string Names::GRAPH_DIRECTED_GRAPH = "DirectedGraph"; -const std::string Names::GRAPH_UNDIRECTED_GRAPH = "UndirectedGraph"; -const std::string Names::LABEL_PRIMITIVE_LABEL = "PrimitiveLabel"; -const std::string Names::LABEL_HEXAVIGESIMAL_LABEL = "HexavigesimalLabel"; -const std::string Names::LABEL_OBJECT_LABEL = "ObjectLabel"; -const std::string Names::LABEL_LABEL_SET_LABEL = "LabelSetLabel"; -const std::string Names::LABEL_LABEL_PAIR_LABEL = "LabelPairLabel"; -const std::string Names::LABEL_UNIQUE_LABEL = "UniqueLabel"; -const std::string Names::REGEXP_UNBOUNDED_REGEXP = "UnboundedRegExp"; -const std::string Names::REGEXP_FORMAL_REGEXP = "FormalRegExp"; -const std::string Names::STRING_LINEAR_STRING = "LinearString"; -const std::string Names::STRING_CYCLIC_STRING = "CyclicString"; -const std::string Names::STRING_EPSILON = "Epsilon"; -const std::string Names::PRIMITIVE_STRING = "String"; -const std::string Names::PRIMITIVE_INTEGER = "Integer"; -const std::string Names::PRIMITIVE_CHARACTER = "Character"; -const std::string Names::PRIMITIVE_UNSIGNED = "Unsigned"; -const std::string Names::PRIMITIVE_BOOL = "Bool"; -const std::string Names::TREE_RANKED_TREE = "RankedTree"; -const std::string Names::TREE_RANKED_PATTERN = "RankedPattern"; -const std::string Names::TREE_PREFIX_RANKED_TREE = "PrefixRankedTree"; -const std::string Names::TREE_PREFIX_RANKED_BAR_TREE = "PrefixRankedBarTree"; -const std::string Names::TREE_PREFIX_RANKED_PATTERN = "PrefixRankedPattern"; -const std::string Names::TREE_PREFIX_RANKED_BAR_PATTERN = "PrefixRankedBarPattern"; -const std::string Names::TREE_UNRANKED_TREE = "UnrankedTree"; -const std::string Names::TREE_UNRANKED_PATTERN = "UnrankedPattern"; - Void xmlApi<Void>::parse(std::deque<sax::Token>::iterator& input) { return FromXMLParsers::objectParser.parseVoid(input); } diff --git a/alib2data/src/XmlApi.hpp b/alib2data/src/XmlApi.hpp index 9adec26a85..59ae0853a6 100644 --- a/alib2data/src/XmlApi.hpp +++ b/alib2data/src/XmlApi.hpp @@ -8,6 +8,8 @@ #ifndef XML_API_HPP_ #define XML_API_HPP_ +#include "XmlTagNames.h" + #include "label/LabelFromXMLParser.h" #include "alphabet/SymbolFromXMLParser.h" #include "regexp/RegExpFromXMLParser.h" @@ -19,6 +21,7 @@ #include "exception/ExceptionFromXMLParser.h" #include "primitive/PrimitiveFromXMLParser.h" #include "tree/TreeFromXMLParser.h" +#include "container/ContainerFromXMLParser.hpp" #include "label/LabelToXMLComposer.h" #include "alphabet/SymbolToXMLComposer.h" @@ -31,93 +34,12 @@ #include "exception/ExceptionToXMLComposer.h" #include "primitive/PrimitiveToXMLComposer.h" #include "tree/TreeToXMLComposer.h" +#include "container/ContainerToXMLComposer.hpp" #include "object/ObjectBase.h" namespace alib { -class Names { -public: - const static std::string ALIB_VOID; - const static std::string CONTAINER_OBJECTS_SET; - const static std::string CONTAINER_OBJECTS_VECTOR; - const static std::string CONTAINER_OBJECTS_PAIR; - const static std::string CONTAINER_OBJECTS_MAP; - const static std::string EXCEPTION_ALIB_EXCEPTION; - const static std::string ALPHABET_LABELED_SYMBOL; - const static std::string ALPHABET_BLANK_SYMBOL; - const static std::string ALPHABET_BOTTOM_OF_THE_STACK_SYMBOL; - const static std::string ALPHABET_END_SYMBOL; - const static std::string ALPHABET_RANKED_SYMBOL; - const static std::string ALPHABET_BAR_SYMBOL; - const static std::string ALPHABET_VARIABLES_BAR_SYMBOL; - const static std::string ALPHABET_SUBTREE_WILDCARD_SYMBOL; - const static std::string ALPHABET_SYMBOL_PAIR_SYMBOL; - const static std::string ALPHABET_SYMBOL_SET_SYMBOL; - const static std::string ALPHABET_UNIQUE_SYMBOL; - const static std::string ALPHABET_START_SYMBOL; - const static std::string AUTOMATON_EPSILON_NFA; - const static std::string AUTOMATON_MULTI_INITIAL_STATE_NFA; - const static std::string AUTOMATON_NFA; - const static std::string AUTOMATON_DFA; - const static std::string AUTOMATON_EXTENDED_NFA; - const static std::string AUTOMATON_COMPACT_NFA; - const static std::string AUTOMATON_DFTA; - const static std::string AUTOMATON_NFTA; - const static std::string AUTOMATON_DPDA; - const static std::string AUTOMATON_SINGLE_POP_DPDA; - const static std::string AUTOMATON_INPUT_DRIVEN_DPDA; - const static std::string AUTOMATON_INPUT_DRIVEN_NPDA; - const static std::string AUTOMATON_VISIBLY_PUSHDOWN_DPDA; - const static std::string AUTOMATON_VISIBLY_PUSHDOWN_NPDA; - const static std::string AUTOMATON_REAL_TIME_HEIGHT_DETERMINISTIC_DPDA; - const static std::string AUTOMATON_REAL_TIME_HEIGHT_DETERMINISTIC_NPDA; - const static std::string AUTOMATON_NPDA; - const static std::string AUTOMATON_SINGLE_POP_NPDA; - const static std::string AUTOMATON_ONE_TAPE_DTM; - const static std::string AUTOMATON_STATE; - const static std::string GRAMMAR_LEFT_LG; - const static std::string GRAMMAR_LEFT_RG; - const static std::string GRAMMAR_RIGHT_LG; - const static std::string GRAMMAR_RIGHT_RG; - const static std::string GRAMMAR_LG; - const static std::string GRAMMAR_CFG; - const static std::string GRAMMAR_EPSILON_FREE_CFG; - const static std::string GRAMMAR_CNF; - const static std::string GRAMMAR_GNF; - const static std::string GRAMMAR_CSG; - const static std::string GRAMMAR_NON_CONTRACTING_GRAMMAR; - const static std::string GRAMMAR_CONTEXT_PRESERVING_UNRESTRICTED_GRAMMAR; - const static std::string GRAMMAR_UNRESTRICTED_GRAMMAR; - const static std::string GRAPH_DIRECTED_GRAPH; - const static std::string GRAPH_UNDIRECTED_GRAPH; - const static std::string LABEL_PRIMITIVE_LABEL; - const static std::string LABEL_HEXAVIGESIMAL_LABEL; - const static std::string LABEL_OBJECT_LABEL; - const static std::string LABEL_LABEL_SET_LABEL; - const static std::string LABEL_LABEL_PAIR_LABEL; - const static std::string LABEL_UNIQUE_LABEL; - const static std::string REGEXP_UNBOUNDED_REGEXP; - const static std::string REGEXP_FORMAL_REGEXP; - const static std::string STRING_LINEAR_STRING; - const static std::string STRING_CYCLIC_STRING; - const static std::string STRING_EPSILON; - const static std::string PRIMITIVE_STRING; - const static std::string PRIMITIVE_INTEGER; - const static std::string PRIMITIVE_CHARACTER; - const static std::string PRIMITIVE_UNSIGNED; - const static std::string PRIMITIVE_BOOL; - const static std::string TREE_RANKED_TREE; - const static std::string TREE_RANKED_PATTERN; - const static std::string TREE_PREFIX_RANKED_TREE; - const static std::string TREE_PREFIX_RANKED_BAR_TREE; - const static std::string TREE_PREFIX_RANKED_PATTERN; - const static std::string TREE_PREFIX_RANKED_BAR_PATTERN; - const static std::string TREE_UNRANKED_TREE; - const static std::string TREE_UNRANKED_PATTERN; - -}; - template<typename T> struct xmlApi { static T parse(std::deque<sax::Token>::iterator& input); @@ -818,14 +740,6 @@ struct xmlApi<tree::UnrankedPattern> { static void compose(std::deque<sax::Token>& output, const tree::UnrankedPattern& data); }; -} /* namespace alib */ - -#include "container/ContainerFromXMLParser.hpp" - -#include "container/ContainerToXMLComposer.hpp" - -namespace alib { - template<> struct xmlApi<container::Container> { static container::Container parse(std::deque<sax::Token>::iterator& input); @@ -1043,4 +957,4 @@ std::deque<sax::Token> xmlApi<std::variant<Ts...>>::compose(std::deque<sax::Toke } /* namespace alib */ -#endif /* FROM_XML_PARSERS_HPP_ */ +#endif /* XML_API_HPP_ */ diff --git a/alib2data/src/XmlTagNames.cpp b/alib2data/src/XmlTagNames.cpp new file mode 100644 index 0000000000..993ab14a1e --- /dev/null +++ b/alib2data/src/XmlTagNames.cpp @@ -0,0 +1,91 @@ +/* + * XmlTagNames.cpp + * + * Created on: Apr 1, 2013 + * Author: Jan Travnicek + */ + +#include "XmlTagNames.h" + +namespace alib { + +const std::string Names::ALIB_VOID = "Void"; +const std::string Names::CONTAINER_OBJECTS_SET = "ObjectsSet"; +const std::string Names::CONTAINER_OBJECTS_VECTOR = "ObjectsVector"; +const std::string Names::CONTAINER_OBJECTS_PAIR = "ObjectsPair"; +const std::string Names::CONTAINER_OBJECTS_MAP = "ObjectsMap"; +const std::string Names::EXCEPTION_ALIB_EXCEPTION = "AlibException"; +const std::string Names::ALPHABET_LABELED_SYMBOL = "LabeledSymbol"; +const std::string Names::ALPHABET_BLANK_SYMBOL = "BlankSymbol"; +const std::string Names::ALPHABET_BOTTOM_OF_THE_STACK_SYMBOL = "BottomOfTheStackSymbol"; +const std::string Names::ALPHABET_END_SYMBOL = "EndSymbol"; +const std::string Names::ALPHABET_RANKED_SYMBOL = "RankedSymbol"; +const std::string Names::ALPHABET_BAR_SYMBOL = "BarSymbol"; +const std::string Names::ALPHABET_VARIABLES_BAR_SYMBOL = "VariablesBarSymbol"; +const std::string Names::ALPHABET_SUBTREE_WILDCARD_SYMBOL = "SubtreeWildcardSymbol"; +const std::string Names::ALPHABET_SYMBOL_SET_SYMBOL = "SymbolSetSymbol"; +const std::string Names::ALPHABET_SYMBOL_PAIR_SYMBOL = "SymbolPairSymbol"; +const std::string Names::ALPHABET_UNIQUE_SYMBOL = "UniqueSymbol"; +const std::string Names::ALPHABET_START_SYMBOL = "StartSymbol"; +const std::string Names::AUTOMATON_EPSILON_NFA = "EpsilonNFA"; +const std::string Names::AUTOMATON_MULTI_INITIAL_STATE_NFA = "MultiInitialStateNFA"; +const std::string Names::AUTOMATON_NFA = "NFA"; +const std::string Names::AUTOMATON_DFA = "DFA"; +const std::string Names::AUTOMATON_EXTENDED_NFA = "ExtendedNFA"; +const std::string Names::AUTOMATON_COMPACT_NFA = "CompactNFA"; +const std::string Names::AUTOMATON_DFTA = "DFTA"; +const std::string Names::AUTOMATON_NFTA = "NFTA"; +const std::string Names::AUTOMATON_DPDA = "DPDA"; +const std::string Names::AUTOMATON_SINGLE_POP_DPDA = "SinglePopDPDA"; +const std::string Names::AUTOMATON_INPUT_DRIVEN_DPDA = "InputDrivenDPDA"; +const std::string Names::AUTOMATON_INPUT_DRIVEN_NPDA = "InputDrivenNPDA"; +const std::string Names::AUTOMATON_VISIBLY_PUSHDOWN_DPDA = "VisiblyPushdownDPDA"; +const std::string Names::AUTOMATON_VISIBLY_PUSHDOWN_NPDA = "VisiblyPushdownNPDA"; +const std::string Names::AUTOMATON_REAL_TIME_HEIGHT_DETERMINISTIC_DPDA = "RealTimeHeightDeterministicDPDA"; +const std::string Names::AUTOMATON_REAL_TIME_HEIGHT_DETERMINISTIC_NPDA = "RealTimeHeightDeterministicNPDA"; +const std::string Names::AUTOMATON_NPDA = "NPDA"; +const std::string Names::AUTOMATON_SINGLE_POP_NPDA = "SinglePopNPDA"; +const std::string Names::AUTOMATON_ONE_TAPE_DTM = "OneTapeDTM"; +const std::string Names::AUTOMATON_STATE = "State"; +const std::string Names::GRAMMAR_LEFT_LG = "LeftLG"; +const std::string Names::GRAMMAR_LEFT_RG = "LeftRG"; +const std::string Names::GRAMMAR_RIGHT_LG = "RightLG"; +const std::string Names::GRAMMAR_RIGHT_RG = "RightRG"; +const std::string Names::GRAMMAR_LG = "LG"; +const std::string Names::GRAMMAR_CFG = "CFG"; +const std::string Names::GRAMMAR_EPSILON_FREE_CFG = "EpsilonFreeCFG"; +const std::string Names::GRAMMAR_CNF = "CNF"; +const std::string Names::GRAMMAR_GNF = "GNF"; +const std::string Names::GRAMMAR_CSG = "CSG"; +const std::string Names::GRAMMAR_NON_CONTRACTING_GRAMMAR = "NonContractingGrammar"; +const std::string Names::GRAMMAR_CONTEXT_PRESERVING_UNRESTRICTED_GRAMMAR = "ContextPpreservingUnrestrictedGrammar"; +const std::string Names::GRAMMAR_UNRESTRICTED_GRAMMAR = "UnrestrictedGrammar"; +const std::string Names::GRAPH_DIRECTED_GRAPH = "DirectedGraph"; +const std::string Names::GRAPH_UNDIRECTED_GRAPH = "UndirectedGraph"; +const std::string Names::LABEL_PRIMITIVE_LABEL = "PrimitiveLabel"; +const std::string Names::LABEL_HEXAVIGESIMAL_LABEL = "HexavigesimalLabel"; +const std::string Names::LABEL_OBJECT_LABEL = "ObjectLabel"; +const std::string Names::LABEL_LABEL_SET_LABEL = "LabelSetLabel"; +const std::string Names::LABEL_LABEL_PAIR_LABEL = "LabelPairLabel"; +const std::string Names::LABEL_UNIQUE_LABEL = "UniqueLabel"; +const std::string Names::REGEXP_UNBOUNDED_REGEXP = "UnboundedRegExp"; +const std::string Names::REGEXP_FORMAL_REGEXP = "FormalRegExp"; +const std::string Names::STRING_LINEAR_STRING = "LinearString"; +const std::string Names::STRING_CYCLIC_STRING = "CyclicString"; +const std::string Names::STRING_EPSILON = "Epsilon"; +const std::string Names::PRIMITIVE_STRING = "String"; +const std::string Names::PRIMITIVE_INTEGER = "Integer"; +const std::string Names::PRIMITIVE_CHARACTER = "Character"; +const std::string Names::PRIMITIVE_UNSIGNED = "Unsigned"; +const std::string Names::PRIMITIVE_BOOL = "Bool"; +const std::string Names::TREE_RANKED_TREE = "RankedTree"; +const std::string Names::TREE_RANKED_PATTERN = "RankedPattern"; +const std::string Names::TREE_PREFIX_RANKED_TREE = "PrefixRankedTree"; +const std::string Names::TREE_PREFIX_RANKED_BAR_TREE = "PrefixRankedBarTree"; +const std::string Names::TREE_PREFIX_RANKED_PATTERN = "PrefixRankedPattern"; +const std::string Names::TREE_PREFIX_RANKED_BAR_PATTERN = "PrefixRankedBarPattern"; +const std::string Names::TREE_UNRANKED_TREE = "UnrankedTree"; +const std::string Names::TREE_UNRANKED_PATTERN = "UnrankedPattern"; + +} + diff --git a/alib2data/src/XmlTagNames.h b/alib2data/src/XmlTagNames.h new file mode 100644 index 0000000000..ead673150a --- /dev/null +++ b/alib2data/src/XmlTagNames.h @@ -0,0 +1,99 @@ +/* + * XmlTagNames.hpp + * + * Created on: Apr 1, 2013 + * Author: Jan Travnicek + */ + +#ifndef XML_TAG_NAMES_H_ +#define XML_TAG_NAMES_H_ + +#include <string> + +namespace alib { + +struct Names { + + const static std::string ALIB_VOID; + const static std::string CONTAINER_OBJECTS_SET; + const static std::string CONTAINER_OBJECTS_VECTOR; + const static std::string CONTAINER_OBJECTS_PAIR; + const static std::string CONTAINER_OBJECTS_MAP; + const static std::string EXCEPTION_ALIB_EXCEPTION; + const static std::string ALPHABET_LABELED_SYMBOL; + const static std::string ALPHABET_BLANK_SYMBOL; + const static std::string ALPHABET_BOTTOM_OF_THE_STACK_SYMBOL; + const static std::string ALPHABET_END_SYMBOL; + const static std::string ALPHABET_RANKED_SYMBOL; + const static std::string ALPHABET_BAR_SYMBOL; + const static std::string ALPHABET_VARIABLES_BAR_SYMBOL; + const static std::string ALPHABET_SUBTREE_WILDCARD_SYMBOL; + const static std::string ALPHABET_SYMBOL_PAIR_SYMBOL; + const static std::string ALPHABET_SYMBOL_SET_SYMBOL; + const static std::string ALPHABET_UNIQUE_SYMBOL; + const static std::string ALPHABET_START_SYMBOL; + const static std::string AUTOMATON_EPSILON_NFA; + const static std::string AUTOMATON_MULTI_INITIAL_STATE_NFA; + const static std::string AUTOMATON_NFA; + const static std::string AUTOMATON_DFA; + const static std::string AUTOMATON_EXTENDED_NFA; + const static std::string AUTOMATON_COMPACT_NFA; + const static std::string AUTOMATON_DFTA; + const static std::string AUTOMATON_NFTA; + const static std::string AUTOMATON_DPDA; + const static std::string AUTOMATON_SINGLE_POP_DPDA; + const static std::string AUTOMATON_INPUT_DRIVEN_DPDA; + const static std::string AUTOMATON_INPUT_DRIVEN_NPDA; + const static std::string AUTOMATON_VISIBLY_PUSHDOWN_DPDA; + const static std::string AUTOMATON_VISIBLY_PUSHDOWN_NPDA; + const static std::string AUTOMATON_REAL_TIME_HEIGHT_DETERMINISTIC_DPDA; + const static std::string AUTOMATON_REAL_TIME_HEIGHT_DETERMINISTIC_NPDA; + const static std::string AUTOMATON_NPDA; + const static std::string AUTOMATON_SINGLE_POP_NPDA; + const static std::string AUTOMATON_ONE_TAPE_DTM; + const static std::string AUTOMATON_STATE; + const static std::string GRAMMAR_LEFT_LG; + const static std::string GRAMMAR_LEFT_RG; + const static std::string GRAMMAR_RIGHT_LG; + const static std::string GRAMMAR_RIGHT_RG; + const static std::string GRAMMAR_LG; + const static std::string GRAMMAR_CFG; + const static std::string GRAMMAR_EPSILON_FREE_CFG; + const static std::string GRAMMAR_CNF; + const static std::string GRAMMAR_GNF; + const static std::string GRAMMAR_CSG; + const static std::string GRAMMAR_NON_CONTRACTING_GRAMMAR; + const static std::string GRAMMAR_CONTEXT_PRESERVING_UNRESTRICTED_GRAMMAR; + const static std::string GRAMMAR_UNRESTRICTED_GRAMMAR; + const static std::string GRAPH_DIRECTED_GRAPH; + const static std::string GRAPH_UNDIRECTED_GRAPH; + const static std::string LABEL_PRIMITIVE_LABEL; + const static std::string LABEL_HEXAVIGESIMAL_LABEL; + const static std::string LABEL_OBJECT_LABEL; + const static std::string LABEL_LABEL_SET_LABEL; + const static std::string LABEL_LABEL_PAIR_LABEL; + const static std::string LABEL_UNIQUE_LABEL; + const static std::string REGEXP_UNBOUNDED_REGEXP; + const static std::string REGEXP_FORMAL_REGEXP; + const static std::string STRING_LINEAR_STRING; + const static std::string STRING_CYCLIC_STRING; + const static std::string STRING_EPSILON; + const static std::string PRIMITIVE_STRING; + const static std::string PRIMITIVE_INTEGER; + const static std::string PRIMITIVE_CHARACTER; + const static std::string PRIMITIVE_UNSIGNED; + const static std::string PRIMITIVE_BOOL; + const static std::string TREE_RANKED_TREE; + const static std::string TREE_RANKED_PATTERN; + const static std::string TREE_PREFIX_RANKED_TREE; + const static std::string TREE_PREFIX_RANKED_BAR_TREE; + const static std::string TREE_PREFIX_RANKED_PATTERN; + const static std::string TREE_PREFIX_RANKED_BAR_PATTERN; + const static std::string TREE_UNRANKED_TREE; + const static std::string TREE_UNRANKED_PATTERN; + +}; + +} /* namespace alib */ + +#endif /* XML_TAG_NAMES_H_ */ -- GitLab