- Main Page
- Related Pages
- Modules
- Classes
- Files

# ValueExpressionCollection.h

Go to the documentation of this file.

    00001 #ifndef _VALUE_EXPRESSION_COLLECTION_H_
    00002 #define _VALUE_EXPRESSION_COLLECTION_H_
    00003 //
    00004
    00005 //
    00006 // Copyright (C) 2004-2006  Autodesk, Inc.
    00007 //
    00008 // This library is free software; you can redistribute it and/or
    00009 // modify it under the terms of version 2.1 of the GNU Lesser
    00010 // General Public License as published by the Free Software Foundation.
    00011 //
    00012 // This library is distributed in the hope that it will be useful,
    00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
    00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00015 // Lesser General Public License for more details.
    00016 //
    00017 // You should have received a copy of the GNU Lesser General Public
    00018 // License along with this library; if not, write to the Free Software
    00019 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    00020 //
    00021
    00022 #ifdef _WIN32
    00023 #pragma once
    00024 #endif
    00025
    00026 #include <FdoStd.h>
    00027 #include <Fdo/Expression/ValueExpression.h>
    00028 #include <Fdo/Expression/Parameter.h>
    00029 #include <Fdo/Filter/FilterException.h>
    00030
    00031 /// \brief
    00032 /// The FdoValueExpressionCollection class represents a collection of FdoValueExpression classes.
    00033 class FdoValueExpressionCollection: public FdoCollection<FdoValueExpression, FdoFilterException>
    00034 {
    00035 /// \cond DOXYGEN-IGNORE
    00036 protected:
    00037     /// Constructs a default empty instance of a ValueCollection.
    00038     FdoValueExpressionCollection():FdoCollection<FdoValueExpression, FdoFilterException>()
    00039     {
    00040     }
    00041
    00042     virtual ~FdoValueExpressionCollection()
    00043     {
    00044     }
    00045
    00046     virtual void Dispose()
    00047     {
    00048         delete this;
    00049     }
    00050 /// \endcond
    00051
    00052 public:
    00053     /// \brief
    00054     /// Constructs a default empty instance of an FdoValueExpressionCollection.
    00055     ///
    00056     /// \return
    00057     /// Returns FdoValueExpressionCollection
    00058     ///
    00059     static FDO_API FdoValueExpressionCollection* Create();
    00060
    00061     /// \brief
    00062     /// Constructs an FdoValueExpressionCollection using array of strings.
    00063     ///
    00064     /// \param values
    00065     /// Input an array of values
    00066     /// \param length
    00067     /// Input the number of values
    00068     ///
    00069     /// \return
    00070     /// Returns FdoValueExpressionCollection
    00071     ///
    00072     static FDO_API FdoValueExpressionCollection* Create(FdoString** values, FdoInt32 length);
    00073 };
    00074 #endif
    00075
    00076

Please send us your comment about this page