FDO .NET API Reference Feature Data Objects

mgUnaryLogicalOperator.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\Filter\mgLogicalOperator.h"
00022 #include "FDO\Filter\mgUnaryLogicalOperations.h"
00023 
00024 class FdoUnaryLogicalOperator;
00025 
00026 BEGIN_NAMESPACE_OSGEO_FDO_FILTER
00027 public __gc class Filter;
00028 public __gc __interface IFilterProcessor;
00029 
00030 /// \ingroup (OSGeoFDOFilter)
00031 /// \brief
00032 /// The UnaryLogicalOperator class derives from LogicalOperator and allows a
00033 /// logical "Not" to be performed against a filter.
00034 public __gc class UnaryLogicalOperator : public NAMESPACE_OSGEO_FDO_FILTER::LogicalOperator
00035 {
00036 public:
00037     /// \brief
00038     /// Constructs a default instance of an UnaryLogicalOperator.
00039     /// 
00040     /// \return
00041     /// Returns UnaryLogicalOperator
00042     /// 
00043     UnaryLogicalOperator();
00044 
00045     /// \brief
00046     /// Constructs an instance of an UnaryLogicalOperator using the specified arguments.
00047     /// 
00048     /// \param operand 
00049     /// Input operand
00050     /// \param operation 
00051     /// Input operation
00052     /// 
00053     /// \return
00054     /// Returns UnaryLogicalOperator
00055     /// 
00056     UnaryLogicalOperator(NAMESPACE_OSGEO_FDO_FILTER::Filter* operand, NAMESPACE_OSGEO_FDO_FILTER::UnaryLogicalOperations operation);
00057 
00058     /// \brief
00059     /// Gets the unary operation to be performed on the operand.
00060     /// 
00061     /// \return
00062     /// Returns the unary operation
00063     /// 
00064     __property NAMESPACE_OSGEO_FDO_FILTER::UnaryLogicalOperations get_Operation();
00065 
00066     /// \brief
00067     /// Sets the unary operation to be performed on the operand.
00068     /// 
00069     /// \param value 
00070     /// Input the unary operation
00071     /// 
00072     /// \return
00073     /// Returns nothing
00074     /// 
00075     __property System::Void set_Operation(NAMESPACE_OSGEO_FDO_FILTER::UnaryLogicalOperations value);
00076 
00077     /// \brief
00078     /// Gets Filter operand to apply the operator to.
00079     /// 
00080     /// \return
00081     /// Returns filter
00082     /// 
00083     __property NAMESPACE_OSGEO_FDO_FILTER::Filter* get_Operand();
00084 
00085     /// \brief
00086     /// Sets Filter operand to apply the operator to.
00087     /// 
00088     /// \param value 
00089     /// Input filter
00090     /// 
00091     /// \return
00092     /// Returns nothing
00093     /// 
00094     __property System::Void set_Operand(NAMESPACE_OSGEO_FDO_FILTER::Filter* value);
00095 
00096     /// \brief
00097     /// Overrides Filter.Process to pass UnaryLogicalOperator to the
00098     /// appropriate filter processor operation.
00099     /// 
00100     /// \param processor 
00101     /// Input filter processor
00102     /// 
00103     /// \return
00104     /// Returns nothing
00105     /// 
00106     System::Void Process(NAMESPACE_OSGEO_FDO_FILTER::IFilterProcessor* processor);
00107 
00108     /// \brief
00109     /// Constructs a UnaryLogicalOperator object based on an unmanaged instance of the object
00110     /// 
00111     /// \param unmanaged 
00112     /// Input A Pointer to the unmanaged object.
00113     /// 
00114     /// \param autoDelete 
00115     /// Input Indicates if the constructed object should be automatically deleted 
00116     /// once it no longer referenced.
00117     /// 
00118     UnaryLogicalOperator(System::IntPtr unmanaged, System::Boolean autoDelete);
00119 
00120 public private:
00121     inline FdoUnaryLogicalOperator* GetImpObj();
00122 };
00123 
00124 END_NAMESPACE_OSGEO_FDO_FILTER
00125 
00126 

Comments or suggestions? Send us feedback.