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 "TSystem.h"
#include "TStopwatch.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"
#include "Fireworks/Core/interface/FWJobMetadataManager.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 168 of file FWConfigurationManager.cc.

References dtNoiseDBValidation_cfg::cerr.

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

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