46 #ifndef OME_XML_MODEL_FILTER_H
47 #define OME_XML_MODEL_FILTER_H
57 #include <ome/common/xml/dom/Document.h>
58 #include <ome/common/xml/dom/Element.h>
59 #include <ome/common/xml/dom/Node.h>
60 #include <ome/common/xml/dom/NodeList.h>
62 #include <ome/xml/model/Instrument.h>
63 #include <ome/xml/model/ManufacturerSpec.h>
64 #include <ome/xml/model/TransmittanceRange.h>
65 #include <ome/xml/model/enums/FilterType.h>
88 ome::compat::shared_ptr<ome::xml::model::enums::FilterType>
type;
94 ome::compat::weak_ptr<ome::xml::model::Instrument>
instrument;
135 static ome::compat::shared_ptr< Filter>
160 link (ome::compat::shared_ptr<Reference>& reference,
161 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
168 ome::compat::shared_ptr<std::string>
176 const ome::compat::shared_ptr<std::string>
185 setFilterWheel (ome::compat::shared_ptr<std::string>& filterWheel);
192 ome::compat::shared_ptr<ome::xml::model::enums::FilterType>
200 const ome::compat::shared_ptr<ome::xml::model::enums::FilterType>
209 setType (ome::compat::shared_ptr<ome::xml::model::enums::FilterType>& type);
225 setID (
const std::string&
id);
232 ome::compat::shared_ptr<ome::xml::model::TransmittanceRange>
240 const ome::compat::shared_ptr<ome::xml::model::TransmittanceRange>
249 setTransmittanceRange (ome::compat::shared_ptr<ome::xml::model::TransmittanceRange>& transmittanceRange);
256 ome::compat::weak_ptr<ome::xml::model::Instrument>
264 const ome::compat::weak_ptr<ome::xml::model::Instrument>
273 setInstrument (ome::compat::weak_ptr<ome::xml::model::Instrument>& instrument_BackReference);
298 const ome::compat::weak_ptr<ome::xml::model::FilterSet>&
311 const ome::compat::weak_ptr<ome::xml::model::FilterSet>&
313 const ome::compat::shared_ptr<ome::xml::model::FilterSet>& filterSet_BackReference);
369 const ome::compat::weak_ptr<ome::xml::model::FilterSet>&
382 const ome::compat::weak_ptr<ome::xml::model::FilterSet>&
384 const ome::compat::shared_ptr<ome::xml::model::FilterSet>& filterSet_BackReference);
440 const ome::compat::weak_ptr<ome::xml::model::LightPath>&
453 const ome::compat::weak_ptr<ome::xml::model::LightPath>&
455 const ome::compat::shared_ptr<ome::xml::model::LightPath>& lightPath_BackReference);
511 const ome::compat::weak_ptr<ome::xml::model::LightPath>&
524 const ome::compat::weak_ptr<ome::xml::model::LightPath>&
526 const ome::compat::shared_ptr<ome::xml::model::LightPath>& lightPath_BackReference);
581 #endif // OME_XML_MODEL_FILTER_H
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
ome::compat::shared_ptr< ome::xml::model::enums::FilterType > type
Type property.
Definition: Filter.h:88
OMEModelObject::indexed_container< ome::xml::model::FilterSet, ome::compat::weak_ptr >::type getLinkedFilterSetExcitationFilterList() const
Get the linked FilterSetExcitationFilter list.
Definition: Filter.cpp:367
Filter()
Default constructor.
Definition: Filter.cpp:124
const ome::compat::weak_ptr< ome::xml::model::FilterSet > & setLinkedFilterSetExcitationFilter(OMEModelObject::indexed_container< ome::xml::model::FilterSet, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::FilterSet > &filterSet_BackReference)
Set linked FilterSetExcitationFilter.
Definition: Filter.cpp:379
ome::compat::shared_ptr< ome::xml::model::enums::FilterType > getType()
Get the Type property.
Definition: Filter.cpp:284
const ome::compat::weak_ptr< ome::xml::model::LightPath > & setLinkedLightPathEmissionFilter(OMEModelObject::indexed_container< ome::xml::model::LightPath, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::LightPath > &lightPath_BackReference)
Set linked LightPathEmissionFilter.
Definition: Filter.cpp:553
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Filter.cpp:667
void setTransmittanceRange(ome::compat::shared_ptr< ome::xml::model::TransmittanceRange > &transmittanceRange)
Set the TransmittanceRange property.
Definition: Filter.cpp:333
virtual ~Filter()
Destructor.
Definition: Filter.cpp:159
ome::compat::shared_ptr< std::string > getFilterWheel()
Get the FilterWheel property.
Definition: Filter.cpp:263
static ome::compat::shared_ptr< Filter > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a Filter model object from DOM element.
Definition: Filter.cpp:164
ome::compat::shared_ptr< std::string > model
Model property.
Definition: ManufacturerSpec.h:83
bool link(ome::compat::shared_ptr< Reference > &reference, ome::compat::shared_ptr< ome::xml::model::OMEModelObject > &object)
Link a given OME model object to this model object.
Definition: Filter.cpp:248
virtual common::xml::dom::Element asXMLElementInternal(common::xml::dom::Document &document, common::xml::dom::Element &element) const
Transform the object hierarchy rooted at this element to XML.
Definition: Filter.cpp:600
OMEModelObject::indexed_container< ome::xml::model::FilterSet, ome::compat::weak_ptr >::type::size_type sizeOfLinkedFilterSetEmissionFilterList() const
Get size of linked FilterSetEmissionFilter list.
Definition: Filter.cpp:419
DOM Document wrapper.
Definition: Document.h:80
DOM Element wrapper.
Definition: Element.h:66
bool unlinkLightPathEmissionFilter(const ome::compat::shared_ptr< ome::xml::model::LightPath > &lightPath_BackReference)
Unlink LightPathEmissionFilter.
Definition: Filter.cpp:576
boost::multi_index_container< Ptr< T >, boost::multi_index::indexed_by< boost::multi_index::random_access<>, boost::multi_index::ordered_unique< boost::multi_index::identity< Ptr< T > >, ome::compat::owner_less< Ptr< T > > > > > type
Multi-index container type.
Definition: OMEModelObject.h:94
bool unlinkFilterSetExcitationFilter(const ome::compat::shared_ptr< ome::xml::model::FilterSet > &filterSet_BackReference)
Unlink FilterSetExcitationFilter.
Definition: Filter.cpp:402
OMEModelObject::indexed_container< ome::xml::model::LightPath, ome::compat::weak_ptr >::type lightPathEmissionFilterLinks
LightPath_BackReference back reference (occurs more than once)
Definition: Filter.h:102
const ome::compat::weak_ptr< ome::xml::model::LightPath > & setLinkedLightPathExcitationFilter(OMEModelObject::indexed_container< ome::xml::model::LightPath, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::LightPath > &lightPath_BackReference)
Set linked LightPathExcitationFilter.
Definition: Filter.cpp:495
bool linkFilterSetExcitationFilter(const ome::compat::shared_ptr< ome::xml::model::FilterSet > &filterSet_BackReference)
Link FilterSetExcitationFilter.
Definition: Filter.cpp:389
bool unlinkFilterSetEmissionFilter(const ome::compat::shared_ptr< ome::xml::model::FilterSet > &filterSet_BackReference)
Unlink FilterSetEmissionFilter.
Definition: Filter.cpp:460
Multi-index container for efficient ordered insertion and deletion of model object references...
Definition: OMEModelObject.h:85
bool linkLightPathExcitationFilter(const ome::compat::shared_ptr< ome::xml::model::LightPath > &lightPath_BackReference)
Link LightPathExcitationFilter.
Definition: Filter.cpp:505
const ome::compat::weak_ptr< ome::xml::model::LightPath > & getLinkedLightPathEmissionFilter(OMEModelObject::indexed_container< ome::xml::model::LightPath, ome::compat::weak_ptr >::type::size_type index) const
Get linked LightPathEmissionFilter.
Definition: Filter.cpp:547
ome::compat::shared_ptr< std::string > filterWheel
FilterWheel property.
Definition: Filter.h:86
OMEModelObject::indexed_container< ome::xml::model::FilterSet, ome::compat::weak_ptr >::type::size_type sizeOfLinkedFilterSetExcitationFilterList() const
Get size of linked FilterSetExcitationFilter list.
Definition: Filter.cpp:361
bool linkFilterSetEmissionFilter(const ome::compat::shared_ptr< ome::xml::model::FilterSet > &filterSet_BackReference)
Link FilterSetEmissionFilter.
Definition: Filter.cpp:447
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Filter.cpp:180
OMEModelObject::indexed_container< ome::xml::model::LightPath, ome::compat::weak_ptr >::type lightPathExcitationFilterLinks
LightPath_BackReference back reference (occurs more than once)
Definition: Filter.h:100
virtual void update(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Update the object hierarchy recursively from an XML DOM tree.
Definition: Filter.cpp:189
ome::compat::shared_ptr< ome::xml::model::TransmittanceRange > transmittanceRange
TransmittanceRange property.
Definition: Filter.h:92
OMEModelObject::indexed_container< ome::xml::model::LightPath, ome::compat::weak_ptr >::type::size_type sizeOfLinkedLightPathEmissionFilterList() const
Get size of linked LightPathEmissionFilter list.
Definition: Filter.cpp:535
OMEModelObject::indexed_container< ome::xml::model::LightPath, ome::compat::weak_ptr >::type::size_type sizeOfLinkedLightPathExcitationFilterList() const
Get size of linked LightPathExcitationFilter list.
Definition: Filter.cpp:477
ome::compat::weak_ptr< ome::xml::model::Instrument > instrument
Instrument_BackReference back reference.
Definition: Filter.h:94
const ome::compat::weak_ptr< ome::xml::model::FilterSet > & getLinkedFilterSetExcitationFilter(OMEModelObject::indexed_container< ome::xml::model::FilterSet, ome::compat::weak_ptr >::type::size_type index) const
Get linked FilterSetExcitationFilter.
Definition: Filter.cpp:373
const std::string & elementName() const
Get the element name of this model object.
Definition: Filter.cpp:173
bool unlinkLightPathExcitationFilter(const ome::compat::shared_ptr< ome::xml::model::LightPath > &lightPath_BackReference)
Unlink LightPathExcitationFilter.
Definition: Filter.cpp:518
ome::compat::weak_ptr< ome::xml::model::Instrument > getInstrument()
Get the Instrument property.
Definition: Filter.cpp:340
void setInstrument(ome::compat::weak_ptr< ome::xml::model::Instrument > &instrument_BackReference)
Set the Instrument property.
Definition: Filter.cpp:354
OMEModelObject::indexed_container< ome::xml::model::LightPath, ome::compat::weak_ptr >::type getLinkedLightPathEmissionFilterList() const
Get the linked LightPathEmissionFilter list.
Definition: Filter.cpp:541
void setType(ome::compat::shared_ptr< ome::xml::model::enums::FilterType > &type)
Set the Type property.
Definition: Filter.cpp:298
ManufacturerSpec model object.
Definition: ManufacturerSpec.h:77
Filter model object.
Definition: Filter.h:82
const ome::compat::weak_ptr< ome::xml::model::FilterSet > & setLinkedFilterSetEmissionFilter(OMEModelObject::indexed_container< ome::xml::model::FilterSet, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::FilterSet > &filterSet_BackReference)
Set linked FilterSetEmissionFilter.
Definition: Filter.cpp:437
const std::string & getID() const
Get the ID property.
Definition: Filter.cpp:305
void setFilterWheel(ome::compat::shared_ptr< std::string > &filterWheel)
Set the FilterWheel property.
Definition: Filter.cpp:277
OMEModelObject::indexed_container< ome::xml::model::FilterSet, ome::compat::weak_ptr >::type filterSetExcitationFilterLinks
FilterSet_BackReference back reference (occurs more than once)
Definition: Filter.h:96
const ome::compat::weak_ptr< ome::xml::model::LightPath > & getLinkedLightPathExcitationFilter(OMEModelObject::indexed_container< ome::xml::model::LightPath, ome::compat::weak_ptr >::type::size_type index) const
Get linked LightPathExcitationFilter.
Definition: Filter.cpp:489
OMEModelObject::indexed_container< ome::xml::model::LightPath, ome::compat::weak_ptr >::type getLinkedLightPathExcitationFilterList() const
Get the linked LightPathExcitationFilter list.
Definition: Filter.cpp:483
std::string id
ID property.
Definition: Filter.h:90
OMEModelObject::indexed_container< ome::xml::model::FilterSet, ome::compat::weak_ptr >::type getLinkedFilterSetEmissionFilterList() const
Get the linked FilterSetEmissionFilter list.
Definition: Filter.cpp:425
OMEModelObject::indexed_container< ome::xml::model::FilterSet, ome::compat::weak_ptr >::type filterSetEmissionFilterLinks
FilterSet_BackReference back reference (occurs more than once)
Definition: Filter.h:98
const ome::compat::weak_ptr< ome::xml::model::FilterSet > & getLinkedFilterSetEmissionFilter(OMEModelObject::indexed_container< ome::xml::model::FilterSet, ome::compat::weak_ptr >::type::size_type index) const
Get linked FilterSetEmissionFilter.
Definition: Filter.cpp:431
ome::compat::shared_ptr< ome::xml::model::TransmittanceRange > getTransmittanceRange()
Get the TransmittanceRange property.
Definition: Filter.cpp:319
void setID(const std::string &id)
Set the ID property.
Definition: Filter.cpp:312
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: Filter.cpp:593
Xerces-C modern C++ wrapper.
Definition: Base.h:53
bool linkLightPathEmissionFilter(const ome::compat::shared_ptr< ome::xml::model::LightPath > &lightPath_BackReference)
Link LightPathEmissionFilter.
Definition: Filter.cpp:563