lsst.pex.policy
20.0.0+e2c4944b2a
src
PolicyParserFactory.cc
Go to the documentation of this file.
1
/*
2
* LSST Data Management System
3
* Copyright 2008, 2009, 2010 LSST Corporation.
4
*
5
* This product includes software developed by the
6
* LSST Project (http://www.lsst.org/).
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the LSST License Statement and
19
* the GNU General Public License along with this program. If not,
20
* see <http://www.lsstcorp.org/LegalNotices/>.
21
*/
22
29
#include "
lsst/pex/policy/PolicyParserFactory.h
"
30
31
namespace
lsst
{
32
namespace
pex {
33
namespace
policy {
34
35
/*
36
#include "lsst/pex/utils/Trace.h"
37
#define EXEC_TRACE 20
38
static void execTrace( string s, int level = EXEC_TRACE ){
39
lsst::pex::utils::Trace( "pex.policy.PolicyParserFactory", level, s );
40
}
41
*/
42
43
const
std::string
PolicyParserFactory::UNRECOGNIZED
;
44
45
PolicyParserFactory::~PolicyParserFactory
() {}
46
50
const
std::string
&
PolicyParserFactory::getFormatName
() {
return
UNRECOGNIZED
; }
51
52
}
// namespace policy
53
}
// namespace pex
54
}
// namespace lsst
PolicyParserFactory.h
a definition of the PolicyParserFactory class
std::string
STL class.
lsst::pex::policy::PolicyParserFactory::UNRECOGNIZED
static const std::string UNRECOGNIZED
an empty string representing an unrecognized format
Definition:
PolicyParserFactory.h:101
lsst::pex::policy::PolicyParserFactory::~PolicyParserFactory
virtual ~PolicyParserFactory()
destroy this factory
Definition:
PolicyParserFactory.cc:45
lsst
lsst::pex::policy::PolicyParserFactory::getFormatName
virtual const std::string & getFormatName()
return the name for the format supported by the parser
Definition:
PolicyParserFactory.cc:50
Generated on Fri Aug 7 2020 00:40:40 for lsst.pex.policy by
1.8.18