X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fhelpers%2Fround-robin-container-view.h;h=b5f97df190f3722035efad2a6b33e5a4d2bf0179;hp=c3619f9495b37be1e9ae770d45e933145c723367;hb=cc7137614f4136f571ccecc22ad1b72c01f16156;hpb=44bb6ae11e1c189104d9a8c9881bd5e524b398c0 diff --git a/dali-toolkit/internal/helpers/round-robin-container-view.h b/dali-toolkit/internal/helpers/round-robin-container-view.h index c3619f9..b5f97df 100644 --- a/dali-toolkit/internal/helpers/round-robin-container-view.h +++ b/dali-toolkit/internal/helpers/round-robin-container-view.h @@ -3,7 +3,7 @@ #define DALI_TOOLKIT_INTERNAL_ROUND_ROBIN_CONTAINER_VIEW_H /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,13 +25,10 @@ namespace Dali { - namespace Toolkit { - namespace Internal { - /** * @brief RoundRobinContainerView is a view to a container that allows iterating through the elements cyclically. */ @@ -92,9 +89,9 @@ public: // default members ~RoundRobinContainerView() = default; - RoundRobinContainerView(const RoundRobinContainerView&) = delete; - RoundRobinContainerView& operator=(const RoundRobinContainerView&) = delete; - RoundRobinContainerView(RoundRobinContainerView&&) = default; + RoundRobinContainerView(const RoundRobinContainerView&) = delete; + RoundRobinContainerView& operator=(const RoundRobinContainerView&) = delete; + RoundRobinContainerView(RoundRobinContainerView&&) = default; RoundRobinContainerView& operator=(RoundRobinContainerView&&) = default; private: @@ -110,8 +107,8 @@ private: } private: - ContainerType mElements; //< container of elements - size_t mNextIndex; //< index to the next element to be viewed + ContainerType mElements; //< container of elements + size_t mNextIndex; //< index to the next element to be viewed }; } // namespace Internal @@ -120,5 +117,4 @@ private: } // namespace Dali - #endif // DALI_TOOLKIT_INTERNAL_ROUND_ROBIN_CONTAINER_VIEW_H