From 7a8f88d65e4c954ce941686fa5a402f6bbe1203b Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Tue, 27 Dec 2016 21:22:47 +0100 Subject: [PATCH] delete not needed code --- alib2common/src/container/Container.h | 6 ------ alib2common/src/object/Object.h | 5 ----- alib2common/src/primitive/Primitive.h | 5 ----- alib2data/src/alphabet/Symbol.h | 5 ----- alib2data/src/automaton/Automaton.h | 6 ------ alib2data/src/grammar/Grammar.h | 6 ------ alib2data/src/label/Label.h | 5 ----- alib2data/src/regexp/RegExp.h | 6 ------ alib2data/src/rte/RTE.h | 6 ------ alib2data/src/string/String.h | 6 ------ alib2data/src/tree/RankedTreeWrapper.h | 6 ------ alib2data/src/tree/Tree.h | 6 ------ alib2data/src/tree/UnrankedTreeWrapper.h | 6 ------ alib2data_experimental/src/graph/Graph.h | 6 ------ 14 files changed, 80 deletions(-) diff --git a/alib2common/src/container/Container.h b/alib2common/src/container/Container.h index 833e3863f1..ea8d8cfb36 100644 --- a/alib2common/src/container/Container.h +++ b/alib2common/src/container/Container.h @@ -19,12 +19,6 @@ namespace container { class Container : public alib::WrapperBase < ContainerBase > { using alib::WrapperBase < ContainerBase >::WrapperBase; -public: - static const std::string & getXmlTagRefName() { - static std::string xmlTagName = "ContainerRef"; - - return xmlTagName; - } }; } /* namespace container */ diff --git a/alib2common/src/object/Object.h b/alib2common/src/object/Object.h index 08915aa930..5fa78860b7 100644 --- a/alib2common/src/object/Object.h +++ b/alib2common/src/object/Object.h @@ -29,11 +29,6 @@ public: void inc ( ); - static const std::string & getXmlTagRefName() { - static std::string xmlTagName = "ObjectRef"; - - return xmlTagName; - } }; } /* namespace alib */ diff --git a/alib2common/src/primitive/Primitive.h b/alib2common/src/primitive/Primitive.h index e23dad8e54..b502d76578 100644 --- a/alib2common/src/primitive/Primitive.h +++ b/alib2common/src/primitive/Primitive.h @@ -29,11 +29,6 @@ public: void inc ( ); - static const std::string & getXmlTagRefName() { - static std::string xmlTagName = "PrimitiveRef"; - - return xmlTagName; - } }; } /* namespace primitive */ diff --git a/alib2data/src/alphabet/Symbol.h b/alib2data/src/alphabet/Symbol.h index 9ee50e0d24..c009d1a85f 100644 --- a/alib2data/src/alphabet/Symbol.h +++ b/alib2data/src/alphabet/Symbol.h @@ -34,11 +34,6 @@ public: void inc ( ); - static const std::string & getXmlTagRefName() { - static std::string xmlTagName = "SymbolRef"; - - return xmlTagName; - } }; } /* namespace alphabet */ diff --git a/alib2data/src/automaton/Automaton.h b/alib2data/src/automaton/Automaton.h index 7daec47539..f04826ab7a 100644 --- a/alib2data/src/automaton/Automaton.h +++ b/alib2data/src/automaton/Automaton.h @@ -19,12 +19,6 @@ namespace automaton { class Automaton : public alib::WrapperBase < AutomatonBase > { using alib::WrapperBase < AutomatonBase >::WrapperBase; -public: - static const std::string & getXmlTagRefName() { - static std::string xmlTagName = "AutomatonRef"; - - return xmlTagName; - } }; template < class T > diff --git a/alib2data/src/grammar/Grammar.h b/alib2data/src/grammar/Grammar.h index 311e15757f..0bd5b99ee9 100644 --- a/alib2data/src/grammar/Grammar.h +++ b/alib2data/src/grammar/Grammar.h @@ -21,12 +21,6 @@ namespace grammar { class Grammar : public alib::WrapperBase < GrammarBase > { using alib::WrapperBase < GrammarBase >::WrapperBase; -public: - static const std::string & getXmlTagRefName() { - static std::string xmlTagName = "GrammarRef"; - - return xmlTagName; - } }; template < class T > diff --git a/alib2data/src/label/Label.h b/alib2data/src/label/Label.h index aa0e2ba4d0..5ec1d38dff 100644 --- a/alib2data/src/label/Label.h +++ b/alib2data/src/label/Label.h @@ -34,11 +34,6 @@ public: void inc ( ); - static const std::string & getXmlTagRefName() { - static std::string xmlTagName = "LabelRef"; - - return xmlTagName; - } }; } /* namespace label */ diff --git a/alib2data/src/regexp/RegExp.h b/alib2data/src/regexp/RegExp.h index 28edab9bc6..d7c4080aed 100644 --- a/alib2data/src/regexp/RegExp.h +++ b/alib2data/src/regexp/RegExp.h @@ -25,12 +25,6 @@ namespace regexp { class RegExp : public alib::WrapperBase < RegExpBase > { using alib::WrapperBase < RegExpBase >::WrapperBase; -public: - static const std::string & getXmlTagRefName() { - static std::string xmlTagName = "RegExpRef"; - - return xmlTagName; - } }; regexp::RegExp regexpFrom ( const std::string & string ); diff --git a/alib2data/src/rte/RTE.h b/alib2data/src/rte/RTE.h index b2033272fe..5a479be8ee 100644 --- a/alib2data/src/rte/RTE.h +++ b/alib2data/src/rte/RTE.h @@ -27,12 +27,6 @@ public: const std::set < std::ranked_symbol < > > & getAlphabet ( ) const; const std::set < std::ranked_symbol < > > & getSubstitutionAlphabet ( ) const; - static const std::string & getXmlTagRefName ( ) { - static std::string xmlTagName = "RTERef"; - - return xmlTagName; - } - }; } /* namespace rte */ diff --git a/alib2data/src/string/String.h b/alib2data/src/string/String.h index dafc8a3a65..32f9070678 100644 --- a/alib2data/src/string/String.h +++ b/alib2data/src/string/String.h @@ -22,12 +22,6 @@ namespace string { class String : public alib::WrapperBase < StringBase > { using alib::WrapperBase < StringBase >::WrapperBase; -public: - static const std::string & getXmlTagRefName() { - static std::string xmlTagName = "StringRef"; - - return xmlTagName; - } }; string::String stringFrom ( const DefaultSymbolType & symbol ); diff --git a/alib2data/src/tree/RankedTreeWrapper.h b/alib2data/src/tree/RankedTreeWrapper.h index aece2718e4..3aeaa34ab5 100644 --- a/alib2data/src/tree/RankedTreeWrapper.h +++ b/alib2data/src/tree/RankedTreeWrapper.h @@ -19,12 +19,6 @@ namespace tree { class RankedTreeWrapper : public alib::WrapperBase < RankedTreeBase > { using alib::WrapperBase < RankedTreeBase >::WrapperBase; -public: - static const std::string & getXmlTagRefName() { - static std::string xmlTagName = "RankedTreeWrapperRef"; - - return xmlTagName; - } }; } /* namespace tree */ diff --git a/alib2data/src/tree/Tree.h b/alib2data/src/tree/Tree.h index 9c7b43f7ff..a8fd739dd9 100644 --- a/alib2data/src/tree/Tree.h +++ b/alib2data/src/tree/Tree.h @@ -19,12 +19,6 @@ namespace tree { class Tree : public alib::WrapperBase < TreeBase > { using alib::WrapperBase < TreeBase >::WrapperBase; -public: - static const std::string & getXmlTagRefName() { - static std::string xmlTagName = "TreeRef"; - - return xmlTagName; - } }; } /* namespace tree */ diff --git a/alib2data/src/tree/UnrankedTreeWrapper.h b/alib2data/src/tree/UnrankedTreeWrapper.h index bf85e3e574..37b09e246e 100644 --- a/alib2data/src/tree/UnrankedTreeWrapper.h +++ b/alib2data/src/tree/UnrankedTreeWrapper.h @@ -19,12 +19,6 @@ namespace tree { class UnrankedTreeWrapper : public alib::WrapperBase < UnrankedTreeBase > { using alib::WrapperBase < UnrankedTreeBase >::WrapperBase; -public: - static const std::string & getXmlTagRefName() { - static std::string xmlTagName = "UnrankedTreeWrapperRef"; - - return xmlTagName; - } }; } /* namespace tree */ diff --git a/alib2data_experimental/src/graph/Graph.h b/alib2data_experimental/src/graph/Graph.h index bf4a814397..9694bf7746 100644 --- a/alib2data_experimental/src/graph/Graph.h +++ b/alib2data_experimental/src/graph/Graph.h @@ -17,12 +17,6 @@ namespace graph { class Graph : public alib::WrapperBase < GraphBase > { using alib::WrapperBase < GraphBase >::WrapperBase; -public: - static const std::string & getXmlTagRefName() { - static std::string xmlTagName = "GraphRef"; - - return xmlTagName; - } }; } // namespace graph -- GitLab