Returns the number of rows. This will not include the row of headers. Arguments: None

Return TypeFunction nameArguments
uint32_thzHtmTbl::Rowcount(void)

Declared in file: hzDocument.h
Defined in file : hzDocHtml.cpp

Function Logic:

0:START 1:unknown 2:Return 0 3:unknown 4:unknown 5:items 6:unknown 7:m_nRows 8:m_nSubnodes 9:m_nRows 10:Return m_nRows

Function body:

uint32_t hzHtmTbl::Rowcount (void)
{
   //  Returns the number of rows. This will not include the row of headers.
   //  
   //  Arguments: None
   //  Returns: Number of rows in the table
   if (!m_nSubnodes)
   {
       //  threadLog("Table is empty\n") ;
       return 0;
   }
   if (!m_nCols)
   {
       if (!m_nRows)
           Colcount() ;
       if (!m_nCols)
           m_nRows = m_nSubnodes ;
       else
           m_nRows = m_nSubnodes - 1;
   }
   return m_nRows ;
}