CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions | Variables
format_type_name.cc File Reference
#include <string>
#include "boost/static_assert.hpp"
#include "DataFormats/FWLite/interface/format_type_name.h"

Go to the source code of this file.

Namespaces

 fwlite
 

Functions

std::string fwlite::format_type_to_mangled (const std::string &)
 given a C++ class name returned a mangled name More...
 
void fwlite::staticAssert ()
 
std::string fwlite::unformat_mangled_to_type (const std::string &)
 given a mangled name return the C++ class name More...
 

Variables

static const std::string s_symbolDemangled []
 
static const std::string s_symbolMangled []
 
static const unsigned int s_symbolToMangledSize = sizeof(s_symbolDemangled)/sizeof(std::string)
 

Variable Documentation

const std::string s_symbolDemangled[]
static
Initial value:
= {"::",
"_" ,
"," ,
" " ,
"&" ,
"*" ,
"<" ,
">"
}

Definition at line 28 of file format_type_name.cc.

Referenced by fwlite::format_type_to_mangled(), fwlite::staticAssert(), and fwlite::unformat_mangled_to_type().

const std::string s_symbolMangled[]
static
Initial value:
= {"_1",
"_2",
"_3",
"_4",
"_7",
"_8",
"_9",
"_0"
}

Definition at line 37 of file format_type_name.cc.

Referenced by fwlite::format_type_to_mangled(), fwlite::staticAssert(), and fwlite::unformat_mangled_to_type().

const unsigned int s_symbolToMangledSize = sizeof(s_symbolDemangled)/sizeof(std::string)
static