CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
FWViewType.cc File Reference
#include "Fireworks/Core/interface/FWViewType.h"
#include "Fireworks/Core/interface/fwLog.h"

Go to the source code of this file.

Functions

const std::string & switchName (const std::string &old, FWViewType::EType id)
 

Variables

FWViewType::static_initializer init_statics
 

Function Documentation

const std::string& switchName ( const std::string &  old,
FWViewType::EType  id 
)

Definition at line 96 of file FWViewType.cc.

References fwLog, FWViewType::idToName(), and fwlog::kDebug.

Referenced by FWViewType::checkNameWithViewVersion().

97 {
98  fwLog(fwlog::kDebug) << old << " view has been renamed to "<< FWViewType::idToName(id) << ".\n";
99  return (const std::string&)FWViewType::idToName(id);
100 }
#define fwLog(_level_)
Definition: fwLog.h:51
static const std::string & idToName(int)
Definition: FWViewType.cc:90

Variable Documentation

Definition at line 52 of file FWViewType.cc.