15#include "usmtf_export.h"
109 Message(
const std::string& aMTF, std::vector<std::unique_ptr<Set>> aSets)
noexcept;
114 const std::string&
GetType() const noexcept;
Message(const Message &)=delete
bool IsEmpty() const noexcept
Tells you if the Message doesn't contain Sets.
Definition Message.cpp:115
std::vector< Segment > GetSegments(const std::string &aSTF) const
Definition Message.cpp:94
Message(const std::string &aMTF, std::vector< std::unique_ptr< Set > > aSets) noexcept
Definition Message.cpp:22
Segment::SetLocations GetSets(const std::string &aSTF) const noexcept
Get all Sets that match the given set type.
Definition Message.cpp:44
const Set & GetSet(Segment::SetPosition aSetIndex) const
Retrieve a Set at a given index.
Definition Message.cpp:33
virtual ~Message()=default
const std::string & GetType() const noexcept
Get the Type of the Message.
Definition Message.cpp:28
bool IsSetPositionOutOfBounds(const Segment::SetPosition &aPos) const noexcept
Definition Message.cpp:120
Message & operator=(const Message &)=delete
size_t GetNumberOfSets() const noexcept
Number of sets in the Message.
Definition Message.cpp:110
const std::string mMessageTextFormat
Definition Message.hpp:134
Segment GetSegment(const Segment::SetPosition &startPosition, const Segment::SetPosition &stopPosition) const
Retrieve a grouping of sets by given start and end positions.
Definition Message.cpp:76
std::vector< std::unique_ptr< Set > > mSets
Definition Message.hpp:135
Definition Segment.hpp:30
Definition Validatable.hpp:24
Template specialization for wsf::comm::Address. Allows usage of Address in std::unordered_map/set.
Definition WsfCommAddress.hpp:185