SNAP Library 3.0, User Reference  2016-07-20 17:56:49
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, TStr, TStrTIntStrStrTr
 
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< TIntStrStrTrTIntStrStrTrV
 
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 2822 of file ds.h.

Definition at line 2150 of file ds.h.

Definition at line 2820 of file ds.h.

typedef TLstNd<TFlt>* PFltLN

Definition at line 2818 of file ds.h.

typedef TPt<TFltVP> PFltV

Definition at line 2148 of file ds.h.

typedef TLstNd<TIntKd>* PIntKdLN

Definition at line 2816 of file ds.h.

typedef TLstNd<TInt>* PIntLN

Definition at line 2814 of file ds.h.

Definition at line 2105 of file ds.h.

typedef TLstNd<TStr>* PStrLN

Definition at line 2824 of file ds.h.

typedef TPt<TStrVP> PStrV

Definition at line 2152 of file ds.h.

Definition at line 399 of file ds.h.

Definition at line 2821 of file ds.h.

Definition at line 1583 of file ds.h.

Definition at line 101 of file ds.h.

Definition at line 1582 of file ds.h.

Definition at line 102 of file ds.h.

Definition at line 104 of file ds.h.

Definition at line 1551 of file ds.h.

typedef TVec<TAscFlt> TAscFltV

Definition at line 1533 of file ds.h.

Definition at line 2149 of file ds.h.

Definition at line 2606 of file ds.h.

typedef TPair<TBool, TCh> TBoolChPr

Definition at line 76 of file ds.h.

Definition at line 2539 of file ds.h.

Definition at line 77 of file ds.h.

typedef TVec<TBool> TBoolV

Definition at line 1525 of file ds.h.

typedef TVVec<TBool> TBoolVV

Definition at line 2333 of file ds.h.

typedef TTriple<TChA, TChA, TChA> TChATr

Definition at line 184 of file ds.h.

typedef TVec<TChA> TChAV

Definition at line 1535 of file ds.h.

Definition at line 168 of file ds.h.

typedef TTriple<TCh, TCh, TCh> TChTr

Definition at line 167 of file ds.h.

typedef TVec<TCh> TChV

Definition at line 1526 of file ds.h.

typedef TVVec<TCh> TChVV

Definition at line 2334 of file ds.h.

Definition at line 390 of file ds.h.

Definition at line 1573 of file ds.h.

Definition at line 182 of file ds.h.

Definition at line 183 of file ds.h.

Definition at line 1581 of file ds.h.

Definition at line 398 of file ds.h.

Definition at line 264 of file ds.h.

Definition at line 1597 of file ds.h.

Definition at line 181 of file ds.h.

Definition at line 1580 of file ds.h.

Definition at line 391 of file ds.h.

Definition at line 2819 of file ds.h.

Definition at line 1574 of file ds.h.

typedef TPair<TFlt, TInt> TFltIntPr

Definition at line 97 of file ds.h.

Definition at line 393 of file ds.h.

Definition at line 1576 of file ds.h.

Definition at line 1548 of file ds.h.

typedef TKeyDat<TFlt, TFlt> TFltKd

Definition at line 395 of file ds.h.

typedef TVec<TFltKd> TFltKdV

Definition at line 1577 of file ds.h.

typedef TLst<TFlt> TFltL

Definition at line 2817 of file ds.h.

typedef TPair<TFlt, TFlt> TFltPr

Definition at line 99 of file ds.h.

typedef TVec<TFltPr> TFltPrV

Definition at line 1539 of file ds.h.

typedef TQQueue<TFlt> TFltQ

Definition at line 2601 of file ds.h.

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

Definition at line 263 of file ds.h.

Definition at line 396 of file ds.h.

Definition at line 1578 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 1579 of file ds.h.

Definition at line 1550 of file ds.h.

typedef TTriple<TFlt, TFlt, TFlt> TFltTr

Definition at line 180 of file ds.h.

typedef TTree<TFlt> TFltTree

Definition at line 2501 of file ds.h.

typedef TVec<TFltTr> TFltTrV

Definition at line 1540 of file ds.h.

Definition at line 392 of file ds.h.

Definition at line 1575 of file ds.h.

Definition at line 98 of file ds.h.

