SNAP Library 2.0, User Reference  2013-05-13 16:33:57
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>

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.

{ Keywords.AddUnique(KId); }
void THitInfo::DelKeywords ( ) [inline]

Definition at line 77 of file cascdynetinf.h.

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

Definition at line 15 of file cascnetinf.h.

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

Definition at line 79 of file cascdynetinf.h.

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

Definition at line 14 of file cascnetinf.h.

{ NId.Save(SOut); Parent.Save(SOut); Tm.Save(SOut); }
void THitInfo::Save ( TSOut SOut) const [inline]

Definition at line 78 of file cascdynetinf.h.

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

Member Data Documentation

Definition at line 72 of file cascdynetinf.h.

Definition at line 70 of file cascdynetinf.h.

Definition at line 9 of file cascnetinf.h.

Definition at line 71 of file cascdynetinf.h.


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