VS 71,80,90 projects, style edits

This commit is contained in:
Aleksandar Fabijanic 2013-03-11 22:49:54 -05:00
parent ea57bf8207
commit ff0e439aa5
50 changed files with 5329 additions and 405 deletions

16
MongoDB/MongoDB.progen Normal file
View File

@ -0,0 +1,16 @@
vc.project.guid = ${vc.project.guidFromName}
vc.project.name = MongoDB
vc.project.target = Poco${vc.project.name}
vc.project.type = library
vc.project.pocobase = ..
vc.project.outdir = ${vc.project.pocobase}
vc.project.platforms = Win32, x64, WinCE
vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md
vc.project.prototype = ${vc.project.name}_vs90.vcproj
vc.project.compiler.include = ..\\Foundation\\include;..\\Net\\include
vc.project.compiler.defines =
vc.project.compiler.defines.shared = ${vc.project.name}_EXPORTS
vc.project.compiler.defines.debug_shared = ${vc.project.compiler.defines.shared}
vc.project.compiler.defines.release_shared = ${vc.project.compiler.defines.shared}
vc.solution.create = true
vc.solution.include = testsuite\\TestSuite

View File

@ -0,0 +1,60 @@
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MongoDB", "MongoDB_CE_vs90.vcproj", "{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestSuite", "testsuite\TestSuite_CE_vs90.vcproj", "{96CF3103-E49E-3F5E-A11D-6DBCDA043053}"
ProjectSection(ProjectDependencies) = postProject
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199} = {4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
debug_shared|Digi JumpStart (ARMV4I) = debug_shared|Digi JumpStart (ARMV4I)
release_shared|Digi JumpStart (ARMV4I) = release_shared|Digi JumpStart (ARMV4I)
debug_static_mt|Digi JumpStart (ARMV4I) = debug_static_mt|Digi JumpStart (ARMV4I)
release_static_mt|Digi JumpStart (ARMV4I) = release_static_mt|Digi JumpStart (ARMV4I)
debug_static_md|Digi JumpStart (ARMV4I) = debug_static_md|Digi JumpStart (ARMV4I)
release_static_md|Digi JumpStart (ARMV4I) = release_static_md|Digi JumpStart (ARMV4I)
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_shared|Digi JumpStart (ARMV4I).ActiveCfg = debug_shared|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_shared|Digi JumpStart (ARMV4I).Build.0 = debug_shared|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_shared|Digi JumpStart (ARMV4I).Deploy.0 = debug_shared|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_shared|Digi JumpStart (ARMV4I).ActiveCfg = release_shared|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_shared|Digi JumpStart (ARMV4I).Build.0 = release_shared|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_shared|Digi JumpStart (ARMV4I).Deploy.0 = release_shared|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_mt|Digi JumpStart (ARMV4I).ActiveCfg = debug_static_mt|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_mt|Digi JumpStart (ARMV4I).Build.0 = debug_static_mt|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_mt|Digi JumpStart (ARMV4I).Deploy.0 = debug_static_mt|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_mt|Digi JumpStart (ARMV4I).ActiveCfg = release_static_mt|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_mt|Digi JumpStart (ARMV4I).Build.0 = release_static_mt|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_mt|Digi JumpStart (ARMV4I).Deploy.0 = release_static_mt|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_md|Digi JumpStart (ARMV4I).ActiveCfg = debug_static_md|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_md|Digi JumpStart (ARMV4I).Build.0 = debug_static_md|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_md|Digi JumpStart (ARMV4I).Deploy.0 = debug_static_md|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_md|Digi JumpStart (ARMV4I).ActiveCfg = release_static_md|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_md|Digi JumpStart (ARMV4I).Build.0 = release_static_md|Digi JumpStart (ARMV4I)
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_md|Digi JumpStart (ARMV4I).Deploy.0 = release_static_md|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_shared|Digi JumpStart (ARMV4I).ActiveCfg = debug_shared|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_shared|Digi JumpStart (ARMV4I).Build.0 = debug_shared|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_shared|Digi JumpStart (ARMV4I).Deploy.0 = debug_shared|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_shared|Digi JumpStart (ARMV4I).ActiveCfg = release_shared|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_shared|Digi JumpStart (ARMV4I).Build.0 = release_shared|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_shared|Digi JumpStart (ARMV4I).Deploy.0 = release_shared|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_mt|Digi JumpStart (ARMV4I).ActiveCfg = debug_static_mt|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_mt|Digi JumpStart (ARMV4I).Build.0 = debug_static_mt|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_mt|Digi JumpStart (ARMV4I).Deploy.0 = debug_static_mt|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_mt|Digi JumpStart (ARMV4I).ActiveCfg = release_static_mt|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_mt|Digi JumpStart (ARMV4I).Build.0 = release_static_mt|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_mt|Digi JumpStart (ARMV4I).Deploy.0 = release_static_mt|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_md|Digi JumpStart (ARMV4I).ActiveCfg = debug_static_md|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_md|Digi JumpStart (ARMV4I).Build.0 = debug_static_md|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_md|Digi JumpStart (ARMV4I).Deploy.0 = debug_static_md|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_md|Digi JumpStart (ARMV4I).ActiveCfg = release_static_md|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_md|Digi JumpStart (ARMV4I).Build.0 = release_static_md|Digi JumpStart (ARMV4I)
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_md|Digi JumpStart (ARMV4I).Deploy.0 = release_static_md|Digi JumpStart (ARMV4I)
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,531 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
Name="MongoDB"
Version="9.00"
ProjectType="Visual C++"
ProjectGUID="{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}"
RootNamespace="MongoDB"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="Digi JumpStart (ARMV4I)"/>
</Platforms>
<ToolFiles/>
<Configurations>
<Configuration
Name="debug_shared|Digi JumpStart (ARMV4I)"
OutputDirectory="obj\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="obj\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="1">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="1"/>
<Tool
Name="VCCLCompilerTool"
ExecutionBucket="7"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;WINCE;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE;$(ProjectName)_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;MongoDB_EXPORTS"
StringPooling="true"
MinimalRebuild="false"
RuntimeLibrary="3"
BufferSecurityCheck="true"
RuntimeTypeInfo="true"
WarningLevel="3"
DebugInformationFormat="3"
DisableSpecificWarnings="4800;"
CompileForArchitecture="2"
InterworkCalls="false"/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_UNICODE;UNICODE;_WIN32_WCE"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/FORCE:MULTIPLE"
AdditionalDependencies=""
OutputFile="..\bin\$(PlatformName)\PocoMongoDBd.dll"
LinkIncremental="2"
AdditionalLibraryDirectories="..\lib\$(PlatformName)"
GenerateManifest="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="..\bin\$(PlatformName)\PocoMongoDBd.pdb"
SubSystem="0"
StackReserveSize="65536"
StackCommitSize="4096"
OptimizeReferences="0"
EnableCOMDATFolding="0"
RandomizedBaseAddress="1"
ImportLibrary="..\lib\$(PlatformName)\PocoMongoDBd.lib"
TargetMachine="0"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCCodeSignTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<DeploymentTool
ForceDirty="-1"
RemoteDirectory=""
RegisterOutput="0"
AdditionalFiles=""/>
<DebuggerTool/>
</Configuration>
<Configuration
Name="release_shared|Digi JumpStart (ARMV4I)"
OutputDirectory="obj\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="obj\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="1"/>
<Tool
Name="VCCLCompilerTool"
ExecutionBucket="7"
Optimization="4"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="NDEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;WINCE;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE;$(ProjectName)_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;MongoDB_EXPORTS"
StringPooling="true"
MinimalRebuild="false"
RuntimeLibrary="2"
BufferSecurityCheck="false"
RuntimeTypeInfo="true"
WarningLevel="3"
DebugInformationFormat="3"
DisableSpecificWarnings="4800;"
CompileForArchitecture="2"
InterworkCalls="false"/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_UNICODE;UNICODE;_WIN32_WCE"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/FORCE:MULTIPLE"
AdditionalDependencies=""
OutputFile="..\bin\$(PlatformName)\PocoMongoDB.dll"
LinkIncremental="1"
AdditionalLibraryDirectories="..\lib\$(PlatformName)"
GenerateManifest="true"
GenerateDebugInformation="false"
ProgramDatabaseFile=""
SubSystem="0"
StackReserveSize="65536"
StackCommitSize="4096"
OptimizeReferences="0"
EnableCOMDATFolding="0"
ImportLibrary="..\lib\$(PlatformName)\PocoMongoDB.lib"
TargetMachine="0"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCCodeSignTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<DeploymentTool
ForceDirty="-1"
RemoteDirectory=""
RegisterOutput="0"
AdditionalFiles=""/>
<DebuggerTool/>
</Configuration>
<Configuration
Name="debug_static_mt|Digi JumpStart (ARMV4I)"
OutputDirectory="obj\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="obj\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="1"/>
<Tool
Name="VCCLCompilerTool"
ExecutionBucket="7"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;WINCE;_LIB;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE;POCO_STATIC;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;"
StringPooling="true"
MinimalRebuild="false"
RuntimeLibrary="1"
BufferSecurityCheck="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
ProgramDataBaseFileName="..\lib\$(PlatformName)\PocoMongoDBmtd.pdb"
WarningLevel="3"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4800;"
CompileForArchitecture="2"
InterworkCalls="false"/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\$(PlatformName)\PocoMongoDBmtd.lib"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCCodeSignTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<DeploymentTool
ForceDirty="-1"
RemoteDirectory=""
RegisterOutput="0"
AdditionalFiles=""/>
<DebuggerTool/>
</Configuration>
<Configuration
Name="release_static_mt|Digi JumpStart (ARMV4I)"
OutputDirectory="obj\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="obj\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="1"/>
<Tool
Name="VCCLCompilerTool"
ExecutionBucket="7"
Optimization="4"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="NDEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;WINCE;_LIB;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE;POCO_STATIC;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;"
StringPooling="true"
MinimalRebuild="false"
RuntimeLibrary="0"
BufferSecurityCheck="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4800;"
CompileForArchitecture="2"
InterworkCalls="false"/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\$(PlatformName)\PocoMongoDBmt.lib"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCCodeSignTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<DeploymentTool
ForceDirty="-1"
RemoteDirectory=""
RegisterOutput="0"
AdditionalFiles=""/>
<DebuggerTool/>
</Configuration>
<Configuration
Name="debug_static_md|Digi JumpStart (ARMV4I)"
OutputDirectory="obj\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="obj\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="1"/>
<Tool
Name="VCCLCompilerTool"
ExecutionBucket="7"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;WINCE;_LIB;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE;POCO_STATIC;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;"
StringPooling="true"
MinimalRebuild="false"
RuntimeLibrary="3"
BufferSecurityCheck="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
ProgramDataBaseFileName="..\lib\$(PlatformName)\PocoMongoDBmdd.pdb"
WarningLevel="3"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4800;"
CompileForArchitecture="2"
InterworkCalls="false"/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\$(PlatformName)\PocoMongoDBmdd.lib"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCCodeSignTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<DeploymentTool
ForceDirty="-1"
RemoteDirectory=""
RegisterOutput="0"
AdditionalFiles=""/>
<DebuggerTool/>
</Configuration>
<Configuration
Name="release_static_md|Digi JumpStart (ARMV4I)"
OutputDirectory="obj\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="obj\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="1"/>
<Tool
Name="VCCLCompilerTool"
ExecutionBucket="7"
Optimization="4"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="NDEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;WINCE;_LIB;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE;POCO_STATIC;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;"
StringPooling="true"
MinimalRebuild="false"
RuntimeLibrary="2"
BufferSecurityCheck="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4800;"
CompileForArchitecture="2"
InterworkCalls="false"/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\$(PlatformName)\PocoMongoDBmd.lib"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCCodeSignTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<DeploymentTool
ForceDirty="-1"
RemoteDirectory=""
RegisterOutput="0"
AdditionalFiles=""/>
<DebuggerTool/>
</Configuration>
</Configurations>
<References/>
<Files>
<Filter
Name="Source Files">
<File
RelativePath=".\src\Array.cpp"/>
<File
RelativePath=".\src\Binary.cpp"/>
<File
RelativePath=".\src\Connection.cpp"/>
<File
RelativePath=".\src\Cursor.cpp"/>
<File
RelativePath=".\src\Database.cpp"/>
<File
RelativePath=".\src\DeleteRequest.cpp"/>
<File
RelativePath=".\src\Document.cpp"/>
<File
RelativePath=".\src\Element.cpp"/>
<File
RelativePath=".\src\GetMoreRequest.cpp"/>
<File
RelativePath=".\src\InsertRequest.cpp"/>
<File
RelativePath=".\src\JavaScriptCode.cpp"/>
<File
RelativePath=".\src\KillCursorsRequest.cpp"/>
<File
RelativePath=".\src\Message.cpp"/>
<File
RelativePath=".\src\MessageHeader.cpp"/>
<File
RelativePath=".\src\ObjectId.cpp"/>
<File
RelativePath=".\src\QueryRequest.cpp"/>
<File
RelativePath=".\src\RegularExpression.cpp"/>
<File
RelativePath=".\src\ReplicaSet.cpp"/>
<File
RelativePath=".\src\RequestMessage.cpp"/>
<File
RelativePath=".\src\ResponseMessage.cpp"/>
<File
RelativePath=".\src\UpdateRequest.cpp"/>
</Filter>
<Filter
Name="Header Files">
<File
RelativePath=".\include\Poco\MongoDB\Array.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Binary.h"/>
<File
RelativePath=".\include\Poco\MongoDB\BSONReader.h"/>
<File
RelativePath=".\include\Poco\MongoDB\BSONWriter.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Connection.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Cursor.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Database.h"/>
<File
RelativePath=".\include\Poco\MongoDB\DeleteRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Document.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Element.h"/>
<File
RelativePath=".\include\Poco\MongoDB\GetMoreRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\InsertRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\JavaScriptCode.h"/>
<File
RelativePath=".\include\Poco\MongoDB\KillCursorsRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Message.h"/>
<File
RelativePath=".\include\Poco\MongoDB\MessageHeader.h"/>
<File
RelativePath=".\include\Poco\MongoDB\MongoDB.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ObjectId.h"/>
<File
RelativePath=".\include\Poco\MongoDB\PoolableConnectionFactory.h"/>
<File
RelativePath=".\include\Poco\MongoDB\QueryRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\RegularExpression.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ReplicaSet.h"/>
<File
RelativePath=".\include\Poco\MongoDB\RequestMessage.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ResponseMessage.h"/>
<File
RelativePath=".\include\Poco\MongoDB\UpdateRequest.h"/>
</Filter>
</Files>
<Globals/>
</VisualStudioProject>

50
MongoDB/MongoDB_vs71.sln Normal file
View File

@ -0,0 +1,50 @@
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MongoDB", "MongoDB_vs71.vcproj", "{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestSuite", "testsuite\TestSuite_vs71.vcproj", "{96CF3103-E49E-3F5E-A11D-6DBCDA043053}"
ProjectSection(ProjectDependencies) = postProject
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199} = {4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
debug_shared = debug_shared
release_shared = release_shared
debug_static_mt = debug_static_mt
release_static_mt = release_static_mt
debug_static_md = debug_static_md
release_static_md = release_static_md
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_shared.ActiveCfg = debug_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_shared.Build.0 = debug_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_shared.ActiveCfg = release_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_shared.Build.0 = release_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_mt.ActiveCfg = debug_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_mt.Build.0 = debug_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_mt.ActiveCfg = release_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_mt.Build.0 = release_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_md.ActiveCfg = debug_static_md|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_md.Build.0 = debug_static_md|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_md.ActiveCfg = release_static_md|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_md.Build.0 = release_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_shared.ActiveCfg = debug_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_shared.Build.0 = debug_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_shared.ActiveCfg = release_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_shared.Build.0 = release_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_mt.ActiveCfg = debug_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_mt.Build.0 = debug_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_mt.ActiveCfg = release_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_mt.Build.0 = release_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_md.ActiveCfg = debug_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_md.Build.0 = debug_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_md.ActiveCfg = release_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_md.Build.0 = release_static_md|Win32
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal

463
MongoDB/MongoDB_vs71.vcproj Normal file
View File

@ -0,0 +1,463 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
Name="MongoDB"
Version="7.10"
ProjectType="Visual C++"
ProjectGUID="{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}"
RootNamespace="MongoDB"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="debug_shared|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MongoDB_EXPORTS"
StringPooling="TRUE"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="TRUE"
TreatWChar_tAsBuiltInType="TRUE"
ForceConformanceInForLoopScope="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
ObjectFile="$(IntDir)\"
ProgramDataBaseFileName="$(IntDir)\vc70.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4800;"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies=""
OutputFile="..\bin\PocoMongoDBd.dll"
LinkIncremental="2"
SuppressStartupBanner="TRUE"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile="..\bin\PocoMongoDBd.pdb"
AdditionalLibraryDirectories="..\lib"
SubSystem="1"
ImportLibrary="..\lib\PocoMongoDBd.lib"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="release_shared|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="TRUE"
FavorSizeOrSpeed="1"
OmitFramePointers="TRUE"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MongoDB_EXPORTS"
StringPooling="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="2"
BufferSecurityCheck="FALSE"
TreatWChar_tAsBuiltInType="TRUE"
ForceConformanceInForLoopScope="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
ObjectFile="$(IntDir)\"
ProgramDataBaseFileName="$(IntDir)\vc70.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings="4800;"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies=""
OutputFile="..\bin\PocoMongoDB.dll"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
GenerateDebugInformation="FALSE"
AdditionalLibraryDirectories="..\lib"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
ImportLibrary="..\lib\PocoMongoDB.lib"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="debug_static_mt|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="TRUE"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
BufferSecurityCheck="TRUE"
TreatWChar_tAsBuiltInType="TRUE"
ForceConformanceInForLoopScope="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
ObjectFile="$(IntDir)\"
ProgramDataBaseFileName="..\lib\PocoMongoDBmtd.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4800;"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\PocoMongoDBmtd.lib"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="release_static_mt|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="TRUE"
FavorSizeOrSpeed="1"
OmitFramePointers="TRUE"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="0"
BufferSecurityCheck="FALSE"
TreatWChar_tAsBuiltInType="TRUE"
ForceConformanceInForLoopScope="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
ObjectFile="$(IntDir)\"
ProgramDataBaseFileName="$(IntDir)\vc70.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings="4800;"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\PocoMongoDBmt.lib"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="debug_static_md|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="TRUE"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="TRUE"
TreatWChar_tAsBuiltInType="TRUE"
ForceConformanceInForLoopScope="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
ObjectFile="$(IntDir)\"
ProgramDataBaseFileName="..\lib\PocoMongoDBmdd.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4800;"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\PocoMongoDBmdd.lib"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="release_static_md|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="TRUE"
FavorSizeOrSpeed="1"
OmitFramePointers="TRUE"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="2"
BufferSecurityCheck="FALSE"
TreatWChar_tAsBuiltInType="TRUE"
ForceConformanceInForLoopScope="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
ObjectFile="$(IntDir)\"
ProgramDataBaseFileName="$(IntDir)\vc70.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings="4800;"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\PocoMongoDBmd.lib"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
</Configurations>
<References/>
<Files>
<Filter
Name="Source Files">
<File
RelativePath=".\src\Array.cpp"/>
<File
RelativePath=".\src\Binary.cpp"/>
<File
RelativePath=".\src\Connection.cpp"/>
<File
RelativePath=".\src\Cursor.cpp"/>
<File
RelativePath=".\src\Database.cpp"/>
<File
RelativePath=".\src\DeleteRequest.cpp"/>
<File
RelativePath=".\src\Document.cpp"/>
<File
RelativePath=".\src\Element.cpp"/>
<File
RelativePath=".\src\GetMoreRequest.cpp"/>
<File
RelativePath=".\src\InsertRequest.cpp"/>
<File
RelativePath=".\src\JavaScriptCode.cpp"/>
<File
RelativePath=".\src\KillCursorsRequest.cpp"/>
<File
RelativePath=".\src\Message.cpp"/>
<File
RelativePath=".\src\MessageHeader.cpp"/>
<File
RelativePath=".\src\ObjectId.cpp"/>
<File
RelativePath=".\src\QueryRequest.cpp"/>
<File
RelativePath=".\src\RegularExpression.cpp"/>
<File
RelativePath=".\src\ReplicaSet.cpp"/>
<File
RelativePath=".\src\RequestMessage.cpp"/>
<File
RelativePath=".\src\ResponseMessage.cpp"/>
<File
RelativePath=".\src\UpdateRequest.cpp"/>
</Filter>
<Filter
Name="Header Files">
<File
RelativePath=".\include\Poco\MongoDB\Array.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Binary.h"/>
<File
RelativePath=".\include\Poco\MongoDB\BSONReader.h"/>
<File
RelativePath=".\include\Poco\MongoDB\BSONWriter.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Connection.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Cursor.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Database.h"/>
<File
RelativePath=".\include\Poco\MongoDB\DeleteRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Document.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Element.h"/>
<File
RelativePath=".\include\Poco\MongoDB\GetMoreRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\InsertRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\JavaScriptCode.h"/>
<File
RelativePath=".\include\Poco\MongoDB\KillCursorsRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Message.h"/>
<File
RelativePath=".\include\Poco\MongoDB\MessageHeader.h"/>
<File
RelativePath=".\include\Poco\MongoDB\MongoDB.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ObjectId.h"/>
<File
RelativePath=".\include\Poco\MongoDB\PoolableConnectionFactory.h"/>
<File
RelativePath=".\include\Poco\MongoDB\QueryRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\RegularExpression.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ReplicaSet.h"/>
<File
RelativePath=".\include\Poco\MongoDB\RequestMessage.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ResponseMessage.h"/>
<File
RelativePath=".\include\Poco\MongoDB\UpdateRequest.h"/>
</Filter>
</Files>
<Globals/>
</VisualStudioProject>

60
MongoDB/MongoDB_vs80.sln Normal file
View File

@ -0,0 +1,60 @@
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MongoDB", "MongoDB_vs80.vcproj", "{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestSuite", "testsuite\TestSuite_vs80.vcproj", "{96CF3103-E49E-3F5E-A11D-6DBCDA043053}"
ProjectSection(ProjectDependencies) = postProject
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199} = {4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
debug_shared|Win32 = debug_shared|Win32
release_shared|Win32 = release_shared|Win32
debug_static_mt|Win32 = debug_static_mt|Win32
release_static_mt|Win32 = release_static_mt|Win32
debug_static_md|Win32 = debug_static_md|Win32
release_static_md|Win32 = release_static_md|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_shared|Win32.ActiveCfg = debug_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_shared|Win32.Build.0 = debug_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_shared|Win32.Deploy.0 = debug_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_shared|Win32.ActiveCfg = release_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_shared|Win32.Build.0 = release_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_shared|Win32.Deploy.0 = release_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_mt|Win32.ActiveCfg = debug_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_mt|Win32.Build.0 = debug_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_mt|Win32.Deploy.0 = debug_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_mt|Win32.ActiveCfg = release_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_mt|Win32.Build.0 = release_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_mt|Win32.Deploy.0 = release_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_md|Win32.ActiveCfg = debug_static_md|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_md|Win32.Build.0 = debug_static_md|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_md|Win32.Deploy.0 = debug_static_md|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_md|Win32.ActiveCfg = release_static_md|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_md|Win32.Build.0 = release_static_md|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_md|Win32.Deploy.0 = release_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_shared|Win32.ActiveCfg = debug_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_shared|Win32.Build.0 = debug_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_shared|Win32.Deploy.0 = debug_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_shared|Win32.ActiveCfg = release_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_shared|Win32.Build.0 = release_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_shared|Win32.Deploy.0 = release_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_mt|Win32.ActiveCfg = debug_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_mt|Win32.Build.0 = debug_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_mt|Win32.Deploy.0 = debug_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_mt|Win32.ActiveCfg = release_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_mt|Win32.Build.0 = release_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_mt|Win32.Deploy.0 = release_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_md|Win32.ActiveCfg = debug_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_md|Win32.Build.0 = debug_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_md|Win32.Deploy.0 = debug_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_md|Win32.ActiveCfg = release_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_md|Win32.Build.0 = release_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_md|Win32.Deploy.0 = release_static_md|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

484
MongoDB/MongoDB_vs80.vcproj Normal file
View File

@ -0,0 +1,484 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
Name="MongoDB"
Version="8.00"
ProjectType="Visual C++"
ProjectGUID="{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}"
RootNamespace="MongoDB"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<ToolFiles/>
<Configurations>
<Configuration
Name="debug_shared|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MongoDB_EXPORTS"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies=""
OutputFile="..\bin\PocoMongoDBd.dll"
LinkIncremental="2"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="..\bin\PocoMongoDBd.pdb"
AdditionalLibraryDirectories="..\lib"
SubSystem="1"
ImportLibrary="..\lib\PocoMongoDBd.lib"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_shared|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MongoDB_EXPORTS"
StringPooling="true"
RuntimeLibrary="2"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies=""
OutputFile="..\bin\PocoMongoDB.dll"
LinkIncremental="1"
SuppressStartupBanner="true"
GenerateDebugInformation="false"
AdditionalLibraryDirectories="..\lib"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
OptimizeForWindows98="0"
ImportLibrary="..\lib\PocoMongoDB.lib"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="debug_static_mt|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
ProgramDataBaseFileName="..\lib\PocoMongoDBmtd.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\PocoMongoDBmtd.lib"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_static_mt|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="true"
RuntimeLibrary="0"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\PocoMongoDBmt.lib"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="debug_static_md|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
ProgramDataBaseFileName="..\lib\PocoMongoDBmdd.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\PocoMongoDBmdd.lib"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_static_md|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="true"
RuntimeLibrary="2"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\PocoMongoDBmd.lib"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
</Configurations>
<References/>
<Files>
<Filter
Name="Source Files">
<File
RelativePath=".\src\Array.cpp"/>
<File
RelativePath=".\src\Binary.cpp"/>
<File
RelativePath=".\src\Connection.cpp"/>
<File
RelativePath=".\src\Cursor.cpp"/>
<File
RelativePath=".\src\Database.cpp"/>
<File
RelativePath=".\src\DeleteRequest.cpp"/>
<File
RelativePath=".\src\Document.cpp"/>
<File
RelativePath=".\src\Element.cpp"/>
<File
RelativePath=".\src\GetMoreRequest.cpp"/>
<File
RelativePath=".\src\InsertRequest.cpp"/>
<File
RelativePath=".\src\JavaScriptCode.cpp"/>
<File
RelativePath=".\src\KillCursorsRequest.cpp"/>
<File
RelativePath=".\src\Message.cpp"/>
<File
RelativePath=".\src\MessageHeader.cpp"/>
<File
RelativePath=".\src\ObjectId.cpp"/>
<File
RelativePath=".\src\QueryRequest.cpp"/>
<File
RelativePath=".\src\RegularExpression.cpp"/>
<File
RelativePath=".\src\ReplicaSet.cpp"/>
<File
RelativePath=".\src\RequestMessage.cpp"/>
<File
RelativePath=".\src\ResponseMessage.cpp"/>
<File
RelativePath=".\src\UpdateRequest.cpp"/>
</Filter>
<Filter
Name="Header Files">
<File
RelativePath=".\include\Poco\MongoDB\Array.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Binary.h"/>
<File
RelativePath=".\include\Poco\MongoDB\BSONReader.h"/>
<File
RelativePath=".\include\Poco\MongoDB\BSONWriter.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Connection.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Cursor.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Database.h"/>
<File
RelativePath=".\include\Poco\MongoDB\DeleteRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Document.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Element.h"/>
<File
RelativePath=".\include\Poco\MongoDB\GetMoreRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\InsertRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\JavaScriptCode.h"/>
<File
RelativePath=".\include\Poco\MongoDB\KillCursorsRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Message.h"/>
<File
RelativePath=".\include\Poco\MongoDB\MessageHeader.h"/>
<File
RelativePath=".\include\Poco\MongoDB\MongoDB.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ObjectId.h"/>
<File
RelativePath=".\include\Poco\MongoDB\PoolableConnectionFactory.h"/>
<File
RelativePath=".\include\Poco\MongoDB\QueryRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\RegularExpression.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ReplicaSet.h"/>
<File
RelativePath=".\include\Poco\MongoDB\RequestMessage.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ResponseMessage.h"/>
<File
RelativePath=".\include\Poco\MongoDB\UpdateRequest.h"/>
</Filter>
</Files>
<Globals/>
</VisualStudioProject>

60
MongoDB/MongoDB_vs90.sln Normal file
View File

@ -0,0 +1,60 @@
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MongoDB", "MongoDB_vs90.vcproj", "{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestSuite", "testsuite\TestSuite_vs90.vcproj", "{96CF3103-E49E-3F5E-A11D-6DBCDA043053}"
ProjectSection(ProjectDependencies) = postProject
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199} = {4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
debug_shared|Win32 = debug_shared|Win32
release_shared|Win32 = release_shared|Win32
debug_static_mt|Win32 = debug_static_mt|Win32
release_static_mt|Win32 = release_static_mt|Win32
debug_static_md|Win32 = debug_static_md|Win32
release_static_md|Win32 = release_static_md|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_shared|Win32.ActiveCfg = debug_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_shared|Win32.Build.0 = debug_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_shared|Win32.Deploy.0 = debug_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_shared|Win32.ActiveCfg = release_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_shared|Win32.Build.0 = release_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_shared|Win32.Deploy.0 = release_shared|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_mt|Win32.ActiveCfg = debug_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_mt|Win32.Build.0 = debug_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_mt|Win32.Deploy.0 = debug_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_mt|Win32.ActiveCfg = release_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_mt|Win32.Build.0 = release_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_mt|Win32.Deploy.0 = release_static_mt|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_md|Win32.ActiveCfg = debug_static_md|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_md|Win32.Build.0 = debug_static_md|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_md|Win32.Deploy.0 = debug_static_md|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_md|Win32.ActiveCfg = release_static_md|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_md|Win32.Build.0 = release_static_md|Win32
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_md|Win32.Deploy.0 = release_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_shared|Win32.ActiveCfg = debug_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_shared|Win32.Build.0 = debug_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_shared|Win32.Deploy.0 = debug_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_shared|Win32.ActiveCfg = release_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_shared|Win32.Build.0 = release_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_shared|Win32.Deploy.0 = release_shared|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_mt|Win32.ActiveCfg = debug_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_mt|Win32.Build.0 = debug_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_mt|Win32.Deploy.0 = debug_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_mt|Win32.ActiveCfg = release_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_mt|Win32.Build.0 = release_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_mt|Win32.Deploy.0 = release_static_mt|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_md|Win32.ActiveCfg = debug_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_md|Win32.Build.0 = debug_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_md|Win32.Deploy.0 = debug_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_md|Win32.ActiveCfg = release_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_md|Win32.Build.0 = release_static_md|Win32
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_md|Win32.Deploy.0 = release_static_md|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

483
MongoDB/MongoDB_vs90.vcproj Normal file
View File

@ -0,0 +1,483 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
Name="MongoDB"
Version="9.00"
ProjectType="Visual C++"
ProjectGUID="{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}"
RootNamespace="MongoDB"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<ToolFiles/>
<Configurations>
<Configuration
Name="debug_shared|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MongoDB_EXPORTS"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies=""
OutputFile="..\bin\PocoMongoDBd.dll"
LinkIncremental="2"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="..\bin\PocoMongoDBd.pdb"
AdditionalLibraryDirectories="..\lib"
SubSystem="1"
ImportLibrary="..\lib\PocoMongoDBd.lib"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_shared|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MongoDB_EXPORTS"
StringPooling="true"
RuntimeLibrary="2"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies=""
OutputFile="..\bin\PocoMongoDB.dll"
LinkIncremental="1"
SuppressStartupBanner="true"
GenerateDebugInformation="false"
AdditionalLibraryDirectories="..\lib"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
ImportLibrary="..\lib\PocoMongoDB.lib"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="debug_static_mt|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
ProgramDataBaseFileName="..\lib\PocoMongoDBmtd.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\PocoMongoDBmtd.lib"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_static_mt|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="true"
RuntimeLibrary="0"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\PocoMongoDBmt.lib"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="debug_static_md|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
ProgramDataBaseFileName="..\lib\PocoMongoDBmdd.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\PocoMongoDBmdd.lib"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_static_md|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="true"
RuntimeLibrary="2"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib\PocoMongoDBmd.lib"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
</Configurations>
<References/>
<Files>
<Filter
Name="Source Files">
<File
RelativePath=".\src\Array.cpp"/>
<File
RelativePath=".\src\Binary.cpp"/>
<File
RelativePath=".\src\Connection.cpp"/>
<File
RelativePath=".\src\Cursor.cpp"/>
<File
RelativePath=".\src\Database.cpp"/>
<File
RelativePath=".\src\DeleteRequest.cpp"/>
<File
RelativePath=".\src\Document.cpp"/>
<File
RelativePath=".\src\Element.cpp"/>
<File
RelativePath=".\src\GetMoreRequest.cpp"/>
<File
RelativePath=".\src\InsertRequest.cpp"/>
<File
RelativePath=".\src\JavaScriptCode.cpp"/>
<File
RelativePath=".\src\KillCursorsRequest.cpp"/>
<File
RelativePath=".\src\Message.cpp"/>
<File
RelativePath=".\src\MessageHeader.cpp"/>
<File
RelativePath=".\src\ObjectId.cpp"/>
<File
RelativePath=".\src\QueryRequest.cpp"/>
<File
RelativePath=".\src\RegularExpression.cpp"/>
<File
RelativePath=".\src\ReplicaSet.cpp"/>
<File
RelativePath=".\src\RequestMessage.cpp"/>
<File
RelativePath=".\src\ResponseMessage.cpp"/>
<File
RelativePath=".\src\UpdateRequest.cpp"/>
</Filter>
<Filter
Name="Header Files">
<File
RelativePath=".\include\Poco\MongoDB\Array.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Binary.h"/>
<File
RelativePath=".\include\Poco\MongoDB\BSONReader.h"/>
<File
RelativePath=".\include\Poco\MongoDB\BSONWriter.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Connection.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Cursor.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Database.h"/>
<File
RelativePath=".\include\Poco\MongoDB\DeleteRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Document.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Element.h"/>
<File
RelativePath=".\include\Poco\MongoDB\GetMoreRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\InsertRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\JavaScriptCode.h"/>
<File
RelativePath=".\include\Poco\MongoDB\KillCursorsRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Message.h"/>
<File
RelativePath=".\include\Poco\MongoDB\MessageHeader.h"/>
<File
RelativePath=".\include\Poco\MongoDB\MongoDB.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ObjectId.h"/>
<File
RelativePath=".\include\Poco\MongoDB\PoolableConnectionFactory.h"/>
<File
RelativePath=".\include\Poco\MongoDB\QueryRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\RegularExpression.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ReplicaSet.h"/>
<File
RelativePath=".\include\Poco\MongoDB\RequestMessage.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ResponseMessage.h"/>
<File
RelativePath=".\include\Poco\MongoDB\UpdateRequest.h"/>
</Filter>
</Files>
<Globals/>
</VisualStudioProject>

View File

@ -0,0 +1,60 @@
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MongoDB", "MongoDB_x64_vs90.vcproj", "{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestSuite", "testsuite\TestSuite_x64_vs90.vcproj", "{96CF3103-E49E-3F5E-A11D-6DBCDA043053}"
ProjectSection(ProjectDependencies) = postProject
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199} = {4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
debug_shared|x64 = debug_shared|x64
release_shared|x64 = release_shared|x64
debug_static_mt|x64 = debug_static_mt|x64
release_static_mt|x64 = release_static_mt|x64
debug_static_md|x64 = debug_static_md|x64
release_static_md|x64 = release_static_md|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_shared|x64.ActiveCfg = debug_shared|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_shared|x64.Build.0 = debug_shared|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_shared|x64.Deploy.0 = debug_shared|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_shared|x64.ActiveCfg = release_shared|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_shared|x64.Build.0 = release_shared|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_shared|x64.Deploy.0 = release_shared|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_mt|x64.ActiveCfg = debug_static_mt|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_mt|x64.Build.0 = debug_static_mt|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_mt|x64.Deploy.0 = debug_static_mt|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_mt|x64.ActiveCfg = release_static_mt|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_mt|x64.Build.0 = release_static_mt|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_mt|x64.Deploy.0 = release_static_mt|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_md|x64.ActiveCfg = debug_static_md|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_md|x64.Build.0 = debug_static_md|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.debug_static_md|x64.Deploy.0 = debug_static_md|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_md|x64.ActiveCfg = release_static_md|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_md|x64.Build.0 = release_static_md|x64
{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}.release_static_md|x64.Deploy.0 = release_static_md|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_shared|x64.ActiveCfg = debug_shared|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_shared|x64.Build.0 = debug_shared|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_shared|x64.Deploy.0 = debug_shared|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_shared|x64.ActiveCfg = release_shared|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_shared|x64.Build.0 = release_shared|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_shared|x64.Deploy.0 = release_shared|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_mt|x64.ActiveCfg = debug_static_mt|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_mt|x64.Build.0 = debug_static_mt|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_mt|x64.Deploy.0 = debug_static_mt|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_mt|x64.ActiveCfg = release_static_mt|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_mt|x64.Build.0 = release_static_mt|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_mt|x64.Deploy.0 = release_static_mt|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_md|x64.ActiveCfg = debug_static_md|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_md|x64.Build.0 = debug_static_md|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.debug_static_md|x64.Deploy.0 = debug_static_md|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_md|x64.ActiveCfg = release_static_md|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_md|x64.Build.0 = release_static_md|x64
{96CF3103-E49E-3F5E-A11D-6DBCDA043053}.release_static_md|x64.Deploy.0 = release_static_md|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,488 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
Name="MongoDB"
Version="9.00"
ProjectType="Visual C++"
ProjectGUID="{4FF2F34B-7F37-3ACD-AFBC-F21D6D426199}"
RootNamespace="MongoDB"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="x64"/>
</Platforms>
<ToolFiles/>
<Configurations>
<Configuration
Name="debug_shared|x64"
OutputDirectory="obj64\$(ConfigurationName)"
IntermediateDirectory="obj64\$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MongoDB_EXPORTS"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies=""
OutputFile="..\bin64\PocoMongoDB64d.dll"
LinkIncremental="2"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="..\bin64\PocoMongoDB64d.pdb"
AdditionalLibraryDirectories="..\lib64"
SubSystem="1"
ImportLibrary="..\lib64\PocoMongoDBd.lib"
TargetMachine="17"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_shared|x64"
OutputDirectory="obj64\$(ConfigurationName)"
IntermediateDirectory="obj64\$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MongoDB_EXPORTS"
StringPooling="true"
RuntimeLibrary="2"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies=""
OutputFile="..\bin64\PocoMongoDB64.dll"
LinkIncremental="1"
SuppressStartupBanner="true"
GenerateDebugInformation="false"
AdditionalLibraryDirectories="..\lib64"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
OptimizeForWindows98="0"
ImportLibrary="..\lib64\PocoMongoDB.lib"
TargetMachine="17"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="debug_static_mt|x64"
OutputDirectory="obj64\$(ConfigurationName)"
IntermediateDirectory="obj64\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
ProgramDataBaseFileName="..\lib64\PocoMongoDBmtd.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib64\PocoMongoDBmtd.lib"
TargetMachine="17"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_static_mt|x64"
OutputDirectory="obj64\$(ConfigurationName)"
IntermediateDirectory="obj64\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="true"
RuntimeLibrary="0"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib64\PocoMongoDBmt.lib"
TargetMachine="17"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="debug_static_md|x64"
OutputDirectory="obj64\$(ConfigurationName)"
IntermediateDirectory="obj64\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
ProgramDataBaseFileName="..\lib64\PocoMongoDBmdd.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib64\PocoMongoDBmdd.lib"
TargetMachine="17"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_static_md|x64"
OutputDirectory="obj64\$(ConfigurationName)"
IntermediateDirectory="obj64\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories=".\include;..\Foundation\include;..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;POCO_STATIC;"
StringPooling="true"
RuntimeLibrary="2"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="..\lib64\PocoMongoDBmd.lib"
TargetMachine="17"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
</Configurations>
<References/>
<Files>
<Filter
Name="Source Files">
<File
RelativePath=".\src\Array.cpp"/>
<File
RelativePath=".\src\Binary.cpp"/>
<File
RelativePath=".\src\Connection.cpp"/>
<File
RelativePath=".\src\Cursor.cpp"/>
<File
RelativePath=".\src\Database.cpp"/>
<File
RelativePath=".\src\DeleteRequest.cpp"/>
<File
RelativePath=".\src\Document.cpp"/>
<File
RelativePath=".\src\Element.cpp"/>
<File
RelativePath=".\src\GetMoreRequest.cpp"/>
<File
RelativePath=".\src\InsertRequest.cpp"/>
<File
RelativePath=".\src\JavaScriptCode.cpp"/>
<File
RelativePath=".\src\KillCursorsRequest.cpp"/>
<File
RelativePath=".\src\Message.cpp"/>
<File
RelativePath=".\src\MessageHeader.cpp"/>
<File
RelativePath=".\src\ObjectId.cpp"/>
<File
RelativePath=".\src\QueryRequest.cpp"/>
<File
RelativePath=".\src\RegularExpression.cpp"/>
<File
RelativePath=".\src\ReplicaSet.cpp"/>
<File
RelativePath=".\src\RequestMessage.cpp"/>
<File
RelativePath=".\src\ResponseMessage.cpp"/>
<File
RelativePath=".\src\UpdateRequest.cpp"/>
</Filter>
<Filter
Name="Header Files">
<File
RelativePath=".\include\Poco\MongoDB\Array.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Binary.h"/>
<File
RelativePath=".\include\Poco\MongoDB\BSONReader.h"/>
<File
RelativePath=".\include\Poco\MongoDB\BSONWriter.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Connection.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Cursor.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Database.h"/>
<File
RelativePath=".\include\Poco\MongoDB\DeleteRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Document.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Element.h"/>
<File
RelativePath=".\include\Poco\MongoDB\GetMoreRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\InsertRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\JavaScriptCode.h"/>
<File
RelativePath=".\include\Poco\MongoDB\KillCursorsRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\Message.h"/>
<File
RelativePath=".\include\Poco\MongoDB\MessageHeader.h"/>
<File
RelativePath=".\include\Poco\MongoDB\MongoDB.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ObjectId.h"/>
<File
RelativePath=".\include\Poco\MongoDB\PoolableConnectionFactory.h"/>
<File
RelativePath=".\include\Poco\MongoDB\QueryRequest.h"/>
<File
RelativePath=".\include\Poco\MongoDB\RegularExpression.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ReplicaSet.h"/>
<File
RelativePath=".\include\Poco\MongoDB\RequestMessage.h"/>
<File
RelativePath=".\include\Poco\MongoDB\ResponseMessage.h"/>
<File
RelativePath=".\include\Poco\MongoDB\UpdateRequest.h"/>
</Filter>
</Files>
<Globals/>
</VisualStudioProject>

View File

@ -35,8 +35,8 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_Array_included #ifndef MongoDB_Array_INCLUDED
#define _MongoDB_Array_included #define MongoDB_Array_INCLUDED
#include "Poco/NumberFormatter.h" #include "Poco/NumberFormatter.h"
@ -52,15 +52,12 @@ class MongoDB_API Array : public Document
public: public:
typedef SharedPtr<Array> Ptr; typedef SharedPtr<Array> Ptr;
Array(); Array();
/// Constructor /// Constructor
virtual ~Array(); virtual ~Array();
/// Destructor /// Destructor
template<typename T> template<typename T>
T get(int pos) const T get(int pos) const
/// Returns the element on the given index and tries to convert /// Returns the element on the given index and tries to convert
@ -71,7 +68,6 @@ public:
return Document::get<T>(Poco::NumberFormatter::format(pos)); return Document::get<T>(Poco::NumberFormatter::format(pos));
} }
template<typename T> template<typename T>
T get(int pos, const T& def) const T get(int pos, const T& def) const
/// Returns the element on the given index and tries to convert /// Returns the element on the given index and tries to convert
@ -81,12 +77,10 @@ public:
return Document::get<T>(Poco::NumberFormatter::format(pos), def); return Document::get<T>(Poco::NumberFormatter::format(pos), def);
} }
Element::Ptr get(int pos) const; Element::Ptr get(int pos) const;
/// Returns the element on the given index. /// Returns the element on the given index.
/// An empty element will be returned when the element is not found. /// An empty element will be returned when the element is not found.
template<typename T> template<typename T>
bool isType(int pos) bool isType(int pos)
/// Returns true when the type of the element equals the TypeId of ElementTrait /// Returns true when the type of the element equals the TypeId of ElementTrait
@ -94,7 +88,6 @@ public:
return Document::isType<T>(Poco::NumberFormatter::format(pos)); return Document::isType<T>(Poco::NumberFormatter::format(pos));
} }
std::string toString(int indent = 0) const; std::string toString(int indent = 0) const;
}; };
@ -110,15 +103,16 @@ struct ElementTraits<Array::Ptr>
//TODO: //TODO:
return value.isNull() ? "null" : value->toString(indent); return value.isNull() ? "null" : value->toString(indent);
} }
}; };
template<> template<>
inline void BSONReader::read<Array::Ptr>(Array::Ptr& to) inline void BSONReader::read<Array::Ptr>(Array::Ptr& to)
{ {
to->read(_reader); to->read(_reader);
} }
template<> template<>
inline void BSONWriter::write<Array::Ptr>(Array::Ptr& from) inline void BSONWriter::write<Array::Ptr>(Array::Ptr& from)
{ {
@ -126,6 +120,7 @@ inline void BSONWriter::write<Array::Ptr>(Array::Ptr& from)
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif //_MongoDB_Array_included
#endif //MongoDB_Array_INCLUDED

View File

@ -35,8 +35,8 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_BSONReader_included #ifndef MongoDB_BSONReader_INCLUDED
#define _MongoDB_BSONReader_included #define MongoDB_BSONReader_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/BinaryReader.h" #include "Poco/BinaryReader.h"
@ -75,6 +75,7 @@ private:
Poco::BinaryReader _reader; Poco::BinaryReader _reader;
}; };
inline std::string BSONReader::readCString() inline std::string BSONReader::readCString()
{ {
std::string val; std::string val;
@ -98,6 +99,7 @@ inline std::string BSONReader::readCString()
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif // _MongoDB_BSONReader_included
#endif // MongoDB_BSONReader_INCLUDED

View File

@ -35,8 +35,8 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_BSONWriter_included #ifndef MongoDB_BSONWriter_INCLUDED
#define _MongoDB_BSONWriter_included #define MongoDB_BSONWriter_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/BinaryWriter.h" #include "Poco/BinaryWriter.h"
@ -54,13 +54,11 @@ public:
{ {
} }
virtual ~BSONWriter() virtual ~BSONWriter()
/// Destructor /// Destructor
{ {
} }
template<typename T> template<typename T>
void write(T& t) void write(T& t)
/// Writes the value to the writer. The default implementation uses /// Writes the value to the writer. The default implementation uses
@ -69,22 +67,22 @@ public:
_writer << t; _writer << t;
} }
void writeCString(const std::string& value); void writeCString(const std::string& value);
/// Writes a cstring to the writer. A cstring is a string /// Writes a cstring to the writer. A cstring is a string
/// terminated with 0x00 /// terminated with 0x00
private: private:
Poco::BinaryWriter _writer; Poco::BinaryWriter _writer;
}; };
inline void BSONWriter::writeCString(const std::string& value) inline void BSONWriter::writeCString(const std::string& value)
{ {
_writer.writeRaw(value); _writer.writeRaw(value);
_writer << (unsigned char) 0x00; _writer << (unsigned char) 0x00;
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif // _MongoDB_BSONWriter_included
#endif // MongoDB_BSONWriter_INCLUDED

View File

@ -35,8 +35,8 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_Binary_included #ifndef MongoDB_Binary_INCLUDED
#define _MongoDB_Binary_included #define MongoDB_Binary_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/Element.h" #include "Poco/MongoDB/Element.h"
@ -56,40 +56,29 @@ class MongoDB_API Binary
public: public:
typedef SharedPtr<Binary> Ptr; typedef SharedPtr<Binary> Ptr;
Binary(); Binary();
/// Constructor /// Constructor
Binary(Poco::Int32 size, unsigned char subtype); Binary(Poco::Int32 size, unsigned char subtype);
/// Constructor /// Constructor
virtual ~Binary(); virtual ~Binary();
/// Destructor /// Destructor
Buffer<unsigned char>& buffer(); Buffer<unsigned char>& buffer();
/// Returns a reference to the buffer /// Returns a reference to the buffer
unsigned char subtype() const; unsigned char subtype() const;
/// Returns the subtype /// Returns the subtype
void subtype(unsigned char type); void subtype(unsigned char type);
/// Sets the subtype /// Sets the subtype
std::string toString(int indent = 0) const; std::string toString(int indent = 0) const;
/// Returns the binary encoded in Base64 /// Returns the binary encoded in Base64
private: private:
Buffer<unsigned char> _buffer; Buffer<unsigned char> _buffer;
unsigned char _subtype; unsigned char _subtype;
}; };
@ -125,6 +114,7 @@ struct ElementTraits<Binary::Ptr>
} }
}; };
template<> template<>
inline void BSONReader::read<Binary::Ptr>(Binary::Ptr& to) inline void BSONReader::read<Binary::Ptr>(Binary::Ptr& to)
{ {
@ -148,6 +138,6 @@ inline void BSONWriter::write<Binary::Ptr>(Binary::Ptr& from)
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif // _MongoDB_Binary_included #endif // MongoDB_Binary_INCLUDED

View File

@ -35,98 +35,85 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_Connection_h
#define _MongoDB_Connection_h #ifndef MongoDB_Connection_INCLUDED
#define MongoDB_Connection_INCLUDED
#include "Poco/Net/SocketAddress.h" #include "Poco/Net/SocketAddress.h"
#include "Poco/Net/StreamSocket.h" #include "Poco/Net/StreamSocket.h"
#include "Poco/Mutex.h" #include "Poco/Mutex.h"
#include "Poco/MongoDB/RequestMessage.h" #include "Poco/MongoDB/RequestMessage.h"
#include "Poco/MongoDB/ResponseMessage.h" #include "Poco/MongoDB/ResponseMessage.h"
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
class MongoDB_API Connection class MongoDB_API Connection
/// Represents a connection to a MongoDB server /// Represents a connection to a MongoDB server
{ {
public: public:
typedef Poco::SharedPtr<Connection> Ptr; typedef Poco::SharedPtr<Connection> Ptr;
Connection(); Connection();
/// Default constructor. Use this when you want to /// Default constructor. Use this when you want to
/// connect later on. /// connect later on.
Connection(const std::string& hostAndPort); Connection(const std::string& hostAndPort);
/// Constructor which connects to the given MongoDB host/port. /// Constructor which connects to the given MongoDB host/port.
/// The host and port must be separated with a colon. /// The host and port must be separated with a colon.
Connection(const std::string& host, int port); Connection(const std::string& host, int port);
/// Constructor which connects to the given MongoDB host/port. /// Constructor which connects to the given MongoDB host/port.
Connection(const Net::SocketAddress& addrs); Connection(const Net::SocketAddress& addrs);
/// Constructor which connects to the given MongoDB host/port. /// Constructor which connects to the given MongoDB host/port.
virtual ~Connection(); virtual ~Connection();
/// Destructor /// Destructor
Net::SocketAddress address() const; Net::SocketAddress address() const;
/// Returns the address of the MongoDB connection /// Returns the address of the MongoDB connection
void connect(const std::string& hostAndPort); void connect(const std::string& hostAndPort);
/// Connects to the given MongoDB server. The host and port must be separated /// Connects to the given MongoDB server. The host and port must be separated
/// with a colon. /// with a colon.
void connect(const std::string& host, int port); void connect(const std::string& host, int port);
/// Connects to the given MongoDB server. /// Connects to the given MongoDB server.
void connect(const Net::SocketAddress& addrs); void connect(const Net::SocketAddress& addrs);
/// Connects to the given MongoDB server. /// Connects to the given MongoDB server.
void disconnect(); void disconnect();
/// Disconnects from the MongoDB server /// Disconnects from the MongoDB server
void sendRequest(RequestMessage& request); void sendRequest(RequestMessage& request);
/// Sends a request to the MongoDB server /// Sends a request to the MongoDB server
/// Only use this when the request hasn't a response. /// Only use this when the request hasn't a response.
void sendRequest(RequestMessage& request, ResponseMessage& response); void sendRequest(RequestMessage& request, ResponseMessage& response);
/// Sends a request to the MongoDB server and receives the response. /// Sends a request to the MongoDB server and receives the response.
/// Use this when a response is expected: only a query or getmore /// Use this when a response is expected: only a query or getmore
/// request will return a response. /// request will return a response.
private: private:
Net::SocketAddress _address; Net::SocketAddress _address;
Net::StreamSocket _socket; Net::StreamSocket _socket;
void connect(); void connect();
/// Connects to the MongoDB server /// Connects to the MongoDB server
}; };
inline Net::SocketAddress Connection::address() const inline Net::SocketAddress Connection::address() const
{ {
return _address; return _address;
} }
}} // Poco::MongoDB
#endif //_MongoDB_Connection_h } } // namespace Poco::MongoDB
#endif //MongoDB_Connection_INCLUDED

