SNAP Library 2.4, User Reference  2015-05-11 19:40:56
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
ds.h File Reference

Go to the source code of this file.

Classes

class  TAPt< TRec >
 
class  TPair< TVal1, TVal2 >
 
class  TCmpPairByVal2< TVal1, TVal2 >
 Compares the pair by the second value. More...
 
class  TTriple< TVal1, TVal2, TVal3 >
 
class  TCmpTripleByVal2< TVal1, TVal2, TVal3 >
 Compares the triple by the second value. More...
 
class  TCmpTripleByVal3< TVal1, TVal2, TVal3 >
 Compares the triple by the third value. More...
 
class  TQuad< TVal1, TVal2, TVal3, TVal4 >
 
class  TTuple< TVal, NVals >
 
class  TKeyDat< TKey, TDat >
 
class  TCmpKeyDatByDat< TVal1, TVal2 >
 
class  TVec< TVal, TSizeTy >
 Vector is a sequence TVal objects representing an array that can change in size. More...
 
class  TVecPool< TVal, TSizeTy >
 Vector Pool. More...
 
class  TGLib_OLD::TVecPool< TVal >
 
class  PVec< TVal >
 
class  TVVec< TVal >
 
class  TVVVec< TVal >
 
class  TTree< TVal >
 
class  TSStack< TVal >
 
class  TQQueue< TVal >
 
class  TLstNd< TVal >
 
class  TLst< TVal >
 
class  TFRec< THd, TRec >
 
class  TFunc< TFuncPt >
 

Namespaces

 TGLib_OLD
 

Typedefs

typedef TPair< TBool, TChTBoolChPr
 
typedef TPair< TBool, TFltTBoolFltPr
 
typedef TPair< TUCh, TIntTUChIntPr
 
typedef TPair< TUCh, TUInt64TUChUInt64Pr
 
typedef TPair< TUCh, TStrTUChStrPr
 
typedef TPair< TInt, TBoolTIntBoolPr
 
typedef TPair< TInt, TChTIntChPr
 
typedef TPair< TInt, TIntTIntPr
 
typedef TPair< TInt, TUInt64TIntUInt64Pr
 
typedef TPair< TInt, TIntPrTIntIntPrPr
 
typedef TPair< TInt, TVec
< TInt, int > > 
TIntIntVPr
 
typedef TPair< TInt, TFltTIntFltPr
 
typedef TPair< TInt, TStrTIntStrPr
 
typedef TPair< TInt, TStrVTIntStrVPr
 
typedef TPair< TIntPr, TIntTIntPrIntPr
 
typedef TPair< TUInt, TUIntTUIntUIntPr
 
typedef TPair< TUInt, TIntTUIntIntPr
 
typedef TPair< TUInt64, TIntTUInt64IntPr
 
typedef TPair< TUInt64, TUInt64TUInt64Pr
 
typedef TPair< TUInt64, TFltTUInt64FltPr
 
typedef TPair< TUInt64, TStrTUInt64StrPr
 
typedef TPair< TFlt, TIntTFltIntPr
 
typedef TPair< TFlt, TUInt64TFltUInt64Pr
 
typedef TPair< TFlt, TFltTFltPr
 
typedef TPair< TFlt, TStrTFltStrPr
 
typedef TPair< TAscFlt, TIntTAscFltIntPr
 
typedef TPair< TAscFlt, TAscFltTAscFltPr
 
typedef TPair< TAscFlt, TStrTAscFltStrPr
 
typedef TPair< TStr, TIntTStrIntPr
 
typedef TPair< TStr, TFltTStrFltPr
 
typedef TPair< TStr, TStrTStrPr
 
typedef TPair< TStr, TStrVTStrStrVPr
 
typedef TPair< TStrV, TIntTStrVIntPr
 
typedef TPair< TInt, TStrPrTIntStrPrPr
 
typedef TPair< TFlt, TStrPrTFltStrPrPr
 
typedef TTriple< TCh, TCh, TChTChTr
 
typedef TTriple< TCh, TInt, TIntTChIntIntTr
 
typedef TTriple< TUCh, TInt, TIntTUChIntIntTr
 
typedef TTriple< TInt, TInt, TIntTIntTr
 
typedef TTriple< TUInt64,
TUInt64, TUInt64
TUInt64Tr
 
typedef TTriple< TInt, TStr, TIntTIntStrIntTr
 
typedef TTriple< TInt, TInt, TStrTIntIntStrTr
 
typedef TTriple< TInt, TInt, TFltTIntIntFltTr
 
typedef TTriple< TInt, TFlt, TIntTIntFltIntTr
 
typedef TTriple< TInt, TFlt, TFltTIntFltFltTr
 
typedef TTriple< TInt, TVec
< TInt, int >, TInt
TIntIntVIntTr
 
typedef TTriple< TInt, TInt,
TVec< TInt, int > > 
TIntIntIntVTr
 
typedef TTriple< TFlt, TFlt, TFltTFltTr
 
typedef TTriple< TFlt, TInt, TIntTFltIntIntTr
 
typedef TTriple< TFlt, TFlt, TIntTFltFltIntTr
 
typedef TTriple< TFlt, TFlt, TStrTFltFltStrTr
 
typedef TTriple< TChA, TChA, TChATChATr
 
typedef TTriple< TStr, TStr, TStrTStrTr
 
typedef TTriple< TStr, TInt, TIntTStrIntIntTr
 
typedef TTriple< TStr, TFlt, TFltTStrFltFltTr
 
typedef TTriple< TStr, TStr, TIntTStrStrIntTr
 
typedef TTriple< TStr, TInt,
TStrV
TStrIntStrVTr
 
typedef TQuad< TStr, TStr,
TInt, TInt
TStrStrIntIntQu
 
typedef TQuad< TStr, TStr,
TStr, TStr
TStrQu
 
typedef TQuad< TInt, TInt,
TInt, TInt
TIntQu
 
typedef TQuad< TFlt, TFlt,
TFlt, TFlt
TFltQu
 
typedef TQuad< TFlt, TInt,
TInt, TInt
TFltIntIntIntQu
 
typedef TQuad< TInt, TStr,
TInt, TInt
TIntStrIntIntQu
 
typedef TQuad< TInt, TInt,
TFlt, TFlt
TIntIntFltFltQu
 
typedef TKeyDat< TInt, TIntTIntKd
 
typedef TKeyDat< TInt, TUInt64TIntUInt64Kd
 
typedef TKeyDat< TInt, TFltTIntFltKd
 
typedef TKeyDat< TIntPr, TFltTIntPrFltKd
 
typedef TKeyDat< TInt, TFltPrTIntFltPrKd
 
typedef TKeyDat< TInt, TSFltTIntSFltKd
 
typedef TKeyDat< TInt, TStrTIntStrKd
 
typedef TKeyDat< TUInt, TIntTUIntIntKd
 
typedef TKeyDat< TUInt, TUIntTUIntKd
 
typedef TKeyDat< TUInt64, TIntTUInt64IntKd
 
typedef TKeyDat< TUInt64, TFltTUInt64FltKd
 
typedef TKeyDat< TUInt64, TStrTUInt64StrKd
 
typedef TKeyDat< TFlt, TBoolTFltBoolKd
 
typedef TKeyDat< TFlt, TIntTFltIntKd
 
typedef TKeyDat< TFlt, TUInt64TFltUInt64Kd
 
typedef TKeyDat< TFlt, TIntPrTFltIntPrKd
 
typedef TKeyDat< TFlt, TUIntTFltUIntKd
 
typedef TKeyDat< TFlt, TFltTFltKd
 
typedef TKeyDat< TFlt, TStrTFltStrKd
 
typedef TKeyDat< TFlt, TIntBoolPrTFltIntBoolPrKd
 
typedef TKeyDat< TAscFlt, TIntTAscFltIntKd
 
typedef TKeyDat< TStr, TBoolTStrBoolKd
 
typedef TKeyDat< TStr, TIntTStrIntKd
 
typedef TKeyDat< TStr, TFltTStrFltKd
 
typedef TKeyDat< TStr, TAscFltTStrAscFltKd
 
typedef TKeyDat< TStr, TStrTStrKd
 
typedef TVec< TBoolTBoolV
 
typedef TVec< TChTChV
 
typedef TVec< TUChTUChV
 
typedef TVec< TUIntTUIntV
 
typedef TVec< TIntTIntV
 
typedef TVec< TUInt64TUInt64V
 
typedef TVec< TFltTFltV
 
typedef TVec< TSFltTSFltV
 
typedef TVec< TAscFltTAscFltV
 
typedef TVec< TStrTStrV
 
typedef TVec< TChATChAV
 
typedef TVec< TIntPrTIntPrV
 
typedef TVec< TIntTrTIntTrV
 
typedef TVec< TIntQuTIntQuV
 
typedef TVec< TFltPrTFltPrV
 
typedef TVec< TFltTrTFltTrV
 
typedef TVec< TIntKdTIntKdV
 
typedef TVec< TUChIntPrTUChIntPrV
 
typedef TVec< TUChUInt64PrTUChUInt64PrV
 
typedef TVec< TIntUInt64PrTIntUInt64PrV
 
typedef TVec< TIntUInt64KdTIntUInt64KdV
 
typedef TVec< TIntFltPrTIntFltPrV
 
typedef TVec< TIntFltPrKdTIntFltPrKdV
 
typedef TVec< TFltIntPrTFltIntPrV
 
typedef TVec< TFltUInt64PrTFltUInt64PrV
 
typedef TVec< TFltStrPrTFltStrPrV
 
typedef TVec< TAscFltStrPrTAscFltStrPrV
 
typedef TVec< TIntStrPrTIntStrPrV
 
typedef TVec< TIntIntStrTrTIntIntStrTrV
 
typedef TVec< TIntIntFltTrTIntIntFltTrV
 
typedef TVec< TIntFltIntTrTIntFltIntTrV
 
typedef TVec< TIntStrIntTrTIntStrIntTrV
 
typedef TVec< TUIntIntKdTUIntIntKdV
 
typedef TVec< TIntFltKdTIntFltKdV
 
typedef TVec< TIntPrFltKdTIntPrFltKdV
 
typedef TVec< TIntStrKdTIntStrKdV
 
typedef TVec< TIntStrPrPrTIntStrPrPrV
 
typedef TVec< TIntStrVPrTIntStrVPrV
 
typedef TVec< TIntIntVIntTrTIntIntVIntTrV
 
typedef TVec< TIntIntIntVTrTIntIntIntVTrV
 
typedef TVec< TUInt64IntPrTUInt64IntPrV
 
typedef TVec< TUInt64FltPrTUInt64FltPrV
 
typedef TVec< TUInt64StrPrTUInt64StrPrV
 
typedef TVec< TUInt64IntKdTUInt64IntKdV
 
typedef TVec< TUInt64FltKdTUInt64FltKdV
 
typedef TVec< TUInt64StrKdTUInt64StrKdV
 
typedef TVec< TFltBoolKdTFltBoolKdV
 
typedef TVec< TFltIntKdTFltIntKdV
 
typedef TVec< TFltUInt64KdTFltUInt64KdV
 
typedef TVec< TFltIntPrKdTFltIntPrKdV
 
typedef TVec< TFltKdTFltKdV
 
typedef TVec< TFltStrKdTFltStrKdV
 
typedef TVec< TFltStrPrPrTFltStrPrPrV
 
