CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Function finding (http://www.cfd-online.com/Forums/openfoam-programming-development/72020-function-finding.html)

marupio January 22, 2010 13:06

Function finding
 
Does anyone have a list of most of the important classes in OpenFOAM and their members, including inherited members?

I'm not used to all this digging to find who owns what. Doxygen doesn't give you the inherited members, and it loses track when macros come into play. I'm thinking something like my example below.

class choppedUpClass

Derived from: blah blah blah

Private members:
-blah blah blah
-Bob Loblaw

Public members:
-blah blah blah

Members inherited from insanelyAbstractClassA
-blah blah blah

Members inherited from seeminglyArbitraryFragmentClassB
-blah blah blah
-theFunctionYouWillNeverFind (implemented& inCustom, fileName&.C, fiveLevelsDown& theIncludeTree);

Just wondering!

-dave

olesen January 24, 2010 16:07

Quote:

Originally Posted by marupio (Post 243469)
Does anyone have a list of most of the important classes in OpenFOAM and their members, including inherited members?

I'm not used to all this digging to find who owns what. Doxygen doesn't give you the inherited members, and it loses track when macros come into play.

The easiest place to start might just be to re-run doxygen on your files. Note this setting in the Doxyfile:
Code:

# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
# inherited members of a class in the documentation of that class as if those
# members were ordinary class members. Constructors, destructors and assignment
# operators of the base classes will not be shown.

INLINE_INHERITED_MEMB  = NO


marupio January 24, 2010 18:58

Exactly what I was looking for!
 
Thanks Mark,

I've done as you suggested, and it is exactly what I was looking for... that saves me from attempting to create something like that myself!

-dave


All times are GMT -4. The time now is 21:28.