SNAP Library , Developer Reference
2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <ut.h>
Public Member Functions | |
TTypeNm () | |
Static Public Member Functions | |
static TStr | GetNrTypeNm (const TStr &TypeNm) |
Definition at line 13 of file ut.h.
: TStr(GetNrTypeNm((char*)(typeid(Type).name()))){}
static TStr TTypeNm< Type >::GetNrTypeNm | ( | const TStr & | TypeNm | ) | [inline, static] |
Definition at line 8 of file ut.h.
References TStr::GetSubStr(), TStr::IsPrefix(), and TStr::Len().
Referenced by GetTypeNm().
{ if (TypeNm.IsPrefix("class ")){ return TypeNm.GetSubStr(6, TypeNm.Len()-1);} else {return TypeNm;}}