View File

@ -34,14 +34,18 @@
// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_Cursor_included
#define _MongoDB_Cursor_included
#ifndef MongoDB_Cursor_INCLUDED
#define MongoDB_Cursor_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/Connection.h" #include "Poco/MongoDB/Connection.h"
#include "Poco/MongoDB/QueryRequest.h" #include "Poco/MongoDB/QueryRequest.h"
#include "Poco/MongoDB/ResponseMessage.h" #include "Poco/MongoDB/ResponseMessage.h"
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
@ -53,35 +57,25 @@ public:
Cursor(const std::string& dbname, const std::string& collectionName, QueryRequest::Flags flags = QueryRequest::QUERY_NONE); Cursor(const std::string& dbname, const std::string& collectionName, QueryRequest::Flags flags = QueryRequest::QUERY_NONE);
/// Constructor /// Constructor
Cursor(const std::string& fullCollectionName, QueryRequest::Flags flags = QueryRequest::QUERY_NONE); Cursor(const std::string& fullCollectionName, QueryRequest::Flags flags = QueryRequest::QUERY_NONE);
/// Constructor /// Constructor
virtual ~Cursor(); virtual ~Cursor();
/// Destructor /// Destructor
ResponseMessage& next(Connection& connection); ResponseMessage& next(Connection& connection);
/// Try to get the next documents. As long as ResponseMessage has a /// Try to get the next documents. As long as ResponseMessage has a
/// cursor id next can be called to retrieve the next bunch of documents. /// cursor id next can be called to retrieve the next bunch of documents.
/// kill must be called when not all documents are needed. /// kill must be called when not all documents are needed.
QueryRequest& query(); QueryRequest& query();
/// Returns the associated query /// Returns the associated query
void kill(Connection& connection); void kill(Connection& connection);
/// Kills the cursor and reset it so that it can be reused. /// Kills the cursor and reset it so that it can be reused.
private: private:
QueryRequest _query;
QueryRequest _query;
ResponseMessage _response; ResponseMessage _response;
}; };
@ -92,6 +86,7 @@ inline QueryRequest& Cursor::query()
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif //_MongoDB_Cursor_included
#endif //MongoDB_Cursor_INCLUDED

