Changeset 343 for trunk/lib/Node.h


Ignore:
Timestamp:
May 19, 2007, 3:58:19 PM (16 years ago)
Author:
Peter Johansson
Message:

refs #169

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Node.h

    r330 r343  
    116116    /// @return file or directory
    117117    ///
    118     virtual const std::string node_type(void) const=0;
     118    virtual std::string node_type(void) const=0;
    119119
    120120    ///
     
    129129    ///
    130130    inline std::string name(void) const { return file_name(path_); }
     131
     132    /**
     133       @return output dir for example 'lib' for this file
     134     */
     135    std::string output_dir(void) const;
     136
     137    /**
     138       @return output path for example 'lib/File.h.html' for this file
     139     */
     140    virtual std::string output_path(void) const=0;
    131141
    132142    ///
     
    175185    u_int level_;
    176186    std::string local_path_; // path from root
     187    std::string output_dir_;
    177188    std::string path_; // absolute path
    178189    static std::string project_;
Note: See TracChangeset for help on using the changeset viewer.