2 // Copyright (c) 2013 Samsung Electronics Co., Ltd.
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
19 * @brief This is the header file for the %_DataSetImpl class.
21 * This header file contains the declarations of the %_DataSetImpl class.
24 #ifndef _FIO_INTERNAL_DATASET_IMPL_H_
25 #define _FIO_INTERNAL_DATASET_IMPL_H_
27 #include <FIoDataSet.h>
28 #include <FBaseObject.h>
29 #include <FBaseColArrayList.h>
30 #include <FBaseColLinkedList.h>
31 #include <FOspConfig.h>
33 namespace Tizen { namespace Io
37 class DataSetEnumerator;
40 : public Tizen::Base::Object
46 virtual ~_DataSetImpl(void);
48 result Construct(const Tizen::Base::Collection::IList& columnNames);
50 DataRow* CreateDataRowN(void);
52 DataSetEnumerator* GetDataSetEnumeratorN(void);
54 DataSet* CloneN(void) const;
56 virtual bool Equals(const Tizen::Base::Object& obj) const;
58 virtual int GetHashCode(void) const;
60 static _DataSetImpl* GetInstance(DataSet& dataSet);
62 static const _DataSetImpl* GetInstance(const DataSet& dataSet);
65 _DataSetImpl(_DataSetImpl& dataSetImpl);
67 _DataSetImpl& operator =(const _DataSetImpl& dataSetImpl);
72 Tizen::Base::Collection::LinkedList* __pDataSet;
73 Tizen::Base::Collection::ArrayList* __pColumnList;
74 Tizen::Base::Collection::ArrayList* __pColumnTypeList;
75 Tizen::Base::Collection::LinkedList __enumImplList;
76 Tizen::Base::Collection::LinkedList __rowImplList;
81 #endif //_FIO_INTERNAL_DATASET_IMPL_H_