View File

@ -34,8 +34,11 @@
// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_Database_included
#define _MongoDB_Database_included
#ifndef MongoDB_Database_INCLUDED
#define MongoDB_Database_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/Connection.h" #include "Poco/MongoDB/Connection.h"
@ -45,6 +48,7 @@
#include "Poco/MongoDB/UpdateRequest.h" #include "Poco/MongoDB/UpdateRequest.h"
#include "Poco/MongoDB/DeleteRequest.h" #include "Poco/MongoDB/DeleteRequest.h"
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
@ -58,52 +62,41 @@ public:
Database(const std::string& db); Database(const std::string& db);
/// Constructor /// Constructor
virtual ~Database(); virtual ~Database();
/// Destructor /// Destructor
double count(Connection& connection, const std::string& collectionName) const; double count(Connection& connection, const std::string& collectionName) const;
/// Sends a count request for the given collection to MongoDB. When /// Sends a count request for the given collection to MongoDB. When
/// the command fails, -1 is returned. /// the command fails, -1 is returned.
Poco::SharedPtr<Poco::MongoDB::QueryRequest> createCommand() const; Poco::SharedPtr<Poco::MongoDB::QueryRequest> createCommand() const;
/// Creates a QueryRequest for a command. /// Creates a QueryRequest for a command.
Poco::SharedPtr<Poco::MongoDB::QueryRequest> createCountRequest(const std::string& collectionName) const; Poco::SharedPtr<Poco::MongoDB::QueryRequest> createCountRequest(const std::string& collectionName) const;
/// Creates a QueryRequest to count the given collection. The collectionname must not contain /// Creates a QueryRequest to count the given collection. The collectionname must not contain
/// the database name! /// the database name!
Poco::SharedPtr<Poco::MongoDB::DeleteRequest> createDeleteRequest(const std::string& collectionName) const; Poco::SharedPtr<Poco::MongoDB::DeleteRequest> createDeleteRequest(const std::string& collectionName) const;
/// Creates a DeleteRequest to delete documents in the given collection. /// Creates a DeleteRequest to delete documents in the given collection.
/// The collectionname must not contain the database name! /// The collectionname must not contain the database name!
Poco::SharedPtr<Poco::MongoDB::InsertRequest> createInsertRequest(const std::string& collectionName) const; Poco::SharedPtr<Poco::MongoDB::InsertRequest> createInsertRequest(const std::string& collectionName) const;
/// Creates an InsertRequest to insert new documents in the given collection. /// Creates an InsertRequest to insert new documents in the given collection.
/// The collectionname must not contain the database name! /// The collectionname must not contain the database name!
Poco::SharedPtr<Poco::MongoDB::QueryRequest> createQueryRequest(const std::string& collectionName) const; Poco::SharedPtr<Poco::MongoDB::QueryRequest> createQueryRequest(const std::string& collectionName) const;
/// Creates a QueryRequest. The collectionname must not contain the database name! /// Creates a QueryRequest. The collectionname must not contain the database name!
Poco::SharedPtr<Poco::MongoDB::UpdateRequest> createUpdateRequest(const std::string& collectionName) const; Poco::SharedPtr<Poco::MongoDB::UpdateRequest> createUpdateRequest(const std::string& collectionName) const;
/// Creates an UpdateRequest. The collectionname must not contain the database name! /// Creates an UpdateRequest. The collectionname must not contain the database name!
Poco::MongoDB::Document::Ptr ensureIndex(Connection& connection, const std::string& collection, const std::string& indexName, Poco::MongoDB::Document::Ptr keys, bool unique = false, bool background = false, int version = 0, int ttl = 0); Poco::MongoDB::Document::Ptr ensureIndex(Connection& connection, const std::string& collection, const std::string& indexName, Poco::MongoDB::Document::Ptr keys, bool unique = false, bool background = false, int version = 0, int ttl = 0);
/// Creates an index. The document returned is the result of a getLastError call. /// Creates an index. The document returned is the result of a getLastError call.
/// For more info look at the ensureIndex information on the MongoDB website. /// For more info look at the ensureIndex information on the MongoDB website.
Document::Ptr getLastErrorDoc(Connection& connection) const; Document::Ptr getLastErrorDoc(Connection& connection) const;
/// Sends the getLastError command to the database and returns the document /// Sends the getLastError command to the database and returns the document
std::string getLastError(Connection& connection) const; std::string getLastError(Connection& connection) const;
/// Sends the getLastError command to the database and returns the err element /// Sends the getLastError command to the database and returns the err element
/// from the error document. When err is null, an empty string is returned. /// from the error document. When err is null, an empty string is returned.
@ -144,6 +137,7 @@ inline Poco::SharedPtr<Poco::MongoDB::UpdateRequest> Database::createUpdateReque
return new Poco::MongoDB::UpdateRequest(_dbname + '.' + collectionName); return new Poco::MongoDB::UpdateRequest(_dbname + '.' + collectionName);
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif // _MongoDB_Database_included
#endif // MongoDB_Database_INCLUDED

