Oracle Coherence for C++ API
Release 3.6.0.0

E15728-01

coherence/util/filter/IsNullFilter.hpp

00001 /*
00002 * IsNullFilter.hpp
00003 *
00004 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
00005 *
00006 * Oracle is a registered trademarks of Oracle Corporation and/or its
00007 * affiliates.
00008 *
00009 * This software is the confidential and proprietary information of Oracle
00010 * Corporation. You shall not disclose such confidential and proprietary
00011 * information and shall use it only in accordance with the terms of the
00012 * license agreement you entered into with Oracle.
00013 *
00014 * This notice may not be removed or altered.
00015 */
00016 #ifndef COH_IS_NULL_FILTER_HPP
00017 #define COH_IS_NULL_FILTER_HPP
00018 
00019 #include "coherence/lang.ns"
00020 
00021 #include "coherence/util/filter/EqualsFilter.hpp"
00022 
00023 COH_OPEN_NAMESPACE3(coherence,util,filter)
00024 
00025 
00026 /**
00027 * Filter which compares the result of a method invocation with null.
00028 *
00029 * @author djl  2008.04.07
00030 */
00031 class COH_EXPORT IsNullFilter
00032     : public class_spec<IsNullFilter,
00033         extends<EqualsFilter> >
00034     {
00035     friend class factory<IsNullFilter>;
00036 
00037     // ----- constructors ---------------------------------------------------
00038 
00039     protected:
00040         /**
00041         * Default constructor (necessary for the PortableObject interface).
00042         */
00043         IsNullFilter();
00044 
00045         /**
00046         * Construct a IsNullFilter for testing equality to null.
00047         *
00048         * @param vValueExtractor  the ValueExtractor to use by this filter
00049         */
00050         IsNullFilter(ValueExtractor::View vValueExtractor);
00051     };
00052 
00053 COH_CLOSE_NAMESPACE3
00054 
00055 #endif // COH_IS_NULL_FILTER_HPP
Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.