Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

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

, 7 Jun 2012
Linq-To-XML Node Creation for Native C++
elmax-84498.zip
BuildProcessTemplates
ElmaxNet
Properties
Elmax
Elmax.vcxproj.user
StringUtils
TestNativeElmax
app.ico
TestNativeElmax.vcxproj.user
TestNetElmax
Properties
TestNetElmax.csproj.user
TryoutNet
Properties
Settings.settings
Tryout
res
Tryout.ico
Tryout.vcxproj.user
elmax-ver083.zip
Elmax.vcxproj.user
app.ico
TestNativeElmax.vcxproj.user
TestNetElmax.csproj.user
Settings.settings
Tryout.ico
Tryout.vcxproj.user
elmax-ver084.zip
Elmax.vcxproj.user
app.ico
TestNativeElmax.vcxproj.user
TestNetElmax.csproj.user
Settings.settings
Tryout.ico
Tryout.vcxproj.user
elmax-ver085.zip
Elmax.vcxproj.user
app.ico
TestNativeElmax.vcxproj.user
TestNetElmax.csproj.user
Settings.settings
Tryout.ico
Tryout.vcxproj.user
elmax-ver086.zip
Elmax.vcxproj.user
app.ico
TestNativeElmax.vcxproj.user
TestNetElmax.csproj.user
Settings.settings
Tryout.ico
Tryout.vcxproj.user
elmax-ver087.zip
Elmax.vcxproj.user
app.ico
TestNativeElmax.vcxproj.user
TestNetElmax.csproj.user
Settings.settings
Tryout.ico
Tryout.vcxproj.user
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.vcxproj.user
app.ico
TestNativeElmax.vcxproj.user
TestNetElmax.csproj.user
Settings.settings
Tryout.ico
Tryout.vcxproj.user
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 Service 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

SV Wong
Software Developer
Singapore Singapore

Currently into areas like 3D graphics and application security. Hoping to revisit the cryptography and design pattern topics if time permits.


| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 7 Jun 2012
Article Copyright 2011 by SV Wong
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid