15 inline const std::string&
stype(
unsigned char) {
16 static const std::string s_v(
"unsigned char");
20 inline const std::string&
stype(
char) {
21 static const std::string s_v(
"char");
25 inline const std::string&
stype(
unsigned short) {
26 static const std::string s_v(
"unsigned short");
30 inline const std::string&
stype(
short) {
31 static const std::string s_v(
"short");
35 inline const std::string&
stype(
int) {
36 static const std::string s_v(
"int");
40 inline const std::string&
stype(
unsigned int) {
41 static const std::string s_v(
"unsigned int");
45 inline const std::string&
stype(
float) {
46 static const std::string s_v(
"float");
50 inline const std::string&
stype(
double) {
51 static const std::string s_v(
"double");
55 inline const std::string&
stype(
bool) {
56 static const std::string s_v(
"bool");
62 static const std::string s_v(
"tools::int64");
66 static const std::string s_v(
"tools::uint64");
69 inline const std::string&
stype(
const std::string&) {
70 static const std::string s_v(
"std::string");
76 inline const std::string&
stype(
const T&) {
return T::s_class();}
78 inline bool stemplate(
const std::string& a_s,std::string& a_inc) {
82 std::string::size_type pos = a_inc.find(
'<');
83 if(pos==std::string::npos) {a_inc.clear();
return false;}
84 a_inc = a_inc.substr((pos+1),a_inc.size()-(pos+1));
85 std::string::size_type _pos = a_inc.find(
'>');
86 if(_pos==std::string::npos) {a_inc.clear();
return false;}
87 a_inc = a_inc.substr(0,_pos);
98 inline const std::string&
stype(
const std::vector<std::string>&) {
99 static const std::string s_v(
"std::vector<std::string>");