lsa: added noexcept and docs
Change-Id: Ic8c8566ced9654185a0619eca614ee1c6d108674
refs: #4354
diff --git a/src/lsa.hpp b/src/lsa.hpp
index 859a11b..71da57c 100644
--- a/src/lsa.hpp
+++ b/src/lsa.hpp
@@ -120,8 +120,13 @@
const ndn::Name
getKey() const;
+ /*! \brief Populate this LSA with content from the string "content".
+ \param content The string containing a valid serialization of LSA content.
+
+ This method populates "this" LSA with data from the string.
+ */
virtual bool
- deserialize(const std::string& content) = 0;
+ deserialize(const std::string& content) noexcept = 0;
virtual void
writeLog() const = 0;
@@ -200,7 +205,7 @@
getData(); getData() returns data of this format, in other words.
*/
bool
- deserialize(const std::string& content) override;
+ deserialize(const std::string& content) noexcept override;
bool
isEqualContent(const NameLsa& other) const;
@@ -267,7 +272,7 @@
according to getData().
*/
bool
- deserialize(const std::string& content) override;
+ deserialize(const std::string& content) noexcept override;
uint32_t
getNoLink()
@@ -349,7 +354,7 @@
same as for getData();
*/
bool
- deserialize(const std::string& content) override;
+ deserialize(const std::string& content) noexcept override;
double
getCorRadius() const