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>
154 link (std::shared_ptr<Reference>& reference,
155 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
162 std::vector<std::shared_ptr<ome::xml::model::XMLAnnotation>>::size_type
171 std::vector<std::shared_ptr<ome::xml::model::XMLAnnotation>>&
180 const std::vector<std::shared_ptr<ome::xml::model::XMLAnnotation>>&
190 std::shared_ptr<ome::xml::model::XMLAnnotation>&
191 getXMLAnnotation (std::vector<std::shared_ptr<ome::xml::model::XMLAnnotation>>::size_type index);
200 const std::shared_ptr<ome::xml::model::XMLAnnotation>&
201 getXMLAnnotation (std::vector<std::shared_ptr<ome::xml::model::XMLAnnotation>>::size_type index)
const;
211 setXMLAnnotation (std::vector<std::shared_ptr<ome::xml::model::XMLAnnotation>>::size_type index,
212 std::shared_ptr<ome::xml::model::XMLAnnotation>& xmlAnnotation);
223 addXMLAnnotation (std::shared_ptr<ome::xml::model::XMLAnnotation>& xmlAnnotation);
242 std::vector<std::shared_ptr<ome::xml::model::FileAnnotation>>::size_type
251 std::vector<std::shared_ptr<ome::xml::model::FileAnnotation>>&
260 const std::vector<std::shared_ptr<ome::xml::model::FileAnnotation>>&
270 std::shared_ptr<ome::xml::model::FileAnnotation>&
271 getFileAnnotation (std::vector<std::shared_ptr<ome::xml::model::FileAnnotation>>::size_type index);
280 const std::shared_ptr<ome::xml::model::FileAnnotation>&
281 getFileAnnotation (std::vector<std::shared_ptr<ome::xml::model::FileAnnotation>>::size_type index)
const;
291 setFileAnnotation (std::vector<std::shared_ptr<ome::xml::model::FileAnnotation>>::size_type index,
292 std::shared_ptr<ome::xml::model::FileAnnotation>& fileAnnotation);
303 addFileAnnotation (std::shared_ptr<ome::xml::model::FileAnnotation>& fileAnnotation);
322 std::vector<std::shared_ptr<ome::xml::model::ListAnnotation>>::size_type
331 std::vector<std::shared_ptr<ome::xml::model::ListAnnotation>>&
340 const std::vector<std::shared_ptr<ome::xml::model::ListAnnotation>>&
350 std::shared_ptr<ome::xml::model::ListAnnotation>&
351 getListAnnotation (std::vector<std::shared_ptr<ome::xml::model::ListAnnotation>>::size_type index);
360 const std::shared_ptr<ome::xml::model::ListAnnotation>&
361 getListAnnotation (std::vector<std::shared_ptr<ome::xml::model::ListAnnotation>>::size_type index)
const;
371 setListAnnotation (std::vector<std::shared_ptr<ome::xml::model::ListAnnotation>>::size_type index,
372 std::shared_ptr<ome::xml::model::ListAnnotation>& listAnnotation);
383 addListAnnotation (std::shared_ptr<ome::xml::model::ListAnnotation>& listAnnotation);
402 std::vector<std::shared_ptr<ome::xml::model::LongAnnotation>>::size_type
411 std::vector<std::shared_ptr<ome::xml::model::LongAnnotation>>&
420 const std::vector<std::shared_ptr<ome::xml::model::LongAnnotation>>&
430 std::shared_ptr<ome::xml::model::LongAnnotation>&
431 getLongAnnotation (std::vector<std::shared_ptr<ome::xml::model::LongAnnotation>>::size_type index);
440 const std::shared_ptr<ome::xml::model::LongAnnotation>&
441 getLongAnnotation (std::vector<std::shared_ptr<ome::xml::model::LongAnnotation>>::size_type index)
const;
451 setLongAnnotation (std::vector<std::shared_ptr<ome::xml::model::LongAnnotation>>::size_type index,
452 std::shared_ptr<ome::xml::model::LongAnnotation>& longAnnotation);
463 addLongAnnotation (std::shared_ptr<ome::xml::model::LongAnnotation>& longAnnotation);
482 std::vector<std::shared_ptr<ome::xml::model::DoubleAnnotation>>::size_type
491 std::vector<std::shared_ptr<ome::xml::model::DoubleAnnotation>>&
500 const std::vector<std::shared_ptr<ome::xml::model::DoubleAnnotation>>&
510 std::shared_ptr<ome::xml::model::DoubleAnnotation>&
511 getDoubleAnnotation (std::vector<std::shared_ptr<ome::xml::model::DoubleAnnotation>>::size_type index);
520 const std::shared_ptr<ome::xml::model::DoubleAnnotation>&
521 getDoubleAnnotation (std::vector<std::shared_ptr<ome::xml::model::DoubleAnnotation>>::size_type index)
const;
531 setDoubleAnnotation (std::vector<std::shared_ptr<ome::xml::model::DoubleAnnotation>>::size_type index,
532 std::shared_ptr<ome::xml::model::DoubleAnnotation>& doubleAnnotation);
543 addDoubleAnnotation (std::shared_ptr<ome::xml::model::DoubleAnnotation>& doubleAnnotation);
562 std::vector<std::shared_ptr<ome::xml::model::CommentAnnotation>>::size_type
571 std::vector<std::shared_ptr<ome::xml::model::CommentAnnotation>>&
580 const std::vector<std::shared_ptr<ome::xml::model::CommentAnnotation>>&
590 std::shared_ptr<ome::xml::model::CommentAnnotation>&
591 getCommentAnnotation (std::vector<std::shared_ptr<ome::xml::model::CommentAnnotation>>::size_type index);
600 const std::shared_ptr<ome::xml::model::CommentAnnotation>&
601 getCommentAnnotation (std::vector<std::shared_ptr<ome::xml::model::CommentAnnotation>>::size_type index)
const;
611 setCommentAnnotation (std::vector<std::shared_ptr<ome::xml::model::CommentAnnotation>>::size_type index,
612 std::shared_ptr<ome::xml::model::CommentAnnotation>& commentAnnotation);
642 std::vector<std::shared_ptr<ome::xml::model::BooleanAnnotation>>::size_type
651 std::vector<std::shared_ptr<ome::xml::model::BooleanAnnotation>>&
660 const std::vector<std::shared_ptr<ome::xml::model::BooleanAnnotation>>&
670 std::shared_ptr<ome::xml::model::BooleanAnnotation>&
671 getBooleanAnnotation (std::vector<std::shared_ptr<ome::xml::model::BooleanAnnotation>>::size_type index);
680 const std::shared_ptr<ome::xml::model::BooleanAnnotation>&
681 getBooleanAnnotation (std::vector<std::shared_ptr<ome::xml::model::BooleanAnnotation>>::size_type index)
const;
691 setBooleanAnnotation (std::vector<std::shared_ptr<ome::xml::model::BooleanAnnotation>>::size_type index,
692 std::shared_ptr<ome::xml::model::BooleanAnnotation>& booleanAnnotation);
722 std::vector<std::shared_ptr<ome::xml::model::TimestampAnnotation>>::size_type
731 std::vector<std::shared_ptr<ome::xml::model::TimestampAnnotation>>&
740 const std::vector<std::shared_ptr<ome::xml::model::TimestampAnnotation>>&
750 std::shared_ptr<ome::xml::model::TimestampAnnotation>&
751 getTimestampAnnotation (std::vector<std::shared_ptr<ome::xml::model::TimestampAnnotation>>::size_type index);
760 const std::shared_ptr<ome::xml::model::TimestampAnnotation>&
761 getTimestampAnnotation (std::vector<std::shared_ptr<ome::xml::model::TimestampAnnotation>>::size_type index)
const;
771 setTimestampAnnotation (std::vector<std::shared_ptr<ome::xml::model::TimestampAnnotation>>::size_type index,
772 std::shared_ptr<ome::xml::model::TimestampAnnotation>& timestampAnnotation);
802 std::vector<std::shared_ptr<ome::xml::model::TagAnnotation>>::size_type
811 std::vector<std::shared_ptr<ome::xml::model::TagAnnotation>>&
820 const std::vector<std::shared_ptr<ome::xml::model::TagAnnotation>>&
830 std::shared_ptr<ome::xml::model::TagAnnotation>&
831 getTagAnnotation (std::vector<std::shared_ptr<ome::xml::model::TagAnnotation>>::size_type index);
840 const std::shared_ptr<ome::xml::model::TagAnnotation>&
841 getTagAnnotation (std::vector<std::shared_ptr<ome::xml::model::TagAnnotation>>::size_type index)
const;
851 setTagAnnotation (std::vector<std::shared_ptr<ome::xml::model::TagAnnotation>>::size_type index,
852 std::shared_ptr<ome::xml::model::TagAnnotation>& tagAnnotation);
863 addTagAnnotation (std::shared_ptr<ome::xml::model::TagAnnotation>& tagAnnotation);
882 std::vector<std::shared_ptr<ome::xml::model::TermAnnotation>>::size_type
891 std::vector<std::shared_ptr<ome::xml::model::TermAnnotation>>&
900 const std::vector<std::shared_ptr<ome::xml::model::TermAnnotation>>&
910 std::shared_ptr<ome::xml::model::TermAnnotation>&
911 getTermAnnotation (std::vector<std::shared_ptr<ome::xml::model::TermAnnotation>>::size_type index);
920 const std::shared_ptr<ome::xml::model::TermAnnotation>&
921 getTermAnnotation (std::vector<std::shared_ptr<ome::xml::model::TermAnnotation>>::size_type index)
const;
931 setTermAnnotation (std::vector<std::shared_ptr<ome::xml::model::TermAnnotation>>::size_type index,
932 std::shared_ptr<ome::xml::model::TermAnnotation>& termAnnotation);
943 addTermAnnotation (std::shared_ptr<ome::xml::model::TermAnnotation>& termAnnotation);
962 std::vector<std::shared_ptr<ome::xml::model::MapAnnotation>>::size_type
971 std::vector<std::shared_ptr<ome::xml::model::MapAnnotation>>&
980 const std::vector<std::shared_ptr<ome::xml::model::MapAnnotation>>&
990 std::shared_ptr<ome::xml::model::MapAnnotation>&
991 getMapAnnotation (std::vector<std::shared_ptr<ome::xml::model::MapAnnotation>>::size_type index);
1000 const std::shared_ptr<ome::xml::model::MapAnnotation>&
1001 getMapAnnotation (std::vector<std::shared_ptr<ome::xml::model::MapAnnotation>>::size_type index)
const;
1011 setMapAnnotation (std::vector<std::shared_ptr<ome::xml::model::MapAnnotation>>::size_type index,
1012 std::shared_ptr<ome::xml::model::MapAnnotation>& mapAnnotation);
1023 addMapAnnotation (std::shared_ptr<ome::xml::model::MapAnnotation>& mapAnnotation);
1053 #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:674
std::vector< std::shared_ptr< ome::xml::model::LongAnnotation > > & getLongAnnotationList()
Get the LongAnnotation list.
Definition: StructuredAnnotations.cpp:564
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:878
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: StructuredAnnotations.cpp:239
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:750
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:895
StructuredAnnotations model object.
Definition: StructuredAnnotations.h:89
void addLongAnnotation(std::shared_ptr< ome::xml::model::LongAnnotation > &longAnnotation)
Add LongAnnotation.
Definition: StructuredAnnotations.cpp:597
std::vector< std::shared_ptr< ome::xml::model::CommentAnnotation > > & getCommentAnnotationList()
Get the CommentAnnotation list.
Definition: StructuredAnnotations.cpp:680
std::vector< std::shared_ptr< ome::xml::model::TermAnnotation > > & getTermAnnotationList()
Get the TermAnnotation list.
Definition: StructuredAnnotations.cpp:912
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:369
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:808
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
void addDoubleAnnotation(std::shared_ptr< ome::xml::model::DoubleAnnotation > &doubleAnnotation)
Add DoubleAnnotation.
Definition: StructuredAnnotations.cpp:655
void removeBooleanAnnotation(std::shared_ptr< ome::xml::model::BooleanAnnotation > &booleanAnnotation)
Remove BooleanAnnotation.
Definition: StructuredAnnotations.cpp:779
std::vector< std::shared_ptr< ome::xml::model::BooleanAnnotation > > & getBooleanAnnotationList()
Get the BooleanAnnotation list.
Definition: StructuredAnnotations.cpp:738
std::vector< std::shared_ptr< ome::xml::model::FileAnnotation > >::size_type sizeOfFileAnnotationList() const
Get size of linked FileAnnotation list.
Definition: StructuredAnnotations.cpp:442
std::vector< std::shared_ptr< ome::xml::model::MapAnnotation > > & getMapAnnotationList()
Get the MapAnnotation list.
Definition: StructuredAnnotations.cpp:970
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:414
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:866
void addFileAnnotation(std::shared_ptr< ome::xml::model::FileAnnotation > &fileAnnotation)
Add FileAnnotation.
Definition: StructuredAnnotations.cpp:481
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:982
std::vector< std::shared_ptr< ome::xml::model::LongAnnotation > >::size_type sizeOfLongAnnotationList() const
Get size of linked LongAnnotation list.
Definition: StructuredAnnotations.cpp:558
std::vector< std::shared_ptr< ome::xml::model::ListAnnotation > > & getListAnnotationList()
Get the ListAnnotation list.
Definition: StructuredAnnotations.cpp:506
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:588
void addTermAnnotation(std::shared_ptr< ome::xml::model::TermAnnotation > &termAnnotation)
Add TermAnnotation.
Definition: StructuredAnnotations.cpp:945
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:936
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:460
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:762
void removeDoubleAnnotation(std::shared_ptr< ome::xml::model::DoubleAnnotation > &doubleAnnotation)
Remove DoubleAnnotation.
Definition: StructuredAnnotations.cpp:663
std::vector< std::shared_ptr< ome::xml::model::XMLAnnotation > > & getXMLAnnotationList()
Get the XMLAnnotation list.
Definition: StructuredAnnotations.cpp:390
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: StructuredAnnotations.cpp:1181
void removeFileAnnotation(std::shared_ptr< ome::xml::model::FileAnnotation > &fileAnnotation)
Remove FileAnnotation.
Definition: StructuredAnnotations.cpp:489
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:1021
std::vector< std::shared_ptr< ome::xml::model::DoubleAnnotation > >::size_type sizeOfDoubleAnnotationList() const
Get size of linked DoubleAnnotation list.
Definition: StructuredAnnotations.cpp:616
Open Microscopy Environment C++ implementation.
void removeListAnnotation(std::shared_ptr< ome::xml::model::ListAnnotation > &listAnnotation)
Remove ListAnnotation.
Definition: StructuredAnnotations.cpp:547
void addTimestampAnnotation(std::shared_ptr< ome::xml::model::TimestampAnnotation > ×tampAnnotation)
Add TimestampAnnotation.
Definition: StructuredAnnotations.cpp:829
std::vector< std::shared_ptr< ome::xml::model::TagAnnotation > >::size_type sizeOfTagAnnotationList() const
Get size of linked TagAnnotation list.
Definition: StructuredAnnotations.cpp:848
std::vector< std::shared_ptr< ome::xml::model::FileAnnotation > > & getFileAnnotationList()
Get the FileAnnotation list.
Definition: StructuredAnnotations.cpp:448
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:692
void addCommentAnnotation(std::shared_ptr< ome::xml::model::CommentAnnotation > &commentAnnotation)
Add CommentAnnotation.
Definition: StructuredAnnotations.cpp:713
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:402
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:472
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:576
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:518
StructuredAnnotations()
Default constructor.
Definition: StructuredAnnotations.cpp:199
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:704
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:994
std::vector< std::shared_ptr< ome::xml::model::DoubleAnnotation > > & getDoubleAnnotationList()
Get the DoubleAnnotation list.
Definition: StructuredAnnotations.cpp:622
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:820
void addMapAnnotation(std::shared_ptr< ome::xml::model::MapAnnotation > &mapAnnotation)
Add MapAnnotation.
Definition: StructuredAnnotations.cpp:1003
void addBooleanAnnotation(std::shared_ptr< ome::xml::model::BooleanAnnotation > &booleanAnnotation)
Add BooleanAnnotation.
Definition: StructuredAnnotations.cpp:771
void removeCommentAnnotation(std::shared_ptr< ome::xml::model::CommentAnnotation > &commentAnnotation)
Remove CommentAnnotation.
Definition: StructuredAnnotations.cpp:721
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:964
void addXMLAnnotation(std::shared_ptr< ome::xml::model::XMLAnnotation > &xmlAnnotation)
Add XMLAnnotation.
Definition: StructuredAnnotations.cpp:423
void removeXMLAnnotation(std::shared_ptr< ome::xml::model::XMLAnnotation > &xmlAnnotation)
Remove XMLAnnotation.
Definition: StructuredAnnotations.cpp:431
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:924
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:530
std::vector< std::shared_ptr< ome::xml::model::XMLAnnotation > >::size_type sizeOfXMLAnnotationList() const
Get size of linked XMLAnnotation list.
Definition: StructuredAnnotations.cpp:384
virtual SKIP 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:245
const std::string & elementName() const
Get the element name of this model object.
Definition: StructuredAnnotations.cpp:232
void addListAnnotation(std::shared_ptr< ome::xml::model::ListAnnotation > &listAnnotation)
Add ListAnnotation.
Definition: StructuredAnnotations.cpp:539
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:223
void removeLongAnnotation(std::shared_ptr< ome::xml::model::LongAnnotation > &longAnnotation)
Remove LongAnnotation.
Definition: StructuredAnnotations.cpp:605
void removeTimestampAnnotation(std::shared_ptr< ome::xml::model::TimestampAnnotation > ×tampAnnotation)
Remove TimestampAnnotation.
Definition: StructuredAnnotations.cpp:837
std::vector< std::shared_ptr< ome::xml::model::BooleanAnnotation > >::size_type sizeOfBooleanAnnotationList() const
Get size of linked BooleanAnnotation list.
Definition: StructuredAnnotations.cpp:732
std::vector< std::shared_ptr< ome::xml::model::TimestampAnnotation > >::size_type sizeOfTimestampAnnotationList() const
Get size of linked TimestampAnnotation list.
Definition: StructuredAnnotations.cpp:790
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:646
void removeTermAnnotation(std::shared_ptr< ome::xml::model::TermAnnotation > &termAnnotation)
Remove TermAnnotation.
Definition: StructuredAnnotations.cpp:953
void removeMapAnnotation(std::shared_ptr< ome::xml::model::MapAnnotation > &mapAnnotation)
Remove MapAnnotation.
Definition: StructuredAnnotations.cpp:1011
virtual ~StructuredAnnotations()
Destructor.
Definition: StructuredAnnotations.cpp:218
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:634
void addTagAnnotation(std::shared_ptr< ome::xml::model::TagAnnotation > &tagAnnotation)
Add TagAnnotation.
Definition: StructuredAnnotations.cpp:887
std::vector< std::shared_ptr< ome::xml::model::TagAnnotation > > & getTagAnnotationList()
Get the TagAnnotation list.
Definition: StructuredAnnotations.cpp:854
std::vector< std::shared_ptr< ome::xml::model::TimestampAnnotation > > & getTimestampAnnotationList()
Get the TimestampAnnotation list.
Definition: StructuredAnnotations.cpp:796
std::vector< std::shared_ptr< ome::xml::model::TermAnnotation > >::size_type sizeOfTermAnnotationList() const
Get size of linked TermAnnotation list.
Definition: StructuredAnnotations.cpp:906
std::vector< std::shared_ptr< ome::xml::model::ListAnnotation > >::size_type sizeOfListAnnotationList() const
Get size of linked ListAnnotation list.
Definition: StructuredAnnotations.cpp:500