-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
85401f7
commit 2af865a
Showing
15 changed files
with
1,005 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
|
||
/****************************** LICENSE ******************************* | ||
* (C) Copyright 1996-2017 ECMWF. | ||
* | ||
* This software is licensed under the terms of the Apache Licence Version 2.0 | ||
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. | ||
* In applying this licence, ECMWF does not waive the privileges and immunities | ||
* granted to it by virtue of its status as an intergovernmental organisation nor | ||
* does it submit to any jurisdiction. | ||
******************************* LICENSE *******************************/ | ||
|
||
/*! \\file NoBoxPlotAttributes.h | ||
\\brief Definition of NoBoxPlot Attributes class. | ||
This file is automatically generated. | ||
Do Not Edit! | ||
*/ | ||
|
||
#include "NoBoxPlotAttributes.h" | ||
#include "MagicsParameter.h" | ||
#include "ParameterSettings.h" | ||
|
||
using namespace magics; | ||
|
||
NoBoxPlotAttributes::NoBoxPlotAttributes() | ||
|
||
|
||
{ | ||
} | ||
|
||
|
||
NoBoxPlotAttributes::~NoBoxPlotAttributes() | ||
{ | ||
|
||
} | ||
|
||
|
||
void NoBoxPlotAttributes::set(const std::map<string, string>& params) | ||
{ | ||
vector<string> prefix(1); | ||
int i = 0; | ||
prefix[i++] = "boxplot"; | ||
|
||
|
||
|
||
} | ||
|
||
void NoBoxPlotAttributes::copy(const NoBoxPlotAttributes& other) | ||
{ | ||
|
||
} | ||
|
||
|
||
bool NoBoxPlotAttributes::accept(const string& node) | ||
{ | ||
|
||
if ( magCompare(node, "boxplot") ) | ||
return true; | ||
|
||
return false; | ||
} | ||
|
||
void NoBoxPlotAttributes::set(const XmlNode& node) | ||
{ | ||
bool apply = false; | ||
|
||
if ( this->accept(node.name()) == false ) | ||
return; | ||
|
||
if ( magCompare(node.name(), "boxplot") ) | ||
apply = true; | ||
|
||
|
||
if ( apply ) | ||
set(node.attributes()); | ||
else { | ||
|
||
} | ||
for (auto &elt : node.elements()) | ||
{ | ||
|
||
} | ||
} | ||
|
||
void NoBoxPlotAttributes::print(ostream& out) const | ||
{ | ||
out << "Attributes["; | ||
|
||
out << "]" << "\n"; | ||
} | ||
|
||
void NoBoxPlotAttributes::toxml(ostream& out) const | ||
{ | ||
out << "\"boxplot\""; | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
|
||
/******************************* LICENSE ******************************* | ||
* (C) Copyright 1996-2016 ECMWF. | ||
* | ||
* This software is licensed under the terms of the Apache Licence Version 2.0 | ||
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. | ||
* In applying this licence, ECMWF does not waive the privileges and immunities | ||
* granted to it by virtue of its status as an intergovernmental organisation nor | ||
* does it submit to any jurisdiction. | ||
******************************* LICENSE *******************************/ | ||
|
||
/*! \fileNoBoxPlotAttributes.h | ||
\brief Definition of NoBoxPlot Attributes class. | ||
This file is automatically generated. | ||
Do Not Edit! | ||
Generated: | ||
*/ | ||
|
||
|
||
#ifndef NoBoxPlotAttributes_H | ||
#define NoBoxPlotAttributes_H | ||
|
||
#include "magics.h" | ||
namespace magics { | ||
|
||
class XmlNode; | ||
class NoBoxPlotAttributes | ||
{ | ||
public: | ||
// -- constructor | ||
NoBoxPlotAttributes(); | ||
|
||
// -- destructor | ||
virtual ~NoBoxPlotAttributes(); | ||
|
||
virtual void set(const std::map<std::string, std::string>&); | ||
virtual void set(const XmlNode&); | ||
virtual void copy(const NoBoxPlotAttributes&); | ||
virtual bool accept(const std::string&); | ||
|
||
void setTag(const std::string& tag) { tag_ = tag; } | ||
|
||
public: | ||
// -- method | ||
virtual void print(std::ostream&) const; | ||
virtual void toxml(std::ostream& out) const; | ||
// -- members: | ||
string tag_; | ||
|
||
|
||
private: | ||
friend ostream& operator<<(ostream& s,const NoBoxPlotAttributes& p) | ||
{ p.print(s); return s; } | ||
}; | ||
|
||
} // namespace magics | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
|
||
/****************************** LICENSE ******************************* | ||
* (C) Copyright 1996-2017 ECMWF. | ||
* | ||
* This software is licensed under the terms of the Apache Licence Version 2.0 | ||
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. | ||
* In applying this licence, ECMWF does not waive the privileges and immunities | ||
* granted to it by virtue of its status as an intergovernmental organisation nor | ||
* does it submit to any jurisdiction. | ||
******************************* LICENSE *******************************/ | ||
|
||
/*! \\file NoBoxPlotBoxAttributes.h | ||
\\brief Definition of NoBoxPlotBox Attributes class. | ||
This file is automatically generated. | ||
Do Not Edit! | ||
*/ | ||
|
||
#include "NoBoxPlotBoxAttributes.h" | ||
#include "MagicsParameter.h" | ||
#include "ParameterSettings.h" | ||
|
||
using namespace magics; | ||
|
||
NoBoxPlotBoxAttributes::NoBoxPlotBoxAttributes() | ||
|
||
|
||
{ | ||
} | ||
|
||
|
||
NoBoxPlotBoxAttributes::~NoBoxPlotBoxAttributes() | ||
{ | ||
|
||
} | ||
|
||
|
||
void NoBoxPlotBoxAttributes::set(const std::map<string, string>& params) | ||
{ | ||
vector<string> prefix(1); | ||
int i = 0; | ||
prefix[i++] = "boxplot"; | ||
|
||
|
||
|
||
} | ||
|
||
void NoBoxPlotBoxAttributes::copy(const NoBoxPlotBoxAttributes& other) | ||
{ | ||
|
||
} | ||
|
||
|
||
bool NoBoxPlotBoxAttributes::accept(const string& node) | ||
{ | ||
|
||
if ( magCompare(node, "boxplot") ) | ||
return true; | ||
|
||
return false; | ||
} | ||
|
||
void NoBoxPlotBoxAttributes::set(const XmlNode& node) | ||
{ | ||
bool apply = false; | ||
|
||
if ( this->accept(node.name()) == false ) | ||
return; | ||
|
||
if ( magCompare(node.name(), "boxplot") ) | ||
apply = true; | ||
|
||
|
||
if ( apply ) | ||
set(node.attributes()); | ||
else { | ||
|
||
} | ||
for (auto &elt : node.elements()) | ||
{ | ||
|
||
} | ||
} | ||
|
||
void NoBoxPlotBoxAttributes::print(ostream& out) const | ||
{ | ||
out << "Attributes["; | ||
|
||
out << "]" << "\n"; | ||
} | ||
|
||
void NoBoxPlotBoxAttributes::toxml(ostream& out) const | ||
{ | ||
out << "\"boxplot\""; | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
|
||
/******************************* LICENSE ******************************* | ||
* (C) Copyright 1996-2016 ECMWF. | ||
* | ||
* This software is licensed under the terms of the Apache Licence Version 2.0 | ||
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. | ||
* In applying this licence, ECMWF does not waive the privileges and immunities | ||
* granted to it by virtue of its status as an intergovernmental organisation nor | ||
* does it submit to any jurisdiction. | ||
******************************* LICENSE *******************************/ | ||
|
||
/*! \fileNoBoxPlotBoxAttributes.h | ||
\brief Definition of NoBoxPlotBox Attributes class. | ||
This file is automatically generated. | ||
Do Not Edit! | ||
Generated: | ||
*/ | ||
|
||
|
||
#ifndef NoBoxPlotBoxAttributes_H | ||
#define NoBoxPlotBoxAttributes_H | ||
|
||
#include "magics.h" | ||
namespace magics { | ||
|
||
class XmlNode; | ||
class NoBoxPlotBoxAttributes | ||
{ | ||
public: | ||
// -- constructor | ||
NoBoxPlotBoxAttributes(); | ||
|
||
// -- destructor | ||
virtual ~NoBoxPlotBoxAttributes(); | ||
|
||
virtual void set(const std::map<std::string, std::string>&); | ||
virtual void set(const XmlNode&); | ||
virtual void copy(const NoBoxPlotBoxAttributes&); | ||
virtual bool accept(const std::string&); | ||
|
||
void setTag(const std::string& tag) { tag_ = tag; } | ||
|
||
public: | ||
// -- method | ||
virtual void print(std::ostream&) const; | ||
virtual void toxml(std::ostream& out) const; | ||
// -- members: | ||
string tag_; | ||
|
||
|
||
private: | ||
friend ostream& operator<<(ostream& s,const NoBoxPlotBoxAttributes& p) | ||
{ p.print(s); return s; } | ||
}; | ||
|
||
} // namespace magics | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
|
||
/****************************** LICENSE ******************************* | ||
* (C) Copyright 1996-2017 ECMWF. | ||
* | ||
* This software is licensed under the terms of the Apache Licence Version 2.0 | ||
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. | ||
* In applying this licence, ECMWF does not waive the privileges and immunities | ||
* granted to it by virtue of its status as an intergovernmental organisation nor | ||
* does it submit to any jurisdiction. | ||
******************************* LICENSE *******************************/ | ||
|
||
/*! \\file NoBoxPlotBoxAttributes.h | ||
\\brief Definition of NoBoxPlotBox Attributes class. | ||
This file is automatically generated. | ||
Do Not Edit! | ||
*/ | ||
|
||
#include "MagRequest.h" | ||
#include "NoBoxPlotBoxWrapper.h" | ||
#include "MagicsParameter.h" | ||
#include "Factory.h" | ||
#include "MagTranslator.h" | ||
#include "MagicsGlobal.h" | ||
|
||
using namespace magics; | ||
|
||
|
||
|
||
NoBoxPlotBoxWrapper::NoBoxPlotBoxWrapper(): noboxplotbox_(new NoBoxPlotBox()) | ||
|
||
|
||
{ | ||
|
||
|
||
|
||
|
||
} | ||
NoBoxPlotBoxWrapper::NoBoxPlotBoxWrapper(NoBoxPlotBox* noboxplotbox): noboxplotbox_(noboxplotbox) | ||
{ | ||
|
||
|
||
} | ||
|
||
NoBoxPlotBoxWrapper::~NoBoxPlotBoxWrapper() | ||
{ | ||
|
||
} | ||
|
||
void NoBoxPlotBoxWrapper::set(const MagRequest& request) | ||
{ | ||
|
||
|
||
|
||
|
||
|
||
} | ||
|
||
void NoBoxPlotBoxWrapper::print(ostream& out) const | ||
{ | ||
out << "NoBoxPlotBoxWrapper[]"; | ||
} | ||
|
||
|
Oops, something went wrong.