Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PHTML::PHTML ( ElementInSet  initialState = NumElementsInSet )

Construct a new HTML object. If a title is specified in the constructor then the HEAD, TITLE and BODY elements are output and the string is used in a H1 element.

Definition at line 117 of file html.cxx.

{
  memset(elementSet, 0, sizeof(elementSet));
  tableNestLevel = 0;
  initialElement = initialState;
  switch (initialState) {
    case NumElementsInSet :
      break;
    case InBody :
      Set(InBody);
      break;
    case InForm :
      Set(InBody);
      Set(InForm);
      break;
    default :
      PAssertAlways(PInvalidParameter);
  }
}

Generated by  Doxygen 1.6.0   Back to index