mail[Wesnoth-commits] r20360 - in /trunk/src/serialization: parser.cpp parser.hpp tokenizer.cpp tokenizer.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by gurt on September 14, 2007 - 04:47:
Author: hajo
Date: Fri Sep 14 04:47:04 2007
New Revision: 20360

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20360&view=rev
Log:
doxygen, comments

Modified:
    trunk/src/serialization/parser.cpp
    trunk/src/serialization/parser.hpp
    trunk/src/serialization/tokenizer.cpp
    trunk/src/serialization/tokenizer.hpp

Modified: trunk/src/serialization/parser.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/serialization/parser.cpp?rev=20360&r1=20359&r2=20360&view=diff
==============================================================================
--- trunk/src/serialization/parser.cpp (original)
+++ trunk/src/serialization/parser.cpp Fri Sep 14 04:47:04 2007
@@ -13,6 +13,9 @@
 
    See the COPYING file for more details.
 */
+
+//! @file serialization/parser.cpp 
+//! Read/Write & analyse WML- and config-files.
 
 #include "serialization/parser.hpp"
 
@@ -342,7 +345,7 @@
 static std::string escaped_string(const std::string& value) {
        std::vector<char> res;
        for(std::string::const_iterator i = value.begin(); i != value.end(); 
++i) {
-               //double interior quotes
+               // double interior quotes
                if(*i == '\"') res.push_back(*i);
                res.push_back(*i);
        }

Modified: trunk/src/serialization/parser.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/serialization/parser.hpp?rev=20360&r1=20359&r2=20360&view=diff
==============================================================================
--- trunk/src/serialization/parser.hpp (original)
+++ trunk/src/serialization/parser.hpp Fri Sep 14 04:47:04 2007
@@ -12,6 +12,10 @@
 
    See the COPYING file for more details.
 */
+
+//! @file serialization/parser.hpp
+//!
+
 #ifndef SERIALIZATION_PARSER_HPP_INCLUDED
 #define SERIALIZATION_PARSER_HPP_INCLUDED
 
@@ -23,8 +27,8 @@
 class config;
 class t_string;
 
-//read data in, clobbering existing data.
-void read(config &cfg, std::istream &in, std::string* error_log = NULL); 
//throws config::error
+// Read data in, clobbering existing data.
+void read(config &cfg, std::istream &in, std::string* error_log = NULL);     
  // Throws config::error
 
 void write(std::ostream &out, config const &cfg, unsigned int level=0);
 void write_key_val(std::ostream &out, const std::string &key, const t_string 
&value, unsigned int level, std::string &textdomain);

Modified: trunk/src/serialization/tokenizer.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/serialization/tokenizer.cpp?rev=20360&r1=20359&r2=20360&view=diff
==============================================================================
--- trunk/src/serialization/tokenizer.cpp (original)
+++ trunk/src/serialization/tokenizer.cpp Fri Sep 14 04:47:04 2007
@@ -11,6 +11,9 @@
 
    See the COPYING file for more details.
 */
+
+//! @file serialization/tokenizer.cpp 
+//!
 
 #include "global.hpp"
 

Modified: trunk/src/serialization/tokenizer.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/serialization/tokenizer.hpp?rev=20360&r1=20359&r2=20360&view=diff
==============================================================================
--- trunk/src/serialization/tokenizer.hpp (original)
+++ trunk/src/serialization/tokenizer.hpp Fri Sep 14 04:47:04 2007
@@ -11,6 +11,9 @@
 
    See the COPYING file for more details.
 */
+
+//! @file serialization/tokenizer.hpp 
+//!
 
 #ifndef TOKENIZER_H_INCLUDED
 #define TOKENIZER_H_INCLUDED




Related Messages


Powered by MHonArc, Updated Fri Sep 14 05:20:29 2007