Improved feed library with comments, bug fixes and code factorization.

This commit is contained in:
2015-09-08 21:45:27 +02:00
parent 39887c8bdb
commit a5e150d1c0
12 changed files with 46 additions and 41 deletions

View File

@@ -1,6 +1,5 @@
note
description: "Summary description for {FEED_GENERATOR}."
author: ""
description: "Common ancestor for feed generator."
date: "$Date$"
revision: "$Revision$"
@@ -10,13 +9,28 @@ deferred class
inherit
XML_UTILITIES
feature {NONE} -- Helpers
feature {NONE} -- Initialization
initialize
make (a_buffer: STRING_8)
do
buffer := a_buffer
create indentation.make_empty
end
feature -- Access
buffer: STRING_8
-- Output of feed conversion.
feature -- Conversion
process_feed (a_feed: FEED)
-- Convert `a_feed' into string representation in `buffer'.
deferred
end
feature {NONE} -- Helpers
indent
do
indentation.append ("%T")

View File

@@ -1,6 +1,5 @@
note
description: "Summary description for {FEED_VISITOR}."
author: ""
description: "Interface to visit Feed objects."
date: "$Date$"
revision: "$Revision$"