[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
XMLhelper::parse_bool needed?
From: |
Neil Hotmail |
Subject: |
XMLhelper::parse_bool needed? |
Date: |
Fri, 11 Oct 2002 20:05:28 +0100 |
Hi
In surface_background_data.cxx, line 115:
stretch_x = XMLhelper::parse_float(doc, cur);
stretch_x is a bool, but parse_float returns a float, is this intentional?
Would it not make more sense to use parse_int as this is (or should be) a
simpler and quicker function, and integers are quicker than floats. Another
alternative would be to add a specific parse_bool statement.
Ginge
- Bugs on Savannah, Gervase Lam, 2002/10/09
- Re: Bugs on Savannah, Gervase Lam, 2002/10/10
- Re: Bugs on Savannah, Gervase Lam, 2002/10/11
- Intentional code?, Neil Hotmail, 2002/10/11
- Re: Intentional code?, David Philippi, 2002/10/11
- Re: Intentional code?, David Philippi, 2002/10/11
- Re: Intentional code?, Neil Hotmail, 2002/10/11
- XMLhelper::parse_bool needed?,
Neil Hotmail <=
- Re: XMLhelper::parse_bool needed?, David Philippi, 2002/10/11
- Re: XMLhelper::parse_bool needed?, Neil Hotmail, 2002/10/11
- Re: XMLhelper::parse_bool needed?, Ingo Ruhnke, 2002/10/11
- Re: Intentional code?, Neil Hotmail, 2002/10/11
- Re: Intentional code?, David Philippi, 2002/10/11
- Re: Intentional code?, Ingo Ruhnke, 2002/10/11
- Re: Intentional code?, David Philippi, 2002/10/11
- Re: Intentional code?, David Philippi, 2002/10/11