SNAP Library 2.1, Developer Reference  2013-09-25 10:47:25
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
THitInfo Class Reference

#include <cascdynetinf.h>

Collaboration diagram for THitInfo:

List of all members.

Public Member Functions

 THitInfo (const int &NodeId=-1, const double &HitTime=0)
 THitInfo (TSIn &SIn)
void AddKeyword (const int &KId)
void DelKeywords ()
void Save (TSOut &SOut) const
bool operator< (const THitInfo &Hit) const
 THitInfo (const int &NodeId=-1, const double &HitTime=0)
 THitInfo (TSIn &SIn)
void Save (TSOut &SOut) const
bool operator< (const THitInfo &Hit) const

Public Attributes

TInt NId
TFlt Tm
TIntV Keywords
TInt Parent

Detailed Description

Definition at line 68 of file cascdynetinf.h.


Constructor & Destructor Documentation

THitInfo::THitInfo ( const int &  NodeId = -1,
const double &  HitTime = 0 
) [inline]

Definition at line 74 of file cascdynetinf.h.

: NId(NodeId), Tm(HitTime) { }
THitInfo::THitInfo ( TSIn SIn) [inline]

Definition at line 75 of file cascdynetinf.h.

: NId(SIn), Tm(SIn), Keywords(SIn) { }
THitInfo::THitInfo ( const int &  NodeId = -1,
const double &  HitTime = 0 
) [inline]

Definition at line 12 of file cascnetinf.h.

: NId(NodeId), Parent(-1), Tm(HitTime) { }
THitInfo::THitInfo ( TSIn SIn) [inline]

Definition at line 13 of file cascnetinf.h.

: NId(SIn), Parent(SIn), Tm(SIn) { }

Member Function Documentation

void THitInfo::AddKeyword ( const int &  KId) [inline]

Definition at line 76 of file cascdynetinf.h.

References TVec< TVal, TSizeTy >::AddUnique(), and Keywords.

{ Keywords.AddUnique(KId); }

Here is the call graph for this function:

void THitInfo::DelKeywords ( ) [inline]

Definition at line 77 of file cascdynetinf.h.

References TVec< TVal, TSizeTy >::Clr(), and Keywords.

{ Keywords.Clr(); }

Here is the call graph for this function:

bool THitInfo::operator< ( const THitInfo Hit) const [inline]

Definition at line 15 of file cascnetinf.h.

References Tm.

                                              {
    return Tm < Hit.Tm; }
bool THitInfo::operator< ( const THitInfo Hit) const [inline]

Definition at line 79 of file cascdynetinf.h.

References Tm.

                                              {
    return Tm < Hit.Tm; }
void THitInfo::Save ( TSOut SOut) const [inline]

Definition at line 14 of file cascnetinf.h.

References NId, Parent, TInt::Save(), TFlt::Save(), and Tm.

{ NId.Save(SOut); Parent.Save(SOut); Tm.Save(SOut); }

Here is the call graph for this function:

void THitInfo::Save ( TSOut SOut) const [inline]

Definition at line 78 of file cascdynetinf.h.

References Keywords, NId, TVec< TVal, TSizeTy >::Save(), TInt::Save(), TFlt::Save(), and Tm.

{ NId.Save(SOut); Tm.Save(SOut); Keywords.Save(SOut); }

Here is the call graph for this function:


Member Data Documentation

Definition at line 72 of file cascdynetinf.h.

Referenced by AddKeyword(), DelKeywords(), and Save().

Definition at line 70 of file cascdynetinf.h.

Referenced by Save().

Definition at line 71 of file cascdynetinf.h.

Referenced by TCascade::GetTm(), operator<(), and Save().


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