Skip to content

Commit

Permalink
Rmove out-of-bon functionalities
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvielamythepaut committed Nov 16, 2023
1 parent 85401f7 commit 2af865a
Show file tree
Hide file tree
Showing 15 changed files with 1,005 additions and 0 deletions.
99 changes: 99 additions & 0 deletions src/attributes/NoBoxPlotAttributes.cc
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\"";

}

63 changes: 63 additions & 0 deletions src/attributes/NoBoxPlotAttributes.h
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

99 changes: 99 additions & 0 deletions src/attributes/NoBoxPlotBoxAttributes.cc
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\"";

}

63 changes: 63 additions & 0 deletions src/attributes/NoBoxPlotBoxAttributes.h
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

67 changes: 67 additions & 0 deletions src/attributes/NoBoxPlotBoxWrapper.cc
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[]";
}


Loading

0 comments on commit 2af865a

Please sign in to comment.