SNAP Library 2.0, User Reference  2013-05-13 16:33:57
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TTypeNm< Type > Class Template Reference

#include <ut.h>

Inherits TStr.

List of all members.

Public Member Functions

 TTypeNm ()

Static Public Member Functions

static TStr GetNrTypeNm (const TStr &TypeNm)

Detailed Description

template<class Type>
class TTypeNm< Type >

Definition at line 6 of file ut.h.


Constructor & Destructor Documentation

template<class Type >
TTypeNm< Type >::TTypeNm ( ) [inline]

Definition at line 13 of file ut.h.

: TStr(GetNrTypeNm((char*)(typeid(Type).name()))){}

Member Function Documentation

template<class Type >
static TStr TTypeNm< Type >::GetNrTypeNm ( const TStr TypeNm) [inline, static]

Definition at line 8 of file ut.h.

                                             {
    if (TypeNm.IsPrefix("class ")){
      return TypeNm.GetSubStr(6, TypeNm.Len()-1);}
    else {return TypeNm;}}

The documentation for this class was generated from the following file: