Menu

Class spread over several files problem

Support
The Doctor
2008-12-05
2012-09-14
  • The Doctor

    The Doctor - 2008-12-05

    Hey

    I have two files (c++):

    file #1:

    class myClass
    {
    public:
    myClass();
    int theValue() { return m_value;};

    private:
    int m_value;
    };

    file #2:

    myClass::myClass()
    {
    m_value = 3;
    }

    Now I want to document this class. When i do this by putting the / Class: myClass / comment in both files, Natural Docs creates two html files for them, one for each file. So the documentation for the int theValue() function, gets it's own html file, and the documentation for the constructor gets its own. How can i prevent this, and put the documentation for both of the files in one page?

    Grtz, The Doctor.

     
    • The Doctor

      The Doctor - 2008-12-06

      Ok, then i'll just wait.

       
    • Greg Valure

      Greg Valure - 2008-12-05

      You can't. It's a limitation of Natural Docs 1.x's internal architecture, which is one of the reasons why it's being rewritten. I can't give you an estimate for when 2.0 will be available, unfortunately.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.