-//\r
-// Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
-* @file FIoDataRow.h\r
-* @brief This is the header file for the %DataRow class.\r
-*\r
-* This header file contains the declarations of the %DataRow class.\r
-*/\r
-\r
-#ifndef _FIO_DATA_ROW_H_\r
-#define _FIO_DATA_ROW_H_\r
-\r
-#include <FBaseObject.h>\r
-#include <FBaseByteBuffer.h>\r
-#include <FBaseDateTime.h>\r
-\r
-namespace Tizen { namespace Io\r
-{\r
-\r
-/**\r
-* @class DataRow\r
-\r
-* @brief This class provides methods to create a row in in-memory table.\r
-*\r
-* @since 2.1\r
-*\r
-* @final This class is not intended for extension.\r
-*\r
-* The %DataRow class provides methods to create a row in in-memory table.\r
-*\r
-* @see Tizen::Io::DataSet\r
-*/\r
-class _OSP_EXPORT_ DataRow\r
- : public Tizen::Base::Object\r
-{\r
-\r
-public:\r
- /**\r
- * This destructor overrides Tizen::Base::Object::~Object().\r
- *\r
- * @since 2.1\r
- */\r
- virtual ~DataRow(void);\r
-\r
- /**\r
- * Sets a Tizen::Base::ByteBuffer value to the column whose index is specified.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @param[in] columnIndex The index of the column whose value is set @n\r
- * The column index starts from 0.\r
- * @param[in] pValue The value to set @n\r
- * The specified @c pValue is a pointer to user-provided Tizen::Base::ByteBuffer type buffer.\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_ARG Either of the following conditions has occurred: @n\r
- * - The specified @c columnIndex is out of range.\r
- * - The specified @c pValue is @c null.\r
- * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.\r
- * @remarks This method performs a shallow copy. It copies only the pointer; not the element itself. @n\r
- * The platform will take the ownership of @c pValue after calling this method.\r
- */\r
- result SetBlobAt(int columnIndex, Tizen::Base::ByteBuffer* pValue);\r
-\r
-\r
- /**\r
- * Sets a Tizen::Base::DateTime value to the column whose index is specified.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @param[in] columnIndex The index of the column whose value is set @n\r
- * The column index starts from 0.\r
- * @param[in] value The value to set\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_ARG The specified @c columnIndex is out of range.\r
- * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.\r
- */\r
- result SetDateTimeAt(int columnIndex, const Tizen::Base::DateTime& value);\r
-\r
-\r
- /**\r
- * Sets a @c double value to the column whose index is specified.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @param[in] columnIndex The index of the column whose value is set @n\r
- * The column index starts from 0.\r
- * @param[in] value The value to set\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_ARG The specified @c columnIndex is out of range.\r
- * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.\r
- */\r
- result SetDoubleAt(int columnIndex, double value);\r
-\r
- /**\r
- * Sets an @c int value to the column whose index is specified.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @param[in] columnIndex The index of the column whose value is set @n\r
- * The column index starts from 0.\r
- * @param[in] value The value to set\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_ARG The specified @c columnIndex is out of range.\r
- * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.\r
- */\r
- result SetIntAt(int columnIndex, int value);\r
-\r
- /**\r
- * Sets a @c long @c long value to the column whose index is specified.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @param[in] columnIndex The index of the column whose value is set @n\r
- * The column index starts from 0.\r
- * @param[in] value The value to set\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_ARG The specified @c columnIndex is out of range.\r
- * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.\r
- */\r
- result SetInt64At(int columnIndex, long long value);\r
-\r
- /**\r
- * Sets a Tizen::Base::String value to the column whose index is specified.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @param[in] columnIndex The index of the column whose value is set @n\r
- * The column index starts from 0.\r
- * @param[in] value The value to set\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_ARG The specified @c columnIndex is out of range.\r
- * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.\r
- */\r
- result SetStringAt(int columnIndex, const Tizen::Base::String& value);\r
-\r
-private:\r
- //\r
- // This default constructor is intentionally declared as private so that only the platform can create an instance.\r
- //\r
- // @since 2.1\r
- //\r
- DataRow(void);\r
-\r
- //\r
- // The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.\r
- //\r
- // @since 2.1\r
- //\r
- DataRow(const DataRow& rhs);\r
-\r
- //\r
- // The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.\r
- //\r
- // @since 2.1\r
- //\r
- DataRow& operator =(const DataRow& rhs);\r
-\r
- class _DataRowImpl* __pDataRowImpl;\r
- friend class _DataRowImpl;\r
-\r
-}; // DataRow\r
-\r
-}} // Tizen::Io\r
-\r
-#endif // _FIO_DATA_ROW_H_\r
+//
+// Copyright (c) 2013 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.
+//
+
+/**
+* @file FIoDataRow.h
+* @brief This is the header file for the %DataRow class.
+*
+* This header file contains the declarations of the %DataRow class.
+*/
+
+#ifndef _FIO_DATA_ROW_H_
+#define _FIO_DATA_ROW_H_
+
+#include <FBaseObject.h>
+#include <FBaseByteBuffer.h>
+#include <FBaseDateTime.h>
+
+namespace Tizen { namespace Io
+{
+
+/**
+* @class DataRow
+
+* @brief This class provides methods to create a row in in-memory table.
+*
+* @since 2.1
+*
+* @final This class is not intended for extension.
+*
+* The %DataRow class provides methods to create a row in in-memory table.
+*
+* @see Tizen::Io::DataSet
+*/
+class _OSP_EXPORT_ DataRow
+ : public Tizen::Base::Object
+{
+
+public:
+ /**
+ * This destructor overrides Tizen::Base::Object::~Object().
+ *
+ * @since 2.1
+ */
+ virtual ~DataRow(void);
+
+ /**
+ * Sets a Tizen::Base::ByteBuffer value to the column whose index is specified.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] columnIndex The index of the column whose value is set @n
+ * The column index starts from 0.
+ * @param[in] pValue The value to set @n
+ * The specified @c pValue is a pointer to user-provided Tizen::Base::ByteBuffer type buffer.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_ARG Either of the following conditions has occurred: @n
+ * - The specified @c columnIndex is out of range.
+ * - The specified @c pValue is @c null.
+ * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.
+ * @remarks This method performs a shallow copy. It copies only the pointer; not the element itself. @n
+ * The platform will take the ownership of @c pValue after calling this method.
+ */
+ result SetBlobAt(int columnIndex, Tizen::Base::ByteBuffer* pValue);
+
+
+ /**
+ * Sets a Tizen::Base::DateTime value to the column whose index is specified.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] columnIndex The index of the column whose value is set @n
+ * The column index starts from 0.
+ * @param[in] value The value to set
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_ARG The specified @c columnIndex is out of range.
+ * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.
+ * @remarks Tizen::Io::DbColumnType of the specified @c value is DB_COLUMNTYPE_TEXT.
+ */
+ result SetDateTimeAt(int columnIndex, const Tizen::Base::DateTime& value);
+
+
+ /**
+ * Sets a @c double value to the column whose index is specified.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] columnIndex The index of the column whose value is set @n
+ * The column index starts from 0.
+ * @param[in] value The value to set
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_ARG The specified @c columnIndex is out of range.
+ * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.
+ */
+ result SetDoubleAt(int columnIndex, double value);
+
+ /**
+ * Sets an @c int value to the column whose index is specified.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] columnIndex The index of the column whose value is set @n
+ * The column index starts from 0.
+ * @param[in] value The value to set
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_ARG The specified @c columnIndex is out of range.
+ * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.
+ */
+ result SetIntAt(int columnIndex, int value);
+
+ /**
+ * Sets a @c long @c long value to the column whose index is specified.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] columnIndex The index of the column whose value is set @n
+ * The column index starts from 0.
+ * @param[in] value The value to set
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_ARG The specified @c columnIndex is out of range.
+ * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.
+ */
+ result SetInt64At(int columnIndex, long long value);
+
+ /**
+ * Sets a Tizen::Base::String value to the column whose index is specified.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] columnIndex The index of the column whose value is set @n
+ * The column index starts from 0.
+ * @param[in] value The value to set
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_ARG The specified @c columnIndex is out of range.
+ * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.
+ */
+ result SetStringAt(int columnIndex, const Tizen::Base::String& value);
+
+private:
+ //
+ // This default constructor is intentionally declared as private so that only the platform can create an instance.
+ //
+ // @since 2.1
+ //
+ DataRow(void);
+
+ //
+ // The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
+ //
+ // @since 2.1
+ //
+ DataRow(const DataRow& rhs);
+
+ //
+ // The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
+ //
+ // @since 2.1
+ //
+ DataRow& operator =(const DataRow& rhs);
+
+ class _DataRowImpl* __pDataRowImpl;
+ friend class _DataRowImpl;
+
+}; // DataRow
+
+}} // Tizen::Io
+
+#endif // _FIO_DATA_ROW_H_
-//\r
-// Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
-* @file FIoDataSet.h\r
-* @brief This is the header file for the %DataSet class.\r
-*\r
-* This header file contains the declarations of the %DataSet class.\r
-*/\r
-\r
-#ifndef _FIO_DATA_SET_H_\r
-#define _FIO_DATA_SET_H_\r
-\r
-#include <FBaseObject.h>\r
-#include <FBaseColIList.h>\r
-#include <FIoDataRow.h>\r
-#include <FIoDataSetEnumerator.h>\r
-\r
-namespace Tizen { namespace Io\r
-{\r
-\r
-/**\r
-* @class DataSet\r
-* @brief This class provides methods to manipulate in-memory table.\r
-*\r
-* @since 2.1\r
-*\r
-* @final This class is not intended for extension.\r
-*\r
-* The %DataSet class provides methods to manipulate in-memory table.\r
-*/\r
-class _OSP_EXPORT_ DataSet\r
- : public Tizen::Base::Object\r
-{\r
-\r
-public:\r
- /**\r
- * The object is not fully constructed after this constructor is called. For full construction,\r
- * the Construct() method must be called right after calling this constructor.\r
- *\r
- * @since 2.1\r
- */\r
- DataSet(void);\r
-\r
- /**\r
- * This destructor overrides Tizen::Base::Object::~Object().\r
- *\r
- * @since 2.1\r
- */\r
- virtual ~DataSet(void);\r
-\r
- /**\r
- * Creates in-memory table.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @param[in] columnNames The list of column names to create @n\r
- * The object type in the specified list should be String.\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_ARG The specified @c columnNames has no element.\r
- */\r
- result Construct(const Tizen::Base::Collection::IList& columnNames);\r
-\r
- /**\r
- * Creates a row in the table.\r
- *\r
- * @since 2.1\r
- *\r
- * @return A pointer to the DataRow instance, @n\r
- * else @c null if the memory is insufficient\r
- * @remarks The column type is decided by the type of each element inserted in first row.\r
- * If a specific column element on the first row is not inserted, then the column's type is @c DB_COLUMNTYPE_NULL\r
- * In that case, when a new column element is added later,\r
- * then the column's type will be changed according to the new element.\r
- */\r
- DataRow* CreateDataRowN(void);\r
-\r
- /**\r
- * Gets a table enumerator.\r
- *\r
- * @since 2.1\r
- *\r
- * @return A pointer to the DataSetEnumerator instance, @n\r
- * else @c null if the memory is insufficient\r
- */\r
- DataSetEnumerator* GetDataSetEnumeratorN(void);\r
-\r
-\r
- /**\r
- * Gets a copy of this instance.\r
- *\r
- * @since 2.1\r
- *\r
- * @return A pointer to the copy of the %DataSet instance, @n\r
- * else @c null if the memory is insufficient\r
- */\r
- DataSet* CloneN(void) const;\r
-\r
- /**\r
- * Checks whether the value of a specified instance of Tizen::Base::Object is equal to the value of a current instance of\r
- * %DataSet.\r
- *\r
- * @since 2.1\r
- *\r
- * @return @c true if the value of the specified instance of Tizen::Base::Object is equal to the value of the current\r
- * instance of %DataSet, @n\r
- * else @c false\r
- * @param[in] obj An instance of Tizen::Base::Object to compare\r
- * @remarks This method returns @c false if the specified @c obj is not a %DataSet instance.\r
- */\r
- virtual bool Equals(const Tizen::Base::Object& obj) const;\r
-\r
- /**\r
- * Gets the hash value of a current instance.\r
- *\r
- * @since 2.1\r
- *\r
- * @return The hash value of the current instance\r
- */\r
- virtual int GetHashCode(void) const;\r
-\r
-private:\r
- //\r
- // The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.\r
- //\r
- // @since 2.1\r
- //\r
-\r
- DataSet(const DataSet& value);\r
-\r
- //\r
- // The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.\r
- //\r
- // @since 2.1\r
- //\r
- DataSet& operator =(const DataSet& rhs);\r
-\r
- class _DataSetImpl* __pDataSetImpl;\r
- friend class _DataSetImpl;\r
-\r
-}; // DataSet\r
-\r
-}} // Tizen::Io\r
-\r
-#endif // _FIO_DATA_SET_H_\r
+//
+// Copyright (c) 2013 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.
+//
+
+/**
+* @file FIoDataSet.h
+* @brief This is the header file for the %DataSet class.
+*
+* This header file contains the declarations of the %DataSet class.
+*/
+
+#ifndef _FIO_DATA_SET_H_
+#define _FIO_DATA_SET_H_
+
+#include <FBaseObject.h>
+#include <FBaseColIList.h>
+#include <FIoDataRow.h>
+#include <FIoDataSetEnumerator.h>
+
+namespace Tizen { namespace Io
+{
+
+/**
+* @class DataSet
+* @brief This class provides methods to manipulate in-memory table.
+*
+* @since 2.1
+*
+* @final This class is not intended for extension.
+*
+* The %DataSet class provides methods to manipulate in-memory table.
+*/
+class _OSP_EXPORT_ DataSet
+ : public Tizen::Base::Object
+{
+
+public:
+ /**
+ * The object is not fully constructed after this constructor is called. For full construction,
+ * the Construct() method must be called right after calling this constructor.
+ *
+ * @since 2.1
+ */
+ DataSet(void);
+
+ /**
+ * This destructor overrides Tizen::Base::Object::~Object().
+ *
+ * @since 2.1
+ */
+ virtual ~DataSet(void);
+
+ /**
+ * Creates in-memory table.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] columnNames The list of column names to create @n
+ * The object type in the specified list should be String.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_ARG The specified @c columnNames has no element.
+ */
+ result Construct(const Tizen::Base::Collection::IList& columnNames);
+
+ /**
+ * Creates a row in the table.
+ *
+ * @since 2.1
+ *
+ * @return A pointer to the DataRow instance, @n
+ * else @c null if the memory is insufficient
+ * @remarks The column type is decided by the type of each element inserted in first row.
+ * If a specific column element on the first row is not inserted, then the column's type is @c DB_COLUMNTYPE_NULL
+ * In that case, when a new column element is added later,
+ * then the column's type will be changed according to the new element.
+ */
+ DataRow* CreateDataRowN(void);
+
+ /**
+ * Gets a table enumerator.
+ *
+ * @since 2.1
+ *
+ * @return A pointer to the DataSetEnumerator instance, @n
+ * else @c null if the memory is insufficient
+ */
+ DataSetEnumerator* GetDataSetEnumeratorN(void);
+
+
+ /**
+ * Gets a copy of this instance.
+ *
+ * @since 2.1
+ *
+ * @return A pointer to the copy of the %DataSet instance, @n
+ * else @c null if the memory is insufficient
+ */
+ DataSet* CloneN(void) const;
+
+ /**
+ * Checks whether the value of a specified instance of Tizen::Base::Object is equal to the value of a current instance of
+ * %DataSet.
+ *
+ * @since 2.1
+ *
+ * @return @c true if the value of the specified instance of Tizen::Base::Object is equal to the value of the current
+ * instance of %DataSet, @n
+ * else @c false
+ * @param[in] obj An instance of Tizen::Base::Object to compare
+ * @remarks This method returns @c false if the specified @c obj is not a %DataSet instance.
+ */
+ virtual bool Equals(const Tizen::Base::Object& obj) const;
+
+ /**
+ * Gets the hash value of a current instance.
+ *
+ * @since 2.1
+ *
+ * @return The hash value of the current instance
+ */
+ virtual int GetHashCode(void) const;
+
+private:
+ //
+ // The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
+ //
+ // @since 2.1
+ //
+
+ DataSet(const DataSet& value);
+
+ //
+ // The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
+ //
+ // @since 2.1
+ //
+ DataSet& operator =(const DataSet& rhs);
+
+ class _DataSetImpl* __pDataSetImpl;
+ friend class _DataSetImpl;
+
+}; // DataSet
+
+}} // Tizen::Io
+
+#endif // _FIO_DATA_SET_H_
-//\r
-// Copyright (c) 2013 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
-* @file FIoDataSetEnumerator.h\r
-* @brief This is the header file for the %DataSetEnumerator class.\r
-*\r
-* This header file contains the declarations of the %DataSetEnumerator class.\r
-*/\r
-\r
-#ifndef _FIO_DATA_SET_ENUMERATOR_H_\r
-#define _FIO_DATA_SET_ENUMERATOR_H_\r
-\r
-#include <FBaseObject.h>\r
-#include <FBaseString.h>\r
-#include <FBaseDateTime.h>\r
-#include <FIoIDbEnumerator.h>\r
-#include <FIoDbTypes.h>\r
-\r
-namespace Tizen { namespace Base\r
-{\r
-class String;\r
-class ByteBuffer;\r
-class DateTime;\r
-}}\r
-\r
-namespace Tizen { namespace Io\r
-{\r
-\r
-/**\r
-* @class DataSetEnumerator\r
-* @brief This class provides methods for navigating the set of data in in-memory table.\r
-*\r
-* @since 2.1\r
-*\r
-* @final This class is not intended for extension.\r
-*\r
-* The %DataSetEnumerator class provides methods for navigating the set of data in in-memory table.\r
-*\r
-* @see Tizen::Io::DataSet\r
-*/\r
-class _OSP_EXPORT_ DataSetEnumerator\r
- : public Tizen::Base::Object\r
- , public Tizen::Io::IDbEnumerator\r
-{\r
-\r
-public:\r
- /**\r
- * This destructor overrides Tizen::Base::Object::~Object().\r
- *\r
- * @since 2.1\r
- */\r
- virtual ~DataSetEnumerator(void);\r
-\r
- /**\r
- * Moves the enumerator to the next position.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_OUT_OF_RANGE The enumerator has reached out of the data set.\r
- * @exception E_OBJECT_LOCKED The DataSet instance is locked.\r
- * @exception E_INVALID_FORMAT The in-memory data is malformed.\r
- * @exception E_IO Either of the following conditions has occurred: @n\r
- * - An unexpected device failure has occurred as the media ejected suddenly. @n\r
- * - %File corruption is detected.\r
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.\r
- * @remarks After getting this %DataSetEnumerator instance,\r
- * if this method is called first, the cursor goes to the first position.\r
- * @see Tizen::Io::DataSetEnumerator::MovePrevious()\r
- * @see Tizen::Io::DataSetEnumerator::MoveFirst()\r
- * @see Tizen::Io::DataSetEnumerator::MoveLast()\r
- */\r
- virtual result MoveNext(void);\r
-\r
-\r
- /**\r
- * Moves the enumerator to the previous position.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_OUT_OF_RANGE The enumerator has reached out of the data set.\r
- * @exception E_OBJECT_LOCKED The DataSet instance is locked.\r
- * @exception E_INVALID_FORMAT The in-memory data is malformed.\r
- * @exception E_IO Either of the following conditions has occurred: @n\r
- * - An unexpected device failure has occurred as the media ejected suddenly. @n\r
- * - %File corruption is detected.\r
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.\r
- * @see Tizen::Io::DataSetEnumerator::MoveNext()\r
- * @see Tizen::Io::DataSetEnumerator::MoveFirst()\r
- * @see Tizen::Io::DataSetEnumerator::MoveLast()\r
- */\r
- virtual result MovePrevious(void);\r
-\r
- /**\r
- * Moves the enumerator to the first position.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_OBJECT_LOCKED The DataSet instance is locked.\r
- * @exception E_INVALID_FORMAT The in-memory data is malformed.\r
- * @exception E_IO Either of the following conditions has occurred: @n\r
- * - An unexpected device failure has occurred as the media ejected suddenly. @n\r
- * - %File corruption is detected.\r
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.\r
- * @see Tizen:Io::DataSetEnumerator::MoveNext()\r
- * @see Tizen:Io::DataSetEnumerator::MovePrevious()\r
- * @see Tizen:Io::DataSetEnumerator::MoveLast()\r
- */\r
- virtual result MoveFirst(void);\r
-\r
- /**\r
- * Moves the enumerator to the last position.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_OBJECT_LOCKED The DataSet instance is locked.\r
- * @exception E_INVALID_FORMAT The in-memory data is malformed.\r
- * @exception E_IO Either of the following conditions has occurred: @n\r
- * - An unexpected device failure has occurred as the media ejected suddenly. @n\r
- * - %File corruption is detected.\r
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.\r
- * @see Tizen:Io::DataSetEnumerator::MoveNext()\r
- * @see Tizen:Io::DataSetEnumerator::MovePrevious()\r
- * @see Tizen:Io::DataSetEnumerator::MoveFirst()\r
- */\r
- virtual result MoveLast(void);\r
-\r
- /**\r
- * Resets the calling %DataSetEnumerator instance back to its initial state.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_OBJECT_LOCKED The DataSet instance is locked.\r
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.\r
- * @remarks After this method is called, if MoveNext() is called the cursor goes to the first position.\r
- */\r
- virtual result Reset(void);\r
-\r
- /**\r
- * Gets an @c int value from the column whose index is specified.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @param[in] columnIndex The index of the column whose value is required\r
- * @param[in,out] value The integer value obtained from the specified column\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_INVALID_ARG The specified @c columnIndex is out of range.\r
- * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.\r
- */\r
- virtual result GetIntAt(int columnIndex, int& value) const;\r
-\r
- /**\r
- * Gets a @c long @c long value from the column whose index is specified.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @param[in] columnIndex The index of the column whose value is required\r
- * @param[in,out] value The 64-bit integer value obtained from the specified column\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_INVALID_ARG The specified @c columnIndex is out of range.\r
- * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.\r
- */\r
- virtual result GetInt64At(int columnIndex, long long& value) const;\r
-\r
- /**\r
- * Gets a @c double value from the column whose index is specified.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @param[in] columnIndex The index of the column whose value is required\r
- * @param[in,out] value The double value obtained from the specified column\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_INVALID_ARG The specified @c columnIndex is out of range.\r
- * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.\r
- */\r
- virtual result GetDoubleAt(int columnIndex, double& value) const;\r
-\r
- /**\r
- * Gets a Tizen::Base::String value from the column whose index is specified.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @param[in] columnIndex The index of the column whose value is required\r
- * @param[in,out] value The Tizen::Base::String value obtained from the specified column\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_INVALID_ARG The specified @c columnIndex is out of range.\r
- * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.\r
- * @exception E_INVALID_ENCODING_RANGE The string conversion has failed due to invalid encoding range.\r
- */\r
- virtual result GetStringAt(int columnIndex, Tizen::Base::String& value) const;\r
-\r
- /**\r
- * Gets a Tizen::Base::ByteBuffer value from the column whose index is specified.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @param[in] columnIndex The index of the column whose value is required\r
- * @param[in,out] value The Tizen::Base::ByteBuffer value obtained from the specified column @n\r
- * The %Tizen::Base::ByteBuffer will be filled from the current position and data copy\r
- * will be continued until %Tizen::Base::ByteBuffer limitation is reached or no more\r
- * blob data remains.\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_INVALID_ARG The specified @c columnIndex is out of range.\r
- * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.\r
- * @exception E_OVERFLOW The specified Tizen::Base::ByteBuffer @c value is insufficient to save the data.\r
- * @see Tizen::Base::ByteBuffer\r
- */\r
- virtual result GetBlobAt(int columnIndex, Tizen::Base::ByteBuffer& value) const;\r
-\r
- /**\r
- * Gets a blob data from the column whose index is specified.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @param[in] columnIndex The index of the column whose value is required\r
- * @param[in,out] buffer The user-provided buffer used to receive the blob data\r
- * @param[in] size The maximum buffer length in bytes\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_INVALID_ARG Either the specified @c columnIndex is out of range or the specified @c size is invalid.\r
- * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.\r
- * @exception E_OVERFLOW The specified @c buffer is insufficient to save the data.\r
- */\r
- virtual result GetBlobAt(int columnIndex, void* buffer, int size) const;\r
-\r
- /**\r
- * Gets a Tizen::Base::DateTime value from the column whose index is specified.\r
- *\r
- * @since 2.1\r
- *\r
- * @return An error code\r
- * @param[in] columnIndex The index of the column whose value is required\r
- * @param[in,out] value The Tizen::Base::DateTime value obtained from the specified column\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_INVALID_ARG The specified @c columnIndex is out of range.\r
- * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.\r
- * @exception E_INVALID_FORMAT The date is not correctly formatted, or the method is trying to access column of type String. @n\r
- * The date format should be 'mm/dd/yyyy hh:mm:ss'.\r
- * @exception E_OUT_OF_RANGE Either the year, month, day, hour, minute, or second value is out of range,\r
- * or the method is trying to access a column of type String.\r
- */\r
- virtual result GetDateTimeAt(int columnIndex, Tizen::Base::DateTime& value) const;\r
-\r
- /**\r
- * Gets the number of columns for this enumerator.\r
- *\r
- * @since 2.1\r
- *\r
- * @return The number of columns in the calling enumerator, @n\r
- * else @c -1 if an exception occurs\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @remarks This method must be called after MoveNext(), MoveFirst(), or MoveLast(). @n\r
- * The specific error code can be accessed using the GetLastResult() method.\r
- */\r
- virtual int GetColumnCount(void) const;\r
-\r
- /**\r
- * Gets the type of the column indicated by a specified index.\r
- *\r
- * @since 2.1\r
- *\r
- * @return The type of column, @n\r
- * else @c DB_COLUMNTYPE_UNDEFINED if an exception occurs\r
- * @param[in] columnIndex The index of the destination column\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_INVALID_ARG The specified @c columnIndex is out of range.\r
- * @remarks This method must be called after MoveNext(), MoveFirst(), or MoveLast(). @n\r
- * Currently, @c DB_COLUMNTYPE_INT is returned for a 64-bit integer. @n\r
- * The specific error code can be accessed using the GetLastResult() method.\r
- */\r
- virtual DbColumnType GetColumnType(int columnIndex) const;\r
-\r
- /**\r
- * Gets the name of the column indicated by a specified index.\r
- *\r
- * @since 2.1\r
- *\r
- * @return The name of the column, @n\r
- * else an empty string if an exception occurs\r
- * @param[in] columnIndex The index of the destination column\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_INVALID_ARG The specified @c columnIndex is out of range.\r
- * @exception E_INVALID_ENCODING_RANGE The string conversion has failed due to invalid encoding range.\r
- * @remarks This method must be called after MoveNext(), MoveFirst(), or MoveLast(). @n\r
- * The specific error code can be accessed using the GetLastResult() method.\r
- */\r
- virtual Tizen::Base::String GetColumnName(int columnIndex) const;\r
-\r
- /**\r
- * Gets the size of data in bytes.\r
- *\r
- * @since 2.1\r
- *\r
- * @return The size of the data in bytes, @n\r
- * else @c -1 if an exception occurs\r
- * @param[in] columnIndex The index of the destination column\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.\r
- * @exception E_INVALID_ARG The specified @c columnIndex is out of range.\r
- * @remarks This method must be called after MoveNext(), MoveFirst(), or MoveLast(). @n\r
- * If the destination column is of type String, this method returns the @c byte length excluding\r
- * the @c null terminator character. @n\r
- * The specific error code can be accessed using the GetLastResult() method.\r
- */\r
- virtual int GetColumnSize(int columnIndex) const;\r
-\r
-private:\r
- //\r
- // This default constructor is intentionally declared as private so that only the platform can create an instance.\r
- //\r
- // @since 2.1\r
- //\r
- DataSetEnumerator(void);\r
-\r
- //\r
- // The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.\r
- //\r
- // @since 2.1\r
- //\r
- DataSetEnumerator(const DataSetEnumerator& rhs);\r
-\r
- //\r
- // The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.\r
- // @since 2.1\r
- //\r
- DataSetEnumerator& operator =(const DataSetEnumerator& rhs);\r
-\r
- class _DataSetEnumeratorImpl* __pDataSetEnumeratorImpl;\r
- friend class _DataSetEnumeratorImpl;\r
-\r
-}; // DataSetEnumerator\r
-\r
-}} // Tizen::Io\r
-\r
-#endif // _FIO_DATA_SET_ENUMERATOR_H_\r
+//
+// Copyright (c) 2013 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.
+//
+
+/**
+* @file FIoDataSetEnumerator.h
+* @brief This is the header file for the %DataSetEnumerator class.
+*
+* This header file contains the declarations of the %DataSetEnumerator class.
+*/
+
+#ifndef _FIO_DATA_SET_ENUMERATOR_H_
+#define _FIO_DATA_SET_ENUMERATOR_H_
+
+#include <FBaseObject.h>
+#include <FBaseString.h>
+#include <FBaseDateTime.h>
+#include <FIoIDbEnumerator.h>
+#include <FIoDbTypes.h>
+
+namespace Tizen { namespace Base
+{
+class String;
+class ByteBuffer;
+class DateTime;
+}}
+
+namespace Tizen { namespace Io
+{
+
+/**
+* @class DataSetEnumerator
+* @brief This class provides methods for navigating the set of data in in-memory table.
+*
+* @since 2.1
+*
+* @final This class is not intended for extension.
+*
+* The %DataSetEnumerator class provides methods for navigating the set of data in in-memory table.
+*
+* @see Tizen::Io::DataSet
+*/
+class _OSP_EXPORT_ DataSetEnumerator
+ : public Tizen::Base::Object
+ , public Tizen::Io::IDbEnumerator
+{
+
+public:
+ /**
+ * This destructor overrides Tizen::Base::Object::~Object().
+ *
+ * @since 2.1
+ */
+ virtual ~DataSetEnumerator(void);
+
+ /**
+ * Moves the enumerator to the next position.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_OUT_OF_RANGE The enumerator has reached out of the data set.
+ * @exception E_OBJECT_LOCKED The DataSet instance is locked.
+ * @exception E_INVALID_FORMAT The in-memory data is malformed.
+ * @exception E_IO Either of the following conditions has occurred: @n
+ * - An unexpected device failure has occurred as the media ejected suddenly. @n
+ * - %File corruption is detected.
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @remarks After getting this %DataSetEnumerator instance,
+ * if this method is called first, the cursor goes to the first position.
+ * @see Tizen::Io::DataSetEnumerator::MovePrevious()
+ * @see Tizen::Io::DataSetEnumerator::MoveFirst()
+ * @see Tizen::Io::DataSetEnumerator::MoveLast()
+ */
+ virtual result MoveNext(void);
+
+
+ /**
+ * Moves the enumerator to the previous position.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_OUT_OF_RANGE The enumerator has reached out of the data set.
+ * @exception E_OBJECT_LOCKED The DataSet instance is locked.
+ * @exception E_INVALID_FORMAT The in-memory data is malformed.
+ * @exception E_IO Either of the following conditions has occurred: @n
+ * - An unexpected device failure has occurred as the media ejected suddenly. @n
+ * - %File corruption is detected.
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @see Tizen::Io::DataSetEnumerator::MoveNext()
+ * @see Tizen::Io::DataSetEnumerator::MoveFirst()
+ * @see Tizen::Io::DataSetEnumerator::MoveLast()
+ */
+ virtual result MovePrevious(void);
+
+ /**
+ * Moves the enumerator to the first position.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_OBJECT_LOCKED The DataSet instance is locked.
+ * @exception E_INVALID_FORMAT The in-memory data is malformed.
+ * @exception E_IO Either of the following conditions has occurred: @n
+ * - An unexpected device failure has occurred as the media ejected suddenly. @n
+ * - %File corruption is detected.
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @see Tizen:Io::DataSetEnumerator::MoveNext()
+ * @see Tizen:Io::DataSetEnumerator::MovePrevious()
+ * @see Tizen:Io::DataSetEnumerator::MoveLast()
+ */
+ virtual result MoveFirst(void);
+
+ /**
+ * Moves the enumerator to the last position.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_OBJECT_LOCKED The DataSet instance is locked.
+ * @exception E_INVALID_FORMAT The in-memory data is malformed.
+ * @exception E_IO Either of the following conditions has occurred: @n
+ * - An unexpected device failure has occurred as the media ejected suddenly. @n
+ * - %File corruption is detected.
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @see Tizen:Io::DataSetEnumerator::MoveNext()
+ * @see Tizen:Io::DataSetEnumerator::MovePrevious()
+ * @see Tizen:Io::DataSetEnumerator::MoveFirst()
+ */
+ virtual result MoveLast(void);
+
+ /**
+ * Resets the calling %DataSetEnumerator instance back to its initial state.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_OBJECT_LOCKED The DataSet instance is locked.
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @remarks After this method is called, if MoveNext() is called the cursor goes to the first position.
+ */
+ virtual result Reset(void);
+
+ /**
+ * Gets an @c int value from the column whose index is specified.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] columnIndex The index of the column whose value is required
+ * @param[in,out] value The integer value obtained from the specified column
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_INVALID_ARG The specified @c columnIndex is out of range.
+ * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.
+ */
+ virtual result GetIntAt(int columnIndex, int& value) const;
+
+ /**
+ * Gets a @c long @c long value from the column whose index is specified.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] columnIndex The index of the column whose value is required
+ * @param[in,out] value The 64-bit integer value obtained from the specified column
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_INVALID_ARG The specified @c columnIndex is out of range.
+ * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.
+ */
+ virtual result GetInt64At(int columnIndex, long long& value) const;
+
+ /**
+ * Gets a @c double value from the column whose index is specified.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] columnIndex The index of the column whose value is required
+ * @param[in,out] value The double value obtained from the specified column
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_INVALID_ARG The specified @c columnIndex is out of range.
+ * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.
+ */
+ virtual result GetDoubleAt(int columnIndex, double& value) const;
+
+ /**
+ * Gets a Tizen::Base::String value from the column whose index is specified.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] columnIndex The index of the column whose value is required
+ * @param[in,out] value The Tizen::Base::String value obtained from the specified column
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_INVALID_ARG The specified @c columnIndex is out of range.
+ * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.
+ * @exception E_INVALID_ENCODING_RANGE The string conversion has failed due to invalid encoding range.
+ */
+ virtual result GetStringAt(int columnIndex, Tizen::Base::String& value) const;
+
+ /**
+ * Gets a Tizen::Base::ByteBuffer value from the column whose index is specified.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] columnIndex The index of the column whose value is required
+ * @param[in,out] value The Tizen::Base::ByteBuffer value obtained from the specified column @n
+ * The %Tizen::Base::ByteBuffer will be filled from the current position and data copy
+ * will be continued until %Tizen::Base::ByteBuffer limitation is reached or no more
+ * blob data remains.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_INVALID_ARG The specified @c columnIndex is out of range.
+ * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.
+ * @exception E_OVERFLOW The specified Tizen::Base::ByteBuffer @c value is insufficient to save the data.
+ * @see Tizen::Base::ByteBuffer
+ */
+ virtual result GetBlobAt(int columnIndex, Tizen::Base::ByteBuffer& value) const;
+
+ /**
+ * Gets a blob data from the column whose index is specified.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] columnIndex The index of the column whose value is required
+ * @param[in,out] buffer The user-provided buffer used to receive the blob data
+ * @param[in] size The maximum buffer length in bytes
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_INVALID_ARG Either the specified @c columnIndex is out of range or the specified @c size is invalid.
+ * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.
+ * @exception E_OVERFLOW The specified @c buffer is insufficient to save the data.
+ */
+ virtual result GetBlobAt(int columnIndex, void* buffer, int size) const;
+
+ /**
+ * Gets a Tizen::Base::DateTime value from the column whose index is specified.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] columnIndex The index of the column whose value is required
+ * @param[in,out] value The Tizen::Base::DateTime value obtained from the specified column
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_INVALID_ARG The specified @c columnIndex is out of range.
+ * @exception E_TYPE_MISMATCH The operation has attempted to access columns of different types.
+ * @exception E_INVALID_FORMAT The date is not correctly formatted, or the method is trying to access column of type String. @n
+ * The date format should be 'mm/dd/yyyy hh:mm:ss'.
+ * @exception E_OUT_OF_RANGE Either the year, month, day, hour, minute, or second value is out of range,
+ * or the method is trying to access a column of type String.
+ */
+ virtual result GetDateTimeAt(int columnIndex, Tizen::Base::DateTime& value) const;
+
+ /**
+ * Gets the number of columns for this enumerator.
+ *
+ * @since 2.1
+ *
+ * @return The number of columns in the calling enumerator, @n
+ * else @c -1 if an exception occurs
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @remarks This method must be called after MoveNext(), MoveFirst(), or MoveLast(). @n
+ * The specific error code can be accessed using the GetLastResult() method.
+ */
+ virtual int GetColumnCount(void) const;
+
+ /**
+ * Gets the type of the column indicated by a specified index.
+ *
+ * @since 2.1
+ *
+ * @return The type of column, @n
+ * else @c DB_COLUMNTYPE_UNDEFINED if an exception occurs
+ * @param[in] columnIndex The index of the destination column
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_INVALID_ARG The specified @c columnIndex is out of range.
+ * @remarks This method must be called after MoveNext(), MoveFirst(), or MoveLast(). @n
+ * Currently, @c DB_COLUMNTYPE_INT is returned for a 64-bit integer. @n
+ * The specific error code can be accessed using the GetLastResult() method.
+ */
+ virtual DbColumnType GetColumnType(int columnIndex) const;
+
+ /**
+ * Gets the name of the column indicated by a specified index.
+ *
+ * @since 2.1
+ *
+ * @return The name of the column, @n
+ * else an empty string if an exception occurs
+ * @param[in] columnIndex The index of the destination column
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_INVALID_ARG The specified @c columnIndex is out of range.
+ * @exception E_INVALID_ENCODING_RANGE The string conversion has failed due to invalid encoding range.
+ * @remarks This method must be called after MoveNext(), MoveFirst(), or MoveLast(). @n
+ * The specific error code can be accessed using the GetLastResult() method.
+ */
+ virtual Tizen::Base::String GetColumnName(int columnIndex) const;
+
+ /**
+ * Gets the size of data in bytes.
+ *
+ * @since 2.1
+ *
+ * @return The size of the data in bytes, @n
+ * else @c -1 if an exception occurs
+ * @param[in] columnIndex The index of the destination column
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE The DataSet instance associated with this instance is deleted.
+ * @exception E_INVALID_ARG The specified @c columnIndex is out of range.
+ * @remarks This method must be called after MoveNext(), MoveFirst(), or MoveLast(). @n
+ * If the destination column is of type String, this method returns the @c byte length excluding
+ * the @c null terminator character. @n
+ * The specific error code can be accessed using the GetLastResult() method.
+ */
+ virtual int GetColumnSize(int columnIndex) const;
+
+private:
+ //
+ // This default constructor is intentionally declared as private so that only the platform can create an instance.
+ //
+ // @since 2.1
+ //
+ DataSetEnumerator(void);
+
+ //
+ // The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
+ //
+ // @since 2.1
+ //
+ DataSetEnumerator(const DataSetEnumerator& rhs);
+
+ //
+ // The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
+ // @since 2.1
+ //
+ DataSetEnumerator& operator =(const DataSetEnumerator& rhs);
+
+ class _DataSetEnumeratorImpl* __pDataSetEnumeratorImpl;
+ friend class _DataSetEnumeratorImpl;
+
+}; // DataSetEnumerator
+
+}} // Tizen::Io
+
+#endif // _FIO_DATA_SET_ENUMERATOR_H_