//
-// Open Service Platform
// Copyright (c) 2013 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
/**
* @class StlConverter
- * @brief This class provides static methods to convert %Tizen Collection to STL Container and vice versa.
+ * @brief This class provides static methods to convert %Tizen %Collection to STL Container and vice versa.
*
* @since 2.1
*
* @return An IteratorT instance
* @param[in] pList A pointer to the IList instance to convert
*/
- template < typename T >
+ template< typename T >
static IteratorT< T > GetBeginIterator(const IList* pList)
{
return IteratorT< T >(*pList);
* @return An IteratorT instance
* @param[in] pList A pointer to the IList instance to convert
*/
- template < typename T >
+ template< typename T >
static IteratorT< T > GetEndIterator(const IList* pList)
{
return IteratorT< T >(*pList, true);
* @return A RandomIteratorT instance
* @param[in] pList A pointer to the IList instance to convert
*/
- template < typename T >
+ template< typename T >
static RandomIteratorT< T > GetBeginRandomIterator(const IList* pList)
{
return RandomIteratorT< T >(*pList, 0);
* @return A RandomIteratorT instance
* @param[in] pList A pointer to the IList instance to convert
*/
- template < typename T >
+ template< typename T >
static RandomIteratorT< T > GetEndRandomIterator(const IList* pList)
{
return RandomIteratorT< T >(*pList, pList->GetCount());
* @return A PairIteratorT instance
* @param[in] pMap A pointer to the IMap instance to convert
*/
- template < typename K, typename V >
+ template< typename K, typename V >
static PairIteratorT< K, V > GetBeginPairIterator(const IMap* pMap)
{
return PairIteratorT< K, V >(*pMap);
* @return A PairIteratorT instance
* @param[in] pMap A pointer to the IMap instance to convert
*/
- template < typename K, typename V >
+ template< typename K, typename V >
static PairIteratorT< K, V > GetEndPairIterator(const IMap* pMap)
{
return PairIteratorT< K, V >(*pMap, true);
* @return A PairIteratorT instance
* @param[in] pMultiMap A pointer to the IMultiMap instance to convert
*/
- template < typename K, typename V >
+ template< typename K, typename V >
static PairIteratorT< K, V > GetBeginPairIterator(const IMultiMap* pMultiMap)
{
return PairIteratorT< K, V >(*pMultiMap);
* @return A PairIteratorT instance
* @param[in] pMultiMap A pointer to the IMultiMap instance to convert
*/
- template < typename K, typename V >
+ template< typename K, typename V >
static PairIteratorT< K, V > GetEndPairIterator(const IMultiMap* pMultiMap)
{
return PairIteratorT< K, V >(*pMultiMap, true);
* @see SingleObjectDeleter()
* @see ArrayDeleter()
*/
- template < typename FwdIter >
+ template< typename FwdIter >
static std::unique_ptr< ArrayList > GetArrayListN(FwdIter begin, FwdIter end, DeleterFunctionType deleter = NoOpDeleter)
{
std::unique_ptr< ArrayList > pArrayList(new (std::nothrow) ArrayList(deleter));
* @see SingleObjectDeleter()
* @see ArrayDeleter()
*/
- template < typename FwdIter >
+ template< typename FwdIter >
static std::unique_ptr< LinkedList > GetLinkedListN(FwdIter begin, FwdIter end, DeleterFunctionType deleter = NoOpDeleter)
{
std::unique_ptr< LinkedList > pLinkedList(new (std::nothrow) LinkedList(deleter));
* @see SingleObjectDeleter()
* @see ArrayDeleter()
*/
- template < typename PairedFwdIter >
+ template< typename PairedFwdIter >
static std::unique_ptr< HashMap > GetHashMapN(PairedFwdIter begin, PairedFwdIter end, DeleterFunctionType deleter = NoOpDeleter)
{
std::unique_ptr< HashMap > pMap(new (std::nothrow) HashMap(deleter));
* @see SingleObjectDeleter()
* @see ArrayDeleter()
*/
- template < typename PairedFwdIter >
+ template< typename PairedFwdIter >
static std::unique_ptr< MultiHashMap > GetMultiHashMapN(PairedFwdIter begin, PairedFwdIter end, DeleterFunctionType deleter = NoOpDeleter)
{
std::unique_ptr< MultiHashMap > pMultiMap(new (std::nothrow) MultiHashMap(deleter));
// @return A reference to the %StlConverter instance
// @param[in] rhs A reference to the %StlConverter instance
//
- StlConverter& operator=(const StlConverter& rhs);
+ StlConverter& operator =(const StlConverter& rhs);
};
}}} // Tizen::Base::Collection