Skip to content
Snippets Groups Projects
Commit 27cb05ae authored by ilor's avatar ilor
Browse files

fix member visibility issue in tagactions operators (delete, select...)

parent e9277e51
Branches
No related merge requests found
...@@ -39,15 +39,6 @@ public: ...@@ -39,15 +39,6 @@ public:
*/ */
std::string to_string(const Corpus2::Tagset& tagset) const; std::string to_string(const Corpus2::Tagset& tagset) const;
protected:
/**
* Writes string representation of the Action to
* an output stream.
* @returns Stream written to.
* @note May be incomplete and/or containt internal info.
*/
std::ostream& write_to(std::ostream& ostream) const;
/** /**
* Executes the Action on given context: it deletes * Executes the Action on given context: it deletes
* all lexemes of the token at given position that meet * all lexemes of the token at given position that meet
...@@ -59,6 +50,15 @@ protected: ...@@ -59,6 +50,15 @@ protected:
*/ */
Bool execute(const ActionExecContext &context) const; Bool execute(const ActionExecContext &context) const;
protected:
/**
* Writes string representation of the Action to
* an output stream.
* @returns Stream written to.
* @note May be incomplete and/or containt internal info.
*/
std::ostream& write_to(std::ostream& ostream) const;
private: private:
const PosFunctionPtr pos_; const PosFunctionPtr pos_;
const BoolFunctionPtr condition_; const BoolFunctionPtr condition_;
......
...@@ -43,15 +43,6 @@ public: ...@@ -43,15 +43,6 @@ public:
*/ */
std::string to_string(const Corpus2::Tagset& tagset) const; std::string to_string(const Corpus2::Tagset& tagset) const;
protected:
/**
* Writes string representation of the Action to
* an output stream.
* @returns Stream written to.
* @note May be incomplete and/or containt internal info.
*/
std::ostream& write_to(std::ostream& ostream) const;
/** /**
* Executes the Action on given context: for all lexemes * Executes the Action on given context: for all lexemes
* that meet given condition, change their part of speech * that meet given condition, change their part of speech
...@@ -61,6 +52,15 @@ protected: ...@@ -61,6 +52,15 @@ protected:
*/ */
Bool execute(const ActionExecContext &context) const; Bool execute(const ActionExecContext &context) const;
protected:
/**
* Writes string representation of the Action to
* an output stream.
* @returns Stream written to.
* @note May be incomplete and/or containt internal info.
*/
std::ostream& write_to(std::ostream& ostream) const;
private: private:
const PosFunctionPtr pos_; const PosFunctionPtr pos_;
const BoolFunctionPtr condition_; const BoolFunctionPtr condition_;
......
...@@ -39,15 +39,6 @@ public: ...@@ -39,15 +39,6 @@ public:
*/ */
std::string to_string(const Corpus2::Tagset& tagset) const; std::string to_string(const Corpus2::Tagset& tagset) const;
protected:
/**
* Writes string representation of the Action to
* an output stream.
* @returns Stream written to.
* @note May be incomplete and/or containt internal info.
*/
std::ostream& write_to(std::ostream& ostream) const;
/** /**
* Executes the Action on given context: it deletes * Executes the Action on given context: it deletes
* all lexemes of the token at given position that do not meet * all lexemes of the token at given position that do not meet
...@@ -59,6 +50,15 @@ protected: ...@@ -59,6 +50,15 @@ protected:
*/ */
Bool execute(const ActionExecContext &context) const; Bool execute(const ActionExecContext &context) const;
protected:
/**
* Writes string representation of the Action to
* an output stream.
* @returns Stream written to.
* @note May be incomplete and/or containt internal info.
*/
std::ostream& write_to(std::ostream& ostream) const;
private: private:
const PosFunctionPtr pos_; const PosFunctionPtr pos_;
const BoolFunctionPtr condition_; const BoolFunctionPtr condition_;
......
...@@ -43,15 +43,6 @@ public: ...@@ -43,15 +43,6 @@ public:
*/ */
std::string to_string(const Corpus2::Tagset& tagset) const; std::string to_string(const Corpus2::Tagset& tagset) const;
protected:
/**
* Writes string representation of the Action to
* an output stream.
* @returns Stream written to.
* @note May be incomplete and/or containt internal info.
*/
std::ostream& write_to(std::ostream& ostream) const;
/** /**
* Executes the Action on given context: remove lexemes * Executes the Action on given context: remove lexemes
* from tokens at given range that do not meet an agreement. * from tokens at given range that do not meet an agreement.
...@@ -61,6 +52,15 @@ protected: ...@@ -61,6 +52,15 @@ protected:
*/ */
Bool execute(const ActionExecContext &context) const; Bool execute(const ActionExecContext &context) const;
protected:
/**
* Writes string representation of the Action to
* an output stream.
* @returns Stream written to.
* @note May be incomplete and/or containt internal info.
*/
std::ostream& write_to(std::ostream& ostream) const;
private: private:
const PosFunctionPtr pos_begin_; const PosFunctionPtr pos_begin_;
const PosFunctionPtr pos_end_; const PosFunctionPtr pos_end_;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment