|
SNAP Library, Developer Reference
2012-10-15 15:06:59
SNAP, a general purpose network analysis and graph mining library
|
#include <ut.h>


Public Member Functions | |
| TTypeNm () | |
Static Public Member Functions | |
| static TStr | GetNrTypeNm (const TStr &TypeNm) |
Definition at line 11 of file ut.h.
: TStr(GetNrTypeNm((char*)(typeid(Type).name()))){}
| static TStr TTypeNm< Type >::GetNrTypeNm | ( | const TStr & | TypeNm | ) | [inline, static] |
Definition at line 6 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;}}