typedef TVec< TFltIntIntTrTFltIntIntTrV
 
typedef TVec< TFltFltStrTrTFltFltStrTrV
 
typedef TVec< TAscFltIntPrTAscFltIntPrV
 
typedef TVec< TAscFltIntKdTAscFltIntKdV
 
typedef TVec< TStrPrTStrPrV
 
typedef TVec< TStrIntPrTStrIntPrV
 
typedef TVec< TStrFltPrTStrFltPrV
 
typedef TVec< TStrIntKdTStrIntKdV
 
typedef TVec< TStrFltKdTStrFltKdV
 
typedef TVec< TStrAscFltKdTStrAscFltKdV
 
typedef TVec< TStrTrTStrTrV
 
typedef TVec< TStrQuTStrQuV
 
typedef TVec< TStrFltFltTrTStrFltFltTrV
 
typedef TVec< TStrStrIntTrTStrStrIntTrV
 
typedef TVec< TStrKdTStrKdV
 
typedef TVec< TStrStrVPrTStrStrVPrV
 
typedef TVec< TStrVIntPrTStrVIntPrV
 
typedef TVec< TFltIntIntIntQuTFltIntIntIntQuV
 
typedef TVec< TIntStrIntIntQuTIntStrIntIntQuV
 
typedef TVec< TIntIntPrPrTIntIntPrPrV
 
typedef TVecPool< TIntTIntVecPool
 
typedef TPt< TIntVecPoolPIntVecPool
 
typedef PVec< TFltTFltVP
 
typedef TPt< TFltVPPFltV
 
typedef PVec< TAscFltTAscFltVP
 
typedef TPt< TAscFltVPPAscFltV
 
typedef PVec< TStrTStrVP
 
typedef TPt< TStrVPPStrV
 
typedef TVVec< TBoolTBoolVV
 
typedef TVVec< TChTChVV
 
typedef TVVec< TIntTIntVV
 
typedef TVVec< TSFltTSFltVV
 
typedef TVVec< TFltTFltVV
 
typedef TVVec< TStrTStrVV
 
typedef TVVec< TIntPrTIntPrVV
 
typedef TVVVec< TIntTIntVVV
 
typedef TVVVec< TFltTFltVVV
 
typedef TTree< TIntTIntTree
 
typedef TTree< TFltTFltTree
 
typedef TTree< TStrTStrTree
 
typedef TTree< TStrIntPrTStrIntPrTree
 
typedef TTree< TStrIntStrVTrTStrIntStrVTrTree
 
typedef TSStack< TIntTIntS
 
typedef TSStack< TBoolChPrTBoolChS
 
typedef TQQueue< TIntTIntQ
 
typedef TQQueue< TFltTFltQ
 
typedef TQQueue< TStrTStrQ
 
typedef TQQueue< TIntPrTIntPrQ
 
typedef TQQueue< TIntStrPrTIntStrPrQ
 
typedef TQQueue< TFltVTFltVQ
 
typedef TQQueue< TAscFltVTAscFltVQ
 
typedef TVec< TQQueue< TInt > > TIntQV
 
typedef TLst< TIntTIntL
 
typedef TLstNd< TInt > * PIntLN
 
typedef TLst< TIntKdTIntKdL
 
typedef TLstNd< TIntKd > * PIntKdLN
 
typedef TLst< TFltTFltL
 
typedef TLstNd< TFlt > * PFltLN
 
typedef TLst< TFltIntKdTFltIntKdL
 
typedef TLstNd< TFltIntKd > * PFltIntKdLN
 
typedef TLst< TAscFltIntKdTAscFltIntKdL
 
typedef TLstNd< TAscFltIntKd > * PAscFltIntKdLN
 
typedef TLst< TStrTStrL
 
typedef TLstNd< TStr > * PStrLN
 

Functions

template<class TVal1 , class TVal2 , class TSizeTy >
void GetSwitchedPrV (const TVec< TPair< TVal1, TVal2 >, TSizeTy > &SrcPrV, TVec< TPair< TVal2, TVal1 >, TSizeTy > &DstPrV)
 
template<class TKey , class TDat >
void GetSwitchedKdV (const TVec< TKeyDat< TKey, TDat >, int > &SrcKdV, TVec< TKeyDat< TDat, TKey >, int > &DstKdV)
 

Typedef Documentation

Definition at line 2774 of file ds.h.

Definition at line 2102 of file ds.h.

Definition at line 2772 of file ds.h.

typedef TLstNd<TFlt>* PFltLN

Definition at line 2770 of file ds.h.

typedef TPt<TFltVP> PFltV

Definition at line 2100 of file ds.h.

typedef TLstNd<TIntKd>* PIntKdLN

Definition at line 2768 of file ds.h.

typedef TLstNd<TInt>* PIntLN

Definition at line 2766 of file ds.h.

Definition at line 2057 of file ds.h.

typedef TLstNd<TStr>* PStrLN

Definition at line 2776 of file ds.h.

typedef TPt<TStrVP> PStrV

Definition at line 2104 of file ds.h.

Definition at line 390 of file ds.h.

Definition at line 2773 of file ds.h.

Definition at line 1535 of file ds.h.

Definition at line 101 of file ds.h.

Definition at line 1534 of file ds.h.

Definition at line 102 of file ds.h.

Definition at line 104 of file ds.h.

Definition at line 1504 of file ds.h.

typedef TVec<TAscFlt> TAscFltV

Definition at line 1486 of file ds.h.

Definition at line 2101 of file ds.h.

Definition at line 2558 of file ds.h.

typedef TPair<TBool, TCh> TBoolChPr

Definition at line 76 of file ds.h.

Definition at line 2491 of file ds.h.

Definition at line 77 of file ds.h.

typedef TVec<TBool> TBoolV

Definition at line 1478 of file ds.h.

typedef TVVec<TBool> TBoolVV

Definition at line 2285 of file ds.h.

typedef TTriple<TChA, TChA, TChA> TChATr

Definition at line 179 of file ds.h.

typedef TVec<TChA> TChAV

Definition at line 1488 of file ds.h.

Definition at line 164 of file ds.h.

typedef TTriple<TCh, TCh, TCh> TChTr

Definition at line 163 of file ds.h.

typedef TVec<TCh> TChV

Definition at line 1479 of file ds.h.

typedef TVVec<TCh> TChVV

Definition at line 2286 of file ds.h.

Definition at line 381 of file ds.h.

Definition at line 1525 of file ds.h.

Definition at line 177 of file ds.h.

Definition at line 178 of file ds.h.

Definition at line 1533 of file ds.h.

Definition at line 389 of file ds.h.

Definition at line 255 of file ds.h.

Definition at line 1549 of file ds.h.

Definition at line 176 of file ds.h.

Definition at line 1532 of file ds.h.

Definition at line 382 of file ds.h.

Definition at line 2771 of file ds.h.

Definition at line 1526 of file ds.h.

typedef TPair<TFlt, TInt> TFltIntPr

Definition at line 97 of file ds.h.

Definition at line 384 of file ds.h.

Definition at line 1528 of file ds.h.

Definition at line 1501 of file ds.h.

typedef TKeyDat<TFlt, TFlt> TFltKd

Definition at line 386 of file ds.h.

typedef TVec<TFltKd> TFltKdV

Definition at line 1529 of file ds.h.

typedef TLst<TFlt> TFltL

Definition at line 2769 of file ds.h.

typedef TPair<TFlt, TFlt> TFltPr

Definition at line 99 of file ds.h.

typedef TVec<TFltPr> TFltPrV

Definition at line 1492 of file ds.h.

typedef TQQueue<TFlt> TFltQ

Definition at line 2553 of file ds.h.

