Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65009 - trunk/tools/quickbook/detail
From: dnljms_at_[hidden]
Date: 2010-08-26 03:59:58


Author: danieljames
Date: 2010-08-26 03:59:51 EDT (Thu, 26 Aug 2010)
New Revision: 65009
URL: http://svn.boost.org/trac/boost/changeset/65009

Log:
Take those 'xml_' structs out of actions.hpp
Text files modified:
   trunk/tools/quickbook/detail/actions.cpp | 36 ++++++++++++++++++++++++++++++++++++
   trunk/tools/quickbook/detail/actions.hpp | 36 ------------------------------------
   2 files changed, 36 insertions(+), 36 deletions(-)

Modified: trunk/tools/quickbook/detail/actions.cpp
==============================================================================
--- trunk/tools/quickbook/detail/actions.cpp (original)
+++ trunk/tools/quickbook/detail/actions.cpp 2010-08-26 03:59:51 EDT (Thu, 26 Aug 2010)
@@ -1572,6 +1572,42 @@
         return (qbk_version_n < version) ? raw : encoded;
     }
 
+ struct xml_author
+ {
+ // Handles xml author
+
+ xml_author(collector& out)
+ : out(out) {}
+
+ void operator()(std::pair<docinfo_string, docinfo_string> const& author) const;
+
+ collector& out;
+ };
+
+ struct xml_year
+ {
+ // Handles xml year
+
+ xml_year(collector& out)
+ : out(out) {}
+
+ void operator()(std::string const &year) const;
+
+ collector& out;
+ };
+
+ struct xml_copyright
+ {
+ // Handles xml copyright
+
+ xml_copyright(collector& out)
+ : out(out) {}
+
+ void operator()(std::pair<std::vector<std::string>, docinfo_string> const &copyright) const;
+
+ collector& out;
+ };
+
     void xml_author::operator()(actions::author const& name) const
     {
         out << " <author>\n"

Modified: trunk/tools/quickbook/detail/actions.hpp
==============================================================================
--- trunk/tools/quickbook/detail/actions.hpp (original)
+++ trunk/tools/quickbook/detail/actions.hpp 2010-08-26 03:59:51 EDT (Thu, 26 Aug 2010)
@@ -861,42 +861,6 @@
         std::string const& get(unsigned version) const;
     };
 
- struct xml_author
- {
- // Handles xml author
-
- xml_author(collector& out)
- : out(out) {}
-
- void operator()(std::pair<docinfo_string, docinfo_string> const& author) const;
-
- collector& out;
- };
-
- struct xml_year
- {
- // Handles xml year
-
- xml_year(collector& out)
- : out(out) {}
-
- void operator()(std::string const &year) const;
-
- collector& out;
- };
-
- struct xml_copyright
- {
- // Handles xml copyright
-
- xml_copyright(collector& out)
- : out(out) {}
-
- void operator()(std::pair<std::vector<std::string>, docinfo_string> const &copyright) const;
-
- collector& out;
- };
-
     void pre(collector& out, quickbook::actions& actions, bool ignore_docinfo = false);
     void post(collector& out, quickbook::actions& actions, bool ignore_docinfo = false);
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk