CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/Fireworks/Core/src/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().

{
#ifdef FW_CONFIG_PARSER_DEBUG
  static char *debug_states[] = {
     "IN_BEGIN_DOCUMENT",
     "IN_PUSHED_CONFIG",
     "IN_POPPED_CONFIG",
     "IN_BEGIN_STRING",
     "IN_STORED_STRING"
   };

  std::cerr << "  " << where << " tag/data " << tag << "in state " << debug_states[state] << std::endl;
#endif
}