typedef TQuad<TFlt, TFlt, TFlt, TFlt> TFltQu

Definition at line 254 of file ds.h.

Definition at line 387 of file ds.h.

Definition at line 1530 of file ds.h.

typedef TPair< TFlt, TStr > TFltStrPr

Definition at line 100 of file ds.h.

Definition at line 112 of file ds.h.

Definition at line 1531 of file ds.h.

Definition at line 1503 of file ds.h.

typedef TTriple<TFlt, TFlt, TFlt> TFltTr

Definition at line 175 of file ds.h.

typedef TTree<TFlt> TFltTree

Definition at line 2453 of file ds.h.

typedef TVec<TFltTr> TFltTrV

Definition at line 1493 of file ds.h.

Definition at line 383 of file ds.h.

Definition at line 1527 of file ds.h.

Definition at line 98 of file ds.h.

Definition at line 1502 of file ds.h.

Definition at line 385 of file ds.h.

typedef TVec<TFlt> TFltV

Definition at line 1484 of file ds.h.

typedef PVec<TFlt> TFltVP

Definition at line 2099 of file ds.h.

typedef TQQueue<TFltV> TFltVQ

Definition at line 2557 of file ds.h.

typedef TVVec<TFlt> TFltVV

Definition at line 2289 of file ds.h.

typedef TVVVec<TFlt> TFltVVV

Definition at line 2342 of file ds.h.

Definition at line 81 of file ds.h.

typedef TPair<TInt, TCh> TIntChPr

Definition at line 82 of file ds.h.

Definition at line 172 of file ds.h.

Definition at line 171 of file ds.h.

Definition at line 1508 of file ds.h.

Definition at line 371 of file ds.h.

Definition at line 1512 of file ds.h.

typedef TPair<TInt, TFlt> TIntFltPr

Definition at line 87 of file ds.h.

Definition at line 373 of file ds.h.

Definition at line 1500 of file ds.h.

Definition at line 1499 of file ds.h.

Definition at line 257 of file ds.h.

Definition at line 170 of file ds.h.

Definition at line 1507 of file ds.h.

typedef TTriple<TInt, TInt, TVec<TInt, int> > TIntIntIntVTr

Definition at line 174 of file ds.h.

Definition at line 1518 of file ds.h.

Definition at line 85 of file ds.h.

Definition at line 1551 of file ds.h.

Definition at line 169 of file ds.h.

Definition at line 1506 of file ds.h.

typedef TTriple<TInt, TVec<TInt, int>, TInt> TIntIntVIntTr

Definition at line 173 of file ds.h.

Definition at line 1517 of file ds.h.

typedef TPair<TInt, TVec<TInt, int> > TIntIntVPr

Definition at line 86 of file ds.h.

typedef TKeyDat<TInt, TInt> TIntKd

Definition at line 369 of file ds.h.

typedef TLst<TIntKd> TIntKdL

Definition at line 2767 of file ds.h.

typedef TVec< TIntKd > TIntKdV

Definition at line 1494 of file ds.h.

typedef TLst<TInt> TIntL

Definition at line 2765 of file ds.h.

typedef TPair<TInt, TInt> TIntPr

Definition at line 83 of file ds.h.

Definition at line 372 of file ds.h.

Definition at line 1513 of file ds.h.

Definition at line 90 of file ds.h.

Definition at line 2555 of file ds.h.

typedef TVec<TIntPr> TIntPrV

Definition at line 1489 of file ds.h.

typedef TVVec<TIntPr> TIntPrVV

Definition at line 2291 of file ds.h.

typedef TQQueue<TInt> TIntQ

Definition at line 2552 of file ds.h.

typedef TQuad<TInt, TInt, TInt, TInt> TIntQu

Definition at line 253 of file ds.h.

typedef TVec<TIntQu> TIntQuV

Definition at line 1491 of file ds.h.

typedef TVec<TQQueue<TInt> > TIntQV

