-
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
28ff1aa
commit 973a146
Showing
16 changed files
with
649 additions
and
79 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
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
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
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
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,100 @@ | ||
|
||
/****************************** 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 NoBoxPlotBoxBorderAttributes.h | ||
\\brief Definition of NoBoxPlotBoxBorder Attributes class. | ||
This file is automatically generated. | ||
Do Not Edit! | ||
*/ | ||
|
||
#include "NoBoxPlotBoxBorderAttributes.h" | ||
#include "MagicsParameter.h" | ||
#include "ParameterSettings.h" | ||
|
||
using namespace magics; | ||
|
||
NoBoxPlotBoxBorderAttributes::NoBoxPlotBoxBorderAttributes() | ||
|
||
|
||
{ | ||
} | ||
|
||
|
||
NoBoxPlotBoxBorderAttributes::~NoBoxPlotBoxBorderAttributes() | ||
{ | ||
|
||
} | ||
|
||
|
||
void NoBoxPlotBoxBorderAttributes::set(const std::map<string, string>& params) | ||
{ | ||
vector<string> prefix(2); | ||
int i = 0; | ||
prefix[i++] = "boxplot"; | ||
prefix[i++] = "boxplot_median"; | ||
|
||
|
||
|
||
} | ||
|
||
void NoBoxPlotBoxBorderAttributes::copy(const NoBoxPlotBoxBorderAttributes& other) | ||
{ | ||
|
||
} | ||
|
||
|
||
bool NoBoxPlotBoxBorderAttributes::accept(const string& node) | ||
{ | ||
|
||
if ( magCompare(node, "median") ) | ||
return true; | ||
|
||
return false; | ||
} | ||
|
||
void NoBoxPlotBoxBorderAttributes::set(const XmlNode& node) | ||
{ | ||
bool apply = false; | ||
|
||
if ( this->accept(node.name()) == false ) | ||
return; | ||
|
||
if ( magCompare(node.name(), "median") ) | ||
apply = true; | ||
|
||
|
||
if ( apply ) | ||
set(node.attributes()); | ||
else { | ||
|
||
} | ||
for (auto &elt : node.elements()) | ||
{ | ||
|
||
} | ||
} | ||
|
||
void NoBoxPlotBoxBorderAttributes::print(ostream& out) const | ||
{ | ||
out << "Attributes["; | ||
|
||
out << "]" << "\n"; | ||
} | ||
|
||
void NoBoxPlotBoxBorderAttributes::toxml(ostream& out) const | ||
{ | ||
out << "\"median\""; | ||
|
||
} | ||
|
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 *******************************/ | ||
|
||
/*! \fileNoBoxPlotBoxBorderAttributes.h | ||
\brief Definition of NoBoxPlotBoxBorder Attributes class. | ||
This file is automatically generated. | ||
Do Not Edit! | ||
Generated: | ||
*/ | ||
|
||
|
||
#ifndef NoBoxPlotBoxBorderAttributes_H | ||
#define NoBoxPlotBoxBorderAttributes_H | ||
|
||
#include "magics.h" | ||
namespace magics { | ||
|
||
class XmlNode; | ||
class NoBoxPlotBoxBorderAttributes | ||
{ | ||
public: | ||
// -- constructor | ||
NoBoxPlotBoxBorderAttributes(); | ||
|
||
// -- destructor | ||
virtual ~NoBoxPlotBoxBorderAttributes(); | ||
|
||
virtual void set(const std::map<std::string, std::string>&); | ||
virtual void set(const XmlNode&); | ||
virtual void copy(const NoBoxPlotBoxBorderAttributes&); | ||
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 NoBoxPlotBoxBorderAttributes& 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 NoBoxPlotBoxBorderAttributes.h | ||
\\brief Definition of NoBoxPlotBoxBorder Attributes class. | ||
This file is automatically generated. | ||
Do Not Edit! | ||
*/ | ||
|
||
#include "MagRequest.h" | ||
#include "NoBoxPlotBoxBorderWrapper.h" | ||
#include "MagicsParameter.h" | ||
#include "Factory.h" | ||
#include "MagTranslator.h" | ||
#include "MagicsGlobal.h" | ||
|
||
using namespace magics; | ||
|
||
|
||
|
||
NoBoxPlotBoxBorderWrapper::NoBoxPlotBoxBorderWrapper(): noboxplotboxborder_(new NoBoxPlotBoxBorder()) | ||
|
||
|
||
{ | ||
|
||
|
||
|
||
|
||
} | ||
NoBoxPlotBoxBorderWrapper::NoBoxPlotBoxBorderWrapper(NoBoxPlotBoxBorder* noboxplotboxborder): noboxplotboxborder_(noboxplotboxborder) | ||
{ | ||
|
||
|
||
} | ||
|
||
NoBoxPlotBoxBorderWrapper::~NoBoxPlotBoxBorderWrapper() | ||
{ | ||
|
||
} | ||
|
||
void NoBoxPlotBoxBorderWrapper::set(const MagRequest& request) | ||
{ | ||
|
||
|
||
|
||
|
||
|
||
} | ||
|
||
void NoBoxPlotBoxBorderWrapper::print(ostream& out) const | ||
{ | ||
out << "NoBoxPlotBoxBorderWrapper[]"; | ||
} | ||
|
||
|
Oops, something went wrong.