From e13c3e653d3887f0a736d5da36bc367cac69755a Mon Sep 17 00:00:00 2001 From: "U-Lama\\Lee" Date: Wed, 28 Dec 2011 14:36:55 -0800 Subject: [PATCH] initial checkin --- tinyxml2.cpp | 7 +++ tinyxml2.h | 33 ++++++++++++ tinyxml2.sln | 20 +++++++ tinyxml2.suo | Bin 0 -> 25600 bytes tinyxml2/tinyxml2.vcxproj | 86 ++++++++++++++++++++++++++++++ tinyxml2/tinyxml2.vcxproj.filters | 22 ++++++++ xmltest.cpp | 17 ++++++ 7 files changed, 185 insertions(+) create mode 100644 tinyxml2.cpp create mode 100644 tinyxml2.h create mode 100644 tinyxml2.sln create mode 100644 tinyxml2.suo create mode 100644 tinyxml2/tinyxml2.vcxproj create mode 100644 tinyxml2/tinyxml2.vcxproj.filters create mode 100644 xmltest.cpp diff --git a/tinyxml2.cpp b/tinyxml2.cpp new file mode 100644 index 0000000..eac36f9 --- /dev/null +++ b/tinyxml2.cpp @@ -0,0 +1,7 @@ +#include "tinyxml2.h"; + + +bool XMLDocument::Parse( const char* str ) +{ + +} diff --git a/tinyxml2.h b/tinyxml2.h new file mode 100644 index 0000000..ce8b4a7 --- /dev/null +++ b/tinyxml2.h @@ -0,0 +1,33 @@ +#ifndef TINYXML2_INCLUDED +#define TINYXML2_INCLUDED + + +namespace tinyxml2 +{ + + +class Element +{ +public: + Element +}; + + +class XMLDocument +{ +public: + XMLDocument(); + + bool Parse( const char* ); + +private: + XMLDocument( const XMLDocument& ); // not implemented +}; + + + + + +}; // tinyxml2 + +#endif // TINYXML2_INCLUDED \ No newline at end of file diff --git a/tinyxml2.sln b/tinyxml2.sln new file mode 100644 index 0000000..7073405 --- /dev/null +++ b/tinyxml2.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual C++ Express 2010 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyxml2", "tinyxml2\tinyxml2.vcxproj", "{16A1D446-5415-444E-A7B4-F35B7DA7EE8C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Debug|Win32.ActiveCfg = Debug|Win32 + {16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Debug|Win32.Build.0 = Debug|Win32 + {16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Release|Win32.ActiveCfg = Release|Win32 + {16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/tinyxml2.suo b/tinyxml2.suo new file mode 100644 index 0000000000000000000000000000000000000000..05dfa1e4e28adca3ddcfc155da38435d99206c9b GIT binary patch literal 25600 zcmeHPTaa8u89oal7*IqoB8m(lK!D6RGdp_=NyzTbt^{_;k{vct2G=t)XC{-KowLp* z*@Q&!4vL6(t zbNTvy@p2M-{AEPn7r+PO8}PvIOmrF-UQeNxB_rF;4OeR18xUg33xByD!|(SR|BpA zydCfk0A=D@eC_~T2Y46Y-GJ)>?*ZHZhyiW{K$NVT06PIU18xD_3fKj>4G;(10oV;l z0ulh?SMVAd?hB69!&4$`eDrZ-)g^^!YjDZ9?XFZO*c-rnP1*SXF$stOxM!fG2gl zIRN2K>!K0LK6PkV`m~|cGqx4b%ZWLtSp|GBEbwsqxj^!G*ciWHPb2UgJGJ1c!=y@=Fc3(y-TK^VOQu zjP2T-9KS8USS>c(rdw{sR;tamU5hQZ+NG)+OC=M@{K{;;*l39^RO>CLmT$Hi#r2JZ z-CXY?aBDb+PQ6mCJNc&DZWNtnSl4duzVWEFZq;CgZCIN%yjNgz4p|$pgjHChI;>Ow zM*Byhr_S@U|JCv=?f*adhL!`J4bZ2}ZQ?s^umifZeObT>Xn0a+zq~&9emm$ho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J|__NcIAfWIu=8V;$uBa$Is5xxSEuemJ(Tz-1@yc;S7U z-**q-d2B6S#d5k-DvqY(lSR8kX-vnbMw4ks+?fECvkEB#D0&U>0BbqiMB2NbL$&vr+|KvzliZ-`?0& zVg4L2zuwO02pkgC2j-vM&)@SuY51R3sXh$h|3^nI#d&HfO<12x&z)l2&wYk$!_ZI4 zOGDpD-)lNUFA5yw4q4_fY{SrJ<*QfY|F4?TzaPk0FMp+)DSa>9KfQGQ@1Om}Ul>1m x(eS(XvYy{32l=0F|0k9Gfya(MKY!#maC5)7{d-@y;l;=t^knVz6GM!^e*x+?EnNTr literal 0 HcmV?d00001 diff --git a/tinyxml2/tinyxml2.vcxproj b/tinyxml2/tinyxml2.vcxproj new file mode 100644 index 0000000..a12f535 --- /dev/null +++ b/tinyxml2/tinyxml2.vcxproj @@ -0,0 +1,86 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {16A1D446-5415-444E-A7B4-F35B7DA7EE8C} + Win32Proj + tinyxml2 + + + + Application + true + Unicode + + + Application + false + true + Unicode + + + + + + + + + + + + + true + + + false + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + + + Console + true + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + + + Console + true + true + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/tinyxml2/tinyxml2.vcxproj.filters b/tinyxml2/tinyxml2.vcxproj.filters new file mode 100644 index 0000000..37eabf3 --- /dev/null +++ b/tinyxml2/tinyxml2.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + + + Source Files + + + Source Files + + + + + Source Files + + + \ No newline at end of file diff --git a/xmltest.cpp b/xmltest.cpp new file mode 100644 index 0000000..c8ef227 --- /dev/null +++ b/xmltest.cpp @@ -0,0 +1,17 @@ +#include "tinyxml2.h" + +#include +#include + +using namespace tinyxml2; + +int main( int argc, const char* argv ) +{ + static const char* test = ""; + + XMLDocument doc; + doc.Parse( test ); + doc.Print( stdout ); + + return 0; +} \ No newline at end of file