[Pdns-dev] ArgvMap rewrite

Norbert Sendetzky norbert at linuxnetworks.de
Sun Feb 1 19:56:26 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Bert

As I've told you last week, I've rewritten the ArgvMap class.
The new code is cleaner, easier to read, smaller and the parsing code 
handles errors better than the old one.

This implementation is compatible to the existing one with these 
exceptions:
- - parse() and laxParse() -> parseArgv( argc, argv, strict )
- - laxFile() -> parseFile( name, false )
- - begin() and end() were removed (unused, gave access to internals)
- - parmIsset() wasn't used outside the class and is now implemented 
internally


Norbert

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAkAdS9oACgkQxMLs5v5/7eB4XgCfcdCM1rLVg+V82QEyse32so7R
1KEAn1dkiD1Xru8FoqPxkbOT0ybvUQxQ
=VWDW
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arguments.cc
Type: text/x-c++src
Size: 5763 bytes
Desc: not available
Url : http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20040201/fb2b29fd/arguments.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arguments.hh
Type: text/x-c++hdr
Size: 2392 bytes
Desc: not available
Url : http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20040201/fb2b29fd/arguments-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arguments_rewrite.diff
Type: text/x-diff
Size: 4136 bytes
Desc: not available
Url : http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20040201/fb2b29fd/arguments_rewrite.bin


More information about the Pdns-dev mailing list