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

void Compiler::procSection (  )  [private]

Parse the <section> element

Definition at line 556 of file Compiler.C.

References attrib(), current_section, reader, and requireAttribute().

Referenced by procNode().

{
  int tipo=xmlTextReaderNodeType(reader);

  if(tipo != XML_READER_TYPE_END_ELEMENT)
  {
    string const &id = attrib(COMPILER_ID_ATTR);
    string const &type = attrib(COMPILER_TYPE_ATTR);
    requireAttribute(id, COMPILER_ID_ATTR, COMPILER_SECTION_ELEM);
    requireAttribute(type, COMPILER_TYPE_ATTR, COMPILER_SECTION_ELEM);
    
    current_section = id;
    current_section += "@";
    current_section.append(type);
  }
  else
  {
    current_section = "";
  }
}


Generated by  Doxygen 1.6.0   Back to index