FDO API Reference Feature Data Objects

DataType.h

Go to the documentation of this file.
00001 #ifndef _DATATYPE_H_
00002 #define _DATATYPE_H_
00003 
00004 //
00005 // Copyright (C) 2004-2006  Autodesk, Inc.
00006 // 
00007 // This library is free software; you can redistribute it and/or
00008 // modify it under the terms of version 2.1 of the GNU Lesser
00009 // General Public License as published by the Free Software Foundation.
00010 // 
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 // 
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00019 //
00020 
00021 #ifdef _WIN32
00022 #pragma once
00023 #endif
00024 
00025 /// \ingroup (enums)
00026 /// \brief
00027 /// The FdoDataType enumeration lists all of the base data types supported by FDO.
00028 enum FdoDataType
00029 {
00030     /// Represents a Boolean value of true or false.
00031     FdoDataType_Boolean,
00032 
00033     /// Represents unsigned 8-bit integers with values between 0 and 255.
00034     FdoDataType_Byte,
00035 
00036     /// Represents a date and time value.
00037     FdoDataType_DateTime,
00038 
00039     /// Represents values ranging from 1.0 x 10^-28 to approximately 7.9 x 10^28
00040     /// with 28-29 significant digits.
00041     FdoDataType_Decimal,
00042 
00043     /// Represents a floating point value ranging from approximately 5.0 
00044     /// x 10^-324 to 1.7 x 10^308 with a precision of 15-16 digits.
00045     FdoDataType_Double,
00046 
00047     /// Represents signed 16-bit integers with values between -32768 and 32767.
00048     FdoDataType_Int16,
00049 
00050     /// Represents signed 32-bit integers with values between -2147483648 
00051     /// and 2147483647.
00052     FdoDataType_Int32,
00053 
00054     /// Represents signed 64-bit integers with values 
00055     /// between -9223372036854775808 and 9223372036854775807.
00056     FdoDataType_Int64,
00057 
00058     /// Represents floating point values ranging from approximately 1.5 x 10^-45
00059     /// to 3.4 x 10^38, with a precision of 7 digits. 
00060     FdoDataType_Single,
00061 
00062     /// Represents a Unicode character strings.
00063     FdoDataType_String,
00064 
00065     /// Represents a binary large object stored as a collection of bytes.
00066     FdoDataType_BLOB,
00067 
00068     /// Represents a character large object stored as a collection of
00069     /// characters.
00070     FdoDataType_CLOB
00071 };
00072 #endif
00073 
00074 

Comments or suggestions? Send us feedback.