Marlin  1.17.1
 All Classes Namespaces Functions Variables Enumerations Friends Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
marlin::XMLFixCollTypes Class Reference

Internal helper class that creates a new xml steering file with the parameter attributes lcioInType and lcioOutType for the processors as defined by the Processor subclasses. More...

#include <XMLFixCollTypes.h>

Public Member Functions

 XMLFixCollTypes (const std::string &fileName)
 
void parse (const std::string &filename)
 Parse the input file and write the fixed outputfile to filename.
 

Protected Member Functions

const char * getAttribute (TiXmlNode *node, const std::string &name)
 Return named attribute - throws ParseException if attribute doesn't exist.
 
TiXmlNodefindElement (TiXmlNode *node, const std::string &type, const std::string &attribute, const std::string &value)
 Helper method - finds child element of node with given type and attribute value. More...
 

Protected Attributes

TiXmlDocument_doc
 
std::string _fileName
 

Detailed Description

Internal helper class that creates a new xml steering file with the parameter attributes lcioInType and lcioOutType for the processors as defined by the Processor subclasses.

This is used by Marlin -f.

Author
F. Gaede, DESY
Version
Id:
XMLFixCollTypes.h,v 1.2 2007-03-06 08:05:07 gaede Exp

Member Function Documentation

TiXmlNode * marlin::XMLFixCollTypes::findElement ( TiXmlNode node,
const std::string &  type,
const std::string &  attribute,
const std::string &  value 
)
protected

Helper method - finds child element of node with given type and attribute value.

References TiXmlElement::Attribute(), TiXmlNode::IterateChildren(), and TiXmlNode::ToElement().


The documentation for this class was generated from the following files: