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

REG file parser using the Boost Spirit Parser Framework

, , 29 Jun 2009
This article describes a sample parser of reg files using the Boost Spirit Parser Framework. We'll discuss why we use the curtain libraries and make one or another solution, algorithm, and also tests.
RegFileParser_bin.zip
RegFileParser_bin
bin
RegFileParserAutoTest.exe
RegFileParserTestCmd.exe
RegFileParser_source.zip
RegFileParser_source
src
boost_libs
libboost_program_options-vc90-mt-s-1_38.lib
libboost_program_options-vc90-mt-sgd-1_38.lib
RegFileParserAutoTest
TestFiles
RegFileParserLib
RegFileParserTestCmd
RegFileParserTestCmd.idc
RegFileParser_source_no_boost.zip
RegFileParser_source_no_boost
src
RegFileParserAutoTest
TestFiles
RegFileParserLib
RegFileParserTestCmd
RegFileParserTestCmd.idc
REGEDIT4

[HKEY_CLASSES_ROOT\Software\RealNetworks\RealMediaSDK\6.0\Preferences\PluginHandlerData\PluginInfo1]
@="Multiple~N1~Version~N-1610611301~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.~Description~SHelix DNA RealPix JPEG File Format Codec Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Simgrender.dll}{IndexNumber~N9~LoadMultiple~N1~Version~N-1610611301~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.~Description~SHelix DNA RealPix JPEG Renderer Codec Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Simgrender.dll}{IndexNumber~N10~LoadMultiple~N1~Version~N-1610611301~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.~Description~SHelix DNA RealPix GIF File Format Codec Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Simgrender.dll}{IndexNumber~N11~LoadMultiple~N1~Version~N-1610611301~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.~Description~SHelix DNA RealPix GIF Renderer Codec Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Simgrender.dll}{IndexNumber~N12~LoadMultiple~N1~Version~N-1610611301~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.~Description~SHelix DNA RealPix PNG File Format Codec Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Simgrender.dll}{IndexNumber~N13~LoadMultiple~N1~Version~N-1610611301~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.~Description~SHelix DNA RealPix PNG Renderer Codec Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Simgrender.dll}{IndexNumber~N14~LoadMultiple~N1~Version~N-1610612032~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.~Description~SHelix DNA WBMP File Format Plugin~FileExtensions~Swbmp~FileMime~Simage/x-wap.wbmp~FileOpenNames~SWireless BMP Images (*.wbmp)~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Simgrender.dll~PluginType~SPLUGIN_FILE_FORMAT}{IndexNumber~N15~LoadMultiple~N1~Renderer_Granularity~N200~Version~N-1610612043~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.~Description~SHelix DNA Wireless BMP Renderer Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Simgrender.dll~PluginType~SPLUGIN_RENDERER~RendererMime~Sapplication/vnd.rn-wbmpstream}{IndexNumber~N0~LoadMultiple~N1~Version~N-1610611881~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.~Description~SHelix DNA Memory File System~FileProtocol~Smem~FileShort~Spn-memory~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Smemfsys.dll~PluginType~SPLUGIN_FILE_SYSTEM}{IndexNumber~N0~LoadMultiple~N1~Version~N0~Copyright~SCopyright(c) RealNetworks, Inc. 1999-2004. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.~Description~SHelix DNA MP3 File Format Plugin~FileExtensions~Smp3|mp2|mpa|mp1|mpga|mpg|mpeg|mpv|dat~FileMime~Saudio/rn-mpeg|audio/mpeg|audio/mpg|audio/mp3|audio/x-mpeg|audio/x-mpg|audio/x-mp3~FileOpenNames~SMPEG Audio Files (.mp3;.mp2;.mpa;.mp1;.mpga)~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Smp3fformat.dll~PluginType~SPLUGIN_FILE_FORMAT}{IndexNumber~N0~LoadMultiple~N1~Version~N-1610611883~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.~Description~SHelix DNA RealMedia MP3 Playlist File Format Plugin~FileExtensions~Sm3u|pls|xpl~FileMime~Saudio/mpegurl|audio/x-mpegurl|audio/scpls|audio/x-scpls~FileOpenNames~SMP3 Playlist Files (*.m3u,*.pls,*.xpl)~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Smp3metaff.dll~PluginType~SPLUGIN_FILE_FORMAT}{IndexNumber~N0~LoadMultiple~N1~Renderer_Granularity~N50~Version~N0~Copyright~SCopyright(c) 1999-2004 RealNetworks, Inc. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.~Description~SHelixDNA MP3 Renderer Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Smp3render.dll~PluginType~SPLUGIN_RENDERER~RendererMime~Saudio/X-MP3-draft-00|audio/X-MP3-draft-00-RN|audio/MPEG-ELEMENTARY|audio/MPEG-ELEMENTARY-RN|audio/MPEG-ELEMENTARY-RAW|audio/rn-mpeg|audio/mpa-robust|audio/MPA|audio/mp1s|audio/mp2p|audio/vnd.rn-mp1s|audio/vnd.rn-mp2p}{IndexNumber~N0~LoadMultiple~N1~Version~N-1610611892~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004, All rights reserved.~Description~SRealNetworks NTLM Authenticator~PlgCopy~Shttp://www.real.com~PluginFilename~Sntlmauth.dll}{IndexNumber~N0~LoadMultiple~N1~Version~N0~Copyright~S(c) 2001 Xiphophorus, All rights reserved.~Description~SOgg File Format Plugin~FileExtensions~Sogg~FileMime~Sapplication/x-ogg|application/ogg~FileOpenNames~SOgg (*.ogg)~PlgCopy~Shttp://www.xiph.org~PluginFilename~Soggfformat.dll~PluginType~SPLUGIN_FILE_FORMAT}{IndexNumber~N0~LoadMultiple~N1~Version~N-1610611871~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004, All rights reserved.~Description~SRealNetworks PAC Plugin~PlgCopy~Shttp://www.real.com~PluginFilename~Spacplin.dll~PluginType~SPLUGIN_PAC}{IndexNumber~N0~LoadMultiple~N1~Version~N-1610611871~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004, All rights reserved.~Description~SRealNetworks PlusURL File Format Plugin~FileExtensions~S~FileMime~Sapplication/x-pn-plusurl~FileOpenNames~SPlus URL File Format~PlgCopy~Shttp://www.real.com~PluginFilename~Splusplin.dll~PluginType~SPLUGIN_FILE_FORMAT}{IndexNumber~N0~LoadMultiple~N1~Version~N268439370~Copyright~S(c) 1995-2002 RealNetworks, Inc. All rights reserved.~Description~SRealNetworks RealPix BMP File Format Codec Plugin~PlgCopy~Shttp://www.real.com~PluginFilename~Spxcb3210.dll}{IndexNumber~N1~LoadMultiple~N1~Version~N268439370~Copyright~S(c) 1995-2002 RealNetworks, Inc. All rights reserved.~Description~SRealNetworks RealPix BMP Renderer Codec Plugin~PlgCopy~Shttp://www.real.com~PluginFilename~Spxcb3210.dll}{IndexNumber~N0~LoadMultiple~N1~Version~N-1610610625~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.~Description~SHelix DNA RealMedia Meta File Format Plugin~FileExtensions~Sram|rmm|mns~FileMime~Sapplication/ram|audio/x-musicnet-stream~FileOpenNames~SRAM Meta File (*.ram, *.rmm, *.mns)~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Sramfformat.dll~PluginType~SPLUGIN_FILE_FORMAT}{IndexNumber~N0~LoadMultiple~N1~Renderer_Granularity~N0~Version~N-1610610631~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.~Description~SHelix DNA RAM Driver Renderer Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Sramrender.dll~PluginType~SPLUGIN_RENDERER~RendererMime~Sapplication/ram}{Bandwidth.000~N100~Bandwidth.001~N50~Bandwidth.002~N40~Bandwidth.003~N25~Bandwidth.004~N20~Bandwidth.005~N20~Bandwidth.006~N36~Bandwidth.007~N15~Bandwidth.008~N10~Bandwidth.009~N10~Bandwidth.010~N8~Bandwidth.011~N6~Bandwidth.012~N18~Bandwidth.013~N7~CodecCount~N14~IndexNumber~N0~LoadMultiple~N1~Priority.000~N100~Priority.001~N50~Priority.002~N40~Priority.003~N25~Priority.004~N21~Priority.005~N20~Priority.006~N19~Priority.007~N15~Priority.008~N11~Priority.009~N10~Priority.010~N9~Priority.011~N8~Priority.012~N7~Priority.013~N6~Renderer_Granularity~N100~Version~N-1610611088~Copyright~SCopyright(c) 1995-2004 RealNetworks, Inc. All rights reserved.

