src/class.cpp
/*!
 * \fn int cumulatedDataMemberCount() const
 * \brief returns the cumulated count of data members
 * 
 * This returns the size of dataMembers() plus the number 
 * of data members in all base classes.
 */
\fn int cumulatedDataMemberCount() const
\brief returns the cumulated count of data members

This returns the size of dataMembers() plus the number
of data members in all base classes.
\ fn int cumulatedDataMemberCount () const \ brief returns the cumulated count of data members This returns the size of dataMembers () plus the number of data members in all base classes .
int Class::cumulatedDataMemberCount() const
{
  Class p = parent();
  return static_cast<int>(d->dataMembers.size()) + (p.isNull() ? 0 : p.cumulatedDataMemberCount());
}
int Class :: cumulatedDataMemberCount ( ) const { Class p = parent ( ) ; return static_cast < int > ( d -> dataMembers . size ( ) ) + ( p . isNull ( ) ? 0 : p . cumulatedDataMemberCount ( ) ) ; }
\fn int cumulatedDataMemberCount() const
 \brief returns the cumulated count of data members
\ fn int cumulatedDataMemberCount () const \ brief returns the cumulated count of data members