View File

@ -35,13 +35,16 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_DeleteRequest_included
#define _MongoDB_DeleteRequest_included #ifndef MongoDB_DeleteRequest_INCLUDED
#define MongoDB_DeleteRequest_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/RequestMessage.h" #include "Poco/MongoDB/RequestMessage.h"
#include "Poco/MongoDB/Document.h" #include "Poco/MongoDB/Document.h"
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
@ -57,7 +60,6 @@ class MongoDB_API DeleteRequest : public RequestMessage
/// Delete only the first document /// Delete only the first document
{ {
public: public:
typedef enum typedef enum
{ {
DELETE_NONE = 0, DELETE_NONE = 0,
@ -70,7 +72,6 @@ public:
/// for the database "foo" and the collection "bar", the full collection name is /// for the database "foo" and the collection "bar", the full collection name is
/// "foo.bar". /// "foo.bar".
DeleteRequest(const std::string& collectionName, bool justOne); DeleteRequest(const std::string& collectionName, bool justOne);
/// Constructor. The full collection name is the concatenation of the database /// Constructor. The full collection name is the concatenation of the database
/// name with the collection name, using a "." for the concatenation. For example, /// name with the collection name, using a "." for the concatenation. For example,
@ -78,36 +79,25 @@ public:
/// "foo.bar". When justOne is true, only the first matching document will /// "foo.bar". When justOne is true, only the first matching document will
/// be removed (the same as using flag DELETE_SINGLE_REMOVE). /// be removed (the same as using flag DELETE_SINGLE_REMOVE).
virtual ~DeleteRequest(); virtual ~DeleteRequest();
/// Destructor /// Destructor
Flags flags() const; Flags flags() const;
/// Returns flags /// Returns flags
void flags(Flags flag); void flags(Flags flag);
/// Sets flags /// Sets flags
Document& selector(); Document& selector();
/// Returns the selector document /// Returns the selector document
protected: protected:
void buildRequest(BinaryWriter& writer); void buildRequest(BinaryWriter& writer);
/// Writes the OP_DELETE request to the writer /// Writes the OP_DELETE request to the writer
private: private:
Flags _flags;
Flags _flags;
std::string _fullCollectionName; std::string _fullCollectionName;
Document _selector; Document _selector;
}; };
@ -129,6 +119,7 @@ inline Document& DeleteRequest::selector()
return _selector; return _selector;
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif //_MongoDB_DeleteRequest_included
#endif //MongoDB_DeleteRequest_INCLUDED

View File

@ -35,21 +35,21 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_Document_included
#define _MongoDB_Document_included
#include <algorithm> #ifndef MongoDB_Document_INCLUDED
#define MongoDB_Document_INCLUDED
#include "Poco/BinaryReader.h" #include "Poco/BinaryReader.h"
#include "Poco/BinaryWriter.h" #include "Poco/BinaryWriter.h"
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/Element.h" #include "Poco/MongoDB/Element.h"
#include <algorithm>
namespace Poco {
namespace MongoDB {
namespace Poco
{
namespace MongoDB
{
class ElementFindByName class ElementFindByName
{ {
@ -71,26 +71,19 @@ class MongoDB_API Document
/// Represents a BSON document /// Represents a BSON document
{ {
public: public:
typedef SharedPtr<Document> Ptr; typedef SharedPtr<Document> Ptr;
typedef std::vector<Document::Ptr> Vector; typedef std::vector<Document::Ptr> Vector;
Document(); Document();
/// Constructor /// Constructor
virtual ~Document(); virtual ~Document();
/// Destructor /// Destructor
Document& addElement(Element::Ptr element); Document& addElement(Element::Ptr element);
/// Add an element to the document. /// Add an element to the document.
/// The active document is returned to allow chaining of the add methods. /// The active document is returned to allow chaining of the add methods.
template<typename T> template<typename T>
Document& add(const std::string& name, T value) Document& add(const std::string& name, T value)
/// Creates an element with the given name and value and /// Creates an element with the given name and value and
@ -100,7 +93,6 @@ public:
return addElement(new ConcreteElement<T>(name, value)); return addElement(new ConcreteElement<T>(name, value));
} }
Document& add(const std::string& name, const char* value) Document& add(const std::string& name, const char* value)
/// Creates an element with the given name and value and /// Creates an element with the given name and value and
// adds it to the document. // adds it to the document.
@ -109,29 +101,23 @@ public:
return addElement(new ConcreteElement<std::string>(name, std::string(value))); return addElement(new ConcreteElement<std::string>(name, std::string(value)));
} }
Document& addNewDocument(const std::string& name); Document& addNewDocument(const std::string& name);
/// Create a new document and add it to this document. /// Create a new document and add it to this document.
/// Unlike the other add methods, this method returns /// Unlike the other add methods, this method returns
/// a reference to the new document. /// a reference to the new document.
void clear(); void clear();
/// Removes all elements from the document. /// Removes all elements from the document.
void elementNames(std::vector<std::string>& keys) const; void elementNames(std::vector<std::string>& keys) const;
/// Puts all element names into std::vector. /// Puts all element names into std::vector.
bool empty() const; bool empty() const;
/// Returns true when the document doesn't contain any documents. /// Returns true when the document doesn't contain any documents.
bool exists(const std::string& name); bool exists(const std::string& name);
/// Returns true when the document has an element with the given name /// Returns true when the document has an element with the given name
template<typename T> template<typename T>
T get(const std::string& name) const T get(const std::string& name) const
/// Returns the element with the given name and tries to convert /// Returns the element with the given name and tries to convert
@ -158,7 +144,6 @@ public:
} }
} }
template<typename T> template<typename T>
T get(const std::string& name, const T& def) const T get(const std::string& name, const T& def) const
/// Returns the element with the given name and tries to convert /// Returns the element with the given name and tries to convert
@ -183,12 +168,10 @@ public:
return def; return def;
} }
Element::Ptr get(const std::string& name) const; Element::Ptr get(const std::string& name) const;
/// Returns the element with the given name. /// Returns the element with the given name.
/// An empty element will be returned when the element is not found. /// An empty element will be returned when the element is not found.
template<typename T> template<typename T>
bool isType(const std::string& name) bool isType(const std::string& name)
/// Returns true when the type of the element equals the TypeId of ElementTrait /// Returns true when the type of the element equals the TypeId of ElementTrait
@ -202,25 +185,19 @@ public:
return ElementTraits<T>::TypeId == element->type(); return ElementTraits<T>::TypeId == element->type();
} }
void read(BinaryReader& reader); void read(BinaryReader& reader);
/// Reads a document from the reader /// Reads a document from the reader
size_t size() const; size_t size() const;
/// Returns the number of elements in the document. /// Returns the number of elements in the document.
virtual std::string toString(int indent = 0) const; virtual std::string toString(int indent = 0) const;
/// Returns a String representation of the document. /// Returns a String representation of the document.
void write(BinaryWriter& writer); void write(BinaryWriter& writer);
/// Writes a document to the reader /// Writes a document to the reader
protected: protected:
ElementSet _elements; ElementSet _elements;
}; };
@ -286,6 +263,7 @@ struct ElementTraits<Document::Ptr>
} }
}; };
template<> template<>
inline void BSONReader::read<Document::Ptr>(Document::Ptr& to) inline void BSONReader::read<Document::Ptr>(Document::Ptr& to)
{ {
@ -298,6 +276,7 @@ inline void BSONWriter::write<Document::Ptr>(Document::Ptr& from)
from->write(_writer); from->write(_writer);
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif // _MongoDB_Document_included
#endif // MongoDB_Document_INCLUDED

View File

@ -35,8 +35,8 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_Element_included #ifndef MongoDB_Element_INCLUDED
#define _MongoDB_Element_included #define MongoDB_Element_INCLUDED
#include <string> #include <string>
#include <sstream> #include <sstream>
@ -62,41 +62,28 @@ class MongoDB_API Element
/// Represents an element of a Document or an Array /// Represents an element of a Document or an Array
{ {
public: public:
typedef Poco::SharedPtr<Element> Ptr;
Element(const std::string& name); Element(const std::string& name);
/// Constructor /// Constructor
virtual ~Element(); virtual ~Element();
/// Destructor /// Destructor
std::string name() const; std::string name() const;
/// Returns the name of the element /// Returns the name of the element
virtual std::string toString(int indent = 0) const = 0; virtual std::string toString(int indent = 0) const = 0;
/// Returns a string representation of the element. /// Returns a string representation of the element.
virtual int type() const = 0; virtual int type() const = 0;
/// Returns the MongoDB type of the element. /// Returns the MongoDB type of the element.
typedef Poco::SharedPtr<Element> Ptr;
private: private:
virtual void read(BinaryReader& reader) = 0; virtual void read(BinaryReader& reader) = 0;
virtual void write(BinaryWriter& writer) = 0; virtual void write(BinaryWriter& writer) = 0;
friend class Document; friend class Document;
std::string _name; std::string _name;
}; };
@ -125,6 +112,7 @@ struct ElementTraits
{ {
}; };
// BSON Floating point // BSON Floating point
// spec: double // spec: double
template<> template<>
@ -138,6 +126,7 @@ struct ElementTraits<double>
} }
}; };
// BSON UTF-8 string // BSON UTF-8 string
// spec: int32 (byte*) "\x00" // spec: int32 (byte*) "\x00"
// int32 is the number bytes in byte* + 1 (for trailing "\x00" // int32 is the number bytes in byte* + 1 (for trailing "\x00"
@ -196,6 +185,7 @@ struct ElementTraits<std::string>
} }
}; };
template<> template<>
inline void BSONReader::read<std::string>(std::string& to) inline void BSONReader::read<std::string>(std::string& to)
{ {
@ -205,6 +195,7 @@ inline void BSONReader::read<std::string>(std::string& to)
to.erase(to.end() - 1); // remove terminating 0 to.erase(to.end() - 1); // remove terminating 0
} }
template<> template<>
inline void BSONWriter::write<std::string>(std::string& from) inline void BSONWriter::write<std::string>(std::string& from)
{ {
@ -213,7 +204,6 @@ inline void BSONWriter::write<std::string>(std::string& from)
} }
// BSON bool // BSON bool
// spec: "\x00" "\x01" // spec: "\x00" "\x01"
template<> template<>
@ -227,6 +217,7 @@ struct ElementTraits<bool>
} }
}; };
template<> template<>
inline void BSONReader::read<bool>(bool& to) inline void BSONReader::read<bool>(bool& to)
{ {
@ -242,6 +233,7 @@ inline void BSONWriter::write<bool>(bool& from)
_writer << b; _writer << b;
} }
// BSON 32-bit integer // BSON 32-bit integer
// spec: int32 // spec: int32
template<> template<>
@ -256,6 +248,7 @@ struct ElementTraits<Int32>
} }
}; };
// BSON UTC datetime // BSON UTC datetime
// spec: int64 // spec: int64
template<> template<>
@ -269,6 +262,7 @@ struct ElementTraits<Timestamp>
} }
}; };
template<> template<>
inline void BSONReader::read<Timestamp>(Timestamp& to) inline void BSONReader::read<Timestamp>(Timestamp& to)
{ {
@ -278,14 +272,17 @@ inline void BSONReader::read<Timestamp>(Timestamp& to)
to += (value % 1000 * 1000); to += (value % 1000 * 1000);
} }
template<> template<>
inline void BSONWriter::write<Timestamp>(Timestamp& from) inline void BSONWriter::write<Timestamp>(Timestamp& from)
{ {
_writer << (from.epochMicroseconds() / 1000); _writer << (from.epochMicroseconds() / 1000);
} }
typedef Nullable<unsigned char> NullValue; typedef Nullable<unsigned char> NullValue;
// BSON Null Value // BSON Null Value
// spec: // spec:
template<> template<>
@ -299,16 +296,19 @@ struct ElementTraits<NullValue>
} }
}; };
template<> template<>
inline void BSONReader::read<NullValue>(NullValue& to) inline void BSONReader::read<NullValue>(NullValue& to)
{ {
} }
template<> template<>
inline void BSONWriter::write<NullValue>(NullValue& from) inline void BSONWriter::write<NullValue>(NullValue& from)
{ {
} }
// BSON 64-bit integer // BSON 64-bit integer
// spec: int64 // spec: int64
template<> template<>
@ -336,14 +336,22 @@ public:
} }
T value() const { return _value; } T value() const
{
return _value;
}
std::string toString(int indent = 0) const { return ElementTraits<T>::toString(_value, indent); } std::string toString(int indent = 0) const
{
return ElementTraits<T>::toString(_value, indent);
}
int type() const { return ElementTraits<T>::TypeId; } int type() const
{
return ElementTraits<T>::TypeId;
}
void read(BinaryReader& reader) void read(BinaryReader& reader)
{ {
@ -356,10 +364,11 @@ public:
} }
private: private:
T _value; T _value;
}; };
}} // Namespace Poco::MongoDB
#endif // _MongoDB_Element_included } } // namespace Poco::MongoDB
#endif // MongoDB_Element_INCLUDED