Definition at line 1549 of file ds.h.

Definition at line 394 of file ds.h.

typedef TVec<TFlt> TFltV

Definition at line 1531 of file ds.h.

typedef PVec<TFlt> TFltVP

Definition at line 2147 of file ds.h.

typedef TQQueue<TFltV> TFltVQ

Definition at line 2605 of file ds.h.

typedef TVVec<TFlt> TFltVV

Definition at line 2337 of file ds.h.

typedef TVVVec<TFlt> TFltVVV

Definition at line 2390 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 176 of file ds.h.

Definition at line 175 of file ds.h.

Definition at line 1555 of file ds.h.

Definition at line 380 of file ds.h.

Definition at line 1560 of file ds.h.

typedef TPair<TInt, TFlt> TIntFltPr

Definition at line 87 of file ds.h.

Definition at line 382 of file ds.h.

Definition at line 1547 of file ds.h.

Definition at line 1546 of file ds.h.

Definition at line 266 of file ds.h.

Definition at line 174 of file ds.h.

Definition at line 1554 of file ds.h.

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

Definition at line 179 of file ds.h.

Definition at line 1566 of file ds.h.

Definition at line 85 of file ds.h.

Definition at line 1599 of file ds.h.

Definition at line 173 of file ds.h.

Definition at line 1553 of file ds.h.

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

Definition at line 178 of file ds.h.

Definition at line 1565 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 378 of file ds.h.

typedef TLst<TIntKd> TIntKdL

Definition at line 2815 of file ds.h.

typedef TVec< TIntKd > TIntKdV

Definition at line 1541 of file ds.h.

typedef TLst<TInt> TIntL

Definition at line 2813 of file ds.h.

typedef TPair<TInt, TInt> TIntPr

Definition at line 83 of file ds.h.

Definition at line 381 of file ds.h.

Definition at line 1561 of file ds.h.

Definition at line 90 of file ds.h.

Definition at line 2603 of file ds.h.

typedef TVec<TIntPr> TIntPrV

Definition at line 1536 of file ds.h.

typedef TVVec<TIntPr> TIntPrVV

Definition at line 2339 of file ds.h.

typedef TQQueue<TInt> TIntQ

Definition at line 2600 of file ds.h.

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

Definition at line 262 of file ds.h.

typedef TVec<TIntQu> TIntQuV

Definition at line 1538 of file ds.h.

typedef TVec<TQQueue<TInt> > TIntQV

Definition at line 2607 of file ds.h.

typedef TSStack<TInt> TIntS

Definition at line 2538 of file ds.h.

Definition at line 383 of file ds.h.

Definition at line 265 of file ds.h.

Definition at line 1598 of file ds.h.

Definition at line 172 of file ds.h.

Definition at line 1556 of file ds.h.

Definition at line 384 of file ds.h.

Definition at line 1562 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 1563 of file ds.h.

Definition at line 2604 of file ds.h.

Definition at line 1552 of file ds.h.

Definition at line 177 of file ds.h.

Definition at line 1557 of file ds.h.

Definition at line 89 of file ds.h.

Definition at line 1564 of file ds.h.

typedef TTriple<TInt, TInt, TInt> TIntTr

Definition at line 170 of file ds.h.

typedef TTree<TInt> TIntTree

Definition at line 2500 of file ds.h.

typedef TVec<TIntTr> TIntTrV

Definition at line 1537 of file ds.h.

Definition at line 379 of file ds.h.

Definition at line 1545 of file ds.h.

Definition at line 84 of file ds.h.

Definition at line 1544 of file ds.h.

typedef TVec<TInt> TIntV

Definition at line 1529 of file ds.h.

Definition at line 2102 of file ds.h.

typedef TVVec<TInt> TIntVV

Definition at line 2335 of file ds.h.

typedef TVVVec<TInt> TIntVVV

Definition at line 2389 of file ds.h.

typedef TVec<TSFlt> TSFltV

Definition at line 1532 of file ds.h.

typedef TVVec<TSFlt> TSFltVV

Definition at line 2336 of file ds.h.

Definition at line 403 of file ds.h.

Definition at line 1589 of file ds.h.

Definition at line 400 of file ds.h.

Definition at line 187 of file ds.h.

Definition at line 1592 of file ds.h.

