You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For an advanced usage of AnalyzerGroup class, I need to reimplement some of its public methods, but the big problem is reimplementing its virtual methods while I don't have access to the main class member which is std::vector<boost::shared_ptr<Analyzer> > analyzers_ doesn't really make sense and kind of impossible.
Is there any specific reason for defining analyzers_ as private and not protected (or a getter function for it)?
Currently, as a quick-fix, I reimplemented the addAnalyzer method and stored the analyzers in an additional std::vector<boost::weak_ptr<Analyzer>>.
The text was updated successfully, but these errors were encountered:
For an advanced usage of
AnalyzerGroup
class, I need to reimplement some of its public methods, but the big problem is reimplementing its virtual methods while I don't have access to the main class member which isstd::vector<boost::shared_ptr<Analyzer> > analyzers_
doesn't really make sense and kind of impossible.Is there any specific reason for defining
analyzers_
asprivate
and notprotected
(or a getter function for it)?Currently, as a quick-fix, I reimplemented the
addAnalyzer
method and stored the analyzers in an additionalstd::vector<boost::weak_ptr<Analyzer>>
.The text was updated successfully, but these errors were encountered: