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
TUnicodeDef Class Reference

#include <unicodestring.h>

Public Member Functions

 TUnicodeDef ()
 
 ~TUnicodeDef ()
 

Static Public Member Functions

static TStr GetDfFNm ()
 
static void Load ()
 
static void Load (const TStr &FNm)
 
static bool IsDef ()
 
static TUnicodeGetDef ()
 

Private Member Functions

 UndefCopyAssign (TUnicodeDef)
 

Private Attributes

TUnicodeUnicode
 

Static Private Attributes

static TUnicodeDef UnicodeDef
 

Detailed Description

Definition at line 3 of file unicodestring.h.

Constructor & Destructor Documentation

TUnicodeDef::TUnicodeDef ( )
inline

Definition at line 10 of file unicodestring.h.

10 : Unicode(NULL){}
TUnicode * Unicode
Definition: unicodestring.h:7
TUnicodeDef::~TUnicodeDef ( )
inline

Definition at line 11 of file unicodestring.h.

11 {if (Unicode!=NULL){delete Unicode;} Unicode=NULL;}
TUnicode * Unicode
Definition: unicodestring.h:7

Member Function Documentation

static TUnicode* TUnicodeDef::GetDef ( )
inlinestatic

Definition at line 23 of file unicodestring.h.

23  {
24  Assert(UnicodeDef.Unicode!=NULL); return UnicodeDef.Unicode;}
TUnicode * Unicode
Definition: unicodestring.h:7
static TUnicodeDef UnicodeDef
Definition: unicodestring.h:5
#define Assert(Cond)
Definition: bd.h:251
TStr TUnicodeDef::GetDfFNm ( )
static

Definition at line 6 of file unicodestring.cpp.

6  {
7  return TSysProc::GetExeFNm().GetFPath()+"UnicodeDef.Bin";
8 }
static bool TUnicodeDef::IsDef ( )
inlinestatic

Definition at line 21 of file unicodestring.h.

21  {
22  return UnicodeDef.Unicode!=NULL;}
TUnicode * Unicode
Definition: unicodestring.h:7
static TUnicodeDef UnicodeDef
Definition: unicodestring.h:5
static void TUnicodeDef::Load ( )
inlinestatic

Definition at line 15 of file unicodestring.h.

15  {
16  Load(GetDfFNm());}
static void Load()
Definition: unicodestring.h:15
static TStr GetDfFNm()
static void TUnicodeDef::Load ( const TStr FNm)
inlinestatic

Definition at line 17 of file unicodestring.h.

17  {
18  UnicodeDef.Unicode=new TUnicode(FNm);}
TUnicode * Unicode
Definition: unicodestring.h:7
static TUnicodeDef UnicodeDef
Definition: unicodestring.h:5
TUnicodeDef::UndefCopyAssign ( TUnicodeDef  )
private

Member Data Documentation

TUnicode* TUnicodeDef::Unicode
private

Definition at line 7 of file unicodestring.h.

TUnicodeDef TUnicodeDef::UnicodeDef
staticprivate

Definition at line 5 of file unicodestring.h.


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