56 std::string
name()
const override {
return "CompositeBraggScatterer"; }
60 void addScatterers(
const std::vector<BraggScatterer_sptr> &scatterer);
61 void setScatterers(
const std::vector<BraggScatterer_sptr> &scatterers);
62 size_t nScatterers()
const;
64 const std::vector<BraggScatterer_sptr> &getScatterers()
const;
65 void removeScatterer(
size_t i);
66 void removeAllScatterers();
71 void afterPropertySet(
const std::string &propertyName)
override;
72 void propagateProperty(
const std::string &propertyName);
73 void propagatePropertyToScatterer(
BraggScatterer_sptr &scatterer,
const std::string &propertyName,
74 const std::string &propertyValue);
77 void removeScattererImplementation(
size_t i);
79 void redeclareProperties();
80 std::map<std::string, size_t> getPropertyCountMap()
const;