bes  Updated for version 3.17.4
BESDapNullAggregationServer.h
1 // BESDapNullAggregationServer.h
2 
3 // This file is part of bes, A C++ back-end server implementation framework
4 // for the OPeNDAP Data Access Protocol.
5 
6 // Copyright (c) 2015 OPeNDAP, Inc.
7 // Author: James Gallagher <jgallagher@opendap.org>
8 //
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the GNU Lesser General Public
11 // License as published by the Free Software Foundation; either
12 // version 2.1 of the License, or (at your option) any later version.
13 //
14 // This library is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 // Lesser General Public License for more details.
18 //
19 // You should have received a copy of the GNU Lesser General Public
20 // License along with this library; if not, write to the Free Software
21 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 //
23 // You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
24 
25 #ifndef I_BESDapNullAggregationServer_h
26 #define I_BESDapNullAggregationServer_h 1
27 
28 #include "BESAggregationServer.h" // in dispatch
29 
41 {
42 protected:
43  BESDapNullAggregationServer( const string &name ): BESAggregationServer( name )
44  {
45  }
46 
47 public:
54  {
55  return new BESDapNullAggregationServer(name);
56  }
57 
58  virtual ~BESDapNullAggregationServer( void )
59  {
60  }
61 
62  // This method is abstract in the parent class
63  virtual void aggregate(BESDataHandlerInterface &dhi);
64 
65  virtual void dump(ostream &strm) const;
66 };
67 
68 #endif // I_BESDapNullAggregationServer_h
69 
static BESAggregationServer * NewBESDapNullAggregationServer(const string &name)
virtual void aggregate(BESDataHandlerInterface &dhi)
Simple aggregation method that prints the DHI To learn more about the stuff that an aggregation can d...
When called, print out information about the DataHanderInterface object.
virtual void dump(ostream &strm) const
dumps information about this object
Structure storing information used by the BES to handle the request.
Abstraction representing mechanism for aggregating data.