diff --git a/alib2data/src/string/LinearString.cpp b/alib2data/src/string/LinearString.cpp index 341e738ef48e6a337a713a449a095cd77a0ff778..9ea07ef43562ce97843db30d8853de6f3991ee11 100644 --- a/alib2data/src/string/LinearString.cpp +++ b/alib2data/src/string/LinearString.cpp @@ -14,11 +14,14 @@ #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> #include <registration/SetRegistration.hpp> +#include <registration/ComponentRegistration.hpp> #include <container/ObjectsSet.h> namespace { +static auto components = registration::ComponentRegister < string::LinearString < > > ( ); + static auto LinearStringFromEpsilon = registration::CastRegister < string::LinearString < >, string::Epsilon < > > ( ); static auto LinearStringFromPostfixRankedTree = registration::CastRegister < string::LinearString < common::ranked_symbol < > >, tree::PostfixRankedTree < > > ( ); diff --git a/alib2data/src/tree/ranked/PostfixRankedTree.cpp b/alib2data/src/tree/ranked/PostfixRankedTree.cpp index 32f6d6c42f38b9e5df74f5291972d4a87e567751..7f19706b269812dafa7d779d9a45c627ba94b417 100644 --- a/alib2data/src/tree/ranked/PostfixRankedTree.cpp +++ b/alib2data/src/tree/ranked/PostfixRankedTree.cpp @@ -13,9 +13,12 @@ #include <registration/ValuePrinterRegistration.hpp> #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> +#include <registration/ComponentRegistration.hpp> namespace { +static auto components = registration::ComponentRegister < tree::PostfixRankedTree < > > ( ); + static auto valuePrinter = registration::ValuePrinterRegister < tree::PostfixRankedTree < > > ( ); static auto xmlWrite = registration::XmlWriterRegister < tree::Tree, tree::PostfixRankedTree < > > ( ); diff --git a/alib2data/src/tree/ranked/PrefixRankedBarNonlinearPattern.cpp b/alib2data/src/tree/ranked/PrefixRankedBarNonlinearPattern.cpp index ee7bbf70fa6dd466a26c6e339cd65a86b4a91f4b..2e437c514e5a4666829e89f1c8786818a4391378 100644 --- a/alib2data/src/tree/ranked/PrefixRankedBarNonlinearPattern.cpp +++ b/alib2data/src/tree/ranked/PrefixRankedBarNonlinearPattern.cpp @@ -13,9 +13,12 @@ #include <registration/ValuePrinterRegistration.hpp> #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> +#include <registration/ComponentRegistration.hpp> namespace { +static auto components = registration::ComponentRegister < tree::PrefixRankedBarNonlinearPattern < > > ( ); + static auto valuePrinter = registration::ValuePrinterRegister < tree::PrefixRankedBarNonlinearPattern < > > ( ); static auto xmlWrite = registration::XmlWriterRegister < tree::Tree, tree::PrefixRankedBarNonlinearPattern < > > ( ); diff --git a/alib2data/src/tree/ranked/PrefixRankedBarPattern.cpp b/alib2data/src/tree/ranked/PrefixRankedBarPattern.cpp index 2d06376813f24ed854c826efcd2c4784a3c3601b..f55f7c3e1e550a38138abb0b9c711940dcc24ec5 100644 --- a/alib2data/src/tree/ranked/PrefixRankedBarPattern.cpp +++ b/alib2data/src/tree/ranked/PrefixRankedBarPattern.cpp @@ -13,9 +13,12 @@ #include <registration/ValuePrinterRegistration.hpp> #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> +#include <registration/ComponentRegistration.hpp> namespace { +static auto components = registration::ComponentRegister < tree::PrefixRankedBarPattern < > > ( ); + static auto valuePrinter = registration::ValuePrinterRegister < tree::PrefixRankedBarPattern < > > ( ); static auto xmlWrite = registration::XmlWriterRegister < tree::Tree, tree::PrefixRankedBarPattern < > > ( ); diff --git a/alib2data/src/tree/ranked/PrefixRankedBarTree.cpp b/alib2data/src/tree/ranked/PrefixRankedBarTree.cpp index d5ae307ffd7c949da020a91d3cc0e57fb6f252a7..3b1be68f57448e7562a458e51a5206c812653f49 100644 --- a/alib2data/src/tree/ranked/PrefixRankedBarTree.cpp +++ b/alib2data/src/tree/ranked/PrefixRankedBarTree.cpp @@ -13,9 +13,12 @@ #include <registration/ValuePrinterRegistration.hpp> #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> +#include <registration/ComponentRegistration.hpp> namespace { +static auto components = registration::ComponentRegister < tree::PrefixRankedBarTree < > > ( ); + static auto valuePrinter = registration::ValuePrinterRegister < tree::PrefixRankedBarTree < > > ( ); static auto xmlWrite = registration::XmlWriterRegister < tree::Tree, tree::PrefixRankedBarTree < > > ( ); diff --git a/alib2data/src/tree/ranked/PrefixRankedNonlinearPattern.cpp b/alib2data/src/tree/ranked/PrefixRankedNonlinearPattern.cpp index 9efbe12b773b4e50d17b0776e680764eb1abaa74..4f3736eed1bf1868bc6e33d2144643aa9492aa4e 100644 --- a/alib2data/src/tree/ranked/PrefixRankedNonlinearPattern.cpp +++ b/alib2data/src/tree/ranked/PrefixRankedNonlinearPattern.cpp @@ -13,9 +13,12 @@ #include <registration/ValuePrinterRegistration.hpp> #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> +#include <registration/ComponentRegistration.hpp> namespace { +static auto components = registration::ComponentRegister < tree::PrefixRankedNonlinearPattern < > > ( ); + static auto valuePrinter = registration::ValuePrinterRegister < tree::PrefixRankedNonlinearPattern < > > ( ); static auto xmlWrite = registration::XmlWriterRegister < tree::Tree, tree::PrefixRankedNonlinearPattern < > > ( ); diff --git a/alib2data/src/tree/ranked/PrefixRankedPattern.cpp b/alib2data/src/tree/ranked/PrefixRankedPattern.cpp index b7a54ea3d57ade9c4b3d190f7e3ea4c8c984814a..a287ac685460de1d22fc10bd8fdfb1e6d3df7e53 100644 --- a/alib2data/src/tree/ranked/PrefixRankedPattern.cpp +++ b/alib2data/src/tree/ranked/PrefixRankedPattern.cpp @@ -13,9 +13,12 @@ #include <registration/ValuePrinterRegistration.hpp> #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> +#include <registration/ComponentRegistration.hpp> namespace { +static auto components = registration::ComponentRegister < tree::PrefixRankedPattern < > > ( ); + static auto valuePrinter = registration::ValuePrinterRegister < tree::PrefixRankedPattern < > > ( ); static auto xmlWrite = registration::XmlWriterRegister < tree::Tree, tree::PrefixRankedPattern < > > ( ); diff --git a/alib2data/src/tree/ranked/PrefixRankedTree.cpp b/alib2data/src/tree/ranked/PrefixRankedTree.cpp index 12b58ea5ff3e5b8dd59747b8d95af1d3998c3e63..a702ad3b53b22b1c488653d75fb60c088855081b 100644 --- a/alib2data/src/tree/ranked/PrefixRankedTree.cpp +++ b/alib2data/src/tree/ranked/PrefixRankedTree.cpp @@ -13,9 +13,12 @@ #include <registration/ValuePrinterRegistration.hpp> #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> +#include <registration/ComponentRegistration.hpp> namespace { +static auto components = registration::ComponentRegister < tree::PrefixRankedTree < > > ( ); + static auto valuePrinter = registration::ValuePrinterRegister < tree::PrefixRankedTree < > > ( ); static auto xmlWrite = registration::XmlWriterRegister < tree::Tree, tree::PrefixRankedTree < > > ( ); diff --git a/alib2data/src/tree/ranked/RankedNonlinearPattern.cpp b/alib2data/src/tree/ranked/RankedNonlinearPattern.cpp index 197127ae4153906c429229cdff5a07ade0ae0a86..00897e27cba7128e1db5e6029d7137d6c17ba80d 100644 --- a/alib2data/src/tree/ranked/RankedNonlinearPattern.cpp +++ b/alib2data/src/tree/ranked/RankedNonlinearPattern.cpp @@ -13,9 +13,12 @@ #include <registration/ValuePrinterRegistration.hpp> #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> +#include <registration/ComponentRegistration.hpp> namespace { +static auto components = registration::ComponentRegister < tree::RankedNonlinearPattern < > > ( ); + static auto valuePrinter = registration::ValuePrinterRegister < tree::RankedNonlinearPattern < > > ( ); static auto xmlWrite = registration::XmlWriterRegister < tree::Tree, tree::RankedNonlinearPattern < > > ( ); diff --git a/alib2data/src/tree/ranked/RankedPattern.cpp b/alib2data/src/tree/ranked/RankedPattern.cpp index ebf8c282c601a47454209fbf867738deb6d1f3e1..5e32d6c5fcec1ca8a242ffab1b5caf1363cfc65a 100644 --- a/alib2data/src/tree/ranked/RankedPattern.cpp +++ b/alib2data/src/tree/ranked/RankedPattern.cpp @@ -13,9 +13,12 @@ #include <registration/ValuePrinterRegistration.hpp> #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> +#include <registration/ComponentRegistration.hpp> namespace { +static auto components = registration::ComponentRegister < tree::RankedPattern < > > ( ); + static auto valuePrinter = registration::ValuePrinterRegister < tree::RankedPattern < > > ( ); static auto xmlWrite = registration::XmlWriterRegister < tree::Tree, tree::RankedPattern < > > ( ); diff --git a/alib2data/src/tree/ranked/RankedTree.cpp b/alib2data/src/tree/ranked/RankedTree.cpp index 692341566b8ac4de6a7cad88134d1b76e8034083..e940a9cdad567f2eebf0ec2f84d73a12f94f3ad3 100644 --- a/alib2data/src/tree/ranked/RankedTree.cpp +++ b/alib2data/src/tree/ranked/RankedTree.cpp @@ -13,9 +13,12 @@ #include <registration/ValuePrinterRegistration.hpp> #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> +#include <registration/ComponentRegistration.hpp> namespace { +static auto components = registration::ComponentRegister < tree::RankedTree < > > ( ); + static auto valuePrinter = registration::ValuePrinterRegister < tree::RankedTree < > > ( ); static auto xmlWrite = registration::XmlWriterRegister < tree::Tree, tree::RankedTree < > > ( ); diff --git a/alib2data/src/tree/unranked/PrefixBarTree.cpp b/alib2data/src/tree/unranked/PrefixBarTree.cpp index 52e45756ab896290f80d937cfa2dd2cb38ec6144..a60f10301cebe8c52d8f299d397b76986ddf7406 100644 --- a/alib2data/src/tree/unranked/PrefixBarTree.cpp +++ b/alib2data/src/tree/unranked/PrefixBarTree.cpp @@ -13,9 +13,12 @@ #include <registration/ValuePrinterRegistration.hpp> #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> +#include <registration/ComponentRegistration.hpp> namespace { +static auto components = registration::ComponentRegister < tree::PrefixBarTree < > > ( ); + static auto valuePrinter = registration::ValuePrinterRegister < tree::PrefixBarTree < > > ( ); static auto xmlWrite = registration::XmlWriterRegister < tree::Tree, tree::PrefixBarTree < > > ( ); diff --git a/alib2data/src/tree/unranked/UnrankedNonlinearPattern.cpp b/alib2data/src/tree/unranked/UnrankedNonlinearPattern.cpp index c46db0367cdf7a1fc08f66a855087c9dc25b0321..10580f9635222ba4ed2f4add1eae54d0117b90de 100644 --- a/alib2data/src/tree/unranked/UnrankedNonlinearPattern.cpp +++ b/alib2data/src/tree/unranked/UnrankedNonlinearPattern.cpp @@ -13,9 +13,12 @@ #include <registration/ValuePrinterRegistration.hpp> #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> +#include <registration/ComponentRegistration.hpp> namespace { +static auto components = registration::ComponentRegister < tree::UnrankedNonlinearPattern < > > ( ); + static auto valuePrinter = registration::ValuePrinterRegister < tree::UnrankedNonlinearPattern < > > ( ); static auto xmlWrite = registration::XmlWriterRegister < tree::Tree, tree::UnrankedNonlinearPattern < > > ( ); diff --git a/alib2data/src/tree/unranked/UnrankedPattern.cpp b/alib2data/src/tree/unranked/UnrankedPattern.cpp index 57de3ffbe0a6b5ee20490697833c9dfeb0972fc3..8f772bed8b5f21d6803f92afa634e7e0941244f8 100644 --- a/alib2data/src/tree/unranked/UnrankedPattern.cpp +++ b/alib2data/src/tree/unranked/UnrankedPattern.cpp @@ -13,9 +13,12 @@ #include <registration/ValuePrinterRegistration.hpp> #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> +#include <registration/ComponentRegistration.hpp> namespace { +static auto components = registration::ComponentRegister < tree::UnrankedPattern < > > ( ); + static auto valuePrinter = registration::ValuePrinterRegister < tree::UnrankedPattern < > > ( ); static auto xmlWrite = registration::XmlWriterRegister < tree::Tree, tree::UnrankedPattern < > > ( ); diff --git a/alib2data/src/tree/unranked/UnrankedTree.cpp b/alib2data/src/tree/unranked/UnrankedTree.cpp index 5e7f635d54390986f5419bbf4747e63835df53d6..206b40041a2964570b2117f8634d1b3c8e4531d0 100644 --- a/alib2data/src/tree/unranked/UnrankedTree.cpp +++ b/alib2data/src/tree/unranked/UnrankedTree.cpp @@ -13,9 +13,12 @@ #include <registration/ValuePrinterRegistration.hpp> #include <registration/XmlRegistration.hpp> #include <registration/CastRegistration.hpp> +#include <registration/ComponentRegistration.hpp> namespace { +static auto components = registration::ComponentRegister < tree::UnrankedTree < > > ( ); + static auto valuePrinter = registration::ValuePrinterRegister < tree::UnrankedTree < > > ( ); static auto xmlWrite = registration::XmlWriterRegister < tree::Tree, tree::UnrankedTree < > > ( );