8:1
  2   ˆl–Ým_J	õ4Ÿº‚ œPÜw 1hßŽþ@³ŽÆ\ %eÉ$þÂ0ÁÀ¿      ˆÃ‘äÇò 8à_eàÈËm•ÏçÂƒh¹ÁÀ¿             0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0
  ?   ˆl–äY>”*ClÊ€ràpO©‹Fÿ�þ^mõ›+mK+,³+íùÃƒYwÂ_ˆI|¥�+y,ÂÁ Y    
// -*- mode: c++; c-basic-offset:4 -*-

// This file is part of libdap, A C++ implementation of the OPeNDAP Data
// Access Protocol.

// Copyright (c) 2013 OPeNDAP, Inc.
// Authors: Nathan Potter <npotter@opendap.org>
//		James Gallagher <jgallagher@opendap.org>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
//
// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.

#include <ServerFunction.h>

namespace libdap {

class BaseType;
class DDS;
class DMR;
class D4RValueList;

/**
 * The scale() function scales data.
 */
void function_scale_dap2(int argc, BaseType *argv[], DDS &dds, BaseType **btpp);
BaseType *function_scale_dap4(D4RValueList *args, DMR &dmr);

/**
 * The LinearScaleFunction class encapsulates the linear_scale function 'function_linear_scale'
 * along with additional meta-data regarding its use and applicability.
 */
class D4TestFunction: public ServerFunction {
public:
	D4TestFunction()
    {
		setName("scale");
		setDescriptionString("The scale() function is for testing.");
		setUsageString("scale(var, num): scale var by num. var can be a scalar or an array");
		setRole("http://services.opendap.org/dap4/server-side-function/scale");
		setDocUrl("http://docs.opendap.org/index.php/Server_Side_Processing_Functions");
		setFunction(function_scale_dap2);
		setVersion("1.0");

		setFunction(function_scale_dap4);
    }
    virtual ~D4TestFunction()
    {
    }
};

} // libdap namespace
      	ˆÅ‘äÇò 8à_eàÈØcÿÏÄƒh¹ÃÂÁ      	       0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0
  6   ˆl—Ðz¾”d
i?u8 \¸Ó·yLZ7ÿ�þB gÁä€hÏÅƒh¹ÄÃÂ      8:0
     ˆ¾�þB gÁó®ÏÅƒh¹ÄÃÂ      8:16
  B   ˆl–Ãa¾”êh¥2 ¸&®6â˜´o�þG#«7) ä�n1ˆ þÆƒ®·Å_‹I|¥�+ýÿ¹ä³ÅÄ 
×    // Copyright 2005 Daniel Wallin. 
// Copyright 2005 Joel de Guzman.
// Copyright 2005 Dan Marsden. 
//
// Use, modification and distribution is subject to the Boost Software 
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Modeled after range_ex, Copyright 2004 Eric Niebler

#ifndef BOOST_PHOENIX_ALGORITHM_ITERATION_HPP
#define BOOST_PHOENIX_ALGORITHM_ITERATION_HPP

#include <algorithm>
#include <numeric>

#include <boost/phoenix/stl/algorithm/detail/begin.hpp>
#include <boost/phoenix/stl/algorithm/detail/end.hpp>

#include <boost/phoenix/function/adapt_callable.hpp>

namespace boost { namespace phoenix {
    namespace impl
    {
        struct for_each
        {
            template <typename Sig>
            struct result;

            template<typename This, class R, class F>
            struct result<This(R&, F)>
                : result<This(R&, F const &)>
            {};

            template<typename This, class R, class F>
            struct result<This(R&, F &)>
            {
                typedef F type;
            };

            template<class R, class F>
            F const operator()(R& 