Ignore:
Timestamp:
Dec 16, 2009, 2:40:09 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
38546d
Parents:
c2c893
Message:

Improved documentation for menu framework.

Location:
molecuilder/src/Views
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/Views/MethodStringView.hpp

    rc2c893 rda09909  
    1313#include "Views/StringView.hpp"
    1414
     15/**
     16 * Wrapper to produce a StringView from any method that returns a String.
     17 */
    1518class MethodStringView : public StringView
    1619{
  • molecuilder/src/Views/StreamStringView.hpp

    rc2c893 rda09909  
    1313#include "Views/StringView.hpp"
    1414
     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 */
    1523class StreamStringView : public StringView
    1624{
  • molecuilder/src/Views/StringView.hpp

    rc2c893 rda09909  
    1414using namespace std;
    1515
     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 */
    1622class StringView : public View
    1723{
  • molecuilder/src/Views/View.hpp

    rc2c893 rda09909  
    99#define VIEW_H_
    1010
     11/**
     12 * Base class for all Views
     13 *
     14 * TODO: is this really needed or helpfull at all?
     15 */
    1116class View
    1217{
Note: See TracChangeset for help on using the changeset viewer.