Repository: qpid-proton Updated Branches: refs/heads/master 37cd347de -> 8b3488399
NO-JIRA: [cpp] Added missing API doc comments Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/8b348839 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/8b348839 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/8b348839 Branch: refs/heads/master Commit: 8b34883992d712efc653cc1d1aeb1861c52d54d6 Parents: 122404a Author: Alan Conway <acon...@redhat.com> Authored: Thu Jun 28 10:29:06 2018 -0400 Committer: Alan Conway <acon...@redhat.com> Committed: Thu Jun 28 10:29:27 2018 -0400 ---------------------------------------------------------------------- cpp/include/proton/transfer.hpp | 2 ++ cpp/include/proton/uuid.hpp | 3 +++ 2 files changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/8b348839/cpp/include/proton/transfer.hpp ---------------------------------------------------------------------- diff --git a/cpp/include/proton/transfer.hpp b/cpp/include/proton/transfer.hpp index 3e02ca9..61657fe 100644 --- a/cpp/include/proton/transfer.hpp +++ b/cpp/include/proton/transfer.hpp @@ -82,7 +82,9 @@ class transfer : public internal::object<pn_delivery_t> { /// @endcond }; +/// Human-readalbe name of the transfer::state PN_CPP_EXTERN std::string to_string(enum transfer::state); +/// Human-readalbe name of the transfer::state PN_CPP_EXTERN std::ostream& operator<<(std::ostream&, const enum transfer::state); } // proton http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/8b348839/cpp/include/proton/uuid.hpp ---------------------------------------------------------------------- diff --git a/cpp/include/proton/uuid.hpp b/cpp/include/proton/uuid.hpp index f80541c..a487126 100644 --- a/cpp/include/proton/uuid.hpp +++ b/cpp/include/proton/uuid.hpp @@ -59,6 +59,9 @@ class uuid : public byte_array<16> { /// UUID standard format: 8-4-4-4-12 (36 chars, 32 alphanumeric chars /// and 4 hyphens). PN_CPP_EXTERN std::ostream& operator<<(std::ostream&, const uuid&); + +/// UUID standard format: 8-4-4-4-12 (36 chars, 32 alphanumeric chars +/// and 4 hyphens). inline std::string to_string(const uuid& u) { return u.str(); } } // proton --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org