bool isValidAttribute(const AttributePtr& theAttribute) const;
protected:
- /// Gets the validity state of the presentation in an internal map. Returns true if the valid state of value is stored
+ /// Gets the validity state of the presentation in an internal map.
+ /// Returns true if the valid state of value is stored
/// \param theValue a viewer presentation
/// \param theValid a valid state
bool getValidState(const std::shared_ptr<ModuleBase_ViewerPrs>& theValue, bool& theValid);
private:
ObjectPtr myPresentedObject; /// back up of the filtered object
#ifdef LIST_OF_VALID_PRS
- QList<std::shared_ptr<ModuleBase_ViewerPrs>> myValidPrs; /// cash of valid selection presentations
- QList<std::shared_ptr<ModuleBase_ViewerPrs>> myInvalidPrs; /// cash of invalid selection presentations
+ /// cash of valid selection presentations
+ QList<std::shared_ptr<ModuleBase_ViewerPrs>> myValidPrs;
+
+ /// cash of invalid selection presentations
+ QList<std::shared_ptr<ModuleBase_ViewerPrs>> myInvalidPrs;
#else
// assume that one presentation selection presentation corresponds only one shape
NCollection_DataMap<TopoDS_Shape, std::shared_ptr<ModuleBase_ViewerPrs> > myValidPrs;