auditing performed, made some changes like removed std, or corrected the name of the file, and in come cases added the licence text where it was missing --gv

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1220 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
jinx 2006-09-17 01:19:52 +00:00
parent 08a7b4162e
commit 85982217db
4 changed files with 33 additions and 18 deletions

View File

@ -1,3 +1,24 @@
// plugins/pyloader/src/sgpem.i - Copyright 2005, 2006, University
// of Padova, dept. of Pure and Applied
// Mathematics
//
// This file is part of SGPEMv2.
//
// This is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// SGPEMv2 is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with SGPEMv2; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
%module sgpem
%{
#include <sgpemv2/cpu_policy.hh>
@ -29,9 +50,6 @@ using namespace sgpem;
// ------------- EXCEPTIONS -------------------------------
/* FIXME : look up into Swig manual the management of
* STL exceptions and write wrappers for them.
*/
%include "exception.i"
%exception
{
@ -48,7 +66,7 @@ using namespace sgpem;
// Instantiate a Thread* vector for usage with sgpem::Process
// std::out_of_range should be automatically defined,
// see Swig manual at the STL Vector §.
// see Swig manual at the STL Vector .
%include "std_vector.i"
namespace std
{

View File

@ -1,4 +1,4 @@
// src/xml_serializer_factory.hh - Copyright 2005, 2006, University
// plugins/xmlsave/src/xml_serializer_factory.hh - Copyright 2005, 2006, University
// of Padova, dept. of Pure and Applied
// Mathematics
//
@ -122,6 +122,6 @@ namespace sgpem
// to reslove sub requests
TempMap _temp_map;
};
}
} //~ namespace
#endif
#endif //~ XML_SERIALIZER_FACTORY_HH

View File

@ -1,4 +1,4 @@
// src/backend/serialize_visitor.cc - Copyright 2005, 2006, University
// plugins/xmlsave/src/xml_visitor.cc - Copyright 2005, 2006, University
// of Padova, dept. of Pure and Applied
// Mathematics
//
@ -37,10 +37,12 @@ using namespace sgpem;
XMLVisitor::XMLVisitor(xmlNodePtr current)
: _current(current)
{}
{
}
XMLVisitor::~XMLVisitor()
{}
{
}
void XMLVisitor::from_resource(const Resource& obj) throw(SerializerError)
{
@ -91,11 +93,6 @@ void XMLVisitor::from_resource(const Resource& obj, const Glib::ustring& key) th
}
void XMLVisitor::from_history(xmlNodePtr parent, const History& hist) throw(SerializerError)
{
if (parent != NULL)

View File

@ -1,4 +1,4 @@
// src/backend/serialize_visitor.hh - Copyright 2005, 2006, University
// plugin/xmlsave/src/xml_visitor.hh - Copyright 2005, 2006, University
// of Padova, dept. of Pure and Applied
// Mathematics
//
@ -127,7 +127,7 @@ namespace sgpem
xmlNodePtr _current;
};
}
} // ~namespace
#endif
#endif //~ XML_VISITOR_HH