aboutsummaryrefslogtreecommitdiff
path: root/tests/NEON/Accessor.h
diff options
context:
space:
mode:
authorAlex Gilday <alexander.gilday@arm.com>2018-03-21 13:54:09 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:49:16 +0000
commitc357c47be8a3f210f9eee9a05cc13f1051b036d3 (patch)
treea88ac857150da970a0862a3479b78c616d8aa1d3 /tests/NEON/Accessor.h
parent724079d6fce3bf6a05cd6c7b4884b132b27e9e90 (diff)
downloadComputeLibrary-c357c47be8a3f210f9eee9a05cc13f1051b036d3.tar.gz
COMPMID-1008: Fix Doxygen issues
Change-Id: Ie73d8771f85d1f5b059f3a56f1bbd73c98e94a38 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/124723 Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/NEON/Accessor.h')
-rw-r--r--tests/NEON/Accessor.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/tests/NEON/Accessor.h b/tests/NEON/Accessor.h
index e285f227de..60a94c20d4 100644
--- a/tests/NEON/Accessor.h
+++ b/tests/NEON/Accessor.h
@@ -41,11 +41,26 @@ public:
*/
Accessor(Tensor &tensor);
+ /** Prevent instances of this class from being copy constructed */
Accessor(const Accessor &) = delete;
+ /** Prevent instances of this class from being copied */
Accessor &operator=(const Accessor &) = delete;
- Accessor(Accessor &&) = default;
+ /** Allow instances of this class to be move constructed */
+ Accessor(Accessor &&) = default;
+ /** Allow instances of this class to be moved */
Accessor &operator=(Accessor &&) = default;
+ /** Get the tensor data.
+ *
+ * @return a constant pointer to the tensor data.
+ */
+ const void *data() const;
+ /** Get the tensor data.
+ *
+ * @return a pointer to the tensor data.
+ */
+ void *data();
+
TensorShape shape() const override;
size_t element_size() const override;
size_t size() const override;
@@ -59,8 +74,6 @@ public:
QuantizationInfo quantization_info() const override;
const void *operator()(const Coordinates &coord) const override;
void *operator()(const Coordinates &coord) override;
- const void *data() const;
- void *data();
private:
Tensor &_tensor;