SNAP Library 6.0, User Reference  2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
unicode.cpp File Reference

Go to the source code of this file.

Classes

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

Namespaces

 anonymous_namespace{unicode.cpp}
 

Macros

#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
 

Macro Definition 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 ")")