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> 61 #include <ome/xml/model/primitives/Quantity.h> 63 #include <ome/xml/model/detail/OMEModelObject.h> 73 class BooleanAnnotation;
74 class CommentAnnotation;
75 class DoubleAnnotation;
83 class TimestampAnnotation;
94 std::shared_ptr<Impl>
impl;
125 static std::shared_ptr<StructuredAnnotations>
155 link (std::shared_ptr<Reference>& reference,
156 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
163 std::vector<std::shared_ptr<ome::xml::model::XMLAnnotation>>::size_type
172 std::vector<std::shared_ptr<ome::xml::model::XMLAnnotation>>&
181 const std::vector<std::shared_ptr<ome::xml::model::XMLAnnotation>>&
191 std::shared_ptr<ome::xml::model::XMLAnnotation>&
192 getXMLAnnotation (std::vector<std::shared_ptr<ome::xml::model::XMLAnnotation>>::size_type index);
201 const std::shared_ptr<ome::xml::model::XMLAnnotation>&
202 getXMLAnnotation (std::vector<std::shared_ptr<ome::xml::model::XMLAnnotation>>::size_type index)
const;
212 setXMLAnnotation (std::vector<std::shared_ptr<ome::xml::model::XMLAnnotation>>::size_type index,
213 std::shared_ptr<ome::xml::model::XMLAnnotation>& xmlAnnotation);
224 addXMLAnnotation (std::shared_ptr<ome::xml::model::XMLAnnotation>& xmlAnnotation);
243 std::vector<std::shared_ptr<ome::xml::model::FileAnnotation>>::size_type
252 std::vector<std::shared_ptr<ome::xml::model::FileAnnotation>>&
261 const std::vector<std::shared_ptr<ome::xml::model::FileAnnotation>>&
271 std::shared_ptr<ome::xml::model::FileAnnotation>&
272 getFileAnnotation (std::vector<std::shared_ptr<ome::xml::model::FileAnnotation>>::size_type index);
281 const std::shared_ptr<ome::xml::model::FileAnnotation>&
282 getFileAnnotation (std::vector<std::shared_ptr<ome::xml::model::FileAnnotation>>::size_type index)
const;
292 setFileAnnotation (std::vector<std::shared_ptr<ome::xml::model::FileAnnotation>>::size_type index,
293 std::shared_ptr<ome::xml::model::FileAnnotation>& fileAnnotation);
304 addFileAnnotation (std::shared_ptr<ome::xml::model::FileAnnotation>& fileAnnotation);
323 std::vector<std::shared_ptr<ome::xml::model::ListAnnotation>>::size_type
332 std::vector<std::shared_ptr<ome::xml::model::ListAnnotation>>&
341 const std::vector<std::shared_ptr<ome::xml::model::ListAnnotation>>&
351 std::shared_ptr<ome::xml::model::ListAnnotation>&
352 getListAnnotation (std::vector<std::shared_ptr<ome::xml::model::ListAnnotation>>::size_type index);
361 const std::shared_ptr<ome::xml::model::ListAnnotation>&
362 getListAnnotation (std::vector<std::shared_ptr<ome::xml::model::ListAnnotation>>::size_type index)
const;
372 setListAnnotation (std::vector<std::shared_ptr<ome::xml::model::ListAnnotation>>::size_type index,
373 std::shared_ptr<ome::xml::model::ListAnnotation>& listAnnotation);
384 addListAnnotation (std::shared_ptr<ome::xml::model::ListAnnotation>& listAnnotation);
403 std::vector<std::shared_ptr<ome::xml::model::LongAnnotation>>::size_type
412 std::vector<std::shared_ptr<ome::xml::model::LongAnnotation>>&
421 const std::vector<std::shared_ptr<ome::xml::model::LongAnnotation>>&
431 std::shared_ptr<ome::xml::model::LongAnnotation>&
432 getLongAnnotation (std::vector<std::shared_ptr<ome::xml::model::LongAnnotation>>::size_type index);
441 const std::shared_ptr<ome::xml::model::LongAnnotation>&
442 getLongAnnotation (std::vector<std::shared_ptr<ome::xml::model::LongAnnotation>>::size_type index)
const;
452 setLongAnnotation (std::vector<std::shared_ptr<ome::xml::model::LongAnnotation>>::size_type index,
453 std::shared_ptr<ome::xml::model::LongAnnotation>& longAnnotation);
464 addLongAnnotation (std::shared_ptr<ome::xml::model::LongAnnotation>& longAnnotation);
483 std::vector<std::shared_ptr<ome::xml::model::DoubleAnnotation>>::size_type
492 std::vector<std::shared_ptr<ome::xml::model::DoubleAnnotation>>&
501 const std::vector<std::shared_ptr<ome::xml::model::DoubleAnnotation>>&
511 std::shared_ptr<ome::xml::model::DoubleAnnotation>&
512 getDoubleAnnotation (std::vector<std::shared_ptr<ome::xml::model::DoubleAnnotation>>::size_type index);
521 const std::shared_ptr<ome::xml::model::DoubleAnnotation>&
522 getDoubleAnnotation (std::vector<std::shared_ptr<ome::xml::model::DoubleAnnotation>>::size_type index)
const;
532 setDoubleAnnotation (std::vector<std::shared_ptr<ome::xml::model::DoubleAnnotation>>::size_type index,
533 std::shared_ptr<ome::xml::model::DoubleAnnotation>& doubleAnnotation);
544 addDoubleAnnotation (std::shared_ptr<ome::xml::model::DoubleAnnotation>& doubleAnnotation);
563 std::vector<std::shared_ptr<ome::xml::model::CommentAnnotation>>::size_type
572 std::vector<std::shared_ptr<ome::xml::model::CommentAnnotation>>&
581 const std::vector<std::shared_ptr<ome::xml::model::CommentAnnotation>>&
591 std::shared_ptr<ome::xml::model::CommentAnnotation>&
592 getCommentAnnotation (std::vector<std::shared_ptr<ome::xml::model::CommentAnnotation>>::size_type index);
601 const std::shared_ptr<ome::xml::model::CommentAnnotation>&
602 getCommentAnnotation (std::vector<std::shared_ptr<ome::xml::model::CommentAnnotation>>::size_type index)
const;
612 setCommentAnnotation (std::vector<std::shared_ptr<ome::xml::model::CommentAnnotation>>::size_type index,
613 std::shared_ptr<ome::xml::model::CommentAnnotation>& commentAnnotation);
643 std::vector<std::shared_ptr<ome::xml::model::BooleanAnnotation>>::size_type
652 std::vector<std::shared_ptr<ome::xml::model::BooleanAnnotation>>&
661 const std::vector<std::shared_ptr<ome::xml::model::BooleanAnnotation>>&
671 std::shared_ptr<ome::xml::model::BooleanAnnotation>&
672 getBooleanAnnotation (std::vector<std::shared_ptr<ome::xml::model::BooleanAnnotation>>::size_type index);
681 const std::shared_ptr<ome::xml::model::BooleanAnnotation>&
682 getBooleanAnnotation (std::vector<std::shared_ptr<ome::xml::model::BooleanAnnotation>>::size_type index)
const;
692 setBooleanAnnotation (std::vector<std::shared_ptr<ome::xml::model::BooleanAnnotation>>::size_type index,
693 std::shared_ptr<ome::xml::model::BooleanAnnotation>& booleanAnnotation);
723 std::vector<std::shared_ptr<ome::xml::model::TimestampAnnotation>>::size_type
732 std::vector<std::shared_ptr<ome::xml::model::TimestampAnnotation>>&
741 const std::vector<std::shared_ptr<ome::xml::model::TimestampAnnotation>>&
751 std::shared_ptr<ome::xml::model::TimestampAnnotation>&
752 getTimestampAnnotation (std::vector<std::shared_ptr<ome::xml::model::TimestampAnnotation>>::size_type index);
761 const std::shared_ptr<ome::xml::model::TimestampAnnotation>&
762 getTimestampAnnotation (std::vector<std::shared_ptr<ome::xml::model::TimestampAnnotation>>::size_type index)
const;
772 setTimestampAnnotation (std::vector<std::shared_ptr<ome::xml::model::TimestampAnnotation>>::size_type index,
773 std::shared_ptr<ome::xml::model::TimestampAnnotation>& timestampAnnotation);
803 std::vector<std::shared_ptr<ome::xml::model::TagAnnotation>>::size_type
812 std::vector<std::shared_ptr<ome::xml::model::TagAnnotation>>&
821 const std::vector<std::shared_ptr<ome::xml::model::TagAnnotation>>&
831 std::shared_ptr<ome::xml::model::TagAnnotation>&
832 getTagAnnotation (std::vector<std::shared_ptr<ome::xml::model::TagAnnotation>>::size_type index);
841 const std::shared_ptr<ome::xml::model::TagAnnotation>&
842 getTagAnnotation (std::vector<std::shared_ptr<ome::xml::model::TagAnnotation>>::size_type index)
const;
852 setTagAnnotation (std::vector<std::shared_ptr<ome::xml::model::TagAnnotation>>::size_type index,
853 std::shared_ptr<ome::xml::model::TagAnnotation>& tagAnnotation);
864 addTagAnnotation (std::shared_ptr<ome::xml::model::TagAnnotation>& tagAnnotation);
883 std::vector<std::shared_ptr<ome::xml::model::TermAnnotation>>::size_type
892 std::vector<std::shared_ptr<ome::xml::model::TermAnnotation>>&
901 const std::vector<std::shared_ptr<ome::xml::model::TermAnnotation>>&
911 std::shared_ptr<ome::xml::model::TermAnnotation>&
912 getTermAnnotation (std::vector<std::shared_ptr<ome::xml::model::TermAnnotation>>::size_type index);
921 const std::shared_ptr<ome::xml::model::TermAnnotation>&
922 getTermAnnotation (std::vector<std::shared_ptr<ome::xml::model::TermAnnotation>>::size_type index)
const;
932 setTermAnnotation (std::vector<std::shared_ptr<ome::xml::model::TermAnnotation>>::size_type index,
933 std::shared_ptr<ome::xml::model::TermAnnotation>& termAnnotation);
944 addTermAnnotation (std::shared_ptr<ome::xml::model::TermAnnotation>& termAnnotation);
963 std::vector<std::shared_ptr<ome::xml::model::MapAnnotation>>::size_type
972 std::vector<std::shared_ptr<ome::xml::model::MapAnnotation>>&
981 const std::vector<std::shared_ptr<ome::xml::model::MapAnnotation>>&
991 std::shared_ptr<ome::xml::model::MapAnnotation>&
992 getMapAnnotation (std::vector<std::shared_ptr<ome::xml::model::MapAnnotation>>::size_type index);
1001 const std::shared_ptr<ome::xml::model::MapAnnotation>&
1002 getMapAnnotation (std::vector<std::shared_ptr<ome::xml::model::MapAnnotation>>::size_type index)
const;
1012 setMapAnnotation (std::vector<std::shared_ptr<ome::xml::model::MapAnnotation>>::size_type index,
1013 std::shared_ptr<ome::xml::model::MapAnnotation>& mapAnnotation);
1024 addMapAnnotation (std::shared_ptr<ome::xml::model::MapAnnotation>& mapAnnotation);
1054 #endif // OME_XML_MODEL_STRUCTUREDANNOTATIONS_H OME model interface (abstract top-level container)
Definition: OMEModel.h:61
std::vector< std::shared_ptr< ome::xml::model::CommentAnnotation > >::size_type sizeOfCommentAnnotationList() const
Get size of linked CommentAnnotation list.
Definition: StructuredAnnotations.cpp:666
std::vector< std::shared_ptr< ome::xml::model::LongAnnotation > > & getLongAnnotationList()
Get the LongAnnotation list.
Definition: StructuredAnnotations.cpp:556
void setTagAnnotation(std::vector< std::shared_ptr< ome::xml::model::TagAnnotation >>::size_type index, std::shared_ptr< ome::xml::model::TagAnnotation > &tagAnnotation)
Set TagAnnotation.
Definition: StructuredAnnotations.cpp:870
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
std::shared_ptr< ome::xml::model::BooleanAnnotation > & getBooleanAnnotation(std::vector< std::shared_ptr< ome::xml::model::BooleanAnnotation >>::size_type index)
Get BooleanAnnotation.
Definition: StructuredAnnotations.cpp:742
Private implementation details of StructuredAnnotations model object.
Definition: StructuredAnnotations.cpp:86
void removeTagAnnotation(std::shared_ptr< ome::xml::model::TagAnnotation > &tagAnnotation)
Remove TagAnnotation.
Definition: StructuredAnnotations.cpp:887
StructuredAnnotations model object.
Definition: StructuredAnnotations.h:89
void addLongAnnotation(std::shared_ptr< ome::xml::model::LongAnnotation > &longAnnotation)
Add LongAnnotation.
Definition: StructuredAnnotations.cpp:589
std::vector< std::shared_ptr< ome::xml::model::CommentAnnotation > > & getCommentAnnotationList()
Get the CommentAnnotation list.
Definition: StructuredAnnotations.cpp:672
std::vector< std::shared_ptr< ome::xml::model::TermAnnotation > > & getTermAnnotationList()
Get the TermAnnotation list.
Definition: StructuredAnnotations.cpp:904
bool link(std::shared_ptr< Reference > &reference, std::shared_ptr< ome::xml::model::OMEModelObject > &object)
Link a given OME model object to this model object.
Definition: StructuredAnnotations.cpp:361
std::shared_ptr< ome::xml::model::TimestampAnnotation > & getTimestampAnnotation(std::vector< std::shared_ptr< ome::xml::model::TimestampAnnotation >>::size_type index)
Get TimestampAnnotation.
Definition: StructuredAnnotations.cpp:800
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
void addDoubleAnnotation(std::shared_ptr< ome::xml::model::DoubleAnnotation > &doubleAnnotation)
Add DoubleAnnotation.
Definition: StructuredAnnotations.cpp:647
void removeBooleanAnnotation(std::shared_ptr< ome::xml::model::BooleanAnnotation > &booleanAnnotation)
Remove BooleanAnnotation.
Definition: StructuredAnnotations.cpp:771
std::vector< std::shared_ptr< ome::xml::model::BooleanAnnotation > > & getBooleanAnnotationList()
Get the BooleanAnnotation list.
Definition: StructuredAnnotations.cpp:730
std::vector< std::shared_ptr< ome::xml::model::FileAnnotation > >::size_type sizeOfFileAnnotationList() const
Get size of linked FileAnnotation list.
Definition: StructuredAnnotations.cpp:434
std::vector< std::shared_ptr< ome::xml::model::MapAnnotation > > & getMapAnnotationList()
Get the MapAnnotation list.
Definition: StructuredAnnotations.cpp:962
void setXMLAnnotation(std::vector< std::shared_ptr< ome::xml::model::XMLAnnotation >>::size_type index, std::shared_ptr< ome::xml::model::XMLAnnotation > &xmlAnnotation)
Set XMLAnnotation.
Definition: StructuredAnnotations.cpp:406
std::shared_ptr< ome::xml::model::TagAnnotation > & getTagAnnotation(std::vector< std::shared_ptr< ome::xml::model::TagAnnotation >>::size_type index)
Get TagAnnotation.
Definition: StructuredAnnotations.cpp:858
void addFileAnnotation(std::shared_ptr< ome::xml::model::FileAnnotation > &fileAnnotation)
Add FileAnnotation.
Definition: StructuredAnnotations.cpp:473
std::shared_ptr< ome::xml::model::MapAnnotation > & getMapAnnotation(std::vector< std::shared_ptr< ome::xml::model::MapAnnotation >>::size_type index)
Get MapAnnotation.
Definition: StructuredAnnotations.cpp:974
std::vector< std::shared_ptr< ome::xml::model::LongAnnotation > >::size_type sizeOfLongAnnotationList() const
Get size of linked LongAnnotation list.
Definition: StructuredAnnotations.cpp:550
std::vector< std::shared_ptr< ome::xml::model::ListAnnotation > > & getListAnnotationList()
Get the ListAnnotation list.
Definition: StructuredAnnotations.cpp:498
void setLongAnnotation(std::vector< std::shared_ptr< ome::xml::model::LongAnnotation >>::size_type index, std::shared_ptr< ome::xml::model::LongAnnotation > &longAnnotation)
Set LongAnnotation.
Definition: StructuredAnnotations.cpp:580
void addTermAnnotation(std::shared_ptr< ome::xml::model::TermAnnotation > &termAnnotation)
Add TermAnnotation.
Definition: StructuredAnnotations.cpp:937
void setTermAnnotation(std::vector< std::shared_ptr< ome::xml::model::TermAnnotation >>::size_type index, std::shared_ptr< ome::xml::model::TermAnnotation > &termAnnotation)
Set TermAnnotation.
Definition: StructuredAnnotations.cpp:928
std::shared_ptr< ome::xml::model::FileAnnotation > & getFileAnnotation(std::vector< std::shared_ptr< ome::xml::model::FileAnnotation >>::size_type index)
Get FileAnnotation.
Definition: StructuredAnnotations.cpp:452
void setBooleanAnnotation(std::vector< std::shared_ptr< ome::xml::model::BooleanAnnotation >>::size_type index, std::shared_ptr< ome::xml::model::BooleanAnnotation > &booleanAnnotation)
Set BooleanAnnotation.
Definition: StructuredAnnotations.cpp:754
void removeDoubleAnnotation(std::shared_ptr< ome::xml::model::DoubleAnnotation > &doubleAnnotation)
Remove DoubleAnnotation.
Definition: StructuredAnnotations.cpp:655
std::vector< std::shared_ptr< ome::xml::model::XMLAnnotation > > & getXMLAnnotationList()
Get the XMLAnnotation list.
Definition: StructuredAnnotations.cpp:382
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: StructuredAnnotations.cpp:1173
void removeFileAnnotation(std::shared_ptr< ome::xml::model::FileAnnotation > &fileAnnotation)
Remove FileAnnotation.
Definition: StructuredAnnotations.cpp:481
virtual void 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:1013
std::vector< std::shared_ptr< ome::xml::model::DoubleAnnotation > >::size_type sizeOfDoubleAnnotationList() const
Get size of linked DoubleAnnotation list.
Definition: StructuredAnnotations.cpp:608
Open Microscopy Environment C++ implementation.
void removeListAnnotation(std::shared_ptr< ome::xml::model::ListAnnotation > &listAnnotation)
Remove ListAnnotation.
Definition: StructuredAnnotations.cpp:539
void addTimestampAnnotation(std::shared_ptr< ome::xml::model::TimestampAnnotation > ×tampAnnotation)
Add TimestampAnnotation.
Definition: StructuredAnnotations.cpp:821
StructuredAnnotations & operator=(const StructuredAnnotations &)
Assignment operator (deleted).
std::vector< std::shared_ptr< ome::xml::model::TagAnnotation > >::size_type sizeOfTagAnnotationList() const
Get size of linked TagAnnotation list.
Definition: StructuredAnnotations.cpp:840
std::vector< std::shared_ptr< ome::xml::model::FileAnnotation > > & getFileAnnotationList()
Get the FileAnnotation list.
Definition: StructuredAnnotations.cpp:440
std::shared_ptr< ome::xml::model::CommentAnnotation > & getCommentAnnotation(std::vector< std::shared_ptr< ome::xml::model::CommentAnnotation >>::size_type index)
Get CommentAnnotation.
Definition: StructuredAnnotations.cpp:684
void addCommentAnnotation(std::shared_ptr< ome::xml::model::CommentAnnotation > &commentAnnotation)
Add CommentAnnotation.
Definition: StructuredAnnotations.cpp:705
std::shared_ptr< ome::xml::model::XMLAnnotation > & getXMLAnnotation(std::vector< std::shared_ptr< ome::xml::model::XMLAnnotation >>::size_type index)
Get XMLAnnotation.
Definition: StructuredAnnotations.cpp:394
void setFileAnnotation(std::vector< std::shared_ptr< ome::xml::model::FileAnnotation >>::size_type index, std::shared_ptr< ome::xml::model::FileAnnotation > &fileAnnotation)
Set FileAnnotation.
Definition: StructuredAnnotations.cpp:464
std::shared_ptr< ome::xml::model::LongAnnotation > & getLongAnnotation(std::vector< std::shared_ptr< ome::xml::model::LongAnnotation >>::size_type index)
Get LongAnnotation.
Definition: StructuredAnnotations.cpp:568
std::shared_ptr< ome::xml::model::ListAnnotation > & getListAnnotation(std::vector< std::shared_ptr< ome::xml::model::ListAnnotation >>::size_type index)
Get ListAnnotation.
Definition: StructuredAnnotations.cpp:510
StructuredAnnotations()
Default constructor.
Definition: StructuredAnnotations.cpp:195
void setCommentAnnotation(std::vector< std::shared_ptr< ome::xml::model::CommentAnnotation >>::size_type index, std::shared_ptr< ome::xml::model::CommentAnnotation > &commentAnnotation)
Set CommentAnnotation.
Definition: StructuredAnnotations.cpp:696
void setMapAnnotation(std::vector< std::shared_ptr< ome::xml::model::MapAnnotation >>::size_type index, std::shared_ptr< ome::xml::model::MapAnnotation > &mapAnnotation)
Set MapAnnotation.
Definition: StructuredAnnotations.cpp:986
std::vector< std::shared_ptr< ome::xml::model::DoubleAnnotation > > & getDoubleAnnotationList()
Get the DoubleAnnotation list.
Definition: StructuredAnnotations.cpp:614
void setTimestampAnnotation(std::vector< std::shared_ptr< ome::xml::model::TimestampAnnotation >>::size_type index, std::shared_ptr< ome::xml::model::TimestampAnnotation > ×tampAnnotation)
Set TimestampAnnotation.
Definition: StructuredAnnotations.cpp:812
void addMapAnnotation(std::shared_ptr< ome::xml::model::MapAnnotation > &mapAnnotation)
Add MapAnnotation.
Definition: StructuredAnnotations.cpp:995
void addBooleanAnnotation(std::shared_ptr< ome::xml::model::BooleanAnnotation > &booleanAnnotation)
Add BooleanAnnotation.
Definition: StructuredAnnotations.cpp:763
void removeCommentAnnotation(std::shared_ptr< ome::xml::model::CommentAnnotation > &commentAnnotation)
Remove CommentAnnotation.
Definition: StructuredAnnotations.cpp:713
std::shared_ptr< Impl > impl
Private implementation details.
Definition: StructuredAnnotations.h:92
std::vector< std::shared_ptr< ome::xml::model::MapAnnotation > >::size_type sizeOfMapAnnotationList() const
Get size of linked MapAnnotation list.
Definition: StructuredAnnotations.cpp:956
void addXMLAnnotation(std::shared_ptr< ome::xml::model::XMLAnnotation > &xmlAnnotation)
Add XMLAnnotation.
Definition: StructuredAnnotations.cpp:415
void removeXMLAnnotation(std::shared_ptr< ome::xml::model::XMLAnnotation > &xmlAnnotation)
Remove XMLAnnotation.
Definition: StructuredAnnotations.cpp:423
std::shared_ptr< ome::xml::model::TermAnnotation > & getTermAnnotation(std::vector< std::shared_ptr< ome::xml::model::TermAnnotation >>::size_type index)
Get TermAnnotation.
Definition: StructuredAnnotations.cpp:916
void setListAnnotation(std::vector< std::shared_ptr< ome::xml::model::ListAnnotation >>::size_type index, std::shared_ptr< ome::xml::model::ListAnnotation > &listAnnotation)
Set ListAnnotation.
Definition: StructuredAnnotations.cpp:522
std::vector< std::shared_ptr< ome::xml::model::XMLAnnotation > >::size_type sizeOfXMLAnnotationList() const
Get size of linked XMLAnnotation list.
Definition: StructuredAnnotations.cpp:376
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:237
const std::string & elementName() const
Get the element name of this model object.
Definition: StructuredAnnotations.cpp:224
void addListAnnotation(std::shared_ptr< ome::xml::model::ListAnnotation > &listAnnotation)
Add ListAnnotation.
Definition: StructuredAnnotations.cpp:531
static std::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
void removeLongAnnotation(std::shared_ptr< ome::xml::model::LongAnnotation > &longAnnotation)
Remove LongAnnotation.
Definition: StructuredAnnotations.cpp:597
void removeTimestampAnnotation(std::shared_ptr< ome::xml::model::TimestampAnnotation > ×tampAnnotation)
Remove TimestampAnnotation.
Definition: StructuredAnnotations.cpp:829
std::vector< std::shared_ptr< ome::xml::model::BooleanAnnotation > >::size_type sizeOfBooleanAnnotationList() const
Get size of linked BooleanAnnotation list.
Definition: StructuredAnnotations.cpp:724
std::vector< std::shared_ptr< ome::xml::model::TimestampAnnotation > >::size_type sizeOfTimestampAnnotationList() const
Get size of linked TimestampAnnotation list.
Definition: StructuredAnnotations.cpp:782
void setDoubleAnnotation(std::vector< std::shared_ptr< ome::xml::model::DoubleAnnotation >>::size_type index, std::shared_ptr< ome::xml::model::DoubleAnnotation > &doubleAnnotation)
Set DoubleAnnotation.
Definition: StructuredAnnotations.cpp:638
void removeTermAnnotation(std::shared_ptr< ome::xml::model::TermAnnotation > &termAnnotation)
Remove TermAnnotation.
Definition: StructuredAnnotations.cpp:945
void removeMapAnnotation(std::shared_ptr< ome::xml::model::MapAnnotation > &mapAnnotation)
Remove MapAnnotation.
Definition: StructuredAnnotations.cpp:1003
virtual ~StructuredAnnotations()
Destructor.
Definition: StructuredAnnotations.cpp:210
std::shared_ptr< ome::xml::model::DoubleAnnotation > & getDoubleAnnotation(std::vector< std::shared_ptr< ome::xml::model::DoubleAnnotation >>::size_type index)
Get DoubleAnnotation.
Definition: StructuredAnnotations.cpp:626
void addTagAnnotation(std::shared_ptr< ome::xml::model::TagAnnotation > &tagAnnotation)
Add TagAnnotation.
Definition: StructuredAnnotations.cpp:879
std::vector< std::shared_ptr< ome::xml::model::TagAnnotation > > & getTagAnnotationList()
Get the TagAnnotation list.
Definition: StructuredAnnotations.cpp:846
std::vector< std::shared_ptr< ome::xml::model::TimestampAnnotation > > & getTimestampAnnotationList()
Get the TimestampAnnotation list.
Definition: StructuredAnnotations.cpp:788
std::vector< std::shared_ptr< ome::xml::model::TermAnnotation > >::size_type sizeOfTermAnnotationList() const
Get size of linked TermAnnotation list.
Definition: StructuredAnnotations.cpp:898
std::vector< std::shared_ptr< ome::xml::model::ListAnnotation > >::size_type sizeOfListAnnotationList() const
Get size of linked ListAnnotation list.
Definition: StructuredAnnotations.cpp:492