Hi Zdenko,Thanks for updating the documentation!I suppose call graphs/include graphs would be very useful, but as you point out I think they are a bit big. The smaller 46MB one might work though.
I noticed a problem with the attached graphs though. Since baseapi.cpp includes tesseractclass.h, it *should* show the entire directory class hierarchy:tesseractclass.hwordclass.hclassify.hccstruct.hcutil_class.hccutil.hand they aren't there below wordclass.hF3 in eclipse works well for me though.
What I find a bit confusing, is that you can't just look at the docs
for baseapi.h [1] or baseapi.cpp [2] files to get documentation on all
the available methods. Instead, you have to know to look at the CLASS
TessBaseAPI [3]. Any pointers to this documentation should mention it
as the page to start with.
The Modules | Advanced API page [4] seems to include a number of
pretty basic methods? Is this doxygen group really necessary?
I also find it handy to have ALL the source files reachable via a "Go
to the source code of this file" link (since doxygen will hyperlink
stuff back to the documentation). I guess you do that for header files
but not .cpp files?
[1] http://zdenop.github.com/tesseract-doc/baseapi_8h.html
[2] http://zdenop.github.com/tesseract-doc/baseapi_8cpp.html
[3] http://zdenop.github.com/tesseract-doc/classtesseract_1_1_tess_base_a_p_i.html
[4] http://zdenop.github.com/tesseract-doc/group___advanced_a_p_i.html
-- Tom
On Tue, Mar 20, 2012 at 5:30 AM, Ray Smith <thera...@gmail.com> wrote:I uploaded it to github:Hi Zdenko,Thanks for updating the documentation!I suppose call graphs/include graphs would be very useful, but as you point out I think they are a bit big. The smaller 46MB one might work though.
I noticed a problem with the attached graphs though. Since baseapi.cpp includes tesseractclass.h, it *should* show the entire directory class hierarchy:tesseractclass.hwordclass.h
On Thu, Mar 22, 2012 at 2:28 PM, zdenko podobny <zde...@gmail.com> wrote:On Tue, Mar 20, 2012 at 5:30 AM, Ray Smith <thera...@gmail.com> wrote:I uploaded it to github:Hi Zdenko,Thanks for updating the documentation!I suppose call graphs/include graphs would be very useful, but as you point out I think they are a bit big. The smaller 46MB one might work though.
I noticed a problem with the attached graphs though. Since baseapi.cpp includes tesseractclass.h, it *should* show the entire directory class hierarchy:tesseractclass.hwordclass.hMy typo. Should read wordrec.h
The hierarchy is missing though.classify.hccstruct.hcutil_class.hccutil.hand they aren't there below wordclass.hF3 in eclipse works well for me though.
The elements in the graphs generated by the dot tool have the following meaning:
A
uses class B
, if class A
has a member variable m
of type C, where B is a subtype of C (e.g. C
could be B
, B*
, T\<B\>*
).
I also find it handy to have ALL the source files reachable via a "Go
to the source code of this file" link (since doxygen will hyperlink
stuff back to the documentation). I guess you do that for header files
but not .cpp files?
Well each one has its own short description in the comment string that goes with it.
If you aren't familiar enough with the code to understand that (end I expect only a few people will qualify for that) then no there is no documentation and as you point out there are >600 pieces of documentation to write so it would be a mammoth task.