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 162 of file FWConfigurationManager.cc.

References dtNoiseDBValidation_cfg::cerr, and evf::utils::state.

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

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