Changeset 72 for trunk/lib/Node.h


Ignore:
Timestamp:
Mar 2, 2006, 11:16:24 PM (16 years ago)
Author:
Peter Johansson
Message:

prefer stl algorithms...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Node.h

    r60 r72  
    88#include <ostream>
    99#include <string>
     10#include <sstream>
    1011
    1112namespace theplu{
     
    2829    virtual inline ~Node(void) {};
    2930
    30     const std::string& output_name(void) const { return output_name_; }
     31    inline const std::string& output_name(void) const { return output_name_; }
    3132
    3233    ///
     
    4142
    4243    ///
    43     /// Prints a html link.
     44    /// @return html link.
    4445    ///
    45     inline void print_link(std::ostream& os) const
    46     { os << "<a href=\"" << output_name() << ".html\">" << name() << "</a>"; }
     46    std::string html_link(void) const;
    4747 
    4848    ///
Note: See TracChangeset for help on using the changeset viewer.