View File

@ -35,12 +35,14 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_GetMoreRequest_included #ifndef MongoDB_GetMoreRequest_INCLUDED
#define _MongoDB_GetMoreRequest_included #define MongoDB_GetMoreRequest_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/RequestMessage.h" #include "Poco/MongoDB/RequestMessage.h"
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
@ -62,50 +64,48 @@ public:
virtual ~GetMoreRequest(); virtual ~GetMoreRequest();
/// Destructor /// Destructor
Int32 getNumberToReturn() const; Int32 getNumberToReturn() const;
/// Returns the limit of returned documents /// Returns the limit of returned documents
void setNumberToReturn(Int32 n); void setNumberToReturn(Int32 n);
/// Sets the limit of returned documents /// Sets the limit of returned documents
Int64 cursorID() const; Int64 cursorID() const;
/// Returns the cursor id /// Returns the cursor id
protected: protected:
void buildRequest(BinaryWriter& writer); void buildRequest(BinaryWriter& writer);
private: private:
Int32 _flags; Int32 _flags;
std::string _fullCollectionName; std::string _fullCollectionName;
Int32 _numberToReturn; Int32 _numberToReturn;
Int64 _cursorID; Int64 _cursorID;
}; };
//
// inlines
//
inline Int32 GetMoreRequest::getNumberToReturn() const inline Int32 GetMoreRequest::getNumberToReturn() const
{ {
return _numberToReturn; return _numberToReturn;
} }
inline void GetMoreRequest::setNumberToReturn(Int32 n) inline void GetMoreRequest::setNumberToReturn(Int32 n)
{ {
_numberToReturn = n; _numberToReturn = n;
} }
inline Int64 GetMoreRequest::cursorID() const inline Int64 GetMoreRequest::cursorID() const
{ {
return _cursorID; return _cursorID;
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif //_MongoDB_GetMoreRequest_included
#endif //MongoDB_GetMoreRequest_INCLUDED

View File

@ -35,13 +35,16 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_InsertRequest_included
#define _MongoDB_InsertRequest_included #ifndef MongoDB_InsertRequest_INCLUDED
#define MongoDB_InsertRequest_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/RequestMessage.h" #include "Poco/MongoDB/RequestMessage.h"
#include "Poco/MongoDB/Document.h" #include "Poco/MongoDB/Document.h"
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
@ -57,7 +60,6 @@ public:
INSERT_CONTINUE_ON_ERROR = 1 INSERT_CONTINUE_ON_ERROR = 1
} Flags; } Flags;
InsertRequest(const std::string& collectionName, Flags flags = INSERT_NONE ); InsertRequest(const std::string& collectionName, Flags flags = INSERT_NONE );
/// Constructor. /// Constructor.
/// The full collection name is the concatenation of the database /// The full collection name is the concatenation of the database
@ -68,13 +70,11 @@ public:
virtual ~InsertRequest(); virtual ~InsertRequest();
/// Destructor /// Destructor
Document& addNewDocument(); Document& addNewDocument();
/// Adds a new document for insertion. A reference to the empty document is /// Adds a new document for insertion. A reference to the empty document is
/// returned. InsertRequest is the owner of the Document and will free it /// returned. InsertRequest is the owner of the Document and will free it
/// on destruction. /// on destruction.
Document::Vector& documents(); Document::Vector& documents();
/// Returns the documents to insert into the database /// Returns the documents to insert into the database
@ -82,13 +82,10 @@ protected:
void buildRequest(BinaryWriter& writer); void buildRequest(BinaryWriter& writer);
private: private:
Int32 _flags; Int32 _flags;
std::string _fullCollectionName; std::string _fullCollectionName;
Document::Vector _documents; Document::Vector _documents;
}; };
@ -96,9 +93,7 @@ private:
inline Document& InsertRequest::addNewDocument() inline Document& InsertRequest::addNewDocument()
{ {
Document::Ptr doc = new Document(); Document::Ptr doc = new Document();
_documents.push_back(doc); _documents.push_back(doc);
return *doc; return *doc;
} }
@ -109,6 +104,7 @@ inline Document::Vector& InsertRequest::documents()
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif //_MongoDB_InsertRequest_included
#endif //MongoDB_InsertRequest_INCLUDED

View File

@ -35,8 +35,10 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_JavaScriptCode_included
#define _MongoDB_JavaScriptCode_included #ifndef MongoDB_JavaScriptCode_INCLUDED
#define MongoDB_JavaScriptCode_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/BSONReader.h" #include "Poco/MongoDB/BSONReader.h"
@ -44,6 +46,7 @@
#include "Poco/MongoDB/Element.h" #include "Poco/MongoDB/Element.h"
#include "Poco/SharedPtr.h" #include "Poco/SharedPtr.h"
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
@ -54,24 +57,19 @@ class MongoDB_API JavaScriptCode
public: public:
typedef SharedPtr<JavaScriptCode> Ptr; typedef SharedPtr<JavaScriptCode> Ptr;
JavaScriptCode(); JavaScriptCode();
/// Constructor /// Constructor
virtual ~JavaScriptCode(); virtual ~JavaScriptCode();
/// Destructor /// Destructor
void setCode(const std::string& s); void setCode(const std::string& s);
/// Set the code /// Set the code
std::string getCode() const; std::string getCode() const;
/// Get the code /// Get the code
private: private:
std::string _code; std::string _code;
}; };
@ -110,6 +108,7 @@ inline void BSONReader::read<JavaScriptCode::Ptr>(JavaScriptCode::Ptr& to)
to->setCode(code); to->setCode(code);
} }
template<> template<>
inline void BSONWriter::write<JavaScriptCode::Ptr>(JavaScriptCode::Ptr& from) inline void BSONWriter::write<JavaScriptCode::Ptr>(JavaScriptCode::Ptr& from)
{ {
@ -118,6 +117,7 @@ inline void BSONWriter::write<JavaScriptCode::Ptr>(JavaScriptCode::Ptr& from)
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif // _MongoDB_JavaScriptCode_included
#endif // MongoDB_JavaScriptCode_INCLUDED

View File

@ -35,12 +35,14 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_KillCursorsRequest_included #ifndef MongoDB_KillCursorsRequest_INCLUDED
#define _MongoDB_KillCursorsRequest_included #define MongoDB_KillCursorsRequest_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/RequestMessage.h" #include "Poco/MongoDB/RequestMessage.h"
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
@ -54,28 +56,25 @@ public:
KillCursorsRequest(); KillCursorsRequest();
/// Constructor /// Constructor
virtual ~KillCursorsRequest(); virtual ~KillCursorsRequest();
/// Destructor /// Destructor
std::vector<Int64>& cursors(); std::vector<Int64>& cursors();
/// Return the cursors /// Return the cursors
protected: protected:
void buildRequest(BinaryWriter& writer); void buildRequest(BinaryWriter& writer);
std::vector<Int64> _cursors; std::vector<Int64> _cursors;
}; };
inline std::vector<Int64>& KillCursorsRequest::cursors() inline std::vector<Int64>& KillCursorsRequest::cursors()
{ {
return _cursors; return _cursors;
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif //_MongoDB_KillCursorsRequest_included
#endif //MongoDB_KillCursorsRequest_INCLUDED

View File

@ -35,17 +35,17 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_Message_included #ifndef MongoDB_Message_INCLUDED
#define _MongoDB_Message_included #define MongoDB_Message_INCLUDED
#include <sstream>
#include "Poco/Net/Socket.h" #include "Poco/Net/Socket.h"
#include "Poco/BinaryReader.h" #include "Poco/BinaryReader.h"
#include "Poco/BinaryWriter.h" #include "Poco/BinaryWriter.h"
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/MessageHeader.h" #include "Poco/MongoDB/MessageHeader.h"
#include <sstream>
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
@ -61,15 +61,12 @@ public:
virtual ~Message(); virtual ~Message();
/// Destructor /// Destructor
MessageHeader& header(); MessageHeader& header();
/// Returns the message header /// Returns the message header
protected: protected:
MessageHeader _header; MessageHeader _header;
void messageLength(Int32 length); void messageLength(Int32 length);
/// Sets the message length in the message header /// Sets the message length in the message header
}; };
@ -87,6 +84,7 @@ inline void Message::messageLength(Int32 length)
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif //_MongoDB_Message_included
#endif //MongoDB_Message_INCLUDED

