35 #include "BESResponseHandler.h"
36 #include "BESResponseNames.h"
37 #include "BESVersionInfo.h"
38 #include "BESTextInfo.h"
39 #include "BESConstraintFuncs.h"
40 #include "BESInternalError.h"
42 #include "SampleRequestHandler.h"
43 #include "SampleResponseNames.h"
50 SampleRequestHandler::SampleRequestHandler(
const string &name) :
53 add_method( VERS_RESPONSE, SampleRequestHandler::sample_build_vers);
54 add_method( HELP_RESPONSE, SampleRequestHandler::sample_build_help);
57 SampleRequestHandler::~SampleRequestHandler()
68 info->add_module( PACKAGE_NAME, PACKAGE_VERSION);
81 map<string, string> attrs;
82 attrs[
"name"] = PACKAGE_NAME;
83 attrs[
"version"] = PACKAGE_VERSION;
84 info->begin_tag(
"module", &attrs);
86 info->end_tag(
"module");
93 strm << BESIndent::LMarg <<
"SampleRequestHandler::dump - (" << (
void *)
this <<
")" << endl;
96 BESIndent::UnIndent();