Definition at line 2559 of file ds.h.

typedef TSStack<TInt> TIntS

Definition at line 2490 of file ds.h.

Definition at line 374 of file ds.h.

Definition at line 256 of file ds.h.

Definition at line 1550 of file ds.h.

Definition at line 168 of file ds.h.

Definition at line 1509 of file ds.h.

Definition at line 375 of file ds.h.

Definition at line 1514 of file ds.h.

typedef TPair<TInt, TStr> TIntStrPr

Definition at line 88 of file ds.h.

Definition at line 111 of file ds.h.

Definition at line 1515 of file ds.h.

Definition at line 2556 of file ds.h.

Definition at line 1505 of file ds.h.

Definition at line 89 of file ds.h.

Definition at line 1516 of file ds.h.

typedef TTriple<TInt, TInt, TInt> TIntTr

Definition at line 166 of file ds.h.

typedef TTree<TInt> TIntTree

Definition at line 2452 of file ds.h.

typedef TVec<TIntTr> TIntTrV

Definition at line 1490 of file ds.h.

Definition at line 370 of file ds.h.

Definition at line 1498 of file ds.h.

Definition at line 84 of file ds.h.

Definition at line 1497 of file ds.h.

typedef TVec<TInt> TIntV

Definition at line 1482 of file ds.h.

Definition at line 2054 of file ds.h.

typedef TVVec<TInt> TIntVV

Definition at line 2287 of file ds.h.

typedef TVVVec<TInt> TIntVVV

Definition at line 2341 of file ds.h.

typedef TVec<TSFlt> TSFltV

Definition at line 1485 of file ds.h.

typedef TVVec<TSFlt> TSFltVV

Definition at line 2288 of file ds.h.

Definition at line 394 of file ds.h.

Definition at line 1541 of file ds.h.

Definition at line 391 of file ds.h.

Definition at line 182 of file ds.h.

Definition at line 1544 of file ds.h.

Definition at line 393 of file ds.h.

Definition at line 1540 of file ds.h.

typedef TPair<TStr, TFlt> TStrFltPr

Definition at line 106 of file ds.h.

Definition at line 1538 of file ds.h.

Definition at line 181 of file ds.h.

Definition at line 392 of file ds.h.

Definition at line 1539 of file ds.h.

typedef TPair<TStr, TInt> TStrIntPr

Definition at line 105 of file ds.h.

Definition at line 2455 of file ds.h.

Definition at line 1537 of file ds.h.

Definition at line 184 of file ds.h.

Definition at line 2456 of file ds.h.

typedef TKeyDat<TStr, TStr> TStrKd

Definition at line 395 of file ds.h.

typedef TVec<TStrKd> TStrKdV

Definition at line 1546 of file ds.h.

typedef TLst<TStr> TStrL

Definition at line 2775 of file ds.h.

typedef TPair<TStr, TStr> TStrPr

Definition at line 107 of file ds.h.

typedef TVec<TStrPr> TStrPrV

Definition at line 1536 of file ds.h.

typedef TQQueue<TStr> TStrQ

Definition at line 2554 of file ds.h.

typedef TQuad<TStr, TStr, TStr, TStr> TStrQu

Definition at line 252 of file ds.h.

typedef TVec<TStrQu> TStrQuV

Definition at line 1543 of file ds.h.

Definition at line 251 of file ds.h.

Definition at line 183 of file ds.h.

Definition at line 1545 of file ds.h.

Definition at line 108 of file ds.h.

Definition at line 1547 of file ds.h.

typedef TTriple<TStr, TStr, TStr> TStrTr

Definition at line 180 of file ds.h.

typedef TTree<TStr> TStrTree

Definition at line 2454 of file ds.h.

typedef TVec<TStrTr> TStrTrV

Definition at line 1542 of file ds.h.

typedef TVec<TStr> TStrV

Definition at line 1487 of file ds.h.