View File

@ -35,17 +35,21 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_MessageHeader_included #ifndef MongoDB_MessageHeader_INCLUDED
#define _MongoDB_MessageHeader_included #define MongoDB_MessageHeader_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/MessageHeader.h" #include "Poco/MongoDB/MessageHeader.h"
#define MSG_HEADER_SIZE 16 #define MSG_HEADER_SIZE 16
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
class MongoDB_API MessageHeader class MongoDB_API MessageHeader
/// Represents the header which is always prepended to a request /// Represents the header which is always prepended to a request
/// or response of MongoDB /// or response of MongoDB
@ -63,60 +67,42 @@ public:
, KillCursors = 2007 , KillCursors = 2007
} OpCode; } OpCode;
virtual ~MessageHeader(); virtual ~MessageHeader();
/// Destructor /// Destructor
void read(BinaryReader& reader); void read(BinaryReader& reader);
/// Reads the header /// Reads the header
void write(BinaryWriter& writer); void write(BinaryWriter& writer);
/// Writes the header /// Writes the header
Int32 getMessageLength() const; Int32 getMessageLength() const;
/// Returns the message length /// Returns the message length
OpCode opCode() const; OpCode opCode() const;
/// Returns the OpCode /// Returns the OpCode
Int32 getRequestID() const; Int32 getRequestID() const;
/// Returns the request id of the current message /// Returns the request id of the current message
void setRequestID(Int32 id); void setRequestID(Int32 id);
/// Sets the request id of the current message /// Sets the request id of the current message
Int32 responseTo() const; Int32 responseTo() const;
/// Returns the request id from the original request. /// Returns the request id from the original request.
private: private:
MessageHeader(OpCode opcode); MessageHeader(OpCode opcode);
/// Constructor. /// Constructor.
Int32 _messageLength;
void setMessageLength(Int32 length); void setMessageLength(Int32 length);
/// Sets the message length /// Sets the message length
Int32 _messageLength;
Int32 _requestID; Int32 _requestID;
Int32 _responseTo; Int32 _responseTo;
OpCode _opCode; OpCode _opCode;
friend class Message; friend class Message;
}; };
@ -126,21 +112,25 @@ inline MessageHeader::OpCode MessageHeader::opCode() const
return _opCode; return _opCode;
} }
inline Int32 MessageHeader::getMessageLength() const inline Int32 MessageHeader::getMessageLength() const
{ {
return _messageLength; return _messageLength;
} }
inline void MessageHeader::setMessageLength(Int32 length) inline void MessageHeader::setMessageLength(Int32 length)
{ {
_messageLength = MSG_HEADER_SIZE + length; _messageLength = MSG_HEADER_SIZE + length;
} }
inline void MessageHeader::setRequestID(Int32 id) inline void MessageHeader::setRequestID(Int32 id)
{ {
_requestID = id; _requestID = id;
} }
inline Int32 MessageHeader::getRequestID() const inline Int32 MessageHeader::getRequestID() const
{ {
return _requestID; return _requestID;
@ -152,6 +142,7 @@ inline Int32 MessageHeader::responseTo() const
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif //_MongoDB_MessageHeader_included
#endif //MongoDB_MessageHeader_INCLUDED

View File

@ -38,8 +38,8 @@
// //
#ifndef MongoDB_MongoDB_INCLUDED #ifndef MongoDBMongoDB_INCLUDED
#define MongoDB_MongoDB_INCLUDED #define MongoDBMongoDB_INCLUDED
#include "Poco/Foundation.h" #include "Poco/Foundation.h"
@ -53,17 +53,23 @@
// MongoDB_API functions as being imported from a DLL, wheras this DLL sees symbols // MongoDB_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported. // defined with this macro as being exported.
// //
#if defined(_WIN32) && defined(POCO_DLL) #if defined(_WIN32) && defined(POCO_DLL)
#if defined(MongoDB_EXPORTS) #if defined(MongoDB_EXPORTS)
#define MongoDB_API __declspec(dllexport) #define MongoDB_API __declspec(dllexport)
#else #else
#define MongoDB_API __declspec(dllimport) #define MongoDB_API __declspec(dllimport)
#endif #endif
#endif #endif
#if !defined(MongoDB_API) #if !defined(MongoDB_API)
#define MongoDB_API #if !defined(POCO_NO_GCC_API_ATTRIBUTE) && defined (__GNUC__) && (__GNUC__ >= 4)
#define MongoDB_API __attribute__ ((visibility ("default")))
#else
#define MongoDB_API
#endif
#endif #endif
@ -71,10 +77,10 @@
// Automatically link MongoDB library. // Automatically link MongoDB library.
// //
#if defined(_MSC_VER) #if defined(_MSC_VER)
#if !defined(POCO_NO_AUTOMATIC_LIBS) && !defined(MongoDB_EXPORTS) #if !defined(POCO_NO_AUTOMATIC_LIBS) && !defined(MongoDB_EXPORTS)
#pragma comment(lib, "PocoMongoDB" POCO_LIB_SUFFIX) #pragma comment(lib, "PocoMongoDB" POCO_LIB_SUFFIX)
#endif #endif
#endif #endif
#endif // MongoDB_MongoDB_INCLUDED #endif // MongoDBMongoDB_INCLUDED

View File

@ -35,13 +35,15 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_ObjectId_included #ifndef MongoDB_ObjectId_INCLUDED
#define _MongoDB_ObjectId_included #define MongoDB_ObjectId_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/Element.h" #include "Poco/MongoDB/Element.h"
#include "Poco/Timestamp.h" #include "Poco/Timestamp.h"
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
@ -60,26 +62,20 @@ class MongoDB_API ObjectId
/// as its value. /// as its value.
{ {
public: public:
typedef SharedPtr<ObjectId> Ptr; typedef SharedPtr<ObjectId> Ptr;
ObjectId(); ObjectId();
/// Constructor /// Constructor
virtual ~ObjectId(); virtual ~ObjectId();
/// Destructor /// Destructor
Timestamp timestamp() const; Timestamp timestamp() const;
/// Returns the timestamp which is stored in the first four bytes of the id /// Returns the timestamp which is stored in the first four bytes of the id
std::string toString() const; std::string toString() const;
/// Returns the id in string format /// Returns the id in string format
private: private:
unsigned char _id[12]; unsigned char _id[12];
@ -99,6 +95,7 @@ inline Timestamp ObjectId::timestamp() const
return Timestamp::fromEpochTime((time_t) time); return Timestamp::fromEpochTime((time_t) time);
} }
// BSON Embedded Document // BSON Embedded Document
// spec: ObjectId // spec: ObjectId
template<> template<>
@ -106,19 +103,20 @@ struct ElementTraits<ObjectId::Ptr>
{ {
enum { TypeId = 0x07 }; enum { TypeId = 0x07 };
static std::string toString(const ObjectId::Ptr& id, int indent = 0) static std::string toString(const ObjectId::Ptr& id, int indent = 0)
{ {
return id->toString(); return id->toString();
} }
}; };
template<> template<>
inline void BSONReader::read<ObjectId::Ptr>(ObjectId::Ptr& to) inline void BSONReader::read<ObjectId::Ptr>(ObjectId::Ptr& to)
{ {
_reader.readRaw((char*) to->_id, 12); _reader.readRaw((char*) to->_id, 12);
} }
template<> template<>
inline void BSONWriter::write<ObjectId::Ptr>(ObjectId::Ptr& from) inline void BSONWriter::write<ObjectId::Ptr>(ObjectId::Ptr& from)
{ {
@ -126,7 +124,7 @@ inline void BSONWriter::write<ObjectId::Ptr>(ObjectId::Ptr& from)
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif //_MongoDB_ObjectId_included #endif //MongoDB_ObjectId_INCLUDED

View File

@ -1,15 +1,54 @@
#ifndef _MongoDB_PoolableConnectionFactory_included //
#define _MongoDB_PoolableConnectionFactory_included // PoolableConnectionFactory.h
//
// $Id$
//
// Library: MongoDB
// Package: MongoDB
// Module: PoolableConnectionFactory
//
// Definition of the PoolableConnectionFactory class.
//
// Copyright (c) 2012, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompanying documentation covered by
// this license (the "Software") to use, reproduce, display, distribute,
// execute, and transmit the Software, and to prepare derivative works of the
// Software, and to permit third-parties to whom the Software is furnished to
// do so, all subject to the following:
//
// The copyright notices in the Software and this entire statement, including
// the above license grant, this restriction and the following disclaimer,
// must be included in all copies of the Software, in whole or in part, and
// all derivative works of the Software, unless such copies or derivative
// works are solely in the form of machine-executable object code generated by
// a source language processor.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
// SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
// FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
//
#ifndef MongoDB_PoolableConnectionFactory_INCLUDED
#define MongoDB_PoolableConnectionFactory_INCLUDED
#include "Poco/MongoDB/Connection.h" #include "Poco/MongoDB/Connection.h"
#include "Poco/ObjectPool.h" #include "Poco/ObjectPool.h"
namespace Poco
{ namespace Poco {
template<> template<>
class MongoDB_API PoolableObjectFactory<MongoDB::Connection, MongoDB::Connection::Ptr> class PoolableObjectFactory<MongoDB::Connection, MongoDB::Connection::Ptr>
/// PoolableObjectFactory specialisation for Connection. New connections /// PoolableObjectFactory specialisation for Connection. New connections
/// are created with the given address. /// are created with the given address.
{ {
@ -19,50 +58,42 @@ public:
{ {
} }
PoolableObjectFactory(const std::string& address) PoolableObjectFactory(const std::string& address)
: _address(address) : _address(address)
{ {
} }
MongoDB::Connection::Ptr createObject() MongoDB::Connection::Ptr createObject()
{ {
return new MongoDB::Connection(_address); return new MongoDB::Connection(_address);
} }
bool validateObject(MongoDB::Connection::Ptr pObject) bool validateObject(MongoDB::Connection::Ptr pObject)
{ {
return true; return true;
} }
void activateObject(MongoDB::Connection::Ptr pObject) void activateObject(MongoDB::Connection::Ptr pObject)
{ {
} }
void deactivateObject(MongoDB::Connection::Ptr pObject) void deactivateObject(MongoDB::Connection::Ptr pObject)
{ {
} }
void destroyObject(MongoDB::Connection::Ptr pObject) void destroyObject(MongoDB::Connection::Ptr pObject)
{ {
} }
private: private:
Net::SocketAddress _address; Net::SocketAddress _address;
}; };
namespace MongoDB
{ namespace MongoDB {
class MongoDB_API PooledConnection class PooledConnection
/// Helper class for borrowing and returning a connection automatically from a pool. /// Helper class for borrowing and returning a connection automatically from a pool.
{ {
public: public:
@ -76,17 +107,19 @@ public:
_pool.returnObject(_connection); _pool.returnObject(_connection);
} }
operator Connection::Ptr () { return _connection; } operator Connection::Ptr ()
{
return _connection;
}
private: private:
Poco::ObjectPool<Connection, Connection::Ptr>& _pool; Poco::ObjectPool<Connection, Connection::Ptr>& _pool;
Connection::Ptr _connection; Connection::Ptr _connection;
}; };
} // MongoDB
} // namespace MongoDB
} // namespace Poco
} // Poco #endif //MongoDB_PoolableConnectionFactory_INCLUDED
#endif //_MongoDB_PoolableConnectionFactory_included

View File

@ -35,23 +35,25 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_QueryRequest_included
#define _MongoDB_QueryRequest_included #ifndef MongoDB_QueryRequest_INCLUDED
#define MongoDB_QueryRequest_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/RequestMessage.h" #include "Poco/MongoDB/RequestMessage.h"
#include "Poco/MongoDB/Document.h" #include "Poco/MongoDB/Document.h"
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
class MongoDB_API QueryRequest : public RequestMessage class MongoDB_API QueryRequest : public RequestMessage
/// Class for creating an OP_QUERY client request. This request /// Class for creating an OP_QUERY client request. This request
/// is used to query documents from the database. /// is used to query documents from the database.
{ {
public: public:
typedef enum typedef enum
{ {
QUERY_NONE = 0, QUERY_NONE = 0,
@ -64,7 +66,6 @@ public:
QUERY_PARTIAL = 128 QUERY_PARTIAL = 128
} Flags; } Flags;
QueryRequest(const std::string& collectionName, Flags flags = QUERY_NONE); QueryRequest(const std::string& collectionName, Flags flags = QUERY_NONE);
/// Constructor. /// Constructor.
/// The full collection name is the concatenation of the database /// The full collection name is the concatenation of the database
@ -72,65 +73,46 @@ public:
/// for the database "foo" and the collection "bar", the full collection name is /// for the database "foo" and the collection "bar", the full collection name is
/// "foo.bar". /// "foo.bar".
virtual ~QueryRequest(); virtual ~QueryRequest();
/// Destructor /// Destructor
Flags getFlags() const; Flags getFlags() const;
/// Returns the flags /// Returns the flags
void setFlags(Flags flag); void setFlags(Flags flag);
/// Set the flags /// Set the flags
std::string fullCollectionName() const; std::string fullCollectionName() const;
/// Returns the <db>.<collection> used for this query /// Returns the <db>.<collection> used for this query
Int32 getNumberToSkip() const; Int32 getNumberToSkip() const;
/// Returns the number of documents to skip /// Returns the number of documents to skip
void setNumberToSkip(Int32 n); void setNumberToSkip(Int32 n);
/// Sets the number of documents to skip /// Sets the number of documents to skip
Int32 getNumberToReturn() const; Int32 getNumberToReturn() const;
/// Returns the number to return /// Returns the number to return
void setNumberToReturn(Int32 n); void setNumberToReturn(Int32 n);
/// Sets the number to return (limit) /// Sets the number to return (limit)
Document& selector(); Document& selector();
/// Returns the selector document /// Returns the selector document
Document& returnFieldSelector(); Document& returnFieldSelector();
/// Returns the field selector document /// Returns the field selector document
protected: protected:
void buildRequest(BinaryWriter& writer); void buildRequest(BinaryWriter& writer);
private: private:
Flags _flags;
Flags _flags;
std::string _fullCollectionName; std::string _fullCollectionName;
Int32 _numberToSkip;
Int32 _numberToSkip; Int32 _numberToReturn;
Document _selector;
Int32 _numberToReturn; Document _returnFieldSelector;
Document _selector;
Document _returnFieldSelector;
}; };
@ -188,6 +170,7 @@ inline void QueryRequest::setNumberToReturn(Int32 n)
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif //_MongoDB_QueryRequest_included
#endif //MongoDB_QueryRequest_INCLUDED

View File

@ -35,14 +35,16 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_RegularExpression_included
#define _MongoDB_RegularExpression_included #ifndef MongoDB_RegularExpression_INCLUDED
#define MongoDB_RegularExpression_INCLUDED
#include "Poco/RegularExpression.h" #include "Poco/RegularExpression.h"
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/Element.h" #include "Poco/MongoDB/Element.h"
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
@ -51,43 +53,33 @@ class MongoDB_API RegularExpression
/// Represents a regular expression in BSON format /// Represents a regular expression in BSON format
{ {
public: public:
typedef SharedPtr<RegularExpression> Ptr; typedef SharedPtr<RegularExpression> Ptr;
RegularExpression(); RegularExpression();
/// Constructor /// Constructor
RegularExpression(const std::string& pattern, const std::string& options); RegularExpression(const std::string& pattern, const std::string& options);
/// Constructor /// Constructor
virtual ~RegularExpression(); virtual ~RegularExpression();
/// Destructor /// Destructor
SharedPtr<Poco::RegularExpression> createRE() const; SharedPtr<Poco::RegularExpression> createRE() const;
/// Tries to create a Poco::RegularExpression /// Tries to create a Poco::RegularExpression
std::string getOptions() const; std::string getOptions() const;
/// Returns the options /// Returns the options
void setOptions(const std::string& options); void setOptions(const std::string& options);
/// Sets the options /// Sets the options
std::string getPattern() const; std::string getPattern() const;
/// Returns the pattern /// Returns the pattern
void setPattern(const std::string& pattern); void setPattern(const std::string& pattern);
/// Sets the pattern /// Sets the pattern
private: private:
std::string _pattern; std::string _pattern;
std::string _options; std::string _options;
}; };
@ -116,6 +108,7 @@ inline void RegularExpression::setOptions(const std::string& options)
_options = options; _options = options;
} }
// BSON Regex // BSON Regex
// spec: cstring cstring // spec: cstring cstring
template<> template<>
@ -149,6 +142,7 @@ inline void BSONWriter::write<RegularExpression::Ptr>(RegularExpression::Ptr& fr
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif // _MongoDB_RegularExpression_included
#endif // MongoDB_RegularExpression_INCLUDED

View File

@ -35,16 +35,20 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_ReplicaSet_h
#define _MongoDB_ReplicaSet_h
#include <vector> #ifndef MongoDB_ReplicaSet_INCLUDED
#define MongoDB_ReplicaSet_INCLUDED
#include "Poco/Net/SocketAddress.h" #include "Poco/Net/SocketAddress.h"
#include "Poco/MongoDB/Connection.h" #include "Poco/MongoDB/Connection.h"
#include <vector>
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
class MongoDB_API ReplicaSet class MongoDB_API ReplicaSet
/// Class for working with a replicaset /// Class for working with a replicaset
{ {
@ -52,22 +56,20 @@ public:
ReplicaSet(const std::vector<Net::SocketAddress>& addresses); ReplicaSet(const std::vector<Net::SocketAddress>& addresses);
/// Constructor /// Constructor
virtual ~ReplicaSet(); virtual ~ReplicaSet();
/// Destructor /// Destructor
Connection::Ptr findMaster(); Connection::Ptr findMaster();
/// Tries to find the master MongoDB instance from the addresses /// Tries to find the master MongoDB instance from the addresses
private: private:
Connection::Ptr isMaster(const Net::SocketAddress& host); Connection::Ptr isMaster(const Net::SocketAddress& host);
std::vector<Net::SocketAddress> _addresses; std::vector<Net::SocketAddress> _addresses;
}; };
#endif // _MongoDB_ReplicaSet_h
}} // Poco::MongoDB #endif // MongoDB_ReplicaSet_INCLUDED
} } // namespace Poco::MongoDB

