SNAP Library , Developer Reference  2013-01-07 14:03:36
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
dt.cpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define __TEST(from, to, len)

Functions

TStr operator+ (const TStr &LStr, const TStr &RStr)
TStr operator+ (const TStr &LStr, const char *RCStr)

Define Documentation

#define __TEST (   from,
  to,
  len 
)
Value:
for (i = (from); i <= (to); i++) \
    { if ((i & 0xffff) == 0) printf("%d\r", i); \
      r = SaveFrugalInt(p, i); s = LoadFrugalInt(p, j); \
      IAssert(r == s); IAssert(i == j); IAssert(r - p == len); }

Referenced by TInt::TestFrugalInt().


Function Documentation

TStr operator+ ( const TStr LStr,
const TStr RStr 
)

Definition at line 1606 of file dt.cpp.

References TStr::Empty().

                                                  {
  if (LStr.Empty()){return RStr;}
  else if (RStr.Empty()){return LStr;}
  else {return TStr(LStr)+=RStr;}
}

Here is the call graph for this function:

TStr operator+ ( const TStr LStr,
const char *  RCStr 
)

Definition at line 1612 of file dt.cpp.

                                                   {
  return TStr(LStr)+=RCStr;
}