[opengtl-commits] [601] KernelSource -> Source |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 601
Author: cyrille
Date: 2009-03-12 23:11:05 +0100 (Thu, 12 Mar 2009)
Log Message:
-----------
KernelSource -> Source
Modified Paths:
--------------
trunk/OpenGTL/OpenShiva/OpenShiva/CMakeLists.txt
Added Paths:
-----------
trunk/OpenGTL/OpenShiva/OpenShiva/Source.cpp
trunk/OpenGTL/OpenShiva/OpenShiva/Source.h
Removed Paths:
-------------
trunk/OpenGTL/OpenShiva/OpenShiva/KernelSource.cpp
trunk/OpenGTL/OpenShiva/OpenShiva/KernelSource.h
Modified: trunk/OpenGTL/OpenShiva/OpenShiva/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/OpenShiva/OpenShiva/CMakeLists.txt 2009-03-12 17:52:13 UTC (rev 600)
+++ trunk/OpenGTL/OpenShiva/OpenShiva/CMakeLists.txt 2009-03-12 22:11:05 UTC (rev 601)
@@ -4,7 +4,7 @@
# List of files
set(OpenShiva_SRCS
Kernel.cpp
- KernelSource.cpp
+ Source.cpp
# Internal files
Compiler_p.cpp
CodeGenerator_p.cpp
Deleted: trunk/OpenGTL/OpenShiva/OpenShiva/KernelSource.cpp
===================================================================
--- trunk/OpenGTL/OpenShiva/OpenShiva/KernelSource.cpp 2009-03-12 17:52:13 UTC (rev 600)
+++ trunk/OpenGTL/OpenShiva/OpenShiva/KernelSource.cpp 2009-03-12 22:11:05 UTC (rev 601)
@@ -1,56 +0,0 @@
-/*
- * Copyright (c) 2009 Cyrille Berger <cberger@xxxxxxxxxxx>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation;
- * either version 2, or (at your option) any later version of the License.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; see the file COPYING. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "KernelSource.h"
-
-using namespace OpenShiva;
-
-#include <GTLCore/String.h>
-
-struct KernelSource::Private
-{
- GTLCore::String name;
- GTLCore::String source;
-};
-
-KernelSource::KernelSource() : d(new Private)
-{
-
-}
-
-KernelSource::~KernelSource()
-{
- delete d;
-}
-
-const GTLCore::String& KernelSource::name() const
-{
- return d->name;
-}
-const GTLCore::String& KernelSource::source() const
-{
- return d->source;
-}
-
-void KernelSource::setSource( const GTLCore::String& _source)
-{
- d->source = _source;
-}
-
-
Deleted: trunk/OpenGTL/OpenShiva/OpenShiva/KernelSource.h
===================================================================
--- trunk/OpenGTL/OpenShiva/OpenShiva/KernelSource.h 2009-03-12 17:52:13 UTC (rev 600)
+++ trunk/OpenGTL/OpenShiva/OpenShiva/KernelSource.h 2009-03-12 22:11:05 UTC (rev 601)
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2009 Cyrille Berger <cberger@xxxxxxxxxxx>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation;
- * either version 2, or (at your option) any later version of the License.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; see the file COPYING. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef _OPENSHIVA_KERNEL_SOURCE_H_
-#define _OPENSHIVA_KERNEL_SOURCE_H_
-
-namespace GTLCore {
- class String;
-}
-
-namespace OpenShiva {
- /**
- * @ingroup OpenShiva
- *
- * Define the source code of a Kernel. Allow to access to information like the metadata,
- * or the source code, or the parameters of the evaluateParam function.
- */
- class KernelSource {
- public:
- KernelSource();
- ~KernelSource();
- const GTLCore::String& name() const;
- const GTLCore::String& source() const;
- void setSource( const GTLCore::String& );
- private:
- struct Private;
- Private* const d;
- };
-}
-
-#endif
Copied: trunk/OpenGTL/OpenShiva/OpenShiva/Source.cpp (from rev 600, trunk/OpenGTL/OpenShiva/OpenShiva/KernelSource.cpp)
===================================================================
--- trunk/OpenGTL/OpenShiva/OpenShiva/Source.cpp (rev 0)
+++ trunk/OpenGTL/OpenShiva/OpenShiva/Source.cpp 2009-03-12 22:11:05 UTC (rev 601)
@@ -0,0 +1,56 @@
+/*
+ * Copyright (c) 2009 Cyrille Berger <cberger@xxxxxxxxxxx>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version of the License.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#include "Source.h"
+
+using namespace OpenShiva;
+
+#include <GTLCore/String.h>
+
+struct Source::Private
+{
+ GTLCore::String name;
+ GTLCore::String source;
+};
+
+Source::Source() : d(new Private)
+{
+
+}
+
+Source::~Source()
+{
+ delete d;
+}
+
+const GTLCore::String& Source::name() const
+{
+ return d->name;
+}
+const GTLCore::String& Source::source() const
+{
+ return d->source;
+}
+
+void Source::setSource( const GTLCore::String& _source)
+{
+ d->source = _source;
+}
+
+
Property changes on: trunk/OpenGTL/OpenShiva/OpenShiva/Source.cpp
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:mergeinfo
+
Name: svn:eol-style
+ native
Copied: trunk/OpenGTL/OpenShiva/OpenShiva/Source.h (from rev 600, trunk/OpenGTL/OpenShiva/OpenShiva/KernelSource.h)
===================================================================
--- trunk/OpenGTL/OpenShiva/OpenShiva/Source.h (rev 0)
+++ trunk/OpenGTL/OpenShiva/OpenShiva/Source.h 2009-03-12 22:11:05 UTC (rev 601)
@@ -0,0 +1,47 @@
+/*
+ * Copyright (c) 2009 Cyrille Berger <cberger@xxxxxxxxxxx>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation;
+ * either version 2, or (at your option) any later version of the License.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef _OPENSHIVA_KERNEL_SOURCE_H_
+#define _OPENSHIVA_KERNEL_SOURCE_H_
+
+namespace GTLCore {
+ class String;
+}
+
+namespace OpenShiva {
+ /**
+ * @ingroup OpenShiva
+ *
+ * Define the source code of a Kernel. Allow to access to information like the metadata,
+ * or the source code, or the parameters of the evaluateParam function.
+ */
+ class Source {
+ public:
+ Source();
+ ~Source();
+ const GTLCore::String& name() const;
+ const GTLCore::String& source() const;
+ void setSource( const GTLCore::String& );
+ private:
+ struct Private;
+ Private* const d;
+ };
+}
+
+#endif
Property changes on: trunk/OpenGTL/OpenShiva/OpenShiva/Source.h
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:mergeinfo
+
Name: svn:eol-style
+ native