View File

@ -35,14 +35,16 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_RequestMessage_included
#define _MongoDB_RequestMessage_included #ifndef MongoDB_RequestMessage_INCLUDED
#define MongoDB_RequestMessage_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/Message.h" #include "Poco/MongoDB/Message.h"
#include <ostream> #include <ostream>
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
@ -54,21 +56,18 @@ public:
RequestMessage(MessageHeader::OpCode opcode); RequestMessage(MessageHeader::OpCode opcode);
/// Constructor /// Constructor
virtual ~RequestMessage(); virtual ~RequestMessage();
/// Destructor /// Destructor
void send(std::ostream& ostr); void send(std::ostream& ostr);
/// Sends the request to stream /// Sends the request to stream
protected: protected:
virtual void buildRequest(BinaryWriter& ss) = 0; virtual void buildRequest(BinaryWriter& ss) = 0;
}; };
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif //_MongoDB_RequestMessage_included
#endif //MongoDB_RequestMessage_INCLUDED

View File

@ -35,15 +35,17 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_ResponseMessage_included
#define _MongoDB_ResponseMessage_included #ifndef MongoDB_ResponseMessage_INCLUDED
#define MongoDB_ResponseMessage_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/Message.h" #include "Poco/MongoDB/Message.h"
#include "Poco/MongoDB/Document.h" #include "Poco/MongoDB/Document.h"
#include <istream> #include <istream>
namespace Poco { namespace Poco {
namespace MongoDB { namespace MongoDB {
@ -55,53 +57,35 @@ public:
ResponseMessage(); ResponseMessage();
/// Constructor /// Constructor
virtual ~ResponseMessage(); virtual ~ResponseMessage();
/// Destructor /// Destructor
Int64 cursorID() const; Int64 cursorID() const;
/// Returns the cursor id /// Returns the cursor id
void clear(); void clear();
/// Clears the response /// Clears the response
size_t count() const; size_t count() const;
/// Returns the number of documents in the response /// Returns the number of documents in the response
Document::Vector& documents(); Document::Vector& documents();
/// Returns the retrieved documents /// Returns the retrieved documents
bool empty() const; bool empty() const;
/// Returns true when the response doesn't contain any documents /// Returns true when the response doesn't contain any documents
bool hasDocuments() const; bool hasDocuments() const;
/// Returns true when there is at least one document /// Returns true when there is at least one document
void read(std::istream& istr); void read(std::istream& istr);
/// Reads the response from the stream /// Reads the response from the stream
private: private:
Int32 _responseFlags; Int32 _responseFlags;
Int64 _cursorID; Int64 _cursorID;
Int32 _startingFrom; Int32 _startingFrom;
Int32 _numberReturned; Int32 _numberReturned;
Document::Vector _documents; Document::Vector _documents;
}; };
@ -135,6 +119,7 @@ inline bool ResponseMessage::hasDocuments() const
return _documents.size() > 0; return _documents.size() > 0;
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif //_MongoDB_ResponseMessage_included
#endif //MongoDB_ResponseMessage_INCLUDED

View File

@ -35,17 +35,18 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// //
#ifndef _MongoDB_UpdateRequest_included
#define _MongoDB_UpdateRequest_included #ifndef MongoDB_UpdateRequest_INCLUDED
#define MongoDB_UpdateRequest_INCLUDED
#include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/MongoDB.h"
#include "Poco/MongoDB/RequestMessage.h" #include "Poco/MongoDB/RequestMessage.h"
#include "Poco/MongoDB/Document.h" #include "Poco/MongoDB/Document.h"
namespace Poco
{ namespace Poco {
namespace MongoDB namespace MongoDB {
{
class UpdateRequest : public RequestMessage class UpdateRequest : public RequestMessage
@ -53,7 +54,6 @@ class UpdateRequest : public RequestMessage
/// to update a document. /// to update a document.
{ {
public: public:
typedef enum typedef enum
{ {
UPDATE_NOFLAGS = 0, UPDATE_NOFLAGS = 0,
@ -72,7 +72,6 @@ public:
/// for the database "foo" and the collection "bar", the full collection name is /// for the database "foo" and the collection "bar", the full collection name is
/// "foo.bar". /// "foo.bar".
virtual ~UpdateRequest(); virtual ~UpdateRequest();
/// Destructor /// Destructor
@ -84,29 +83,21 @@ public:
Document& update(); Document& update();
/// The document to update /// The document to update
Flags flags() const; Flags flags() const;
/// Returns the flags /// Returns the flags
void flags(Flags flags); void flags(Flags flags);
/// Sets the flags /// Sets the flags
protected: protected:
void buildRequest(BinaryWriter& writer); void buildRequest(BinaryWriter& writer);
private: private:
Flags _flags;
Flags _flags;
std::string _fullCollectionName; std::string _fullCollectionName;
Document _selector;
Document _selector; Document _update;
Document _update;
}; };
@ -131,6 +122,6 @@ inline Document& UpdateRequest::update()
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB
#endif //_MongoDB_UpdateRequest_included #endif //MongoDB_UpdateRequest_INCLUDED

View File

@ -66,4 +66,4 @@ std::string Binary::toString(int indent) const
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB

View File

@ -147,4 +147,4 @@ Poco::SharedPtr<Poco::MongoDB::QueryRequest> Database::createCountRequest(const
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB

View File

@ -213,4 +213,4 @@ void Document::write(BinaryWriter& writer)
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB

View File

@ -51,4 +51,4 @@ Element::~Element()
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB

View File

@ -49,4 +49,4 @@ JavaScriptCode::~JavaScriptCode()
{ {
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB

View File

@ -65,4 +65,4 @@ std::string ObjectId::toString() const
return s; return s;
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB

View File

@ -88,4 +88,4 @@ SharedPtr<Poco::RegularExpression> RegularExpression::createRE() const
return new Poco::RegularExpression(_pattern, options); return new Poco::RegularExpression(_pattern, options);
} }
}} // Namespace Poco::MongoDB } } // namespace Poco::MongoDB

View File

@ -105,4 +105,4 @@ Connection::Ptr ReplicaSet::isMaster(const Net::SocketAddress& address)
} }
}} // Poco::MongoDB } } // namespace Poco::MongoDB

View File

@ -0,0 +1,9 @@
vc.project.guid = ${vc.project.guidFromName}
vc.project.name = TestSuite
vc.project.target = TestSuite
vc.project.type = testsuite
vc.project.pocobase = ..\\..
vc.project.platforms = Win32, x64, WinCE
vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md
vc.project.prototype = TestSuite_vs90.vcproj
vc.project.compiler.include = ..\\..\\Foundation\\include;..\\..\\Net\\include

View File

@ -0,0 +1,477 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
Name="TestSuite"
Version="9.00"
ProjectType="Visual C++"
ProjectGUID="{96CF3103-E49E-3F5E-A11D-6DBCDA043053}"
RootNamespace="TestSuite"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="Digi JumpStart (ARMV4I)"/>
</Platforms>
<ToolFiles/>
<Configurations>
<Configuration
Name="debug_shared|Digi JumpStart (ARMV4I)"
OutputDirectory="obj\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="obj\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="1"/>
<Tool
Name="VCCLCompilerTool"
ExecutionBucket="7"
Optimization="0"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;WINCE;$(ARCHFAM);$(_ARCHFAM_);_CONSOLE;_CRT_SECURE_NO_WARNINGS;"
StringPooling="true"
MinimalRebuild="false"
RuntimeLibrary="3"
BufferSecurityCheck="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4800;"
CompileForArchitecture="2"
InterworkCalls="false"/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/FORCE:MULTIPLE"
AdditionalDependencies="CppUnitd.lib "
OutputFile="bin\$(PlatformName)\shared\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib\$(PlatformName)"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin\$(PlatformName)\shared\TestSuited.pdb"
SubSystem="0"
RandomizedBaseAddress="1"
TargetMachine="0"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCCodeSignTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<DeploymentTool
ForceDirty="-1"
RemoteDirectory=""
RegisterOutput="0"
AdditionalFiles=""/>
<DebuggerTool/>
</Configuration>
<Configuration
Name="release_shared|Digi JumpStart (ARMV4I)"
OutputDirectory="obj\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="obj\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="1"/>
<Tool
Name="VCCLCompilerTool"
ExecutionBucket="7"
Optimization="0"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;WINCE;$(ARCHFAM);$(_ARCHFAM_);_CONSOLE;_CRT_SECURE_NO_WARNINGS;"
StringPooling="true"
MinimalRebuild="false"
RuntimeLibrary="3"
BufferSecurityCheck="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4800;"
CompileForArchitecture="2"
InterworkCalls="false"/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/FORCE:MULTIPLE"
AdditionalDependencies="CppUnit.lib "
OutputFile="bin\$(PlatformName)\shared\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib\$(PlatformName)"
GenerateDebugInformation="false"
ProgramDatabaseFile=""
SubSystem="0"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="0"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCCodeSignTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<DeploymentTool
ForceDirty="-1"
RemoteDirectory=""
RegisterOutput="0"
AdditionalFiles=""/>
<DebuggerTool/>
</Configuration>
<Configuration
Name="debug_static_mt|Digi JumpStart (ARMV4I)"
OutputDirectory="obj\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="obj\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="1"/>
<Tool
Name="VCCLCompilerTool"
ExecutionBucket="7"
Optimization="0"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;WINCE;$(ARCHFAM);$(_ARCHFAM_);POCO_STATIC;_CONSOLE;_CRT_SECURE_NO_WARNINGS;"
StringPooling="true"
MinimalRebuild="false"
RuntimeLibrary="1"
BufferSecurityCheck="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4800;"
CompileForArchitecture="2"
InterworkCalls="false"/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/FORCE:MULTIPLE"
AdditionalDependencies="CppUnitmtd.lib iphlpapi.lib "
OutputFile="bin\$(PlatformName)\static_mt\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib\$(PlatformName)"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin\$(PlatformName)\static_mt\TestSuited.pdb"
SubSystem="0"
RandomizedBaseAddress="1"
TargetMachine="0"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCCodeSignTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<DeploymentTool
ForceDirty="-1"
RemoteDirectory=""
RegisterOutput="0"
AdditionalFiles=""/>
<DebuggerTool/>
</Configuration>
<Configuration
Name="release_static_mt|Digi JumpStart (ARMV4I)"
OutputDirectory="obj\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="obj\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="1"/>
<Tool
Name="VCCLCompilerTool"
ExecutionBucket="7"
Optimization="4"
InlineFunctionExpansion="0"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="NDEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;WINCE;$(ARCHFAM);$(_ARCHFAM_);POCO_STATIC;_CONSOLE;_CRT_SECURE_NO_WARNINGS;"
StringPooling="true"
MinimalRebuild="false"
RuntimeLibrary="0"
BufferSecurityCheck="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4800"
CompileForArchitecture="2"
InterworkCalls="false"/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/FORCE:MULTIPLE"
AdditionalDependencies="CppUnitmt.lib iphlpapi.lib "
OutputFile="bin\$(PlatformName)\static_mt\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib\$(PlatformName)"
GenerateDebugInformation="false"
ProgramDatabaseFile=""
SubSystem="0"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="0"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCCodeSignTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<DeploymentTool
ForceDirty="-1"
RemoteDirectory=""
RegisterOutput="0"
AdditionalFiles=""/>
<DebuggerTool/>
</Configuration>
<Configuration
Name="debug_static_md|Digi JumpStart (ARMV4I)"
OutputDirectory="obj\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="obj\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="1"/>
<Tool
Name="VCCLCompilerTool"
ExecutionBucket="7"
Optimization="0"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;WINCE;$(ARCHFAM);$(_ARCHFAM_);POCO_STATIC;_CONSOLE;_CRT_SECURE_NO_WARNINGS;"
StringPooling="true"
MinimalRebuild="false"
RuntimeLibrary="3"
BufferSecurityCheck="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4800;"
CompileForArchitecture="2"
InterworkCalls="false"/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/FORCE:MULTIPLE"
AdditionalDependencies="CppUnitmdd.lib iphlpapi.lib "
OutputFile="bin\$(PlatformName)\static_md\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib\$(PlatformName)"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin\$(PlatformName)\static_md\TestSuited.pdb"
SubSystem="0"
RandomizedBaseAddress="1"
TargetMachine="0"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCCodeSignTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<DeploymentTool
ForceDirty="-1"
RemoteDirectory=""
RegisterOutput="0"
AdditionalFiles=""/>
<DebuggerTool/>
</Configuration>
<Configuration
Name="release_static_md|Digi JumpStart (ARMV4I)"
OutputDirectory="obj\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="obj\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="1"/>
<Tool
Name="VCCLCompilerTool"
ExecutionBucket="7"
Optimization="4"
InlineFunctionExpansion="0"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="NDEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;WINCE;$(ARCHFAM);$(_ARCHFAM_);POCO_STATIC;_CONSOLE;_CRT_SECURE_NO_WARNINGS;"
StringPooling="true"
MinimalRebuild="false"
RuntimeLibrary="2"
BufferSecurityCheck="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4800"
CompileForArchitecture="2"
InterworkCalls="false"/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/FORCE:MULTIPLE"
AdditionalDependencies="CppUnitmd.lib iphlpapi.lib "
OutputFile="bin\$(PlatformName)\static_md\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib\$(PlatformName)"
GenerateDebugInformation="false"
ProgramDatabaseFile=""
SubSystem="0"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="0"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCCodeSignTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<DeploymentTool
ForceDirty="-1"
RemoteDirectory=""
RegisterOutput="0"
AdditionalFiles=""/>
<DebuggerTool/>
</Configuration>
</Configurations>
<References/>
<Files>
<Filter
Name="Source Files">
<File
RelativePath=".\src\MongoDBTest.cpp"/>
<File
RelativePath=".\src\MongoDBTestSuite.cpp"/>
<File
RelativePath=".\src\WinCEDriver.cpp"/>
</Filter>
<Filter
Name="Header Files">
<File
RelativePath=".\src\MongoDBTest.h"/>
<File
RelativePath=".\src\MongoDBTestSuite.h"/>
</Filter>
</Files>
<Globals/>
</VisualStudioProject>

View File

@ -0,0 +1,412 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
Name="TestSuite"
Version="7.10"
ProjectType="Visual C++"
ProjectGUID="{96CF3103-E49E-3F5E-A11D-6DBCDA043053}"
RootNamespace="TestSuite"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="debug_shared|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0501;"
StringPooling="TRUE"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="TRUE"
TreatWChar_tAsBuiltInType="TRUE"
ForceConformanceInForLoopScope="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
ObjectFile="$(IntDir)\"
ProgramDataBaseFileName="$(IntDir)\vc70.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4800;"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitd.lib WinTestRunnerd.lib "
OutputFile="bin\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile="bin\TestSuited.pdb"
SubSystem="2"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="release_shared|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="TRUE"
FavorSizeOrSpeed="1"
OmitFramePointers="TRUE"
OptimizeForWindowsApplication="TRUE"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0501;"
StringPooling="TRUE"
RuntimeLibrary="2"
BufferSecurityCheck="FALSE"
TreatWChar_tAsBuiltInType="TRUE"
ForceConformanceInForLoopScope="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
ObjectFile="$(IntDir)\"
ProgramDataBaseFileName="$(IntDir)\vc70.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="0"
DisableSpecificWarnings="4800;"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnit.lib WinTestRunner.lib "
OutputFile="bin\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib"
GenerateDebugInformation="FALSE"
ProgramDatabaseFile=""
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="debug_static_mt|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="1"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="TRUE"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
BufferSecurityCheck="TRUE"
TreatWChar_tAsBuiltInType="TRUE"
ForceConformanceInForLoopScope="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
ObjectFile="$(IntDir)\"
ProgramDataBaseFileName="$(IntDir)\vc70.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4800;"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmtd.lib WinTestRunnermtd.lib iphlpapi.lib winmm.lib nafxcwd.lib libcmtd.lib WinTestRunner.res "
OutputFile="bin\static_mt\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib"
IgnoreDefaultLibraryNames="nafxcwd.lib;libcmtd.lib"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile="bin\static_mt\TestSuited.pdb"
SubSystem="2"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="release_static_mt|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="1"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="TRUE"
FavorSizeOrSpeed="1"
OmitFramePointers="TRUE"
OptimizeForWindowsApplication="TRUE"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="TRUE"
RuntimeLibrary="0"
BufferSecurityCheck="FALSE"
TreatWChar_tAsBuiltInType="TRUE"
ForceConformanceInForLoopScope="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
ObjectFile="$(IntDir)\"
ProgramDataBaseFileName="$(IntDir)\vc70.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="0"
DisableSpecificWarnings="4800;"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmt.lib WinTestRunnermt.lib iphlpapi.lib winmm.lib nafxcw.lib libcmt.lib WinTestRunner.res "
OutputFile="bin\static_mt\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib"
IgnoreDefaultLibraryNames="nafxcw.lib;libcmt.lib"
GenerateDebugInformation="FALSE"
ProgramDatabaseFile=""
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="debug_static_md|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="TRUE"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="TRUE"
TreatWChar_tAsBuiltInType="TRUE"
ForceConformanceInForLoopScope="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
ObjectFile="$(IntDir)\"
ProgramDataBaseFileName="$(IntDir)\vc70.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4800;"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmdd.lib WinTestRunnermdd.lib iphlpapi.lib winmm.lib WinTestRunner.res "
OutputFile="bin\static_md\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile="bin\static_md\TestSuited.pdb"
SubSystem="2"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="release_static_md|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="TRUE"
FavorSizeOrSpeed="1"
OmitFramePointers="TRUE"
OptimizeForWindowsApplication="TRUE"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="TRUE"
RuntimeLibrary="2"
BufferSecurityCheck="FALSE"
TreatWChar_tAsBuiltInType="TRUE"
ForceConformanceInForLoopScope="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
ObjectFile="$(IntDir)\"
ProgramDataBaseFileName="$(IntDir)\vc70.pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="0"
DisableSpecificWarnings="4800;"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmd.lib WinTestRunnermd.lib iphlpapi.lib winmm.lib WinTestRunner.res "
OutputFile="bin\static_md\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib"
GenerateDebugInformation="FALSE"
ProgramDatabaseFile=""
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
</Configurations>
<References/>
<Files>
<Filter
Name="Source Files">
<File
RelativePath=".\src\MongoDBTest.cpp"/>
<File
RelativePath=".\src\MongoDBTestSuite.cpp"/>
<File
RelativePath=".\src\WinDriver.cpp"/>
</Filter>
<Filter
Name="Header Files">
<File
RelativePath=".\src\MongoDBTest.h"/>
<File
RelativePath=".\src\MongoDBTestSuite.h"/>
</Filter>
</Files>
<Globals/>
</VisualStudioProject>

View File

@ -0,0 +1,452 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
Name="TestSuite"
Version="8.00"
ProjectType="Visual C++"
ProjectGUID="{96CF3103-E49E-3F5E-A11D-6DBCDA043053}"
RootNamespace="TestSuite"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<ToolFiles/>
<Configurations>
<Configuration
Name="debug_shared|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0501;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitd.lib WinTestRunnerd.lib "
OutputFile="bin\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin\TestSuited.pdb"
SubSystem="2"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_shared|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0501;"
StringPooling="true"
RuntimeLibrary="2"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnit.lib WinTestRunner.lib "
OutputFile="bin\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib"
GenerateDebugInformation="false"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="debug_static_mt|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="1"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmtd.lib WinTestRunnermtd.lib iphlpapi.lib winmm.lib nafxcwd.lib libcmtd.lib WinTestRunner.res "
OutputFile="bin\static_mt\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib"
IgnoreDefaultLibraryNames="nafxcwd.lib;libcmtd.lib"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin\static_mt\TestSuited.pdb"
SubSystem="2"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_static_mt|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="1"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="true"
RuntimeLibrary="0"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmt.lib WinTestRunnermt.lib iphlpapi.lib winmm.lib nafxcw.lib libcmt.lib WinTestRunner.res "
OutputFile="bin\static_mt\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib"
IgnoreDefaultLibraryNames="nafxcw.lib;libcmt.lib"
GenerateDebugInformation="false"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="debug_static_md|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmdd.lib WinTestRunnermdd.lib iphlpapi.lib winmm.lib WinTestRunner.res "
OutputFile="bin\static_md\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin\static_md\TestSuited.pdb"
SubSystem="2"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_static_md|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="true"
RuntimeLibrary="2"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmd.lib WinTestRunnermd.lib iphlpapi.lib winmm.lib WinTestRunner.res "
OutputFile="bin\static_md\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib"
GenerateDebugInformation="false"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
</Configurations>
<References/>
<Files>
<Filter
Name="Source Files">
<File
RelativePath=".\src\MongoDBTest.cpp"/>
<File
RelativePath=".\src\MongoDBTestSuite.cpp"/>
<File
RelativePath=".\src\WinDriver.cpp"/>
</Filter>
<Filter
Name="Header Files">
<File
RelativePath=".\src\MongoDBTest.h"/>
<File
RelativePath=".\src\MongoDBTestSuite.h"/>
</Filter>
</Files>
<Globals/>
</VisualStudioProject>

View File

@ -0,0 +1,452 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
Name="TestSuite"
Version="9.00"
ProjectType="Visual C++"
ProjectGUID="{96CF3103-E49E-3F5E-A11D-6DBCDA043053}"
RootNamespace="TestSuite"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<ToolFiles/>
<Configurations>
<Configuration
Name="debug_shared|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0501;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitd.lib WinTestRunnerd.lib "
OutputFile="bin\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin\TestSuited.pdb"
SubSystem="2"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_shared|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0501;"
StringPooling="true"
RuntimeLibrary="2"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnit.lib WinTestRunner.lib "
OutputFile="bin\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib"
GenerateDebugInformation="false"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="debug_static_mt|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="1"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmtd.lib WinTestRunnermtd.lib iphlpapi.lib winmm.lib nafxcwd.lib libcmtd.lib WinTestRunner.res "
OutputFile="bin\static_mt\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib"
IgnoreDefaultLibraryNames="nafxcwd.lib;libcmtd.lib"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin\static_mt\TestSuited.pdb"
SubSystem="2"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_static_mt|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="1"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="true"
RuntimeLibrary="0"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmt.lib WinTestRunnermt.lib iphlpapi.lib winmm.lib nafxcw.lib libcmt.lib WinTestRunner.res "
OutputFile="bin\static_mt\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib"
IgnoreDefaultLibraryNames="nafxcw.lib;libcmt.lib"
GenerateDebugInformation="false"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="debug_static_md|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmdd.lib WinTestRunnermdd.lib iphlpapi.lib winmm.lib WinTestRunner.res "
OutputFile="bin\static_md\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin\static_md\TestSuited.pdb"
SubSystem="2"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_static_md|Win32"
OutputDirectory="obj\$(ConfigurationName)"
IntermediateDirectory="obj\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="true"
RuntimeLibrary="2"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmd.lib WinTestRunnermd.lib iphlpapi.lib winmm.lib WinTestRunner.res "
OutputFile="bin\static_md\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib"
GenerateDebugInformation="false"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
</Configurations>
<References/>
<Files>
<Filter
Name="Source Files">
<File
RelativePath=".\src\MongoDBTest.cpp"/>
<File
RelativePath=".\src\MongoDBTestSuite.cpp"/>
<File
RelativePath=".\src\WinDriver.cpp"/>
</Filter>
<Filter
Name="Header Files">
<File
RelativePath=".\src\MongoDBTest.h"/>
<File
RelativePath=".\src\MongoDBTestSuite.h"/>
</Filter>
</Files>
<Globals/>
</VisualStudioProject>

View File

@ -0,0 +1,452 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
Name="TestSuite"
Version="9.00"
ProjectType="Visual C++"
ProjectGUID="{96CF3103-E49E-3F5E-A11D-6DBCDA043053}"
RootNamespace="TestSuite"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="x64"/>
</Platforms>
<ToolFiles/>
<Configurations>
<Configuration
Name="debug_shared|x64"
OutputDirectory="obj64\$(ConfigurationName)"
IntermediateDirectory="obj64\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0501;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitd.lib WinTestRunnerd.lib "
OutputFile="bin64\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib64"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin64\TestSuited.pdb"
SubSystem="2"
TargetMachine="17"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_shared|x64"
OutputDirectory="obj64\$(ConfigurationName)"
IntermediateDirectory="obj64\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0501;"
StringPooling="true"
RuntimeLibrary="2"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnit.lib WinTestRunner.lib "
OutputFile="bin64\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib64"
GenerateDebugInformation="false"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="17"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="debug_static_mt|x64"
OutputDirectory="obj64\$(ConfigurationName)"
IntermediateDirectory="obj64\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="1"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmtd.lib WinTestRunnermtd.lib iphlpapi.lib winmm.lib nafxcwd.lib libcmtd.lib WinTestRunner.res "
OutputFile="bin64\static_mt\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib64"
IgnoreDefaultLibraryNames="nafxcwd.lib;libcmtd.lib"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin64\static_mt\TestSuited.pdb"
SubSystem="2"
TargetMachine="17"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_static_mt|x64"
OutputDirectory="obj64\$(ConfigurationName)"
IntermediateDirectory="obj64\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="1"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="true"
RuntimeLibrary="0"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmt.lib WinTestRunnermt.lib iphlpapi.lib winmm.lib nafxcw.lib libcmt.lib WinTestRunner.res "
OutputFile="bin64\static_mt\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib64"
IgnoreDefaultLibraryNames="nafxcw.lib;libcmt.lib"
GenerateDebugInformation="false"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="17"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="debug_static_md|x64"
OutputDirectory="obj64\$(ConfigurationName)"
IntermediateDirectory="obj64\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="true"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
BufferSecurityCheck="true"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmdd.lib WinTestRunnermdd.lib iphlpapi.lib winmm.lib WinTestRunner.res "
OutputFile="bin64\static_md\TestSuited.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\lib64"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile="bin64\static_md\TestSuited.pdb"
SubSystem="2"
TargetMachine="17"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
<Configuration
Name="release_static_md|x64"
OutputDirectory="obj64\$(ConfigurationName)"
IntermediateDirectory="obj64\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCCLCompilerTool"
Optimization="4"
InlineFunctionExpansion="1"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
AdditionalIncludeDirectories="..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;..\..\Net\include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0501;POCO_STATIC;"
StringPooling="true"
RuntimeLibrary="2"
BufferSecurityCheck="false"
TreatWChar_tAsBuiltInType="true"
ForceConformanceInForLoopScope="true"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings=""/>
<Tool
Name="VCManagedResourceCompilerTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="CppUnitmd.lib WinTestRunnermd.lib iphlpapi.lib winmm.lib WinTestRunner.res "
OutputFile="bin64\static_md\TestSuite.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="..\..\lib64"
GenerateDebugInformation="false"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="17"/>
<Tool
Name="VCALinkTool"/>
<Tool
Name="VCManifestTool"/>
<Tool
Name="VCXDCMakeTool"/>
<Tool
Name="VCBscMakeTool"/>
<Tool
Name="VCFxCopTool"/>
<Tool
Name="VCAppVerifierTool"/>
<Tool
Name="VCPostBuildEventTool"/>
</Configuration>
</Configurations>
<References/>
<Files>
<Filter
Name="Source Files">
<File
RelativePath=".\src\MongoDBTest.cpp"/>
<File
RelativePath=".\src\MongoDBTestSuite.cpp"/>
<File
RelativePath=".\src\WinDriver.cpp"/>
</Filter>
<Filter
Name="Header Files">
<File
RelativePath=".\src\MongoDBTest.h"/>
<File
RelativePath=".\src\MongoDBTestSuite.h"/>
</Filter>
</Files>
<Globals/>
</VisualStudioProject>