Definition at line 109 of file ds.h.

Definition at line 1548 of file ds.h.

typedef PVec<TStr> TStrVP

Definition at line 2103 of file ds.h.

typedef TVVec<TStr> TStrVV

Definition at line 2290 of file ds.h.

Definition at line 165 of file ds.h.

typedef TPair<TUCh, TInt> TUChIntPr

Definition at line 78 of file ds.h.

Definition at line 1495 of file ds.h.

typedef TPair<TUCh, TStr> TUChStrPr

Definition at line 80 of file ds.h.

Definition at line 79 of file ds.h.

Definition at line 1496 of file ds.h.

typedef TVec<TUCh> TUChV

Definition at line 1480 of file ds.h.

Definition at line 379 of file ds.h.

Definition at line 1523 of file ds.h.

Definition at line 95 of file ds.h.

Definition at line 1520 of file ds.h.

Definition at line 378 of file ds.h.

Definition at line 1522 of file ds.h.

Definition at line 93 of file ds.h.

Definition at line 1519 of file ds.h.

Definition at line 94 of file ds.h.

Definition at line 380 of file ds.h.

Definition at line 1524 of file ds.h.

Definition at line 96 of file ds.h.

Definition at line 1521 of file ds.h.

Definition at line 167 of file ds.h.

typedef TVec<TUInt64> TUInt64V

Definition at line 1483 of file ds.h.

Definition at line 376 of file ds.h.

Definition at line 1511 of file ds.h.

Definition at line 92 of file ds.h.

Definition at line 377 of file ds.h.

Definition at line 91 of file ds.h.

typedef TVec<TUInt> TUIntV

Definition at line 1481 of file ds.h.

Function Documentation

template<class TKey , class TDat >
void GetSwitchedKdV ( const TVec< TKeyDat< TKey, TDat >, int > &  SrcKdV,
TVec< TKeyDat< TDat, TKey >, int > &  DstKdV 
)

Definition at line 360 of file ds.h.

360  {
361  const int Kds=SrcKdV.Len();
362  DstKdV.Gen(Kds, 0);
363  for (int KdN=0; KdN<Kds; KdN++){
364  const TKeyDat<TKey, TDat>& SrcKd=SrcKdV[KdN];
365  DstKdV.Add(TKeyDat<TDat, TKey>(SrcKd.Dat, SrcKd.Key));
366  }
367 }
Definition: ds.h:336
TSizeTy Len() const
Returns the number of elements in the vector.
Definition: ds.h:535
TDat Dat
Definition: ds.h:339
TKey Key
Definition: ds.h:338
void Gen(const TSizeTy &_Vals)
Constructs a vector (an array) of _Vals elements.
Definition: ds.h:486
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
Definition: ds.h:559
template<class TVal1 , class TVal2 , class TSizeTy >
void GetSwitchedPrV ( const TVec< TPair< TVal1, TVal2 >, TSizeTy > &  SrcPrV,
TVec< TPair< TVal2, TVal1 >, TSizeTy > &  DstPrV 
)

Definition at line 67 of file ds.h.

67  {
68  const TSizeTy Prs = SrcPrV.Len();
69  DstPrV.Gen(Prs, 0);
70  for (TSizeTy PrN=0; PrN<Prs; PrN++){
71  const TPair<TVal1, TVal2>& SrcPr=SrcPrV[PrN];
72  DstPrV.Add(TPair<TVal2, TVal1>(SrcPr.Val2, SrcPr.Val1));
73  }
74 }
TSizeTy Len() const
Returns the number of elements in the vector.
Definition: ds.h:535
Definition: ds.h:32
TVal1 Val1
Definition: ds.h:34
TVal2 Val2
Definition: ds.h:35
void Gen(const TSizeTy &_Vals)
Constructs a vector (an array) of _Vals elements.
Definition: ds.h:486
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
Definition: ds.h:559