46 #ifndef OME_XML_MODEL_STRUCTUREDANNOTATIONS_H 47 #define OME_XML_MODEL_STRUCTUREDANNOTATIONS_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/primitives/Quantity.h> 64 #include <ome/xml/model/detail/OMEModelObject.h> 74 class BooleanAnnotation;
75 class CommentAnnotation;
76 class DoubleAnnotation;
84 class TimestampAnnotation;
95 ome::compat::shared_ptr<Impl>
impl;
126 static ome::compat::shared_ptr< StructuredAnnotations>
156 link (ome::compat::shared_ptr<Reference>& reference,
157 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
164 std::vector<ome::compat::shared_ptr<ome::xml::model::XMLAnnotation> >::size_type
173 std::vector<ome::compat::shared_ptr<ome::xml::model::XMLAnnotation> >&
182 const std::vector<ome::compat::shared_ptr<ome::xml::model::XMLAnnotation> >&
192 ome::compat::shared_ptr<ome::xml::model::XMLAnnotation>&
193 getXMLAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::XMLAnnotation> >::size_type index);
202 const ome::compat::shared_ptr<ome::xml::model::XMLAnnotation>&
203 getXMLAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::XMLAnnotation> >::size_type index)
const;
213 setXMLAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::XMLAnnotation> >::size_type index,
214 ome::compat::shared_ptr<ome::xml::model::XMLAnnotation>& xmlAnnotation);
225 addXMLAnnotation (ome::compat::shared_ptr<ome::xml::model::XMLAnnotation>& xmlAnnotation);
237 removeXMLAnnotation (ome::compat::shared_ptr<ome::xml::model::XMLAnnotation>& xmlAnnotation);
244 std::vector<ome::compat::shared_ptr<ome::xml::model::FileAnnotation> >::size_type
253 std::vector<ome::compat::shared_ptr<ome::xml::model::FileAnnotation> >&
262 const std::vector<ome::compat::shared_ptr<ome::xml::model::FileAnnotation> >&
272 ome::compat::shared_ptr<ome::xml::model::FileAnnotation>&
273 getFileAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::FileAnnotation> >::size_type index);
282 const ome::compat::shared_ptr<ome::xml::model::FileAnnotation>&
283 getFileAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::FileAnnotation> >::size_type index)
const;
293 setFileAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::FileAnnotation> >::size_type index,
294 ome::compat::shared_ptr<ome::xml::model::FileAnnotation>& fileAnnotation);
305 addFileAnnotation (ome::compat::shared_ptr<ome::xml::model::FileAnnotation>& fileAnnotation);
317 removeFileAnnotation (ome::compat::shared_ptr<ome::xml::model::FileAnnotation>& fileAnnotation);
324 std::vector<ome::compat::shared_ptr<ome::xml::model::ListAnnotation> >::size_type
333 std::vector<ome::compat::shared_ptr<ome::xml::model::ListAnnotation> >&
342 const std::vector<ome::compat::shared_ptr<ome::xml::model::ListAnnotation> >&
352 ome::compat::shared_ptr<ome::xml::model::ListAnnotation>&
353 getListAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::ListAnnotation> >::size_type index);
362 const ome::compat::shared_ptr<ome::xml::model::ListAnnotation>&
363 getListAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::ListAnnotation> >::size_type index)
const;
373 setListAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::ListAnnotation> >::size_type index,
374 ome::compat::shared_ptr<ome::xml::model::ListAnnotation>& listAnnotation);
385 addListAnnotation (ome::compat::shared_ptr<ome::xml::model::ListAnnotation>& listAnnotation);
397 removeListAnnotation (ome::compat::shared_ptr<ome::xml::model::ListAnnotation>& listAnnotation);
404 std::vector<ome::compat::shared_ptr<ome::xml::model::LongAnnotation> >::size_type
413 std::vector<ome::compat::shared_ptr<ome::xml::model::LongAnnotation> >&
422 const std::vector<ome::compat::shared_ptr<ome::xml::model::LongAnnotation> >&
432 ome::compat::shared_ptr<ome::xml::model::LongAnnotation>&
433 getLongAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::LongAnnotation> >::size_type index);
442 const ome::compat::shared_ptr<ome::xml::model::LongAnnotation>&
443 getLongAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::LongAnnotation> >::size_type index)
const;
453 setLongAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::LongAnnotation> >::size_type index,
454 ome::compat::shared_ptr<ome::xml::model::LongAnnotation>& longAnnotation);
465 addLongAnnotation (ome::compat::shared_ptr<ome::xml::model::LongAnnotation>& longAnnotation);
477 removeLongAnnotation (ome::compat::shared_ptr<ome::xml::model::LongAnnotation>& longAnnotation);
484 std::vector<ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation> >::size_type
493 std::vector<ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation> >&
502 const std::vector<ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation> >&
512 ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation>&
513 getDoubleAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation> >::size_type index);
522 const ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation>&
523 getDoubleAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation> >::size_type index)
const;
533 setDoubleAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation> >::size_type index,
534 ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation>& doubleAnnotation);
545 addDoubleAnnotation (ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation>& doubleAnnotation);
564 std::vector<ome::compat::shared_ptr<ome::xml::model::CommentAnnotation> >::size_type
573 std::vector<ome::compat::shared_ptr<ome::xml::model::CommentAnnotation> >&
582 const std::vector<ome::compat::shared_ptr<ome::xml::model::CommentAnnotation> >&
592 ome::compat::shared_ptr<ome::xml::model::CommentAnnotation>&
593 getCommentAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::CommentAnnotation> >::size_type index);
602 const ome::compat::shared_ptr<ome::xml::model::CommentAnnotation>&
603 getCommentAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::CommentAnnotation> >::size_type index)
const;
613 setCommentAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::CommentAnnotation> >::size_type index,
614 ome::compat::shared_ptr<ome::xml::model::CommentAnnotation>& commentAnnotation);
625 addCommentAnnotation (ome::compat::shared_ptr<ome::xml::model::CommentAnnotation>& commentAnnotation);
644 std::vector<ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation> >::size_type
653 std::vector<ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation> >&
662 const std::vector<ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation> >&
672 ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation>&
673 getBooleanAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation> >::size_type index);
682 const ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation>&
683 getBooleanAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation> >::size_type index)
const;
693 setBooleanAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation> >::size_type index,
694 ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation>& booleanAnnotation);
705 addBooleanAnnotation (ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation>& booleanAnnotation);
724 std::vector<ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation> >::size_type
733 std::vector<ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation> >&
742 const std::vector<ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation> >&
752 ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation>&
753 getTimestampAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation> >::size_type index);
762 const ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation>&
763 getTimestampAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation> >::size_type index)
const;
773 setTimestampAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation> >::size_type index,
774 ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation>& timestampAnnotation);
785 addTimestampAnnotation (ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation>& timestampAnnotation);
804 std::vector<ome::compat::shared_ptr<ome::xml::model::TagAnnotation> >::size_type
813 std::vector<ome::compat::shared_ptr<ome::xml::model::TagAnnotation> >&
822 const std::vector<ome::compat::shared_ptr<ome::xml::model::TagAnnotation> >&
832 ome::compat::shared_ptr<ome::xml::model::TagAnnotation>&
833 getTagAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TagAnnotation> >::size_type index);
842 const ome::compat::shared_ptr<ome::xml::model::TagAnnotation>&
843 getTagAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TagAnnotation> >::size_type index)
const;
853 setTagAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TagAnnotation> >::size_type index,
854 ome::compat::shared_ptr<ome::xml::model::TagAnnotation>& tagAnnotation);
865 addTagAnnotation (ome::compat::shared_ptr<ome::xml::model::TagAnnotation>& tagAnnotation);
877 removeTagAnnotation (ome::compat::shared_ptr<ome::xml::model::TagAnnotation>& tagAnnotation);
884 std::vector<ome::compat::shared_ptr<ome::xml::model::TermAnnotation> >::size_type
893 std::vector<ome::compat::shared_ptr<ome::xml::model::TermAnnotation> >&
902 const std::vector<ome::compat::shared_ptr<ome::xml::model::TermAnnotation> >&
912 ome::compat::shared_ptr<ome::xml::model::TermAnnotation>&
913 getTermAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TermAnnotation> >::size_type index);
922 const ome::compat::shared_ptr<ome::xml::model::TermAnnotation>&
923 getTermAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TermAnnotation> >::size_type index)
const;
933 setTermAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TermAnnotation> >::size_type index,
934 ome::compat::shared_ptr<ome::xml::model::TermAnnotation>& termAnnotation);
945 addTermAnnotation (ome::compat::shared_ptr<ome::xml::model::TermAnnotation>& termAnnotation);
957 removeTermAnnotation (ome::compat::shared_ptr<ome::xml::model::TermAnnotation>& termAnnotation);
964 std::vector<ome::compat::shared_ptr<ome::xml::model::MapAnnotation> >::size_type
973 std::vector<ome::compat::shared_ptr<ome::xml::model::MapAnnotation> >&
982 const std::vector<ome::compat::shared_ptr<ome::xml::model::MapAnnotation> >&
992 ome::compat::shared_ptr<ome::xml::model::MapAnnotation>&
993 getMapAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::MapAnnotation> >::size_type index);
1002 const ome::compat::shared_ptr<ome::xml::model::MapAnnotation>&
1003 getMapAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::MapAnnotation> >::size_type index)
const;
1013 setMapAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::MapAnnotation> >::size_type index,
1014 ome::compat::shared_ptr<ome::xml::model::MapAnnotation>& mapAnnotation);
1025 addMapAnnotation (ome::compat::shared_ptr<ome::xml::model::MapAnnotation>& mapAnnotation);
1037 removeMapAnnotation (ome::compat::shared_ptr<ome::xml::model::MapAnnotation>& mapAnnotation);
1060 #endif // OME_XML_MODEL_STRUCTUREDANNOTATIONS_H OME model interface (abstract top-level container)
Definition: OMEModel.h:62
void setFileAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::FileAnnotation > >::size_type index, ome::compat::shared_ptr< ome::xml::model::FileAnnotation > &fileAnnotation)
Set FileAnnotation.
Definition: StructuredAnnotations.cpp:488
void removeCommentAnnotation(ome::compat::shared_ptr< ome::xml::model::CommentAnnotation > &commentAnnotation)
Remove CommentAnnotation.
Definition: StructuredAnnotations.cpp:737
std::vector< ome::compat::shared_ptr< ome::xml::model::DoubleAnnotation > >::size_type sizeOfDoubleAnnotationList() const
Get size of linked DoubleAnnotation list.
Definition: StructuredAnnotations.cpp:632
ome::compat::shared_ptr< ome::xml::model::DoubleAnnotation > & getDoubleAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::DoubleAnnotation > >::size_type index)
Get DoubleAnnotation.
Definition: StructuredAnnotations.cpp:650
std::vector< ome::compat::shared_ptr< ome::xml::model::DoubleAnnotation > > & getDoubleAnnotationList()
Get the DoubleAnnotation list.
Definition: StructuredAnnotations.cpp:638
ome::compat::shared_ptr< ome::xml::model::TagAnnotation > & getTagAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::TagAnnotation > >::size_type index)
Get TagAnnotation.
Definition: StructuredAnnotations.cpp:882
std::vector< ome::compat::shared_ptr< ome::xml::model::TermAnnotation > >::size_type sizeOfTermAnnotationList() const
Get size of linked TermAnnotation list.
Definition: StructuredAnnotations.cpp:922
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: StructuredAnnotations.h:93
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: StructuredAnnotations.cpp:231
void setTermAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::TermAnnotation > >::size_type index, ome::compat::shared_ptr< ome::xml::model::TermAnnotation > &termAnnotation)
Set TermAnnotation.
Definition: StructuredAnnotations.cpp:952
Private implementation details of StructuredAnnotations model object.
Definition: StructuredAnnotations.cpp:86
void addXMLAnnotation(ome::compat::shared_ptr< ome::xml::model::XMLAnnotation > &xmlAnnotation)
Add XMLAnnotation.
Definition: StructuredAnnotations.cpp:439
ome::compat::shared_ptr< ome::xml::model::FileAnnotation > & getFileAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::FileAnnotation > >::size_type index)
Get FileAnnotation.
Definition: StructuredAnnotations.cpp:476
StructuredAnnotations model object.
Definition: StructuredAnnotations.h:90
void setTagAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::TagAnnotation > >::size_type index, ome::compat::shared_ptr< ome::xml::model::TagAnnotation > &tagAnnotation)
Set TagAnnotation.
Definition: StructuredAnnotations.cpp:894
ome::compat::shared_ptr< ome::xml::model::TimestampAnnotation > & getTimestampAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::TimestampAnnotation > >::size_type index)
Get TimestampAnnotation.
Definition: StructuredAnnotations.cpp:824
void setDoubleAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::DoubleAnnotation > >::size_type index, ome::compat::shared_ptr< ome::xml::model::DoubleAnnotation > &doubleAnnotation)
Set DoubleAnnotation.
Definition: StructuredAnnotations.cpp:662
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: StructuredAnnotations.cpp:385
void removeTagAnnotation(ome::compat::shared_ptr< ome::xml::model::TagAnnotation > &tagAnnotation)
Remove TagAnnotation.
Definition: StructuredAnnotations.cpp:911
std::vector< ome::compat::shared_ptr< ome::xml::model::FileAnnotation > > & getFileAnnotationList()
Get the FileAnnotation list.
Definition: StructuredAnnotations.cpp:464
std::vector< ome::compat::shared_ptr< ome::xml::model::XMLAnnotation > > & getXMLAnnotationList()
Get the XMLAnnotation list.
Definition: StructuredAnnotations.cpp:406
void removeMapAnnotation(ome::compat::shared_ptr< ome::xml::model::MapAnnotation > &mapAnnotation)
Remove MapAnnotation.
Definition: StructuredAnnotations.cpp:1027
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
void addCommentAnnotation(ome::compat::shared_ptr< ome::xml::model::CommentAnnotation > &commentAnnotation)
Add CommentAnnotation.
Definition: StructuredAnnotations.cpp:729
ome::compat::shared_ptr< ome::xml::model::MapAnnotation > & getMapAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::MapAnnotation > >::size_type index)
Get MapAnnotation.
Definition: StructuredAnnotations.cpp:998
void addMapAnnotation(ome::compat::shared_ptr< ome::xml::model::MapAnnotation > &mapAnnotation)
Add MapAnnotation.
Definition: StructuredAnnotations.cpp:1019
ome::compat::shared_ptr< ome::xml::model::CommentAnnotation > & getCommentAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::CommentAnnotation > >::size_type index)
Get CommentAnnotation.
Definition: StructuredAnnotations.cpp:708
std::vector< ome::compat::shared_ptr< ome::xml::model::ListAnnotation > >::size_type sizeOfListAnnotationList() const
Get size of linked ListAnnotation list.
Definition: StructuredAnnotations.cpp:516
std::vector< ome::compat::shared_ptr< ome::xml::model::BooleanAnnotation > >::size_type sizeOfBooleanAnnotationList() const
Get size of linked BooleanAnnotation list.
Definition: StructuredAnnotations.cpp:748
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: StructuredAnnotations.cpp:1037
std::vector< ome::compat::shared_ptr< ome::xml::model::CommentAnnotation > >::size_type sizeOfCommentAnnotationList() const
Get size of linked CommentAnnotation list.
Definition: StructuredAnnotations.cpp:690
void addTimestampAnnotation(ome::compat::shared_ptr< ome::xml::model::TimestampAnnotation > ×tampAnnotation)
Add TimestampAnnotation.
Definition: StructuredAnnotations.cpp:845
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: StructuredAnnotations.cpp:1044
void setTimestampAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::TimestampAnnotation > >::size_type index, ome::compat::shared_ptr< ome::xml::model::TimestampAnnotation > ×tampAnnotation)
Set TimestampAnnotation.
Definition: StructuredAnnotations.cpp:836
void removeLongAnnotation(ome::compat::shared_ptr< ome::xml::model::LongAnnotation > &longAnnotation)
Remove LongAnnotation.
Definition: StructuredAnnotations.cpp:621
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: StructuredAnnotations.cpp:1235
std::vector< ome::compat::shared_ptr< ome::xml::model::BooleanAnnotation > > & getBooleanAnnotationList()
Get the BooleanAnnotation list.
Definition: StructuredAnnotations.cpp:754
Open Microscopy Environment C++ implementation.
std::vector< ome::compat::shared_ptr< ome::xml::model::MapAnnotation > >::size_type sizeOfMapAnnotationList() const
Get size of linked MapAnnotation list.
Definition: StructuredAnnotations.cpp:980
ome::compat::shared_ptr< ome::xml::model::TermAnnotation > & getTermAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::TermAnnotation > >::size_type index)
Get TermAnnotation.
Definition: StructuredAnnotations.cpp:940
void setXMLAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::XMLAnnotation > >::size_type index, ome::compat::shared_ptr< ome::xml::model::XMLAnnotation > &xmlAnnotation)
Set XMLAnnotation.
Definition: StructuredAnnotations.cpp:430
StructuredAnnotations & operator=(const StructuredAnnotations &)
Assignment operator (deleted).
ome::compat::shared_ptr< ome::xml::model::LongAnnotation > & getLongAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::LongAnnotation > >::size_type index)
Get LongAnnotation.
Definition: StructuredAnnotations.cpp:592
void addDoubleAnnotation(ome::compat::shared_ptr< ome::xml::model::DoubleAnnotation > &doubleAnnotation)
Add DoubleAnnotation.
Definition: StructuredAnnotations.cpp:671
ome::compat::shared_ptr< ome::xml::model::ListAnnotation > & getListAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::ListAnnotation > >::size_type index)
Get ListAnnotation.
Definition: StructuredAnnotations.cpp:534
std::vector< ome::compat::shared_ptr< ome::xml::model::FileAnnotation > >::size_type sizeOfFileAnnotationList() const
Get size of linked FileAnnotation list.
Definition: StructuredAnnotations.cpp:458
void setListAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::ListAnnotation > >::size_type index, ome::compat::shared_ptr< ome::xml::model::ListAnnotation > &listAnnotation)
Set ListAnnotation.
Definition: StructuredAnnotations.cpp:546
void setMapAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::MapAnnotation > >::size_type index, ome::compat::shared_ptr< ome::xml::model::MapAnnotation > &mapAnnotation)
Set MapAnnotation.
Definition: StructuredAnnotations.cpp:1010
void setCommentAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::CommentAnnotation > >::size_type index, ome::compat::shared_ptr< ome::xml::model::CommentAnnotation > &commentAnnotation)
Set CommentAnnotation.
Definition: StructuredAnnotations.cpp:720
void addFileAnnotation(ome::compat::shared_ptr< ome::xml::model::FileAnnotation > &fileAnnotation)
Add FileAnnotation.
Definition: StructuredAnnotations.cpp:497
std::vector< ome::compat::shared_ptr< ome::xml::model::ListAnnotation > > & getListAnnotationList()
Get the ListAnnotation list.
Definition: StructuredAnnotations.cpp:522
void removeBooleanAnnotation(ome::compat::shared_ptr< ome::xml::model::BooleanAnnotation > &booleanAnnotation)
Remove BooleanAnnotation.
Definition: StructuredAnnotations.cpp:795
StructuredAnnotations()
Default constructor.
Definition: StructuredAnnotations.cpp:195
static ome::compat::shared_ptr< StructuredAnnotations > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a StructuredAnnotations model object from DOM element.
Definition: StructuredAnnotations.cpp:215
std::vector< ome::compat::shared_ptr< ome::xml::model::TimestampAnnotation > >::size_type sizeOfTimestampAnnotationList() const
Get size of linked TimestampAnnotation list.
Definition: StructuredAnnotations.cpp:806
std::vector< ome::compat::shared_ptr< ome::xml::model::XMLAnnotation > >::size_type sizeOfXMLAnnotationList() const
Get size of linked XMLAnnotation list.
Definition: StructuredAnnotations.cpp:400
std::vector< ome::compat::shared_ptr< ome::xml::model::TagAnnotation > > & getTagAnnotationList()
Get the TagAnnotation list.
Definition: StructuredAnnotations.cpp:870
void removeFileAnnotation(ome::compat::shared_ptr< ome::xml::model::FileAnnotation > &fileAnnotation)
Remove FileAnnotation.
Definition: StructuredAnnotations.cpp:505
ome::compat::shared_ptr< ome::xml::model::BooleanAnnotation > & getBooleanAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::BooleanAnnotation > >::size_type index)
Get BooleanAnnotation.
Definition: StructuredAnnotations.cpp:766
std::vector< ome::compat::shared_ptr< ome::xml::model::MapAnnotation > > & getMapAnnotationList()
Get the MapAnnotation list.
Definition: StructuredAnnotations.cpp:986
void addTagAnnotation(ome::compat::shared_ptr< ome::xml::model::TagAnnotation > &tagAnnotation)
Add TagAnnotation.
Definition: StructuredAnnotations.cpp:903
void removeDoubleAnnotation(ome::compat::shared_ptr< ome::xml::model::DoubleAnnotation > &doubleAnnotation)
Remove DoubleAnnotation.
Definition: StructuredAnnotations.cpp:679
void addBooleanAnnotation(ome::compat::shared_ptr< ome::xml::model::BooleanAnnotation > &booleanAnnotation)
Add BooleanAnnotation.
Definition: StructuredAnnotations.cpp:787
std::vector< ome::compat::shared_ptr< ome::xml::model::TermAnnotation > > & getTermAnnotationList()
Get the TermAnnotation list.
Definition: StructuredAnnotations.cpp:928
void addTermAnnotation(ome::compat::shared_ptr< ome::xml::model::TermAnnotation > &termAnnotation)
Add TermAnnotation.
Definition: StructuredAnnotations.cpp:961
void removeXMLAnnotation(ome::compat::shared_ptr< ome::xml::model::XMLAnnotation > &xmlAnnotation)
Remove XMLAnnotation.
Definition: StructuredAnnotations.cpp:447
void removeListAnnotation(ome::compat::shared_ptr< ome::xml::model::ListAnnotation > &listAnnotation)
Remove ListAnnotation.
Definition: StructuredAnnotations.cpp:563
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: StructuredAnnotations.cpp:239
void removeTermAnnotation(ome::compat::shared_ptr< ome::xml::model::TermAnnotation > &termAnnotation)
Remove TermAnnotation.
Definition: StructuredAnnotations.cpp:969
const std::string & elementName() const
Get the element name of this model object.
Definition: StructuredAnnotations.cpp:224
void addLongAnnotation(ome::compat::shared_ptr< ome::xml::model::LongAnnotation > &longAnnotation)
Add LongAnnotation.
Definition: StructuredAnnotations.cpp:613
void removeTimestampAnnotation(ome::compat::shared_ptr< ome::xml::model::TimestampAnnotation > ×tampAnnotation)
Remove TimestampAnnotation.
Definition: StructuredAnnotations.cpp:853
std::vector< ome::compat::shared_ptr< ome::xml::model::LongAnnotation > > & getLongAnnotationList()
Get the LongAnnotation list.
Definition: StructuredAnnotations.cpp:580
void addListAnnotation(ome::compat::shared_ptr< ome::xml::model::ListAnnotation > &listAnnotation)
Add ListAnnotation.
Definition: StructuredAnnotations.cpp:555
ome::compat::shared_ptr< ome::xml::model::XMLAnnotation > & getXMLAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::XMLAnnotation > >::size_type index)
Get XMLAnnotation.
Definition: StructuredAnnotations.cpp:418
std::vector< ome::compat::shared_ptr< ome::xml::model::CommentAnnotation > > & getCommentAnnotationList()
Get the CommentAnnotation list.
Definition: StructuredAnnotations.cpp:696
std::vector< ome::compat::shared_ptr< ome::xml::model::TagAnnotation > >::size_type sizeOfTagAnnotationList() const
Get size of linked TagAnnotation list.
Definition: StructuredAnnotations.cpp:864
void setLongAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::LongAnnotation > >::size_type index, ome::compat::shared_ptr< ome::xml::model::LongAnnotation > &longAnnotation)
Set LongAnnotation.
Definition: StructuredAnnotations.cpp:604
std::vector< ome::compat::shared_ptr< ome::xml::model::TimestampAnnotation > > & getTimestampAnnotationList()
Get the TimestampAnnotation list.
Definition: StructuredAnnotations.cpp:812
virtual ~StructuredAnnotations()
Destructor.
Definition: StructuredAnnotations.cpp:210
std::vector< ome::compat::shared_ptr< ome::xml::model::LongAnnotation > >::size_type sizeOfLongAnnotationList() const
Get size of linked LongAnnotation list.
Definition: StructuredAnnotations.cpp:574
void setBooleanAnnotation(std::vector< ome::compat::shared_ptr< ome::xml::model::BooleanAnnotation > >::size_type index, ome::compat::shared_ptr< ome::xml::model::BooleanAnnotation > &booleanAnnotation)
Set BooleanAnnotation.
Definition: StructuredAnnotations.cpp:778