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

# IntBinValue.h

Go to the documentation of this file.

    00001 #ifndef _INTBINVALUE_H_
    00002 #define _INTBINVALUE_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/DataValue.h>
    00028 #include <Fdo/Schema/DataType.h>
    00029 #include <Fdo/Expression/Int64Value.h>
    00030
    00031 /// \brief
    00032 /// The FdoIntBinValue class derives from FdoInt64Value and represents a binary value.
    00033 class FdoIntBinValue : public FdoInt64Value
    00034 {
    00035 /// \cond DOXYGEN-IGNORE
    00036     friend class FdoByteValue;
    00037     friend class FdoInt16Value;
    00038     friend class FdoInt32Value;
    00039 protected:
    00040     /// \brief
    00041     /// Constructs a default instance of an FdoIntBinValue with a
    00042     /// value of null.
    00043     /// \return
    00044     /// Returns nothing
    00045     ///
    00046     FdoIntBinValue();
    00047
    00048     /// \brief
    00049     /// Constructs a default instance of an FdoIntBinValue using the specified arguments.
    00050     /// \param value
    00051     /// Input a 32 bit binary integer
    00052     ///
    00053     /// \return
    00054     /// Returns nothing
    00055     ///
    00056     FdoIntBinValue(FdoInt64 value);
    00057
    00058     /// \brief
    00059     /// Default destructor for FdoIntBinValue.
    00060     virtual ~FdoIntBinValue();
    00061
    00062     virtual void Dispose();
    00063 /// \endcond
    00064
    00065 public:
    00066
    00067     /// \brief
    00068     /// Constructs a default instance of an FdoIntBinValue with a value of null.
    00069     ///
    00070     /// \return
    00071     /// Returns the created FdoIntBinValue
    00072     ///
    00073     static FdoIntBinValue* Create();
    00074
    00075     /// \brief
    00076     /// Constructs a default instance of an FdoIntBinValue using the specified arguments.
    00077     ///
    00078     /// \param value
    00079     /// Input a 32 bit binary integer
    00080     ///
    00081     /// \return
    00082     /// Returns the created FdoIntBinValue
    00083     ///
    00084     static FdoIntBinValue* Create(FdoInt64 value);
    00085
    00086     /// \brief
    00087     /// Returns the well defined text representation of this expression.
    00088     ///
    00089     /// \return
    00090     /// Returns a character string
    00091     ///
    00092     FdoString* ToString();
    00093
    00094     ///
    00095     FdoIntBinValue* Create(
    00096         FdoDataValue* src,
    00097         FdoBoolean truncate = false,
    00098         FdoBoolean nullIfIncompatible = false
    00099     );
    00100
    00101 /// \endcond
    00102 };
    00103 #endif

Please send us your comment about this page