RealNetworks RealAudio 8 Audio Codec:
Copyright(c) 1995-2004 RealNetworks, Inc. All rights reserved.

ATRAC3
Copyright (c) 2000 Sony Corporation. All rights reserved.

aacPlus
aacPlus developed by Coding Technologies. All rights reserved.

DolbyNet(tm) audio system manufactured under license from Dolby Laboratories Licensing Corporation.
Copyright (c) 1996-1997, Dolby Laboratories Licensing Corporation. All rights reserved.

ACELP(r) is either registered trademark or trademark of VoiceAge Corporation in the United States and/or other countries and used under license from VoiceAge Corporation
The ACELP(r).net codec in this product is used under license from VoiceAge Corporation
Copyright (c) 1998,1999, 2000 VoiceAge Corporation.  All rights reserved.
~Description~SRealNetworks RealAudio Renderer Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Srarender.dll~PluginType~SPLUGIN_RENDERER~RendererMime~Saudio/x-pn-realaudio|audio/x-pn-multirate-realaudio|audio/x-pn-multirate-realaudio-live~Codec.000~Bdnet~Codec.001~Bdnet~Codec.002~Bdnet~Codec.003~Bdnet~Codec.004~Bsipr~Codec.005~Bdnet~Codec.006~B28_8~Codec.007~Bdnet~Codec.008~Bsipr~Codec.009~Bdnet~Codec.010~Bsipr~Codec.011~Bsipr~Codec.012~BlpcJ~Codec.013~B05_6}{IndexNumber~N0~LoadMultiple~N1~Version~N1610615518~Copyright~S(c) 1995,1996,1997 RealNetworks, All rights reserved.~Description~SRecord File Format Plugin~FileExtensions~Srec|r1m|r1p~FileMime~Sapplication/x-pn-recordfileformat~FileOpenNames~SRecord File Format (*.r1m,*.r1p)~PlgCopy~Shttp://www.real.com~PluginFilename~Srecf3260.dll~PluginType~SPLUGIN_FILE_FORMAT}{IndexNumber~N0~LoadMultiple~N1~Version~N-1610612736~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2004. All rights reserved. Source code for this program is availa"

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 Code Project Open License (CPOL)

About the Authors

Apriorit Inc
Apriorit Inc.
Ukraine Ukraine
ApriorIT is a Software Research and Development company that works in advanced knowledge-intensive scopes.
 
Company offers integrated research&development services for the software projects in such directions as Corporate Security, Remote Control, Mobile Development, Embedded Systems, Virtualization, Drivers and others.
 
Official site http://www.apriorit.com
Group type: Organisation

31 members

Follow on   LinkedIn

Ivan Romanenko
Software Developer Codedgers Inc
Ukraine Ukraine
No Biography provided

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 30 Jun 2009
Article Copyright 2009 by Apriorit Inc, Ivan Romanenko
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid