From 552534a2a264676a5a560bbcd9bdbf8c72910a7e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 2 Apr 2013 19:22:14 +0100 Subject: Rename a few bits. --- src/cxml.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/cxml.h b/src/cxml.h index c9f1065..9581adc 100644 --- a/src/cxml.h +++ b/src/cxml.h @@ -66,7 +66,7 @@ public: * * * string_child ("Jim") would return "42" - * numerical_child ("Jim") would return 42. + * number_child ("Jim") would return 42. * ...and so on. * * The methods not marked "optional" will throw an exception @@ -84,7 +84,7 @@ public: boost::optional optional_bool_child (std::string) const; template - T numerical_child (std::string c) const + T number_child (std::string c) const { std::string s = string_child (c); boost::erase_all (s, " "); @@ -92,7 +92,7 @@ public: } template - boost::optional optional_numerical_child (std::string c) const + boost::optional optional_number_child (std::string c) const { boost::optional s = optional_string_child (c); if (!s) { @@ -123,7 +123,7 @@ public: boost::optional optional_bool_attribute (std::string) const; template - T numerical_attribute (std::string c) const + T number_attribute (std::string c) const { std::string s = string_attribute (c); boost::erase_all (s, " "); @@ -131,7 +131,7 @@ public: } template - boost::optional optional_numerical_attribute (std::string c) const + boost::optional optional_number_attribute (std::string c) const { boost::optional s = optional_string_attribute (c); if (!s) { -- cgit v1.2.3