You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2007/01/13 00:33:57 UTC
svn commit: r495788 [1/5] - in /incubator/tuscany/cpp/das: ./ VSExpress/
VSExpress/tuscany_das/ VSExpress/tuscany_das/Build/
VSExpress/tuscany_das/Build/Debug/ VSExpress/tuscany_das/das_runtime/
runtime/ runtime/core/ runtime/core/src/
Author: lresende
Date: Fri Jan 12 15:33:46 2007
New Revision: 495788
URL: http://svn.apache.org/viewvc?view=rev&rev=495788
Log:
Adriano Crestani's patch for TUSCANY-1040. Initial drop for DAS C++
Added:
incubator/tuscany/cpp/das/
incubator/tuscany/cpp/das/VSExpress/
incubator/tuscany/cpp/das/VSExpress/tuscany_das/
incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/
incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj
incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj.IRIS.lresende.user
incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj.user
incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Debug/
incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Debug/BuildLog.htm (with props)
incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/
incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.ncb (with props)
incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.sln
incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.suo (with props)
incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj
incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj.IRIS.lresende.user
incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.ncb (with props)
incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.sln
incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.suo (with props)
incubator/tuscany/cpp/das/runtime/
incubator/tuscany/cpp/das/runtime/core/
incubator/tuscany/cpp/das/runtime/core/src/
incubator/tuscany/cpp/das/runtime/core/src/ApplyChangesCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ApplyChangesCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/BaseCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/BaseCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/BaseGenerator.cpp
incubator/tuscany/cpp/das/runtime/core/src/BaseGenerator.h
incubator/tuscany/cpp/das/runtime/core/src/CallableStatement.h
incubator/tuscany/cpp/das/runtime/core/src/ChangeFactory.cpp
incubator/tuscany/cpp/das/runtime/core/src/ChangeFactory.h
incubator/tuscany/cpp/das/runtime/core/src/ChangeOperation.cpp
incubator/tuscany/cpp/das/runtime/core/src/ChangeOperation.h
incubator/tuscany/cpp/das/runtime/core/src/ChangeSummarizer.cpp
incubator/tuscany/cpp/das/runtime/core/src/ChangeSummarizer.h
incubator/tuscany/cpp/das/runtime/core/src/Changes.cpp
incubator/tuscany/cpp/das/runtime/core/src/Changes.h
incubator/tuscany/cpp/das/runtime/core/src/CollisionParameter.cpp
incubator/tuscany/cpp/das/runtime/core/src/CollisionParameter.h
incubator/tuscany/cpp/das/runtime/core/src/Column.h
incubator/tuscany/cpp/das/runtime/core/src/ColumnImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ColumnImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Command.h
incubator/tuscany/cpp/das/runtime/core/src/CommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/CommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Config.h
incubator/tuscany/cpp/das/runtime/core/src/ConfigFactory.cpp
incubator/tuscany/cpp/das/runtime/core/src/ConfigFactory.h
incubator/tuscany/cpp/das/runtime/core/src/ConfigFactoryImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ConfigFactoryImpl.h
incubator/tuscany/cpp/das/runtime/core/src/ConfigHelper.cpp
incubator/tuscany/cpp/das/runtime/core/src/ConfigHelper.h
incubator/tuscany/cpp/das/runtime/core/src/ConfigImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ConfigImpl.h
incubator/tuscany/cpp/das/runtime/core/src/ConnectionImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ConnectionImpl.h
incubator/tuscany/cpp/das/runtime/core/src/ConnectionInfo.h
incubator/tuscany/cpp/das/runtime/core/src/Converter.h
incubator/tuscany/cpp/das/runtime/core/src/Create.h
incubator/tuscany/cpp/das/runtime/core/src/CreateOperation.cpp
incubator/tuscany/cpp/das/runtime/core/src/CreateOperation.h
incubator/tuscany/cpp/das/runtime/core/src/DAS.h
incubator/tuscany/cpp/das/runtime/core/src/DASFactory.h
incubator/tuscany/cpp/das/runtime/core/src/DASFactoryImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/DASFactoryImpl.h
incubator/tuscany/cpp/das/runtime/core/src/DASImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/DASImpl.h
incubator/tuscany/cpp/das/runtime/core/src/DASObject.h
incubator/tuscany/cpp/das/runtime/core/src/DataObjectMaker.cpp
incubator/tuscany/cpp/das/runtime/core/src/DataObjectMaker.h
incubator/tuscany/cpp/das/runtime/core/src/DatabaseObject.cpp
incubator/tuscany/cpp/das/runtime/core/src/DatabaseObject.h
incubator/tuscany/cpp/das/runtime/core/src/DefaultConverter.cpp
incubator/tuscany/cpp/das/runtime/core/src/DefaultConverter.h
incubator/tuscany/cpp/das/runtime/core/src/Delete.h
incubator/tuscany/cpp/das/runtime/core/src/DeleteCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/DeleteCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/DeleteGenerator.cpp
incubator/tuscany/cpp/das/runtime/core/src/DeleteGenerator.h
incubator/tuscany/cpp/das/runtime/core/src/DeleteList.cpp
incubator/tuscany/cpp/das/runtime/core/src/DeleteList.h
incubator/tuscany/cpp/das/runtime/core/src/DeleteOperation.cpp
incubator/tuscany/cpp/das/runtime/core/src/DeleteOperation.h
incubator/tuscany/cpp/das/runtime/core/src/FactoryRegistry.cpp
incubator/tuscany/cpp/das/runtime/core/src/FactoryRegistry.h
incubator/tuscany/cpp/das/runtime/core/src/GraphBuilderMetadata.cpp
incubator/tuscany/cpp/das/runtime/core/src/GraphBuilderMetadata.h
incubator/tuscany/cpp/das/runtime/core/src/InsertCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/InsertCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/InsertGenerator.cpp
incubator/tuscany/cpp/das/runtime/core/src/InsertGenerator.h
incubator/tuscany/cpp/das/runtime/core/src/InsertList.cpp
incubator/tuscany/cpp/das/runtime/core/src/InsertList.h
incubator/tuscany/cpp/das/runtime/core/src/KeyPair.h
incubator/tuscany/cpp/das/runtime/core/src/ManagedParameterImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ManagedParameterImpl.h
incubator/tuscany/cpp/das/runtime/core/src/MappingWrapper.cpp
incubator/tuscany/cpp/das/runtime/core/src/MappingWrapper.h
incubator/tuscany/cpp/das/runtime/core/src/MultiTableRegistry.cpp
incubator/tuscany/cpp/das/runtime/core/src/MultiTableRegistry.h
incubator/tuscany/cpp/das/runtime/core/src/OptimisticWriteCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/OptimisticWriteCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Pager.h
incubator/tuscany/cpp/das/runtime/core/src/PagerImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/PagerImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Parameter.h
incubator/tuscany/cpp/das/runtime/core/src/ParameterImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ParameterImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Parameters.cpp
incubator/tuscany/cpp/das/runtime/core/src/Parameters.h
incubator/tuscany/cpp/das/runtime/core/src/PreparedStatement.cpp
incubator/tuscany/cpp/das/runtime/core/src/PreparedStatement.h
incubator/tuscany/cpp/das/runtime/core/src/QualifiedColumn.cpp
incubator/tuscany/cpp/das/runtime/core/src/QualifiedColumn.h
incubator/tuscany/cpp/das/runtime/core/src/ReadCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/ReadCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Relationship.h
incubator/tuscany/cpp/das/runtime/core/src/RelationshipWrapper.cpp
incubator/tuscany/cpp/das/runtime/core/src/RelationshipWrapper.h
incubator/tuscany/cpp/das/runtime/core/src/ResultDescriptor.h
incubator/tuscany/cpp/das/runtime/core/src/ResultMetadata.cpp
incubator/tuscany/cpp/das/runtime/core/src/ResultMetadata.h
incubator/tuscany/cpp/das/runtime/core/src/ResultSet.h
incubator/tuscany/cpp/das/runtime/core/src/ResultSetMetaData.h
incubator/tuscany/cpp/das/runtime/core/src/ResultSetShape.cpp
incubator/tuscany/cpp/das/runtime/core/src/ResultSetShape.h
incubator/tuscany/cpp/das/runtime/core/src/SDODataTypeHelper.cpp
incubator/tuscany/cpp/das/runtime/core/src/SDODataTypeHelper.h
incubator/tuscany/cpp/das/runtime/core/src/SDODataTypes.h
incubator/tuscany/cpp/das/runtime/core/src/SPCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/SPCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/Statement.cpp
incubator/tuscany/cpp/das/runtime/core/src/Statement.h
incubator/tuscany/cpp/das/runtime/core/src/Table.h
incubator/tuscany/cpp/das/runtime/core/src/TableWrapper.cpp
incubator/tuscany/cpp/das/runtime/core/src/TableWrapper.h
incubator/tuscany/cpp/das/runtime/core/src/Update.h
incubator/tuscany/cpp/das/runtime/core/src/UpdateCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/UpdateCommandImpl.h
incubator/tuscany/cpp/das/runtime/core/src/UpdateGenerator.cpp
incubator/tuscany/cpp/das/runtime/core/src/UpdateGenerator.h
incubator/tuscany/cpp/das/runtime/core/src/UpdateList.cpp
incubator/tuscany/cpp/das/runtime/core/src/UpdateList.h
incubator/tuscany/cpp/das/runtime/core/src/UpdateOperation.cpp
incubator/tuscany/cpp/das/runtime/core/src/UpdateOperation.h
incubator/tuscany/cpp/das/runtime/core/src/WriteCommandImpl.cpp
incubator/tuscany/cpp/das/runtime/core/src/WriteCommandImpl.h
Added: incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj (added)
+++ incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj Fri Jan 12 15:33:46 2007
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="Build"
+ ProjectGUID="{9540B934-24BA-45F0-965B-8231E256DF03}"
+ Keyword="MakeFileProj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory=".\Debug"
+ IntermediateDirectory=".\Debug"
+ ConfigurationType="10"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ TypeLibraryName=".\Debug/Build.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory=".\Release"
+ IntermediateDirectory=".\Release"
+ ConfigurationType="10"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ TypeLibraryName=".\Release/Build.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
Added: incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj.IRIS.lresende.user
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj.IRIS.lresende.user?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj.IRIS.lresende.user (added)
+++ incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj.IRIS.lresende.user Fri Jan 12 15:33:46 2007
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioUserFile
+ ProjectType="Visual C++"
+ Version="8.00"
+ ShowAllFiles="false"
+ >
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ >
+ <DebugSettings
+ Command="..\sdo_test\$(ConfigurationName)\sdo_test.exe"
+ WorkingDirectory="..\..\..\runtime\core\test"
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine=""
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment="PATH=$(ProjectDir)..\sdo_runtime\$(ConfigurationName);%PATH%"
+ EnvironmentMerge="true"
+ DebuggerFlavor="0"
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ >
+ <DebugSettings
+ Command="..\sdo_test\$(ConfigurationName)\sdo_test.exe"
+ WorkingDirectory="..\..\..\runtime\core\test"
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine=""
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment="PATH=$(ProjectDir)..\sdo_runtime\$(ConfigurationName);%PATH%"
+ EnvironmentMerge="true"
+ DebuggerFlavor="0"
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ </Configurations>
+</VisualStudioUserFile>
Added: incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj.user
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj.user?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj.user (added)
+++ incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Build.vcproj.user Fri Jan 12 15:33:46 2007
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioUserFile
+ ProjectType="Visual C++"
+ Version="8.00"
+ ShowAllFiles="false"
+ >
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ >
+ <DebugSettings
+ Command="..\sdo_test\$(ConfigurationName)\sdo_test.exe"
+ WorkingDirectory="..\..\..\runtime\core\test"
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine=""
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment="PATH=$(ProjectDir)..\sdo_runtime\$(ConfigurationName);%PATH%"
+ EnvironmentMerge="true"
+ DebuggerFlavor="0"
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ >
+ <DebugSettings
+ Command="..\sdo_test\$(ConfigurationName)\sdo_test.exe"
+ WorkingDirectory="..\..\..\runtime\core\test"
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine=""
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment="PATH=$(ProjectDir)..\sdo_runtime\$(ConfigurationName);%PATH%"
+ EnvironmentMerge="true"
+ DebuggerFlavor="0"
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ </Configurations>
+</VisualStudioUserFile>
Added: incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Debug/BuildLog.htm
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Debug/BuildLog.htm?view=auto&rev=495788
==============================================================================
Binary file - no diff available.
Propchange: incubator/tuscany/cpp/das/VSExpress/tuscany_das/Build/Debug/BuildLog.htm
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.ncb
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.ncb?view=auto&rev=495788
==============================================================================
Binary file - no diff available.
Propchange: incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.ncb
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.sln
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.sln?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.sln (added)
+++ incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.sln Fri Jan 12 15:33:46 2007
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual C++ Express 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "das_runtime", "das_runtime.vcproj", "{964F3F93-8D1C-46BE-9724-2313CE7380AA}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {964F3F93-8D1C-46BE-9724-2313CE7380AA}.Debug|Win32.ActiveCfg = Debug|Win32
+ {964F3F93-8D1C-46BE-9724-2313CE7380AA}.Debug|Win32.Build.0 = Debug|Win32
+ {964F3F93-8D1C-46BE-9724-2313CE7380AA}.Release|Win32.ActiveCfg = Release|Win32
+ {964F3F93-8D1C-46BE-9724-2313CE7380AA}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
Added: incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.suo
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.suo?view=auto&rev=495788
==============================================================================
Binary file - no diff available.
Propchange: incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.suo
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj (added)
+++ incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj Fri Jan 12 15:33:46 2007
@@ -0,0 +1,736 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="das_runtime"
+ ProjectGUID="{964F3F93-8D1C-46BE-9724-2313CE7380AA}"
+ RootNamespace="das_runtime"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory=".\Release"
+ IntermediateDirectory=".\Release"
+ ConfigurationType="2"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="NDEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="1"
+ TypeLibraryName=".\Release/sdo_runtime.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ InlineFunctionExpansion="1"
+ AdditionalIncludeDirectories="..\..\..\runtime\core\src,$(LIBXML2_HOME)\include,$(ICONV_HOME)\include,$(ZLIB_HOME)\include"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SDO_EXPORTS;_CRT_SECURE_NO_DEPRECATE"
+ StringPooling="true"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ PrecompiledHeaderFile=".\Release/sdo_runtime.pch"
+ AssemblerListingLocation=".\Release/"
+ ObjectFile=".\Release/"
+ ProgramDataBaseFileName=".\Release/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="2057"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="libxml2.lib $(NOINHERIT)"
+ OutputFile="Release\tuscany_sdo.dll"
+ LinkIncremental="1"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories="$(LIBXML2_HOME)\lib"
+ ProgramDatabaseFile=".\Release/tuscany_sdo.pdb"
+ ImportLibrary=".\Release/tuscany_sdo.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ SuppressStartupBanner="true"
+ OutputFile=".\Release/sdo_runtime.bsc"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ Description="deploy"
+ CommandLine="..\..\..\runtime\core\src\deploy.bat ..\..\..\ Release"
+ />
+ </Configuration>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory=".\Debug"
+ IntermediateDirectory=".\Debug"
+ ConfigurationType="2"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="false"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="_DEBUG"
+ MkTypLibCompatible="true"
+ SuppressStartupBanner="true"
+ TargetEnvironment="1"
+ TypeLibraryName=".\Debug/sdo_runtime.tlb"
+ HeaderFileName=""
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\..\..\runtime\core\src,$(LIBXML2_HOME)\include,$(ICONV_HOME)\include,$(ZLIB_HOME)\include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SDO_EXPORTS;_CRT_SECURE_NO_DEPRECATE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ PrecompiledHeaderFile=".\Debug/sdo_runtime.pch"
+ AssemblerListingLocation=".\Debug/"
+ ObjectFile=".\Debug/"
+ ProgramDataBaseFileName=".\Debug/"
+ WarningLevel="3"
+ SuppressStartupBanner="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="_DEBUG"
+ Culture="2057"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="libxml2.lib $(NOINHERIT)"
+ OutputFile="Debug\tuscany_sdo.dll"
+ LinkIncremental="2"
+ SuppressStartupBanner="true"
+ AdditionalLibraryDirectories="$(LIBXML2_HOME)\lib"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile=".\Debug/tuscany_sdo.pdb"
+ ImportLibrary=".\Debug/tuscany_sdo.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ SuppressStartupBanner="true"
+ OutputFile=".\Debug/sdo_runtime.bsc"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCWebDeploymentTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ Description="deploy"
+ CommandLine="..\..\..\runtime\core\src\deploy.bat ..\..\..\ Debug"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+ >
+ <File
+ RelativePath="..\..\..\runtime\core\src\ApplyChangesCommandImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\BaseCommandImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\BaseGenerator.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ChangeFactory.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ChangeOperation.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Changes.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ChangeSummarizer.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\CollisionParameter.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ColumnImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\CommandImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ConfigFactory.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ConfigFactoryImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ConfigHelper.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ConfigImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ConnectionImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\CreateOperation.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DASFactoryImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DASImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DatabaseObject.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DataObjectMaker.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DefaultConverter.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DeleteCommandImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DeleteGenerator.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DeleteList.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DeleteOperation.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\FactoryRegistry.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\GraphBuilderMetadata.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\InsertCommandImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\InsertGenerator.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\InsertList.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ManagedParameterImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\MappingWrapper.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\MultiTableRegistry.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\OptimisticWriteCommandImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\PagerImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ParameterImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Parameters.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\PreparedStatement.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\QualifiedColumn.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ReadCommandImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\RelationshipWrapper.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ResultMetadata.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ResultSetShape.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\SDODataTypeHelper.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\SPCommandImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Statement.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\TableWrapper.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\UpdateCommandImpl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\UpdateGenerator.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\UpdateList.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\UpdateOperation.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\WriteCommandImpl.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl"
+ >
+ <File
+ RelativePath="..\..\..\runtime\core\src\ApplyChangesCommandImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\BaseCommandImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\BaseGenerator.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\CallableStatement.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ChangeFactory.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ChangeOperation.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Changes.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ChangeSummarizer.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\CollisionParameter.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Column.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ColumnImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Command.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\CommandImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Config.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ConfigFactory.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ConfigFactoryImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ConfigHelper.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ConfigImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ConnectionImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ConnectionInfo.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Converter.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Create.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\CreateOperation.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DAS.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DASFactory.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DASFactoryImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DASImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DASObject.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DatabaseObject.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DataObjectMaker.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DefaultConverter.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Delete.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DeleteCommandImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DeleteGenerator.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DeleteList.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\DeleteOperation.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\FactoryRegistry.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\GraphBuilderMetadata.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\InsertCommandImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\InsertGenerator.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\InsertList.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\KeyPair.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ManagedParameterImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\MappingWrapper.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\MultiTableRegistry.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\OptimisticWriteCommandImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Pager.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\PagerImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Parameter.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ParameterImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Parameters.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\PreparedStatement.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\QualifiedColumn.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ReadCommandImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Relationship.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\RelationshipWrapper.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ResultDescriptor.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ResultMetadata.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ResultSet.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ResultSetMetaData.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\ResultSetShape.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\SDODataTypeHelper.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\SDODataTypes.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\SPCommandImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Statement.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Table.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\TableWrapper.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\Update.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\UpdateCommandImpl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\UpdateGenerator.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\UpdateList.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\UpdateOperation.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\runtime\core\src\WriteCommandImpl.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
Added: incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj.IRIS.lresende.user
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj.IRIS.lresende.user?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj.IRIS.lresende.user (added)
+++ incubator/tuscany/cpp/das/VSExpress/tuscany_das/das_runtime/das_runtime.vcproj.IRIS.lresende.user Fri Jan 12 15:33:46 2007
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioUserFile
+ ProjectType="Visual C++"
+ Version="8.00"
+ ShowAllFiles="false"
+ >
+ <Configurations>
+ <Configuration
+ Name="Release|Win32"
+ >
+ <DebugSettings
+ Command=""
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="LUCK"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ <Configuration
+ Name="Debug|Win32"
+ >
+ <DebugSettings
+ Command=""
+ WorkingDirectory=""
+ CommandArguments=""
+ Attach="false"
+ DebuggerType="3"
+ Remote="1"
+ RemoteMachine="LUCK"
+ RemoteCommand=""
+ HttpUrl=""
+ PDBPath=""
+ SQLDebugging=""
+ Environment=""
+ EnvironmentMerge="true"
+ DebuggerFlavor=""
+ MPIRunCommand=""
+ MPIRunArguments=""
+ MPIRunWorkingDirectory=""
+ ApplicationCommand=""
+ ApplicationArguments=""
+ ShimCommand=""
+ MPIAcceptMode=""
+ MPIAcceptFilter=""
+ />
+ </Configuration>
+ </Configurations>
+</VisualStudioUserFile>
Added: incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.ncb
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.ncb?view=auto&rev=495788
==============================================================================
Binary file - no diff available.
Propchange: incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.ncb
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.sln
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.sln?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.sln (added)
+++ incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.sln Fri Jan 12 15:33:46 2007
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual C++ Express 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Build", "Build\Build.vcproj", "{9540B934-24BA-45F0-965B-8231E256DF03}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {9540B934-24BA-45F0-965B-8231E256DF03}.Debug|Win32.ActiveCfg = Debug|Win32
+ {9540B934-24BA-45F0-965B-8231E256DF03}.Debug|Win32.Build.0 = Debug|Win32
+ {9540B934-24BA-45F0-965B-8231E256DF03}.Release|Win32.ActiveCfg = Release|Win32
+ {9540B934-24BA-45F0-965B-8231E256DF03}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
Added: incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.suo
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.suo?view=auto&rev=495788
==============================================================================
Binary file - no diff available.
Propchange: incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.suo
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/tuscany/cpp/das/runtime/core/src/ApplyChangesCommandImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/ApplyChangesCommandImpl.cpp?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/ApplyChangesCommandImpl.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/ApplyChangesCommandImpl.cpp Fri Jan 12 15:33:46 2007
@@ -0,0 +1,64 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#include "ApplyChangesCommandImpl.h"
+
+ApplyChangesCommandImpl::ApplyChangesCommandImpl(MappingWrapper* aConfig, HSTMT* connection) {
+ iConfigWrapper = aConfig;
+
+ if (connection != NULL) {
+ BaseCommandImpl::setConnection(connection, aConfig->getConfig());
+ }
+
+}
+
+ApplyChangesCommandImpl::~ApplyChangesCommandImpl() {
+}
+
+void ApplyChangesCommandImpl::setConnection(ConnectionImpl* connection) {
+ summarizer->setConnection(connection);
+}
+
+void ApplyChangesCommandImpl::execute(DataObject* root) {
+
+ if (summarizer->getConnection() == NULL) {
+ //throw new RuntimeException("A connection must be provided");
+ }
+
+ if (root != root->getDataObject("/")) {
+ //throw new RuntimeException("'root' argument must be the root of the datagraph");
+ }
+
+ summarizer->setMapping(iConfigWrapper);
+
+ Changes* changes = summarizer->loadChanges(root);
+
+ bool success = false;
+
+ //try {
+ changes->execute();
+ success = true;
+ //} finally {
+ if (success) {
+ summarizer->getConnection()->cleanUp();
+ } else {
+ summarizer->getConnection()->errorCleanUp();
+ }
+ //}
+
+}
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/ApplyChangesCommandImpl.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/ApplyChangesCommandImpl.h?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/ApplyChangesCommandImpl.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/ApplyChangesCommandImpl.h Fri Jan 12 15:33:46 2007
@@ -0,0 +1,48 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#ifndef APPLY_CHANGES_COMMAND_IMPL_H
+#define APPLY_CHANGES_COMMAND_IMPL_H
+
+#include <windows.h>
+#include <sql.h>
+#include <string>
+
+#include "commonj/sdo/DataObject.h"
+
+#include "BaseCommandImpl.h"
+#include "ChangeSummarizer.h"
+#include "ConnectionImpl.h"
+#include "MappingWrapper.h"
+
+using namespace commonj::sdo;
+
+class ApplyChangesCommandImpl : public BaseCommandImpl {
+
+ private:
+ ChangeSummarizer* summarizer;
+
+ public:
+ ApplyChangesCommandImpl(MappingWrapper* config, HSTMT* connection);
+ virtual ~ApplyChangesCommandImpl(void);
+ void setConnection(ConnectionImpl* connection);
+ void execute(DataObject* root);
+
+};
+
+#endif //APPLY_CHANGES_COMMAND_IMPL_H
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/BaseCommandImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/BaseCommandImpl.cpp?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/BaseCommandImpl.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/BaseCommandImpl.cpp Fri Jan 12 15:33:46 2007
@@ -0,0 +1,53 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#include "BaseCommandImpl.h"
+
+BaseCommandImpl::BaseCommandImpl(void) {
+ iConfigWrapper = new MappingWrapper;
+}
+
+BaseCommandImpl::~BaseCommandImpl(void) {
+}
+
+void BaseCommandImpl::setConnection(HDBC* connection) {
+ setConnection(new ConnectionImpl(connection));
+}
+
+void BaseCommandImpl::setConnection(HDBC* connection, Config* config) {
+ bool managed = true;
+
+ if (config != NULL && config->getConnectionInfo() != NULL) {
+ managed = config->getConnectionInfo()->isManagedtx();
+ }
+
+ setConnection(connection, managed);
+
+}
+
+void BaseCommandImpl::setConnection(HDBC* connection, bool manageTransaction) {
+ ConnectionImpl* c = new ConnectionImpl(connection);
+
+ c->setManageTransactions(manageTransaction);
+ setConnection(c);
+
+}
+
+void BaseCommandImpl::setConfigWrapper(MappingWrapper* configWrapper) {
+ iConfigWrapper = configWrapper;
+}
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/BaseCommandImpl.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/BaseCommandImpl.h?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/BaseCommandImpl.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/BaseCommandImpl.h Fri Jan 12 15:33:46 2007
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#ifndef BASE_COMMAND_IMPL_H
+#define BASE_COMMAND_IMPL_H
+
+#include <windows.h>
+#include <sql.h>
+
+#include "MappingWrapper.h"
+#include "ConnectionImpl.h"
+#include "Config.h"
+
+class BaseCommandImpl {
+
+ protected:
+ MappingWrapper* iConfigWrapper;
+
+ public:
+ BaseCommandImpl(void);
+ virtual ~BaseCommandImpl(void);
+ void setConnection(HDBC* connection);
+ void setConnection(HDBC* connection, Config* config);
+ void setConnection(HDBC* connection, bool manageTransaction);
+ virtual void setConnection(ConnectionImpl* c);
+ void setConfigWrapper(MappingWrapper* configWrapper);
+
+};
+
+#endif //BASE_COMMAND_IMPL_H
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/BaseGenerator.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/BaseGenerator.cpp?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/BaseGenerator.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/BaseGenerator.cpp Fri Jan 12 15:33:46 2007
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#include "BaseGenerator.h"
+
+Converter* BaseGenerator::getConverter(const string* converter) const {
+
+ if (converter != NULL) {
+
+ //try {
+// return (Converter*) Thread.currentThread().getContextClassLoader().loadClass(converter).newInstance();
+ // } catch (Exception ex) {
+ // throw new RuntimeException(ex);
+ // }
+
+ }
+
+ return NULL;
+
+}
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/BaseGenerator.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/BaseGenerator.h?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/BaseGenerator.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/BaseGenerator.h Fri Jan 12 15:33:46 2007
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#ifndef BASE_GENERATOR_H
+#define BASE_GENERATOR_H
+
+#include <string>
+
+#include "Converter.h"
+
+using namespace std;
+
+class BaseGenerator {
+
+ protected:
+ Converter* getConverter(const string* converter) const;
+
+};
+
+#endif //BASE_GENERATOR_H
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/CallableStatement.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/CallableStatement.h?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/CallableStatement.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/CallableStatement.h Fri Jan 12 15:33:46 2007
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#ifndef CALLABLE_STATEMENT_H
+#define CALLABLE_STATEMENT_H
+
+class CallableStatement {
+
+ public:
+ CallableStatement(void);
+
+};
+
+#endif //CALLABLE_STATEMENT_H
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/ChangeFactory.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/ChangeFactory.cpp?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/ChangeFactory.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/ChangeFactory.cpp Fri Jan 12 15:33:46 2007
@@ -0,0 +1,198 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#include "ChangeFactory.h"
+
+ChangeFactory::ChangeFactory(MappingWrapper* aMapping, ConnectionImpl* aConnection) {
+ iMapping = aMapping;
+ iConnection = aConnection;
+
+}
+
+ChangeFactory::~ChangeFactory(void) {
+}
+
+void ChangeFactory::setCreateCommand(InsertCommandImpl* cmd) {
+ iCreateCommand = cmd;
+}
+
+void ChangeFactory::setUpdateCommand(UpdateCommandImpl* cmd) {
+ iUpdateCommand = cmd;
+}
+
+void ChangeFactory::setDeleteCommand(DeleteCommandImpl* cmd) {
+ iDeleteCommand = cmd;
+}
+
+ChangeOperation* ChangeFactory::createUpdateOperation(DataObject* changedObject, string propagatedID) {
+ return new UpdateOperation(getUpdateCommand(changedObject), changedObject, propagatedID);
+}
+
+ChangeOperation* ChangeFactory::createUpdateOperation(DataObject* changedObject) {
+ return createUpdateOperation(changedObject, NULL);
+}
+
+ChangeOperation* ChangeFactory::createDeleteOperation(DataObject* changedObject) {
+ return new DeleteOperation(getDeleteCommand(changedObject), changedObject);
+}
+
+ChangeOperation* ChangeFactory::createInsertOperation(DataObject* changedObject, string propagatedID) {
+ return new CreateOperation(getCreateCommand(changedObject), changedObject, propagatedID);
+}
+
+InsertCommandImpl* ChangeFactory::getCreateCommand(DataObject* changedObject) {
+
+ if (iCreateCommand == NULL) {
+ Table* table = iMapping->getTableByTypeName(changedObject->getType().getName());
+
+ if (table == NULL) {
+
+ const Property* prop = NULL;
+
+ try {
+ prop = &(changedObject->getType().getProperty("ID"));
+ } catch (SDOPropertyNotFoundException& ex) {
+ //delete allocated objects
+ //throw new RuntimeException("Table " + changedObject.getType().getName()
+ // + " was changed in the DataGraph but is not present in the Config");
+ throw;
+
+ }
+
+ // If the table is not defined in the config, assume it has a primary key of "ID"
+ iMapping->addPrimaryKey(((string) changedObject->getType().getName()) + ".ID");
+ table = iMapping->getTableByTypeName(changedObject->getType().getName());
+
+
+ }
+
+ Create* create = table->getCreate();
+
+ if (create == NULL) {
+ iCreateCommand = InsertGenerator::INSTANCE.getInsertCommand(iMapping, changedObject, table);
+ } else {
+ iCreateCommand = new InsertCommandImpl(create);
+ }
+
+ iCreateCommand->setConnection(iConnection);
+ iCreateCommand->setConfigWrapper(iMapping);
+
+ }
+
+ return iCreateCommand;
+
+}
+
+DeleteCommandImpl* ChangeFactory::getDeleteCommand(DataObject* changedObject) {
+
+ if (iDeleteCommand == NULL) {
+ Table* table = iMapping->getTableByTypeName(changedObject->getType().getName());
+
+ if (table == NULL) {
+
+ const Property* prop = NULL;
+
+ try {
+ prop = &(changedObject->getType().getProperty("ID"));
+ } catch (SDOPropertyNotFoundException& ex) {
+ //delete allocated objects
+ //throw new RuntimeException("Table " + changedObject.getType().getName()
+ // + " was changed in the DataGraph but is not present in the Config");
+ throw;
+
+ }
+
+ // If the table is not defined in the config, assume it has a primary key of "ID"
+ iMapping->addPrimaryKey(changedObject->getType().getName() + ((string) ".ID"));
+ table = iMapping->getTableByTypeName(changedObject->getType().getName());
+
+ }
+
+ Delete* delet = table->getDelete();
+
+ if (delet == NULL) {
+ iDeleteCommand = DeleteGenerator::INSTANCE.getDeleteCommand(table);
+ } else {
+ iDeleteCommand = new DeleteCommandImpl(delet);
+ }
+
+ iDeleteCommand->setConnection(iConnection);
+ iDeleteCommand->setConfigWrapper(iMapping);
+
+ }
+
+ return iDeleteCommand;
+
+}
+
+UpdateCommandImpl* ChangeFactory::getUpdateCommand(DataObject* changedObject) {
+
+ if (iUpdateCommand == NULL) {
+ Table* table = iMapping->getTableByTypeName(changedObject->getType().getName());
+
+ if (table == NULL) {
+
+ const Property* prop = NULL;
+
+ try {
+ prop = &(changedObject->getType().getProperty("ID"));
+ } catch (SDOPropertyNotFoundException& ex) {
+ //delete allocated objects
+ //throw new RuntimeException("Table " + changedObject.getType().getName()
+ // + " was changed in the DataGraph but is not present in the Config");
+ throw;
+
+ }
+
+ iMapping->addPrimaryKey(((string) changedObject->getType().getName()) + ((string) ".ID"));
+ table = iMapping->getTableByTypeName(changedObject->getType().getName());
+
+ }
+
+ Update* update = table->getUpdate();
+
+ if (update == NULL) {
+ iUpdateCommand = UpdateGenerator::INSTANCE.getUpdateCommand(iMapping, changedObject, table);
+ } else {
+
+ TableWrapper t(table);
+
+ if (t.getCollisionColumn() != NULL) {
+ iUpdateCommand = new OptimisticWriteCommandImpl(update);
+ } else {
+ iUpdateCommand = new UpdateCommandImpl(update);
+ }
+
+ }
+
+ iUpdateCommand->setConnection(iConnection);
+ iUpdateCommand->setConfigWrapper(iMapping);
+
+ }
+
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("Returning updateCommand: " + updateCommand);
+ }*/
+
+ return iUpdateCommand;
+
+}
+
+MappingWrapper* ChangeFactory::getConfig(void) {
+ return iMapping;
+}
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/ChangeFactory.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/ChangeFactory.h?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/ChangeFactory.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/ChangeFactory.h Fri Jan 12 15:33:46 2007
@@ -0,0 +1,69 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#ifndef CHANGE_FACTORY_H
+#define CHANGE_FACTORY_H
+
+#include "ConnectionImpl.h"
+#include "ChangeOperation.h"
+#include "InsertCommandImpl.h"
+#include "UpdateCommandImpl.h"
+#include "DeleteCommandImpl.h"
+#include "CreateOperation.h"
+#include "DeleteOperation.h"
+#include "UpdateOperation.h"
+#include "DeleteGenerator.h"
+#include "InsertGenerator.h"
+#include "UpdateGenerator.h"
+#include "Table.h"
+#include "Create.h"
+#include "TableWrapper.h"
+#include "OptimisticWriteCommandImpl.h"
+#include "MappingWrapper.h"
+
+#include "commonj/sdo/DataFactory.h"
+
+using namespace commonj::sdo;
+
+class ChangeFactory {
+
+ private:
+ InsertCommandImpl* iCreateCommand;
+ UpdateCommandImpl* iUpdateCommand;
+ DeleteCommandImpl* iDeleteCommand;
+ MappingWrapper* iMapping;
+ ConnectionImpl* iConnection;
+
+ public:
+ ChangeFactory(MappingWrapper* mapping, ConnectionImpl* connection);
+ virtual ~ChangeFactory(void);
+ void setCreateCommand(InsertCommandImpl* cmd);
+ void setUpdateCommand(UpdateCommandImpl* cmd);
+ void setDeleteCommand(DeleteCommandImpl* cmd);
+ ChangeOperation* createUpdateOperation(DataObject* changedObject, string propagatedID);
+ ChangeOperation* createUpdateOperation(DataObject* changedObject);
+ ChangeOperation* createDeleteOperation(DataObject* changedObject);
+ ChangeOperation* createInsertOperation(DataObject* changedObject, string propagatedID);
+ InsertCommandImpl* getCreateCommand(DataObject* changedObject);
+ DeleteCommandImpl* getDeleteCommand(DataObject* changedObject);
+ UpdateCommandImpl* getUpdateCommand(DataObject* changedObject);
+ MappingWrapper* getConfig(void);
+
+};
+
+#endif //CHANGE_FACTORY_H
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/ChangeOperation.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/ChangeOperation.cpp?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/ChangeOperation.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/ChangeOperation.cpp Fri Jan 12 15:33:46 2007
@@ -0,0 +1,83 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#include "ChangeOperation.h"
+
+ChangeOperation::ChangeOperation(DeleteCommandImpl* command) {
+ writeCommand = command;
+ dObject = NULL;
+ isInsert = false;
+ propagatedID = NULL;
+
+}
+
+ChangeOperation::ChangeOperation(InsertCommandImpl* command, DataObject* changedObject) {
+ writeCommand = command;
+ dObject = new DatabaseObject(command->getMappingModel(), changedObject);
+ isInsert = true;
+ propagatedID = NULL;
+
+}
+
+ChangeOperation::ChangeOperation(UpdateCommandImpl* command, DataObject* changedObject) {
+ writeCommand = command;
+ dObject = new DatabaseObject(command->getMappingModel(), changedObject);
+ isInsert = false;
+ propagatedID = NULL;
+
+}
+
+ChangeOperation::~ChangeOperation(void) {
+}
+
+void ChangeOperation::execute(void) {
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("Executing change operation");
+ }*/
+
+ list<ParameterImpl*>* parameters = writeCommand->getParameters();
+ list<ParameterImpl*>::iterator i;
+ for( i = parameters->begin(); i != parameters->end(); i++ ) {
+ ParameterImpl* param = *i;
+
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("setting " + parm.getName() + " to " + dObject.get(parm.getName()));
+ }*/
+
+ param->setValue(dObject->get(param->getName()));
+
+ }
+
+ writeCommand->execute();
+
+ if (isInsert && (propagatedID != NULL)) {
+
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("Propagating key " + propagatedID);
+ }*/
+
+ int id = writeCommand->getGeneratedKey();
+ dObject->setPropagatedID(*propagatedID, id);
+
+ }
+
+}
+
+string ChangeOperation::getTableName(void) {
+ return dObject->getTableName();
+}
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/ChangeOperation.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/ChangeOperation.h?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/ChangeOperation.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/ChangeOperation.h Fri Jan 12 15:33:46 2007
@@ -0,0 +1,53 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#ifndef CHANGE_OPERATION_H
+#define CHANGE_OPERATION_H
+
+#include "WriteCommandImpl.h"
+#include "DatabaseObject.h"
+#include "DeleteCommandImpl.h"
+#include "InsertCommandImpl.h"
+#include "UpdateCommandImpl.h"
+#include "ParameterImpl.h"
+
+#include "commonj/sdo/DataFactory.h"
+
+using namespace commonj::sdo;
+
+class ChangeOperation {
+
+ private:
+ WriteCommandImpl* writeCommand;
+ bool isInsert;
+
+ protected:
+ DatabaseObject* dObject;
+ string* propagatedID;
+
+ public:
+ ChangeOperation(DeleteCommandImpl* command);
+ ChangeOperation(InsertCommandImpl* command, DataObject* changedObject);
+ ChangeOperation(UpdateCommandImpl* command, DataObject* changedObject);
+ virtual ~ChangeOperation(void);
+ void execute(void);
+ string getTableName(void);
+
+};
+
+#endif //CHANGE_OPERATION_H
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/ChangeSummarizer.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/ChangeSummarizer.cpp?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/ChangeSummarizer.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/ChangeSummarizer.cpp Fri Jan 12 15:33:46 2007
@@ -0,0 +1,269 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#include "ChangeSummarizer.h"
+
+ChangeSummarizer::ChangeSummarizer(void) {
+ mapping = new MappingWrapper;
+}
+
+ChangeSummarizer::~ChangeSummarizer(void) {}
+
+Changes* ChangeSummarizer::loadChanges(DataObject* root) {
+ ChangeSummary* changeSummary = root->getDataGraph()->getChangeSummary();
+
+ /*if (changeSummary.isLogging()) {
+ ((ChangeSummaryImpl) changeSummary).summarize();
+ }*/
+
+ ChangedDataObjectList& changedObjects = changeSummary->getChangedDataObjects();
+
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("List of changed objects contains " + changedObjects.size() + " object(s)");
+ }*/
+
+ changes.setInsertOrder(mapping->getInsertOrder());
+ changes.setDeleteOrder(mapping->getDeleteOrder());
+
+ list<DataObject*>::iterator i;
+ for (i = changedObjects.begin() ; i != changedObjects.end() ; i++) {
+
+ if (*i != root) {
+ createChange(changeSummary, *i);
+ }
+
+ }
+
+ return &changes;
+
+}
+
+void ChangeSummarizer::createChange(ChangeSummary* changeSummary, DataObject* changedObject) {
+
+ if (changeSummary->isCreated(changedObject)) {
+
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("Change is a create");
+ }*/
+
+ if (!changeSummary->isDeleted(changedObject)) {
+ ChangeFactory* factory = getRegistry()->getFactory(changedObject->getType());
+ string propagatedID = ((map<string, string>::iterator) generatedKeys.find(changedObject->getType().getName())->second;
+ changes.addInsert(factory->createInsertOperation(changedObject, propagatedID));
+
+ }
+
+ } else if (changeSummary->isDeleted(changedObject)) {
+
+ ChangeFactory* factory = getRegistry()->getFactory(changedObject->getType());
+
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("Change is a delete");
+ }*/
+
+ changes.addDelete(factory->createDeleteOperation(changedObject));
+
+ } else {
+
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("Change is a modify");
+ }*/
+
+ SettingList& attrList = changeSummary->getOldValues(changedObject);
+
+ if (hasAttributeChange(&attrList)) {
+ ChangeFactory* factory = getRegistry()->getFactory(changedObject->getType());
+
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("Attribute Change for " + changedObject.getType().getName());
+ }*/
+
+ string propagatedID = ((map<string, string>::iterator) generatedKeys.find(changedObject->getType().getName()))->second;
+ changes.addUpdate(factory->createUpdateOperation(changedObject, propagatedID));
+
+ } else {
+ SettingList* values = changeSummary.getOldValues(changedObject);
+ int valuesSize = values->size();
+ int i;
+
+ for (i = 0; i < valuesSize ; i++) {
+ ChangeSummary.Setting* setting = values.get(i);
+
+ if (!setting->getProperty()->getType()->isDataType()) {
+
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("Reference change for " + changedObject.getType().getName());
+ }*/
+
+ Property* ref = setting->getProperty();
+
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug(ref.getName());
+ }*/
+
+ if (hasState(ref, changedObject)) {
+ ChangeFactory* factory = getRegistry()->getFactory(changedObject->getType());
+ changes.addUpdate(factory->createUpdateOperation(changedObject));
+
+ }
+
+ }
+
+ }
+
+ }
+
+ }
+
+
+}
+
+void ChangeSummarizer::addCreateCommand(const Type& type, Command* cmd) {
+ ChangeFactory* cf = getRegistry()->getFactory(type);
+ cf->setCreateCommand((InsertCommandImpl*) cmd);
+ ((CommandImpl*) cmd)->setConnection(connection);
+
+}
+
+void ChangeSummarizer::addUpdateCommand(const Type& type, Command* cmd) {
+ ChangeFactory* cf = getRegistry()->getFactory(type);
+ cf->setUpdateCommand((UpdateCommandImpl*) cmd);
+ ((CommandImpl*) cmd)->setConnection(connection);
+
+}
+
+void ChangeSummarizer::addDeleteCommand(const Type& type, Command* cmd) {
+ ChangeFactory* cf = getRegistry()->getFactory(type);
+ cf->setDeleteCommand((DeleteCommandImpl*) cmd);
+ ((CommandImpl*) cmd)->setConnection(connection);
+
+}
+
+
+
+void ChangeSummarizer::setConnection(ConnectionImpl* aConnection) {
+ connection = aConnection;
+}
+
+void ChangeSummarizer::setMapping(MappingWrapper* map) {
+ mapping = map;
+
+ if (mapping->getConfig() == NULL) {
+ return;
+ }
+
+ list<Table*>* tables = mapping->getConfig()->getTable();
+ list<Table*>::iterator i = tables->iterator();
+ for (; i != tables->end() ; i++) {
+ list<Column*>* columns = (*i)->getColumn();
+ list<Column*>::iterator j = columns->begin();
+
+ for (; j != columns->end() ; j++) {
+
+ if ((*j)->isPrimaryKey() && (*j)->isGenerated()) {
+
+ /*if (this.logger.isDebugEnabled()) {
+ this.logger.debug("adding generated key " + t.getTableName() + "." + c.getColumnName());
+ }*/
+
+ generatedKeys.insert((*i)->getTableName(), (*j)->getColumnName());
+
+ }
+
+ }
+
+ }
+
+}
+
+ConnectionImpl* ChangeSummarizer::getConnection(void) {
+ return connection;
+}
+
+bool ChangeSummarizer::hasState(Property* ref, DataObject* changedObject) {
+
+ if (ref->getOpposite()->isMany()) {
+ return true;
+ }
+
+ MappingWrapper& mw = *mapping;
+
+ if (mw.getConfig() == NULL) {
+ mw = &(registry->getFactory(changedObject->getType())->getConfig());
+ }
+
+ if (mw.getConfig() == NULL) {
+ return false;
+ }
+
+ Relationship* rel = mw.getRelationshipByReference(ref);
+
+ if (!rel->isMany()) {
+
+ if (rel->isKeyRestricted()) {
+ //throw new RuntimeException("Can not modify a one to one relationship that is key restricted");
+ }
+
+ // This is a one-one relationship
+ Table* t = mapping.getTableByTypeName(changedObject->getType().getName());
+ TableWrapper tw(t);
+ RelationshipWrapper rw(rel);
+
+ list<string> keys;
+ list<string>* primaryKeyProperties = tw.getPrimaryKeyProperties();
+ list<string>* foreignKeys = rw.getForeignKeys();
+ keys.merge(*primaryKeyProperties);
+ keys.merge(*foreignKeys);
+ keys.sort();
+ keys.unique();
+
+ if ((rel.getForeignKeyTable() == t.getTableName())
+ && (keys.size() == primaryKeyProperties.size() + foreignKeys.size())) {
+ return true;
+
+ }
+
+ }
+
+ return false;
+
+}
+
+bool ChangeSummarizer::hasAttributeChange(SettingList* theChanges) {
+ int i;
+ for (i = 0 ; i < theChanges->size() ; i++) {
+
+ if (theChanges->get(i)->getProperty().getType().isDataType()) {
+ return true;
+ }
+
+ }
+
+ return false;
+
+}
+
+FactoryRegistry* ChangeSummarizer::getRegistry() {
+
+ if (registry == NULL) {
+ registry = new FactoryRegistry(mapping, connection);
+ }
+
+ return registry;
+
+}
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/ChangeSummarizer.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/ChangeSummarizer.h?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/ChangeSummarizer.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/ChangeSummarizer.h Fri Jan 12 15:33:46 2007
@@ -0,0 +1,75 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#ifndef CHANGE_SUMMARIZER_H
+#define CHANGE_SUMMARIZER_H
+
+#include <map>
+#include <list>
+
+#include "Changes.h"
+#include "FactoryRegistry.h"
+#include "MappingWrapper.h"
+#include "ConnectionImpl.h"
+#include "FactoryRegistry.h"
+#include "Changes.h"
+#include "InsertCommandImpl.h"
+#include "DeleteCommandImpl.h"
+#include "UpdateCommandImpl.h"
+#include "Table.h"
+#include "Column.h"
+#include "Relationship.h"
+#include "TableWrapper.h"
+#include "RelationshipWrapper.h"
+
+#include "commonj/sdo/Type.h"
+#include "commonj/sdo/ChangeSummary.h"
+#include "commonj/sdo/SettingList.h"
+
+using namespace commonj::sdo;
+using namespace std;
+
+class ChangeSummarizer {
+
+ private:
+ Changes changes;
+ FactoryRegistry* registry;
+ MappingWrapper* mapping;
+ ConnectionImpl* connection;
+ map<string, string> generatedKeys;
+
+ bool hasState(Property* ref, DataObject* changedObject);
+ bool hasAttributeChange(SettingList* theChanges);
+ FactoryRegistry* getRegistry(void);
+
+ public:
+ ChangeSummarizer(void);
+ ~ChangeSummarizer(void);
+ Changes* loadChanges(DataObject* root);
+ void createChange(ChangeSummary* changeSummary, DataObject* changedObject);
+
+ void addCreateCommand(const Type& type, Command* cmd);
+ void addUpdateCommand(const Type& type, Command* cmd);
+ void addDeleteCommand(const Type& type, Command* cmd);
+ void setConnection(ConnectionImpl* aConnection);
+ void setMapping(MappingWrapper* map);
+ ConnectionImpl* getConnection(void);
+
+};
+
+#endif //CHANGE_SUMMARIZER_H
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/Changes.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/Changes.cpp?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/Changes.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/Changes.cpp Fri Jan 12 15:33:46 2007
@@ -0,0 +1,59 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#include "Changes.h"
+
+void Changes::addInsert(ChangeOperation* c) {
+ inserts.add(c);
+}
+
+void Changes::addUpdate(ChangeOperation* c) {
+ updates.add(c);
+}
+
+void Changes::addDelete(ChangeOperation* c) {
+ deletes.add(c);
+}
+
+void Changes::execute(void) {
+ list<ChangeOperation*>* sortedList = inserts.getSortedList();
+ list<ChangeOperation*>::iterator i;
+
+ for (i = sortedList->begin(); i != sortedList->end() ; i++) {
+ (*i)->execute();
+ }
+
+ sortedList = updates.getSortedList();
+ for (i = sortedList->begin(); i != sortedList->end() ; i++) {
+ (*i)->execute();
+ }
+
+ sortedList = deletes.getSortedList();
+ for (i = sortedList->begin(); i != sortedList->end() ; i++) {
+ (*i)->execute();
+ }
+
+}
+
+void Changes::setInsertOrder(list<string>* insertOrder) {
+ inserts.setOrder(insertOrder);
+}
+
+void Changes::setDeleteOrder(list<string>* deleteOrder) {
+ deletes.setOrder(deleteOrder);
+}
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/Changes.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/Changes.h?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/Changes.h (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/Changes.h Fri Jan 12 15:33:46 2007
@@ -0,0 +1,49 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#ifndef CHANGES_H
+#define CHANGES_H
+
+#include "Changes.h"
+#include "InsertList.h"
+#include "UpdateList.h"
+#include "DeleteList.h"
+#include "ChangeOperation.h"
+
+#include <list>
+
+using namespace std;
+
+class Changes {
+
+ private:
+ InsertList inserts;
+ UpdateList updates;
+ DeleteList deletes;
+
+ public:
+ void addInsert(ChangeOperation* c);
+ void addUpdate(ChangeOperation* c);
+ void addDelete(ChangeOperation* c);
+ void execute(void);
+ void setInsertOrder(list<string>* insertOrder);
+ void setDeleteOrder(list<string>* deleteOrder);
+
+};
+
+#endif //CHANGES_H
\ No newline at end of file
Added: incubator/tuscany/cpp/das/runtime/core/src/CollisionParameter.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/CollisionParameter.cpp?view=auto&rev=495788
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/CollisionParameter.cpp (added)
+++ incubator/tuscany/cpp/das/runtime/core/src/CollisionParameter.cpp Fri Jan 12 15:33:46 2007
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+#include "CollisionParameter.h"
+
+CollisionParameter::void setValue(DASObject* aValue) {
+
+ if (!isSet) {
+ value = aValue;
+ isSet = 1;
+
+ }
+
+}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org