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/detail/OMEModelObject.h>
72 class BooleanAnnotation;
73 class CommentAnnotation;
74 class DoubleAnnotation;
81 class TimestampAnnotation;
91 std::vector<ome::compat::shared_ptr<ome::xml::model::XMLAnnotation> >
xmlAnnotations;
93 std::vector<ome::compat::shared_ptr<ome::xml::model::FileAnnotation> >
fileAnnotations;
95 std::vector<ome::compat::shared_ptr<ome::xml::model::ListAnnotation> >
listAnnotations;
97 std::vector<ome::compat::shared_ptr<ome::xml::model::LongAnnotation> >
longAnnotations;
107 std::vector<ome::compat::shared_ptr<ome::xml::model::TagAnnotation> >
tagAnnotations;
109 std::vector<ome::compat::shared_ptr<ome::xml::model::TermAnnotation> >
termAnnotations;
142 static ome::compat::shared_ptr< StructuredAnnotations>
167 link (ome::compat::shared_ptr<Reference>& reference,
168 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
175 std::vector<ome::compat::shared_ptr<ome::xml::model::XMLAnnotation> >::size_type
184 std::vector<ome::compat::shared_ptr<ome::xml::model::XMLAnnotation> >&
193 const std::vector<ome::compat::shared_ptr<ome::xml::model::XMLAnnotation> >&
203 ome::compat::shared_ptr<ome::xml::model::XMLAnnotation>&
204 getXMLAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::XMLAnnotation> >::size_type index);
213 const ome::compat::shared_ptr<ome::xml::model::XMLAnnotation>&
214 getXMLAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::XMLAnnotation> >::size_type index)
const;
224 setXMLAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::XMLAnnotation> >::size_type index,
225 ome::compat::shared_ptr<ome::xml::model::XMLAnnotation>& xmlAnnotation);
236 addXMLAnnotation (ome::compat::shared_ptr<ome::xml::model::XMLAnnotation>& xmlAnnotation);
248 removeXMLAnnotation (ome::compat::shared_ptr<ome::xml::model::XMLAnnotation>& xmlAnnotation);
255 std::vector<ome::compat::shared_ptr<ome::xml::model::FileAnnotation> >::size_type
264 std::vector<ome::compat::shared_ptr<ome::xml::model::FileAnnotation> >&
273 const std::vector<ome::compat::shared_ptr<ome::xml::model::FileAnnotation> >&
283 ome::compat::shared_ptr<ome::xml::model::FileAnnotation>&
284 getFileAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::FileAnnotation> >::size_type index);
293 const ome::compat::shared_ptr<ome::xml::model::FileAnnotation>&
294 getFileAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::FileAnnotation> >::size_type index)
const;
304 setFileAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::FileAnnotation> >::size_type index,
305 ome::compat::shared_ptr<ome::xml::model::FileAnnotation>& fileAnnotation);
316 addFileAnnotation (ome::compat::shared_ptr<ome::xml::model::FileAnnotation>& fileAnnotation);
328 removeFileAnnotation (ome::compat::shared_ptr<ome::xml::model::FileAnnotation>& fileAnnotation);
335 std::vector<ome::compat::shared_ptr<ome::xml::model::ListAnnotation> >::size_type
344 std::vector<ome::compat::shared_ptr<ome::xml::model::ListAnnotation> >&
353 const std::vector<ome::compat::shared_ptr<ome::xml::model::ListAnnotation> >&
363 ome::compat::shared_ptr<ome::xml::model::ListAnnotation>&
364 getListAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::ListAnnotation> >::size_type index);
373 const ome::compat::shared_ptr<ome::xml::model::ListAnnotation>&
374 getListAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::ListAnnotation> >::size_type index)
const;
384 setListAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::ListAnnotation> >::size_type index,
385 ome::compat::shared_ptr<ome::xml::model::ListAnnotation>& listAnnotation);
396 addListAnnotation (ome::compat::shared_ptr<ome::xml::model::ListAnnotation>& listAnnotation);
408 removeListAnnotation (ome::compat::shared_ptr<ome::xml::model::ListAnnotation>& listAnnotation);
415 std::vector<ome::compat::shared_ptr<ome::xml::model::LongAnnotation> >::size_type
424 std::vector<ome::compat::shared_ptr<ome::xml::model::LongAnnotation> >&
433 const std::vector<ome::compat::shared_ptr<ome::xml::model::LongAnnotation> >&
443 ome::compat::shared_ptr<ome::xml::model::LongAnnotation>&
444 getLongAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::LongAnnotation> >::size_type index);
453 const ome::compat::shared_ptr<ome::xml::model::LongAnnotation>&
454 getLongAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::LongAnnotation> >::size_type index)
const;
464 setLongAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::LongAnnotation> >::size_type index,
465 ome::compat::shared_ptr<ome::xml::model::LongAnnotation>& longAnnotation);
476 addLongAnnotation (ome::compat::shared_ptr<ome::xml::model::LongAnnotation>& longAnnotation);
488 removeLongAnnotation (ome::compat::shared_ptr<ome::xml::model::LongAnnotation>& longAnnotation);
495 std::vector<ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation> >::size_type
504 std::vector<ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation> >&
513 const std::vector<ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation> >&
523 ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation>&
524 getDoubleAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation> >::size_type index);
533 const ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation>&
534 getDoubleAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation> >::size_type index)
const;
544 setDoubleAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation> >::size_type index,
545 ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation>& doubleAnnotation);
556 addDoubleAnnotation (ome::compat::shared_ptr<ome::xml::model::DoubleAnnotation>& doubleAnnotation);
575 std::vector<ome::compat::shared_ptr<ome::xml::model::CommentAnnotation> >::size_type
584 std::vector<ome::compat::shared_ptr<ome::xml::model::CommentAnnotation> >&
593 const std::vector<ome::compat::shared_ptr<ome::xml::model::CommentAnnotation> >&
603 ome::compat::shared_ptr<ome::xml::model::CommentAnnotation>&
604 getCommentAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::CommentAnnotation> >::size_type index);
613 const ome::compat::shared_ptr<ome::xml::model::CommentAnnotation>&
614 getCommentAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::CommentAnnotation> >::size_type index)
const;
624 setCommentAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::CommentAnnotation> >::size_type index,
625 ome::compat::shared_ptr<ome::xml::model::CommentAnnotation>& commentAnnotation);
636 addCommentAnnotation (ome::compat::shared_ptr<ome::xml::model::CommentAnnotation>& commentAnnotation);
655 std::vector<ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation> >::size_type
664 std::vector<ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation> >&
673 const std::vector<ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation> >&
683 ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation>&
684 getBooleanAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation> >::size_type index);
693 const ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation>&
694 getBooleanAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation> >::size_type index)
const;
704 setBooleanAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation> >::size_type index,
705 ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation>& booleanAnnotation);
716 addBooleanAnnotation (ome::compat::shared_ptr<ome::xml::model::BooleanAnnotation>& booleanAnnotation);
735 std::vector<ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation> >::size_type
744 std::vector<ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation> >&
753 const std::vector<ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation> >&
763 ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation>&
764 getTimestampAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation> >::size_type index);
773 const ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation>&
774 getTimestampAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation> >::size_type index)
const;
784 setTimestampAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation> >::size_type index,
785 ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation>& timestampAnnotation);
796 addTimestampAnnotation (ome::compat::shared_ptr<ome::xml::model::TimestampAnnotation>& timestampAnnotation);
815 std::vector<ome::compat::shared_ptr<ome::xml::model::TagAnnotation> >::size_type
824 std::vector<ome::compat::shared_ptr<ome::xml::model::TagAnnotation> >&
833 const std::vector<ome::compat::shared_ptr<ome::xml::model::TagAnnotation> >&
843 ome::compat::shared_ptr<ome::xml::model::TagAnnotation>&
844 getTagAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TagAnnotation> >::size_type index);
853 const ome::compat::shared_ptr<ome::xml::model::TagAnnotation>&
854 getTagAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TagAnnotation> >::size_type index)
const;
864 setTagAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TagAnnotation> >::size_type index,
865 ome::compat::shared_ptr<ome::xml::model::TagAnnotation>& tagAnnotation);
876 addTagAnnotation (ome::compat::shared_ptr<ome::xml::model::TagAnnotation>& tagAnnotation);
888 removeTagAnnotation (ome::compat::shared_ptr<ome::xml::model::TagAnnotation>& tagAnnotation);
895 std::vector<ome::compat::shared_ptr<ome::xml::model::TermAnnotation> >::size_type
904 std::vector<ome::compat::shared_ptr<ome::xml::model::TermAnnotation> >&
913 const std::vector<ome::compat::shared_ptr<ome::xml::model::TermAnnotation> >&
923 ome::compat::shared_ptr<ome::xml::model::TermAnnotation>&
924 getTermAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TermAnnotation> >::size_type index);
933 const ome::compat::shared_ptr<ome::xml::model::TermAnnotation>&
934 getTermAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TermAnnotation> >::size_type index)
const;
944 setTermAnnotation (std::vector<ome::compat::shared_ptr<ome::xml::model::TermAnnotation> >::size_type index,
945 ome::compat::shared_ptr<ome::xml::model::TermAnnotation>& termAnnotation);
956 addTermAnnotation (ome::compat::shared_ptr<ome::xml::model::TermAnnotation>& termAnnotation);
968 removeTermAnnotation (ome::compat::shared_ptr<ome::xml::model::TermAnnotation>& termAnnotation);
992 #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:441
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:933
void removeCommentAnnotation(ome::compat::shared_ptr< ome::xml::model::CommentAnnotation > &commentAnnotation)
Remove CommentAnnotation.
Definition: StructuredAnnotations.cpp:690
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:603
std::vector< ome::compat::shared_ptr< ome::xml::model::DoubleAnnotation > > & getDoubleAnnotationList()
Get the DoubleAnnotation list.
Definition: StructuredAnnotations.cpp:591
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:835
const std::string & elementName() const
Get the element name of this model object.
Definition: StructuredAnnotations.cpp:189
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:905
void addXMLAnnotation(ome::compat::shared_ptr< ome::xml::model::XMLAnnotation > &xmlAnnotation)
Add XMLAnnotation.
Definition: StructuredAnnotations.cpp:392
std::vector< ome::compat::shared_ptr< ome::xml::model::ListAnnotation > > listAnnotations
ListAnnotation property (occurs more than once)
Definition: StructuredAnnotations.h:95
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:429
StructuredAnnotations model object.
Definition: StructuredAnnotations.h:87
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:847
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:777
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:615
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:338
void removeTagAnnotation(ome::compat::shared_ptr< ome::xml::model::TagAnnotation > &tagAnnotation)
Remove TagAnnotation.
Definition: StructuredAnnotations.cpp:864
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: StructuredAnnotations.cpp:1115
DOM Document wrapper.
Definition: Document.h:82
std::vector< ome::compat::shared_ptr< ome::xml::model::FileAnnotation > > & getFileAnnotationList()
Get the FileAnnotation list.
Definition: StructuredAnnotations.cpp:417
DOM Element wrapper.
Definition: Element.h:66
std::vector< ome::compat::shared_ptr< ome::xml::model::XMLAnnotation > > & getXMLAnnotationList()
Get the XMLAnnotation list.
Definition: StructuredAnnotations.cpp:359
std::vector< ome::compat::shared_ptr< ome::xml::model::FileAnnotation > >::size_type sizeOfFileAnnotationList() const
Get size of linked FileAnnotation list.
Definition: StructuredAnnotations.cpp:411
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:682
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:661
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: StructuredAnnotations.cpp:196
std::vector< ome::compat::shared_ptr< ome::xml::model::ListAnnotation > >::size_type sizeOfListAnnotationList() const
Get size of linked ListAnnotation list.
Definition: StructuredAnnotations.cpp:469
void addTimestampAnnotation(ome::compat::shared_ptr< ome::xml::model::TimestampAnnotation > ×tampAnnotation)
Add TimestampAnnotation.
Definition: StructuredAnnotations.cpp:798
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:789
void removeLongAnnotation(ome::compat::shared_ptr< ome::xml::model::LongAnnotation > &longAnnotation)
Remove LongAnnotation.
Definition: StructuredAnnotations.cpp:574
std::vector< ome::compat::shared_ptr< ome::xml::model::DoubleAnnotation > >::size_type sizeOfDoubleAnnotationList() const
Get size of linked DoubleAnnotation list.
Definition: StructuredAnnotations.cpp:585
std::vector< ome::compat::shared_ptr< ome::xml::model::BooleanAnnotation > > & getBooleanAnnotationList()
Get the BooleanAnnotation list.
Definition: StructuredAnnotations.cpp:707
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
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:893
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:383
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:545
std::vector< ome::compat::shared_ptr< ome::xml::model::CommentAnnotation > >::size_type sizeOfCommentAnnotationList() const
Get size of linked CommentAnnotation list.
Definition: StructuredAnnotations.cpp:643
void addDoubleAnnotation(ome::compat::shared_ptr< ome::xml::model::DoubleAnnotation > &doubleAnnotation)
Add DoubleAnnotation.
Definition: StructuredAnnotations.cpp:624
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:487
std::vector< ome::compat::shared_ptr< ome::xml::model::TimestampAnnotation > > timestampAnnotations
TimestampAnnotation property (occurs more than once)
Definition: StructuredAnnotations.h:105
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:499
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:673
void addFileAnnotation(ome::compat::shared_ptr< ome::xml::model::FileAnnotation > &fileAnnotation)
Add FileAnnotation.
Definition: StructuredAnnotations.cpp:450
std::vector< ome::compat::shared_ptr< ome::xml::model::LongAnnotation > > longAnnotations
LongAnnotation property (occurs more than once)
Definition: StructuredAnnotations.h:97
std::vector< ome::compat::shared_ptr< ome::xml::model::XMLAnnotation > > xmlAnnotations
XMLAnnotation property (occurs more than once)
Definition: StructuredAnnotations.h:91
std::vector< ome::compat::shared_ptr< ome::xml::model::ListAnnotation > > & getListAnnotationList()
Get the ListAnnotation list.
Definition: StructuredAnnotations.cpp:475
void removeBooleanAnnotation(ome::compat::shared_ptr< ome::xml::model::BooleanAnnotation > &booleanAnnotation)
Remove BooleanAnnotation.
Definition: StructuredAnnotations.cpp:748
StructuredAnnotations()
Default constructor.
Definition: StructuredAnnotations.cpp:138
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:940
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:180
std::vector< ome::compat::shared_ptr< ome::xml::model::TagAnnotation > > & getTagAnnotationList()
Get the TagAnnotation list.
Definition: StructuredAnnotations.cpp:823
void removeFileAnnotation(ome::compat::shared_ptr< ome::xml::model::FileAnnotation > &fileAnnotation)
Remove FileAnnotation.
Definition: StructuredAnnotations.cpp:458
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:719
std::vector< ome::compat::shared_ptr< ome::xml::model::TermAnnotation > >::size_type sizeOfTermAnnotationList() const
Get size of linked TermAnnotation list.
Definition: StructuredAnnotations.cpp:875
std::vector< ome::compat::shared_ptr< ome::xml::model::TagAnnotation > >::size_type sizeOfTagAnnotationList() const
Get size of linked TagAnnotation list.
Definition: StructuredAnnotations.cpp:817
void addTagAnnotation(ome::compat::shared_ptr< ome::xml::model::TagAnnotation > &tagAnnotation)
Add TagAnnotation.
Definition: StructuredAnnotations.cpp:856
void removeDoubleAnnotation(ome::compat::shared_ptr< ome::xml::model::DoubleAnnotation > &doubleAnnotation)
Remove DoubleAnnotation.
Definition: StructuredAnnotations.cpp:632
std::vector< ome::compat::shared_ptr< ome::xml::model::TermAnnotation > > termAnnotations
TermAnnotation property (occurs more than once)
Definition: StructuredAnnotations.h:109
std::vector< ome::compat::shared_ptr< ome::xml::model::TimestampAnnotation > >::size_type sizeOfTimestampAnnotationList() const
Get size of linked TimestampAnnotation list.
Definition: StructuredAnnotations.cpp:759
void addBooleanAnnotation(ome::compat::shared_ptr< ome::xml::model::BooleanAnnotation > &booleanAnnotation)
Add BooleanAnnotation.
Definition: StructuredAnnotations.cpp:740
std::vector< ome::compat::shared_ptr< ome::xml::model::TermAnnotation > > & getTermAnnotationList()
Get the TermAnnotation list.
Definition: StructuredAnnotations.cpp:881
void addTermAnnotation(ome::compat::shared_ptr< ome::xml::model::TermAnnotation > &termAnnotation)
Add TermAnnotation.
Definition: StructuredAnnotations.cpp:914
void removeXMLAnnotation(ome::compat::shared_ptr< ome::xml::model::XMLAnnotation > &xmlAnnotation)
Remove XMLAnnotation.
Definition: StructuredAnnotations.cpp:400
void removeListAnnotation(ome::compat::shared_ptr< ome::xml::model::ListAnnotation > &listAnnotation)
Remove ListAnnotation.
Definition: StructuredAnnotations.cpp:516
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:205
void removeTermAnnotation(ome::compat::shared_ptr< ome::xml::model::TermAnnotation > &termAnnotation)
Remove TermAnnotation.
Definition: StructuredAnnotations.cpp:922
std::vector< ome::compat::shared_ptr< ome::xml::model::LongAnnotation > >::size_type sizeOfLongAnnotationList() const
Get size of linked LongAnnotation list.
Definition: StructuredAnnotations.cpp:527
std::vector< ome::compat::shared_ptr< ome::xml::model::BooleanAnnotation > >::size_type sizeOfBooleanAnnotationList() const
Get size of linked BooleanAnnotation list.
Definition: StructuredAnnotations.cpp:701
void addLongAnnotation(ome::compat::shared_ptr< ome::xml::model::LongAnnotation > &longAnnotation)
Add LongAnnotation.
Definition: StructuredAnnotations.cpp:566
std::vector< ome::compat::shared_ptr< ome::xml::model::FileAnnotation > > fileAnnotations
FileAnnotation property (occurs more than once)
Definition: StructuredAnnotations.h:93
void removeTimestampAnnotation(ome::compat::shared_ptr< ome::xml::model::TimestampAnnotation > ×tampAnnotation)
Remove TimestampAnnotation.
Definition: StructuredAnnotations.cpp:806
std::vector< ome::compat::shared_ptr< ome::xml::model::LongAnnotation > > & getLongAnnotationList()
Get the LongAnnotation list.
Definition: StructuredAnnotations.cpp:533
std::vector< ome::compat::shared_ptr< ome::xml::model::DoubleAnnotation > > doubleAnnotations
DoubleAnnotation property (occurs more than once)
Definition: StructuredAnnotations.h:99
void addListAnnotation(ome::compat::shared_ptr< ome::xml::model::ListAnnotation > &listAnnotation)
Add ListAnnotation.
Definition: StructuredAnnotations.cpp:508
std::vector< ome::compat::shared_ptr< ome::xml::model::TagAnnotation > > tagAnnotations
TagAnnotation property (occurs more than once)
Definition: StructuredAnnotations.h:107
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:371
std::vector< ome::compat::shared_ptr< ome::xml::model::CommentAnnotation > > & getCommentAnnotationList()
Get the CommentAnnotation list.
Definition: StructuredAnnotations.cpp:649
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:557
std::vector< ome::compat::shared_ptr< ome::xml::model::TimestampAnnotation > > & getTimestampAnnotationList()
Get the TimestampAnnotation list.
Definition: StructuredAnnotations.cpp:765
virtual ~StructuredAnnotations()
Destructor.
Definition: StructuredAnnotations.cpp:175
std::vector< ome::compat::shared_ptr< ome::xml::model::BooleanAnnotation > > booleanAnnotations
BooleanAnnotation property (occurs more than once)
Definition: StructuredAnnotations.h:103
std::vector< ome::compat::shared_ptr< ome::xml::model::XMLAnnotation > >::size_type sizeOfXMLAnnotationList() const
Get size of linked XMLAnnotation list.
Definition: StructuredAnnotations.cpp:353
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:731
Xerces-C modern C++ wrapper.
Definition: Base.h:53
std::vector< ome::compat::shared_ptr< ome::xml::model::CommentAnnotation > > commentAnnotations
CommentAnnotation property (occurs more than once)
Definition: StructuredAnnotations.h:101