Gaudi Framework, version v25r0

Home   Generated: Mon Feb 17 2014
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
GaudiDict Namespace Reference

Functions

std::string typeName (const std::type_info &typ)
 
std::string vectorName (const std::type_info &typ)
 
std::string vectorName (const std::string &typ)
 
std::string pairName (const std::type_info &typ1, const std::type_info &typ2)
 
std::string relationName (const std::string &prefix, const std::type_info &typ1, const std::type_info &typ2)
 
std::string templateName1 (const std::string &templ, const std::type_info &typ)
 
std::string templateName1 (const std::string &templ, const std::string &typ)
 
std::string templateName2 (const std::string &templ, const std::type_info &typ1, const std::type_info &typ2)
 
std::string templateName3 (const std::string &templ, const std::type_info &typ1, const std::type_info &typ2, const std::type_info &typ3)
 
std::string keyedContainerName (const std::string &prefix, const std::type_info &typ1)
 

Function Documentation

std::string GaudiDict::keyedContainerName ( const std::string prefix,
const std::type_info typ1 
)

Definition at line 73 of file Dictionary.cpp.

{
std::string s = "KeyedContainer<";
s += typeName(typ1);
s += ",";
s += mgr_typ;
if ( mgr_typ[mgr_typ.length()-1]=='>' ) s += " ";
s += ">";
return clean(s);
}
std::string GaudiDict::pairName ( const std::type_info typ1,
const std::type_info typ2 
)

Definition at line 69 of file Dictionary.cpp.

{
return templateName2("std::pair", typ1, typ2);
}
std::string GaudiDict::relationName ( const std::string prefix,
const std::type_info typ1,
const std::type_info typ2 
)

Definition at line 83 of file Dictionary.cpp.

{
return "";
}
std::string GaudiDict::templateName1 ( const std::string templ,
const std::type_info typ 
)

Definition at line 30 of file Dictionary.cpp.

{
return templateName1(templ, typeName(typ));
}
std::string GaudiDict::templateName1 ( const std::string templ,
const std::string typ 
)

Definition at line 34 of file Dictionary.cpp.

{
std::string s = templ + "<";
s += typ;
s += (s[s.length()-1] == '>') ? " >" : ">";
return clean(s);
}
std::string GaudiDict::templateName2 ( const std::string templ,
const std::type_info typ1,
const std::type_info typ2 
)

Definition at line 41 of file Dictionary.cpp.

{
std::string s = templ + "<";
s += typeName(typ1);
s += ",";
s += typeName(typ2);
s += (s[s.length()-1] == '>') ? " >" : ">";
return clean(s);
}
std::string GaudiDict::templateName3 ( const std::string templ,
const std::type_info typ1,
const std::type_info typ2,
const std::type_info typ3 
)

Definition at line 50 of file Dictionary.cpp.

{
std::string s = templ + "<";
s += typeName(typ1);
s += ",";
s += typeName(typ2);
s += ",";
s += typeName(typ3);
s += (s[s.length()-1] == '>') ? " >" : ">";
return clean(s);
}
std::string GaudiDict::typeName ( const std::type_info typ)

Definition at line 22 of file Dictionary.cpp.

{
//if ( r.substr(0,4) == "enum" ) {
// r = "int";
//}
return r;
}
std::string GaudiDict::vectorName ( const std::type_info typ)

Definition at line 61 of file Dictionary.cpp.

{
return templateName1("std::vector", typ);
}
std::string GaudiDict::vectorName ( const std::string typ)

Definition at line 65 of file Dictionary.cpp.

{
return templateName1("std::vector", typ);
}

Generated at Mon Feb 17 2014 14:38:18 for Gaudi Framework, version v25r0 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004