Andre Poenitz wrote:
On Thu, Oct 25, 2007 at 04:13:58AM -0000, [EMAIL PROTECTED] wrote:
+ICPInfo::ICPInfo(std::string const & s, bool b)
+ : paramName(s), optional(b)
+{}
+
+
+void ICPList::addParam(std::string const & s, bool b) {
+ plist_.push_back(ICPInfo(s, b));
+}
+
+
+bool ICPList::hasParam(std::string const & s) {
+ PList::const_iterator it = begin();
+ PList::const_iterator et = end();
+ for (; it != et; ++it) {
+ if (it->paramName == s)
+ return true;
+ }
+ return false;
+}
In function definitions the opening brace go to a new line.
Whoops. That wasn't ready to be committed.
rh
--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto