FDO .NET API Reference Feature Data Objects

mgInt64Value.h

Go to the documentation of this file.
00001 /*
00002 * Copyright (C) 2004-2006  Autodesk, Inc.
00003 * 
00004 * This library is free software; you can redistribute it and/or
00005 * modify it under the terms of version 2.1 of the GNU Lesser
00006 * General Public License as published by the Free Software Foundation.
00007 * 
00008 * This library is distributed in the hope that it will be useful,
00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 * Lesser General Public License for more details.
00012 * 
00013 * You should have received a copy of the GNU Lesser General Public
00014 * License along with this library; if not, write to the Free Software
00015 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00016 *
00017 */
00018 
00019 #pragma once
00020 
00021 #include "FDO\Expression\mgDataValue.h"
00022 
00023 class FdoInt64Value;
00024 
00025 BEGIN_NAMESPACE_OSGEO_FDO_SCHEMA
00026 public __value enum DataType;
00027 END_NAMESPACE_OSGEO_FDO_SCHEMA
00028 
00029 BEGIN_NAMESPACE_OSGEO_FDO_EXPRESSION
00030 
00031 public __gc __interface IExpressionProcessor;
00032 
00033 /// \ingroup (OSGeoFDOExpression)
00034 /// \brief
00035 /// The Int64Value class derives from DataValue and represents a 64-bit signed integer value.
00036 public __gc class Int64Value : public NAMESPACE_OSGEO_FDO_EXPRESSION::DataValue
00037 {
00038 public:
00039     /// \brief
00040     /// A cast operator to get the integer value.
00041     /// 
00042     /// \return
00043     /// Returns a 64 bit integer
00044     /// 
00045     static System::Int64 op_Explicit( NAMESPACE_OSGEO_FDO_EXPRESSION::Int64Value* value );
00046 
00047     /// \brief
00048     /// Constructs a default instance of an Int64Value with a value of null.
00049     /// 
00050     /// \return
00051     /// Returns the created Int64Value
00052     /// 
00053     Int64Value();
00054 
00055     /// \brief
00056     /// Constructs a default instance of an Int64Value using the specified arguments.
00057     /// 
00058     /// \param value 
00059     /// Input a 64 bit integer
00060     /// 
00061     /// \return
00062     /// Returns the created Int64Value
00063     /// 
00064     Int64Value(System::Int64 value);
00065 
00066     /// \brief
00067     /// Gets the data type of the Int64Value.
00068     /// 
00069     /// \return
00070     /// Returns an DataType
00071     /// 
00072     __property NAMESPACE_OSGEO_FDO_SCHEMA::DataType get_DataType();
00073 
00074     /// \brief
00075     /// Gets the Int64Value.
00076     /// 
00077     /// \return
00078     /// Returns a 64 bit integer
00079     /// 
00080     __property System::Int64 get_Int64();
00081 
00082     /// \brief
00083     /// Sets the Int64Value.
00084     /// 
00085     /// \param value 
00086     /// Input a 64 bit integer
00087     /// 
00088     /// \return
00089     /// Returns nothing
00090     /// 
00091     __property System::Void set_Int64(System::Int64 value);
00092 
00093     /// \brief
00094     /// Overrides Expression.Process to pass the Int64Value to the appropriate
00095     /// expression processor operation.
00096     /// 
00097     /// \param processor 
00098     /// Input an IExpressionProcessor
00099     /// 
00100     /// \return
00101     /// Returns nothing
00102     /// 
00103     System::Void Process(NAMESPACE_OSGEO_FDO_EXPRESSION::IExpressionProcessor* processor);
00104 
00105     /// \brief
00106     /// Returns the well defined text representation of this expression.
00107     /// 
00108     /// \return
00109     /// Returns a character string
00110     /// 
00111     System::String* ToString();
00112 
00113     /// \brief
00114     /// Constructs an Int64Value object based on an unmanaged instance of the object
00115     /// 
00116     /// \param unmanaged 
00117     /// Input A Pointer to the unmanaged object.
00118     /// 
00119     /// \param autoDelete 
00120     /// Input Indicates if the constructed object should be automatically deleted 
00121     /// once it no longer referenced.
00122     /// 
00123     Int64Value(System::IntPtr unmanaged, System::Boolean autoDelete);
00124 
00125 public private:
00126     inline FdoInt64Value* GetImpObj();
00127 };
00128 
00129 END_NAMESPACE_OSGEO_FDO_EXPRESSION
00130 
00131 

Comments or suggestions? Send us feedback.