Changeset da09909 for molecuilder/src/Views
- Timestamp:
- Dec 16, 2009, 2:40:09 PM (16 years ago)
- Children:
- 38546d
- Parents:
- c2c893
- Location:
- molecuilder/src/Views
- Files:
-
- 4 edited
-
MethodStringView.hpp (modified) (1 diff)
-
StreamStringView.hpp (modified) (1 diff)
-
StringView.hpp (modified) (1 diff)
-
View.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Views/MethodStringView.hpp
rc2c893 rda09909 13 13 #include "Views/StringView.hpp" 14 14 15 /** 16 * Wrapper to produce a StringView from any method that returns a String. 17 */ 15 18 class MethodStringView : public StringView 16 19 { -
molecuilder/src/Views/StreamStringView.hpp
rc2c893 rda09909 13 13 #include "Views/StringView.hpp" 14 14 15 /** 16 * Wrapper to produce a StringView from any method that uses a stream to display something. 17 * 18 * The function is called with a stringstream which then is turned into a string later. 19 * 20 * Caveat: Make sure the stream passed to the method is actually used. Some methods seem to use a stream parameter for 21 * legacy reasons. These methods internally use the "Log() << Verbose()" mechanism instead of the stream. 22 */ 15 23 class StreamStringView : public StringView 16 24 { -
molecuilder/src/Views/StringView.hpp
rc2c893 rda09909 14 14 using namespace std; 15 15 16 /** 17 * View to show something as a string 18 * 19 * This View is used by calling the toString method. 20 * This View does *not* use the observer pattern. 21 */ 16 22 class StringView : public View 17 23 { -
molecuilder/src/Views/View.hpp
rc2c893 rda09909 9 9 #define VIEW_H_ 10 10 11 /** 12 * Base class for all Views 13 * 14 * TODO: is this really needed or helpfull at all? 15 */ 11 16 class View 12 17 {
Note:
See TracChangeset
for help on using the changeset viewer.
