diff --git a/alib2data/src/string/CyclicString.h b/alib2data/src/string/CyclicString.h index 9a9225ca46a24615bbd8cc18946b839c22b6f3a4..1de92f079bd55714c2a99b803eb00fc939d8c2da 100644 --- a/alib2data/src/string/CyclicString.h +++ b/alib2data/src/string/CyclicString.h @@ -107,12 +107,12 @@ public: explicit CyclicString ( const Epsilon < SymbolType > & epsilon ); /** - * @copydoc automaton::AutomatonBase::clone() + * @copydoc string::StringBase::clone() */ virtual StringBase * clone ( ) const override; /** - * @copydoc automaton::AutomatonBase::plunder() + * @copydoc string::StringBase::plunder() */ virtual StringBase * plunder ( ) && override; @@ -160,6 +160,8 @@ public: /** * Setter of the string content. * + * \throws CommonException when new string contains symbols not present in the alphabet + * * \param new List of symbols forming string. */ void setContent ( ext::vector < SymbolType > str ); @@ -200,12 +202,12 @@ public: virtual explicit operator std::string ( ) const override; /** - * @copydoc alib::GrammarBase::inc() + * @copydoc alib::ObjectBase::inc() */ virtual object::ObjectBase * inc ( ) && override; /** - * Type of normalized automaton. + * Type of normalized string. */ typedef CyclicString < > normalized_type; }; diff --git a/alib2data/src/string/Epsilon.h b/alib2data/src/string/Epsilon.h index e3a888bca107810120ea05683fb6cc11df7ad22e..56336d20d5cc3913004b4e748e875278a3789636 100644 --- a/alib2data/src/string/Epsilon.h +++ b/alib2data/src/string/Epsilon.h @@ -75,12 +75,12 @@ public: Epsilon ( ext::set < SymbolType > alphabet ); /** - * @copydoc automaton::AutomatonBase::clone() + * @copydoc string::StringBase::clone() */ virtual StringBase * clone ( ) const override; /** - * @copydoc automaton::AutomatonBase::plunder() + * @copydoc string::StringBase::plunder() */ virtual StringBase * plunder ( ) && override; @@ -157,12 +157,12 @@ public: static Epsilon EPSILON; /** - * @copydoc alib::GrammarBase::inc() + * @copydoc alib::ObjectBase::inc() */ virtual object::ObjectBase * inc ( ) && override; /** - * Type of normalized automaton. + * Type of normalized string. */ typedef Epsilon < > normalized_type; }; diff --git a/alib2data/src/string/LinearString.h b/alib2data/src/string/LinearString.h index 1ce51769487f498df2ffab657a03a30cc664c601..0802f1e5a1c8b84a9d15e9f3e617c2d9401c0cad 100644 --- a/alib2data/src/string/LinearString.h +++ b/alib2data/src/string/LinearString.h @@ -190,12 +190,12 @@ public: explicit LinearString ( const Epsilon < SymbolType > & epsilon ); /** - * @copydoc automaton::AutomatonBase::clone() + * @copydoc string::StringBase::clone() */ virtual StringBase * clone ( ) const override; /** - * @copydoc automaton::AutomatonBase::plunder() + * @copydoc string::StringBase::plunder() */ virtual StringBase * plunder ( ) && override; @@ -250,6 +250,8 @@ public: /** * Setter of the string content. * + * \throws CommonException when new string contains symbols not present in the alphabet + * * \param new List of symbols forming string. */ void setContent ( ext::vector < SymbolType > str ); @@ -290,12 +292,12 @@ public: virtual explicit operator std::string ( ) const override; /** - * @copydoc alib::GrammarBase::inc() + * @copydoc alib::ObjectBase::inc() */ virtual object::ObjectBase * inc ( ) && override; /** - * Type of normalized automaton. + * Type of normalized string. */ typedef LinearString < > normalized_type; };