CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
FWConfigurationManager.cc File Reference
#include <fstream>
#include <iostream>
#include <memory>
#include <stdexcept>
#include "TROOT.h"
#include "Fireworks/Core/interface/FWConfigurationManager.h"
#include "Fireworks/Core/interface/FWConfiguration.h"
#include "Fireworks/Core/interface/FWConfigurable.h"
#include "Fireworks/Core/interface/fwLog.h"
#include "Fireworks/Core/src/SimpleSAXParser.h"

Go to the source code of this file.

Classes

class  FWXMLConfigParser
 

Functions

void debug_config_state_machine (const char *where, const std::string &tag, int state)
 

Function Documentation

void debug_config_state_machine ( const char *  where,
const std::string &  tag,
int  state 
)

Definition at line 163 of file FWConfigurationManager.cc.

References dtNoiseDBValidation_cfg::cerr.

Referenced by FWXMLConfigParser::data(), FWXMLConfigParser::endElement(), and FWXMLConfigParser::startElement().

164 {
165 #ifdef FW_CONFIG_PARSER_DEBUG
166  static char *debug_states[] = {
167  "IN_BEGIN_DOCUMENT",
168  "IN_PUSHED_CONFIG",
169  "IN_POPPED_CONFIG",
170  "IN_BEGIN_STRING",
171  "IN_STORED_STRING"
172  };
173 
174  std::cerr << " " << where << " tag/data " << tag << "in state " << debug_states[state] << std::endl;
175 #endif
176 }