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
unicode.cpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  anonymous_namespace{unicode.cpp}::TVectorBuilder2
class  anonymous_namespace{unicode.cpp}::TVectorBuilder

Namespaces

namespace  anonymous_namespace{unicode.cpp}

Defines

#define AssE_(v1, v2, expl)   AssertEq(v1, v2, TStr(expl) + " (line " + TInt::GetStr(nLines) + ")", 0)
#define NFC_(cmpWith, operand)   DecomposeAndCompose(operand, 0, operand.Len(), v, false); AssE_(cmpWith, v, #cmpWith " == NFC(" #operand ")")
#define NFD_(cmpWith, operand)   Decompose(operand, 0, operand.Len(), v, false); AssE_(cmpWith, v, #cmpWith " == NFD(" #operand ")")
#define NFKC_(cmpWith, operand)   DecomposeAndCompose(operand, 0, operand.Len(), v, true); AssE_(cmpWith, v, #cmpWith " == NFKC(" #operand ")")
#define NFKD_(cmpWith, operand)   Decompose(operand, 0, operand.Len(), v, true); AssE_(cmpWith, v, #cmpWith " == NFKD(" #operand ")")

Functions

TStr anonymous_namespace{unicode.cpp}::CombinePath (const TStr &s, const TStr &t)
void anonymous_namespace{unicode.cpp}::AssertEq (const TIntV &v1, const TIntV &v2, const TStr &explanation, FILE *f)

Variables

TVectorBuilder anonymous_namespace{unicode.cpp}::VB

Define Documentation

#define AssE_ (   v1,
  v2,
  expl 
)    AssertEq(v1, v2, TStr(expl) + " (line " + TInt::GetStr(nLines) + ")", 0)
#define NFC_ (   cmpWith,
  operand 
)    DecomposeAndCompose(operand, 0, operand.Len(), v, false); AssE_(cmpWith, v, #cmpWith " == NFC(" #operand ")")
#define NFD_ (   cmpWith,
  operand 
)    Decompose(operand, 0, operand.Len(), v, false); AssE_(cmpWith, v, #cmpWith " == NFD(" #operand ")")
#define NFKC_ (   cmpWith,
  operand 
)    DecomposeAndCompose(operand, 0, operand.Len(), v, true); AssE_(cmpWith, v, #cmpWith " == NFKC(" #operand ")")
#define NFKD_ (   cmpWith,
  operand 
)    Decompose(operand, 0, operand.Len(), v, true); AssE_(cmpWith, v, #cmpWith " == NFKD(" #operand ")")