| 256 | |
| 257 | === Expression Engine Copy Filter === |
| 258 | |
| 259 | {{{ |
| 260 | // |
| 261 | // This helper class traverse the filter object and creates a deep copy. |
| 262 | public __gc class ExpressionEngineCopyFilter : |
| 263 | public virtual OSGEO_FDO_EXPRESSION::IExpressionProcessor, |
| 264 | public virtual OSGEO_FDO_FILTER::IFilterProcessor |
| 265 | { |
| 266 | public: |
| 267 | /// \brief |
| 268 | /// Constructs a new instance of ExpressionEngineCopyFilter |
| 269 | /// |
| 270 | ExpressionEngineCopyFilter(); |
| 271 | |
| 272 | static OSGEO_FDO_FILTER::Filter* Copy( OSGEO_FDO_FILTER::Filter *filter ); |
| 273 | static OSGEO_FDO_EXPRESSION::Expression* Copy( OSGEO_FDO_EXPRESSION::Expression *expression ); |
| 274 | static OSGEO_FDO_FILTER::Filter* Copy( OSGEO_FDO_FILTER::Filter *filter, OSGEO_FDO_COMMANDS::IdentifierCollection* idList ); |
| 275 | static OSGEO_FDO_EXPRESSION::Expression* Copy( OSGEO_FDO_EXPRESSION::Expression *expression, OSGEO_FDO_COMMANDS::IdentifierCollection* idList ); |
| 276 | |
| 277 | OSGEO_FDO_EXPRESSION::Expression* GetExpression(); |
| 278 | OSGEO_FDO_FILTER::Filter* GetFilter(); |
| 279 | |
| 280 | public: |
| 281 | /// \brief |
| 282 | /// Constructs an ExpressionEngineCopyFilter managed object based on an unmanaged instance of the object |
| 283 | /// |
| 284 | /// \param unmanaged |
| 285 | /// Input A Pointer to the unmanaged object. |
| 286 | /// |
| 287 | /// \param autoDelete |
| 288 | /// Input Indicates if the constructed object should be automatically deleted |
| 289 | /// once it no longer referenced. |
| 290 | /// |
| 291 | ExpressionEngine(System::IntPtr unmanaged, System::Boolean autoDelete); |
| 292 | }; |
| 293 | }}} |
| 294 | |