#include <iostream>
#include <stdlib.h>
#include <dali/public-api/dali-core.h>
-#include <dali/devel-api/common/dali-vector-devel.h>
#include <dali-test-suite-utils.h>
using namespace Dali;
${CMAKE_CURRENT_SOURCE_DIR}/animation/animation-devel.h
${CMAKE_CURRENT_SOURCE_DIR}/common/circular-queue.h
- ${CMAKE_CURRENT_SOURCE_DIR}/common/dali-vector-devel.h
${CMAKE_CURRENT_SOURCE_DIR}/common/hash.h
${CMAKE_CURRENT_SOURCE_DIR}/common/map-wrapper.h
${CMAKE_CURRENT_SOURCE_DIR}/common/owner-container.h
+++ /dev/null
-#ifndef DALI_VECTOR_DEVEL_H
-#define DALI_VECTOR_DEVEL_H
-
-/*
- * Copyright (c) 2017 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.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-// EXTERNAL INCLUDES
-
-// INTERNAL INCLUDES
-#include <dali/public-api/common/dali-vector.h>
-
-namespace Dali
-{
-/**
- * Dali::Vector support for C++11 Range-based for loop: for( item : container )
- *
- * @param vector The vector to iterate
- * @return The start iterator
- */
-template< class T >
-typename T::Iterator begin( T& vector )
-{
- return vector.Begin();
-}
-
-/**
- * Dali::Vector support for C++11 Range-based for loop: for( item : container )
- *
- * @param vector The vector to iterate
- * @return The end iterator
- */
-template< class T >
-typename T::Iterator end( T& vector )
-{
- return vector.End();
-}
-
-} // namespace Dali
-
-#endif /* DALI_VECTOR_DEVEL_H */
// INTERNAL INCLUDES
#include <dali/public-api/common/dali-common.h>
#include <dali/public-api/common/dali-vector.h>
-#include <dali/devel-api/common/dali-vector-devel.h>
namespace Dali
{
devel_api_core_common_header_files = \
$(devel_api_src_dir)/common/circular-queue.h \
- $(devel_api_src_dir)/common/dali-vector-devel.h \
$(devel_api_src_dir)/common/hash.h \
$(devel_api_src_dir)/common/map-wrapper.h \
$(devel_api_src_dir)/common/owner-container.h \
// INTERNAL INCLUDES
#include <dali/public-api/common/dali-vector.h>
-#include <dali/devel-api/common/dali-vector-devel.h>
namespace Dali
{
#define __DALI_VECTOR_H__
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 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.
}
/**
+ * Support for C++11 Range-based for loop: for( item : container ).
+ * @SINCE_1_2.60
+ * @return The start iterator
+ */
+ Iterator begin() const
+ {
+ return Begin();
+ }
+
+ /**
+ * Support for C++11 Range-based for loop: for( item : container ).
+ * @SINCE_1_2.60
+ * @return The end iterator
+ */
+ Iterator end() const
+ {
+ return End();
+ }
+
+ /**
* @brief Subscript operator.
* @SINCE_1_0.0
* @param[in] index Index of the element