Click here to Skip to main content
Click here to Skip to main content
 

Linq-To-XML Style of Node Creation for C++

By , 7 Jun 2012
 
elmax-ver083.zip
Elmax.vsmdi
Elmax
Elmax.vcxproj.user
ElmaxNet
Properties
Local.testsettings
TestNativeElmax
app.ico
TestNativeElmax.vcxproj.user
TestNetElmax
Properties
TestNetElmax.csproj.user
TraceAndTestImpact.testsettings
Tryout
res
Tryout.ico
Tryout.vcxproj.user
TryoutNet
Properties
Settings.settings
elmax-ver084.zip
Elmax.vsmdi
Elmax.vcxproj.user
Local.testsettings
app.ico
TestNativeElmax.vcxproj.user
TestNetElmax.csproj.user
TraceAndTestImpact.testsettings
Tryout.ico
Tryout.vcxproj.user
Settings.settings
elmax-ver085.zip
Elmax.vsmdi
Elmax.vcxproj.user
Local.testsettings
app.ico
TestNativeElmax.vcxproj.user
TestNetElmax.csproj.user
TraceAndTestImpact.testsettings
Tryout.ico
Tryout.vcxproj.user
Settings.settings
elmax-ver086.zip
Elmax.vsmdi
Elmax.vcxproj.user
Local.testsettings
app.ico
TestNativeElmax.vcxproj.user
TestNetElmax.csproj.user
TraceAndTestImpact.testsettings
Tryout.ico
Tryout.vcxproj.user
Settings.settings
elmax-ver087.zip
Elmax.vsmdi
Elmax.vcxproj.user
Local.testsettings
app.ico
TestNativeElmax.vcxproj.user
TestNetElmax.csproj.user
TraceAndTestImpact.testsettings
Tryout.ico
Tryout.vcxproj.user
Settings.settings
Elmax-ver089.zip
Elmax-ver089
Elmax.vsmdi
Elmax
Elmax.vcxproj.user
StringUtils
ElmaxNet
Properties
Local.testsettings
TestNativeElmax
app.ico
TestNativeElmax.vcxproj.user
TestNetElmax
Properties
TestNetElmax.csproj.user
TraceAndTestImpact.testsettings
Tryout
res
Tryout.ico
Tryout.vcxproj.user
TryoutNet
Properties
Settings.settings
ElmaxSrcVer082.zip
Elmax.vsmdi
Elmax.vcxproj.user
Local.testsettings
app.ico
TestNativeElmax.vcxproj.user
TestNetElmax.csproj.user
TraceAndTestImpact.testsettings
Tryout.ico
Tryout.vcxproj.user
Settings.settings
Version 0.8.9 Beta
+ All integer setters and getters are renamed in the form of (S/G)etInt(Bits). Example, SetInt32
+ Breaking changes: SetChar/GetChar is replaced by SetInt8/GetInt8; The new methods process in integers(eg, 78), instead of characters(eg, 'A').
+ Changed throwing of std exception to throwing appropriate logic_error and runtime_error. 
+ Renamed 'AsCollection' to 'GetSiblings'
+ Renamed 'GetCollection' to 'GetChildren'

Version 0.8.8 Beta
+ Added aggregation functions: Count, Minimum, Maximum, Sum and Average
+ Added StrUtil.Format and StrUtil.Split to format and split strings.
+ Removed Boost FileSystem dependency from RootElement class

Version 0.8.7 Beta
+ Removed the template arguments for STL make_pair calls so that Visual C++ 11 Beta can compile the HyperElement class successfully.
+ Temporarily removed native C++ RootElement class. Plan is to have RootElement class reinstated in the new cross-platform Elmax.

Version 0.8.5 Beta
+ Ported PJ Arends' RootElement class to C#.

Version 0.8.4 Beta
+ Checked in PJ Arends' RootElement and Elmax.h header and a unit test (in UnitTestSaveAndRead.cpp) to test RootElement.

Version 0.8.3 Beta
+ Checked in PJ Arends fix for missing closing tag (if there is no child elements) for PrettySave and Save methods.

Version 0.8.2 Beta
+ Fixed the PrettySave problem of cannot save Comment and CData Section correctly.
+ Fixed Save and PrettySave method not to use MSXML DOM to save to cut down memory consumption and improve performance.

Version 0.8.1 Beta
+ Minor change for release together with the new article.

Version 0.8.0 Beta
+ Added pretty save
+ Added Linq-to-XML style node creation for C++ Elmax.

Version 0.7.7 Beta
+ Removed Hungarian notation from C# Elmax library and tests
+ Filled in missing C# documentation comments

Version 0.7.5 Beta
+ Added setter and getter methods for ATL CString 
+ Added methods to query using XPath
+ Added methods to read and write hexadecimal values

Version 0.7.0 Beta
+ C# library and unit tests

Version 0.6.5 Beta : 10/01/2011
+ Using ATL Base64 implementation
+ Changed the getter and setter not to throw exceptions because of null type converter pointer
+ Option to read and write GUIDs without braces.
+ Renamed "convertor" to "converter"

Version 0.6 Beta : 24/12/2010
+ Added capability to save GUID, date and datetime in XML
+ Added capability to save binary file content in Base64 format in XML

Version 0.5 Beta : 23/12/2010
+ 1st release (Feature complete)

By viewing downloads associated with this article you agree to the Terms of use and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

About the Author

Wong Shao Voon
Software Developer
Singapore Singapore
Member
Rather than to write an accolade of skills which I currently possess, these are the technologies, I am currently exploring:
 
  • 3D Graphics(Lighting and Shadow)
  • ASP.NET MVC 4
  • C++14
  • Garbage Collection
  • GPU Computing
  • H.264 video
  • HTML5 and CSS3
  • iOS
  • SQL Server 2012

Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 7 Jun 2012
Article Copyright 2011 by Wong Shao Voon
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid