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
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, TSizeTy >
 
class  TVVVec< TVal, TSizeTy >
 
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 TPair< TVec< TInt, int >, TVec< TFlt, int > > TIntVFltVPr
 
typedef TTriple< TCh, TCh, TChTChTr
 
typedef TTriple< TCh, TInt, TIntTChIntIntTr
 
typedef TTriple< TUCh, TInt, TIntTUChIntIntTr
 
typedef TTriple< TInt, TInt, TIntTIntTr
 
typedef TTriple< TUInt64, TUInt64, TUInt64TUInt64Tr
 
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 >, TIntTIntIntVIntTr
 
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, TStrVTStrIntStrVTr
 
typedef TQuad< TStr, TStr, TInt, TIntTStrStrIntIntQu
 
typedef TQuad< TStr, TStr, TStr, TStrTStrQu
 
typedef TQuad< TInt, TInt, TInt, TIntTIntQu
 
typedef TQuad< TFlt, TFlt, TFlt, TFltTFltQu
 
typedef TQuad< TFlt, TInt, TInt, TIntTFltIntIntIntQu
 
typedef TQuad< TInt, TStr, TInt, TIntTIntStrIntIntQu
 
typedef TQuad< TInt, TInt, TFlt, TFltTIntIntFltFltQu
 
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 TVec< TFltVTFltVFltV
 
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 2888 of file ds.h.

Definition at line 2216 of file ds.h.

Definition at line 2886 of file ds.h.

typedef TLstNd<TFlt>* PFltLN

Definition at line 2884 of file ds.h.

typedef TPt<TFltVP> PFltV

Definition at line 2214 of file ds.h.

typedef TLstNd<TIntKd>* PIntKdLN

Definition at line 2882 of file ds.h.

typedef TLstNd<TInt>* PIntLN

Definition at line 2880 of file ds.h.

Definition at line 2171 of file ds.h.

typedef TLstNd<TStr>* PStrLN

Definition at line 2890 of file ds.h.

typedef TPt<TStrVP> PStrV

Definition at line 2218 of file ds.h.

Definition at line 400 of file ds.h.

Definition at line 2887 of file ds.h.

Definition at line 1648 of file ds.h.

Definition at line 101 of file ds.h.

Definition at line 1647 of file ds.h.

Definition at line 102 of file ds.h.

Definition at line 104 of file ds.h.

Definition at line 1616 of file ds.h.

typedef TVec<TAscFlt> TAscFltV

Definition at line 1598 of file ds.h.

Definition at line 2215 of file ds.h.

Definition at line 2672 of file ds.h.

typedef TPair<TBool, TCh> TBoolChPr

Definition at line 76 of file ds.h.

Definition at line 2605 of file ds.h.

Definition at line 77 of file ds.h.

typedef TVec<TBool> TBoolV

Definition at line 1590 of file ds.h.

typedef TVVec<TBool> TBoolVV

Definition at line 2399 of file ds.h.

typedef TTriple<TChA, TChA, TChA> TChATr

Definition at line 185 of file ds.h.

typedef TVec<TChA> TChAV

Definition at line 1600 of file ds.h.

Definition at line 169 of file ds.h.

typedef TTriple<TCh, TCh, TCh> TChTr

Definition at line 168 of file ds.h.

typedef TVec<TCh> TChV

Definition at line 1591 of file ds.h.

typedef TVVec<TCh> TChVV

Definition at line 2400 of file ds.h.

Definition at line 391 of file ds.h.

Definition at line 1638 of file ds.h.

Definition at line 183 of file ds.h.

Definition at line 184 of file ds.h.

Definition at line 1646 of file ds.h.

Definition at line 399 of file ds.h.

Definition at line 265 of file ds.h.

Definition at line 1662 of file ds.h.

Definition at line 182 of file ds.h.

Definition at line 1645 of file ds.h.

Definition at line 392 of file ds.h.

Definition at line 2885 of file ds.h.

Definition at line 1639 of file ds.h.

typedef TPair<TFlt, TInt> TFltIntPr

Definition at line 97 of file ds.h.

Definition at line 394 of file ds.h.

Definition at line 1641 of file ds.h.

Definition at line 1613 of file ds.h.

typedef TKeyDat<TFlt, TFlt> TFltKd

Definition at line 396 of file ds.h.

typedef TVec<TFltKd> TFltKdV

Definition at line 1642 of file ds.h.

typedef TLst<TFlt> TFltL

Definition at line 2883 of file ds.h.

typedef TPair<TFlt, TFlt> TFltPr

Definition at line 99 of file ds.h.

typedef TVec<TFltPr> TFltPrV

Definition at line 1604 of file ds.h.

typedef TQQueue<TFlt> TFltQ

Definition at line 2667 of file ds.h.

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

Definition at line 264 of file ds.h.

Definition at line 397 of file ds.h.

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

Definition at line 1615 of file ds.h.

typedef TTriple<TFlt, TFlt, TFlt> TFltTr

Definition at line 181 of file ds.h.

typedef TTree<TFlt> TFltTree

Definition at line 2567 of file ds.h.

typedef TVec<TFltTr> TFltTrV

Definition at line 1605 of file ds.h.

Definition at line 393 of file ds.h.

Definition at line 1640 of file ds.h.

Definition at line 98 of file ds.h.

Definition at line 1614 of file ds.h.

Definition at line 395 of file ds.h.

typedef TVec<TFlt> TFltV

Definition at line 1596 of file ds.h.

typedef TVec<TFltV> TFltVFltV

Definition at line 1665 of file ds.h.

typedef PVec<TFlt> TFltVP

Definition at line 2213 of file ds.h.

typedef TQQueue<TFltV> TFltVQ

Definition at line 2671 of file ds.h.

typedef TVVec<TFlt> TFltVV

Definition at line 2403 of file ds.h.

typedef TVVVec<TFlt> TFltVVV

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

Definition at line 176 of file ds.h.

Definition at line 1620 of file ds.h.

Definition at line 381 of file ds.h.

Definition at line 1625 of file ds.h.

typedef TPair<TInt, TFlt> TIntFltPr

Definition at line 87 of file ds.h.

Definition at line 383 of file ds.h.

Definition at line 1612 of file ds.h.

Definition at line 1611 of file ds.h.

Definition at line 267 of file ds.h.

Definition at line 175 of file ds.h.

Definition at line 1619 of file ds.h.

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

Definition at line 180 of file ds.h.

Definition at line 1631 of file ds.h.

Definition at line 85 of file ds.h.

Definition at line 1664 of file ds.h.

Definition at line 174 of file ds.h.

Definition at line 1618 of file ds.h.

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

Definition at line 179 of file ds.h.

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

typedef TLst<TIntKd> TIntKdL

Definition at line 2881 of file ds.h.

typedef TVec< TIntKd > TIntKdV

Definition at line 1606 of file ds.h.

typedef TLst<TInt> TIntL

Definition at line 2879 of file ds.h.

typedef TPair<TInt, TInt> TIntPr

Definition at line 83 of file ds.h.

Definition at line 382 of file ds.h.

Definition at line 1626 of file ds.h.

Definition at line 90 of file ds.h.

Definition at line 2669 of file ds.h.

typedef TVec<TIntPr> TIntPrV

Definition at line 1601 of file ds.h.

typedef TVVec<TIntPr> TIntPrVV

Definition at line 2405 of file ds.h.

typedef TQQueue<TInt> TIntQ

Definition at line 2666 of file ds.h.

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

Definition at line 263 of file ds.h.

typedef TVec<TIntQu> TIntQuV

Definition at line 1603 of file ds.h.

typedef TVec<TQQueue<TInt> > TIntQV

Definition at line 2673 of file ds.h.

typedef TSStack<TInt> TIntS

Definition at line 2604 of file ds.h.

Definition at line 384 of file ds.h.

Definition at line 266 of file ds.h.

Definition at line 1663 of file ds.h.

Definition at line 173 of file ds.h.

Definition at line 1621 of file ds.h.

Definition at line 385 of file ds.h.

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

Definition at line 2670 of file ds.h.

Definition at line 1617 of file ds.h.

Definition at line 178 of file ds.h.

Definition at line 1622 of file ds.h.

Definition at line 89 of file ds.h.

Definition at line 1629 of file ds.h.

typedef TTriple<TInt, TInt, TInt> TIntTr

Definition at line 171 of file ds.h.

typedef TTree<TInt> TIntTree

Definition at line 2566 of file ds.h.

typedef TVec<TIntTr> TIntTrV

Definition at line 1602 of file ds.h.

Definition at line 380 of file ds.h.

Definition at line 1610 of file ds.h.

Definition at line 84 of file ds.h.

Definition at line 1609 of file ds.h.

typedef TVec<TInt> TIntV

Definition at line 1594 of file ds.h.

Definition at line 2168 of file ds.h.

typedef TPair<TVec<TInt, int>, TVec<TFlt, int> > TIntVFltVPr

Definition at line 113 of file ds.h.

typedef TVVec<TInt> TIntVV

Definition at line 2401 of file ds.h.

typedef TVVVec<TInt> TIntVVV

Definition at line 2455 of file ds.h.

typedef TVec<TSFlt> TSFltV

Definition at line 1597 of file ds.h.

typedef TVVec<TSFlt> TSFltVV

Definition at line 2402 of file ds.h.

Definition at line 404 of file ds.h.

Definition at line 1654 of file ds.h.

Definition at line 401 of file ds.h.

Definition at line 188 of file ds.h.

Definition at line 1657 of file ds.h.

Definition at line 403 of file ds.h.

Definition at line 1653 of file ds.h.

typedef TPair<TStr, TFlt> TStrFltPr

Definition at line 106 of file ds.h.

Definition at line 1651 of file ds.h.

Definition at line 187 of file ds.h.

Definition at line 402 of file ds.h.

Definition at line 1652 of file ds.h.

typedef TPair<TStr, TInt> TStrIntPr

Definition at line 105 of file ds.h.

Definition at line 2569 of file ds.h.

Definition at line 1650 of file ds.h.

Definition at line 190 of file ds.h.

Definition at line 2570 of file ds.h.

typedef TKeyDat<TStr, TStr> TStrKd

Definition at line 405 of file ds.h.

typedef TVec<TStrKd> TStrKdV

Definition at line 1659 of file ds.h.

typedef TLst<TStr> TStrL

Definition at line 2889 of file ds.h.

typedef TPair<TStr, TStr> TStrPr

Definition at line 107 of file ds.h.

typedef TVec<TStrPr> TStrPrV

Definition at line 1649 of file ds.h.

typedef TQQueue<TStr> TStrQ

Definition at line 2668 of file ds.h.

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

Definition at line 262 of file ds.h.

typedef TVec<TStrQu> TStrQuV

Definition at line 1656 of file ds.h.

Definition at line 261 of file ds.h.

Definition at line 189 of file ds.h.

Definition at line 1658 of file ds.h.

Definition at line 108 of file ds.h.

Definition at line 1660 of file ds.h.

typedef TTriple<TStr, TStr, TStr> TStrTr

Definition at line 186 of file ds.h.

typedef TTree<TStr> TStrTree

Definition at line 2568 of file ds.h.

typedef TVec<TStrTr> TStrTrV

Definition at line 1655 of file ds.h.

typedef TVec<TStr> TStrV

Definition at line 1599 of file ds.h.

Definition at line 109 of file ds.h.

Definition at line 1661 of file ds.h.

typedef PVec<TStr> TStrVP

Definition at line 2217 of file ds.h.

typedef TVVec<TStr> TStrVV

Definition at line 2404 of file ds.h.

Definition at line 170 of file ds.h.

typedef TPair<TUCh, TInt> TUChIntPr

Definition at line 78 of file ds.h.

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

typedef TVec<TUCh> TUChV

Definition at line 1592 of file ds.h.

Definition at line 389 of file ds.h.

Definition at line 1636 of file ds.h.

Definition at line 95 of file ds.h.

Definition at line 1633 of file ds.h.

Definition at line 388 of file ds.h.

Definition at line 1635 of file ds.h.

Definition at line 93 of file ds.h.

Definition at line 1632 of file ds.h.

Definition at line 94 of file ds.h.

Definition at line 390 of file ds.h.

Definition at line 1637 of file ds.h.

Definition at line 96 of file ds.h.

Definition at line 1634 of file ds.h.

Definition at line 172 of file ds.h.

typedef TVec<TUInt64> TUInt64V

Definition at line 1595 of file ds.h.

Definition at line 386 of file ds.h.

Definition at line 1624 of file ds.h.

Definition at line 92 of file ds.h.

Definition at line 387 of file ds.h.

Definition at line 91 of file ds.h.

typedef TVec<TUInt> TUIntV

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

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