Commit 068215b8e1767dc9ec80f39b781baf622600aea1
Committed by
Moritz Wirger
1 parent
0294e540
Apply documentation changes from code review
Co-authored-by: Moritz Wirger <lj.moritorii@web.de>
Showing
3 changed files
with
7 additions
and
6 deletions
include/hueplusplus/ResourceList.h
| ... | ... | @@ -83,7 +83,7 @@ public: |
| 83 | 83 | void refresh() { stateCache.refresh(); } |
| 84 | 84 | |
| 85 | 85 | //! \brief Get all resources that exist |
| 86 | - //! \returns A vectory of references to every Resource | |
| 86 | + //! \returns A vector of references to every Resource | |
| 87 | 87 | //! \throws std::system_error when system or socket operations fail |
| 88 | 88 | //! \throws HueException when response contains no body |
| 89 | 89 | //! \throws HueAPIResponseException when response contains an error |
| ... | ... | @@ -105,7 +105,7 @@ public: |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | //! \brief Get resource specified by id |
| 108 | - //! \param id ID of the resource | |
| 108 | + //! \param id Identifier of the resource | |
| 109 | 109 | //! \returns The resource matching the id |
| 110 | 110 | //! \throws std::system_error when system or socket operations fail |
| 111 | 111 | //! \throws HueException when id does not exist |
| ... | ... | @@ -129,7 +129,7 @@ public: |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | //! \brief Checks whether resource with id exists |
| 132 | - //! \param id Id of the resource to check | |
| 132 | + //! \param id Identifier of the resource to check | |
| 133 | 133 | //! \returns true when the resource with given id exists |
| 134 | 134 | //! \throws std::system_error when system or socket operations fail |
| 135 | 135 | //! \throws HueException when response contains no body |
| ... | ... | @@ -146,7 +146,7 @@ public: |
| 146 | 146 | } |
| 147 | 147 | |
| 148 | 148 | //! \brief Checks whether resource with id exists |
| 149 | - //! \param id Id of the resource to check | |
| 149 | + //! \param id Identifier of the resource to check | |
| 150 | 150 | //! \returns true when the resource with given id exists |
| 151 | 151 | //! \note This will not update the cache |
| 152 | 152 | //! \throws HueException when the cache is empty |
| ... | ... | @@ -161,7 +161,7 @@ public: |
| 161 | 161 | } |
| 162 | 162 | |
| 163 | 163 | //! \brief Removes the resource |
| 164 | - //! \param id Id of the resource to remove | |
| 164 | + //! \param id Identifier of the resource to remove | |
| 165 | 165 | //! \returns true on success |
| 166 | 166 | //! \throws std::system_error when system or socket operations fail |
| 167 | 167 | //! \throws HueException when response contains no body | ... | ... |
include/hueplusplus/Schedule.h