Definition at line 402 of file ds.h.

Definition at line 1588 of file ds.h.

typedef TPair<TStr, TFlt> TStrFltPr

Definition at line 106 of file ds.h.

Definition at line 1586 of file ds.h.

Definition at line 186 of file ds.h.

Definition at line 401 of file ds.h.

Definition at line 1587 of file ds.h.

typedef TPair<TStr, TInt> TStrIntPr

Definition at line 105 of file ds.h.

Definition at line 2503 of file ds.h.

Definition at line 1585 of file ds.h.

Definition at line 189 of file ds.h.

Definition at line 2504 of file ds.h.

typedef TKeyDat<TStr, TStr> TStrKd

Definition at line 404 of file ds.h.

typedef TVec<TStrKd> TStrKdV

Definition at line 1594 of file ds.h.

typedef TLst<TStr> TStrL

Definition at line 2823 of file ds.h.

typedef TPair<TStr, TStr> TStrPr

Definition at line 107 of file ds.h.

typedef TVec<TStrPr> TStrPrV

Definition at line 1584 of file ds.h.

typedef TQQueue<TStr> TStrQ

Definition at line 2602 of file ds.h.

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

Definition at line 261 of file ds.h.

typedef TVec<TStrQu> TStrQuV

Definition at line 1591 of file ds.h.

Definition at line 260 of file ds.h.

Definition at line 188 of file ds.h.

Definition at line 1593 of file ds.h.

Definition at line 108 of file ds.h.

Definition at line 1595 of file ds.h.

typedef TTriple<TStr, TStr, TStr> TStrTr

Definition at line 185 of file ds.h.

typedef TTree<TStr> TStrTree

Definition at line 2502 of file ds.h.

typedef TVec<TStrTr> TStrTrV

Definition at line 1590 of file ds.h.

typedef TVec<TStr> TStrV

Definition at line 1534 of file ds.h.

Definition at line 109 of file ds.h.

Definition at line 1596 of file ds.h.

typedef PVec<TStr> TStrVP

Definition at line 2151 of file ds.h.

typedef TVVec<TStr> TStrVV

Definition at line 2338 of file ds.h.

Definition at line 169 of file ds.h.

typedef TPair<TUCh, TInt> TUChIntPr

Definition at line 78 of file ds.h.

Definition at line 1542 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 1543 of file ds.h.

typedef TVec<TUCh> TUChV

Definition at line 1527 of file ds.h.

Definition at line 388 of file ds.h.

Definition at line 1571 of file ds.h.

Definition at line 95 of file ds.h.

Definition at line 1568 of file ds.h.

Definition at line 387 of file ds.h.

Definition at line 1570 of file ds.h.

Definition at line 93 of file ds.h.

Definition at line 1567 of file ds.h.

Definition at line 94 of file ds.h.

Definition at line 389 of file ds.h.

Definition at line 1572 of file ds.h.

Definition at line 96 of file ds.h.

Definition at line 1569 of file ds.h.

Definition at line 171 of file ds.h.

typedef TVec<TUInt64> TUInt64V

Definition at line 1530 of file ds.h.

Definition at line 385 of file ds.h.

Definition at line 1559 of file ds.h.

Definition at line 92 of file ds.h.

Definition at line 386 of file ds.h.

Definition at line 91 of file ds.h.

typedef TVec<TUInt> TUIntV

Definition at line 1528 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 369 of file ds.h.

369  {
370  const int Kds=SrcKdV.Len();
371  DstKdV.Gen(Kds, 0);
372  for (int KdN=0; KdN<Kds; KdN++){
373  const TKeyDat<TKey, TDat>& SrcKd=SrcKdV[KdN];
374  DstKdV.Add(TKeyDat<TDat, TKey>(SrcKd.Dat, SrcKd.Key));
375  }
376 }
Definition: ds.h:345
TSizeTy Len() const
Returns the number of elements in the vector.
Definition: ds.h:547
TDat Dat
Definition: ds.h:348
TKey Key
Definition: ds.h:347
void Gen(const TSizeTy &_Vals)
Constructs a vector (an array) of _Vals elements.
Definition: ds.h:495
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
Definition: ds.h:574
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:547
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:495
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
Definition: ds.h:574