SNAP Library 4.1, Developer Reference  2018-07-26 16:30:42
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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

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