Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::Link Class Reference
Inheritance diagram for Hal::Link:

Public Member Functions

 Link (Int_t i=1)
 
 Link (const Link &link)
 
Link operator= (const Link &link)
 
void SetNextLink (Int_t i)
 
void SetLink (Int_t index, Int_t val)
 
void ExpandFast (Int_t size)
 
void SetLinkAndExpand (Int_t index, Int_t val)
 
Int_t GetLink (Int_t index) const
 
Int_t GetLinkSize () const
 
virtual void Clear (Option_t *opt="")
 
void ClearLinks ()
 

Detailed Description

Definition at line 22 of file Link.h.

Constructor & Destructor Documentation

◆ Link() [1/2]

Hal::Link::Link ( Int_t i = 1)

i - link from

Parameters
ilink size

Definition at line 13 of file Link.cxx.

◆ Link() [2/2]

Hal::Link::Link ( const Link & link)

Definition at line 18 of file Link.cxx.

◆ ~Link()

Hal::Link::~Link ( )
virtual

Definition at line 39 of file Link.cxx.

Member Function Documentation

◆ Clear()

void Hal::Link::Clear ( Option_t * opt = "")
virtual

Definition at line 66 of file Link.cxx.

◆ ClearLinks()

void Hal::Link::ClearLinks ( )

Definition at line 86 of file Link.cxx.

◆ ExpandFast()

void Hal::Link::ExpandFast ( Int_t size)

Definition at line 71 of file Link.cxx.

◆ GetLink()

Int_t Hal::Link::GetLink ( Int_t index) const
inline

get link to index-th object connected with this object, this method doesn't check link size!

Parameters
index
Returns

Definition at line 59 of file Link.h.

◆ GetLinkSize()

Int_t Hal::Link::GetLinkSize ( ) const
inline
Returns
number of objects conneted with this object

Definition at line 64 of file Link.h.

◆ operator=()

Link Hal::Link::operator= ( const Link & link)

operator

Parameters
link
Returns

Definition at line 24 of file Link.cxx.

◆ SetLink()

void Hal::Link::SetLink ( Int_t index,
Int_t val )
inline

set link to object at position val

Parameters
indexobject number
vallink value

Definition at line 50 of file Link.h.

◆ SetLinkAndExpand()

void Hal::Link::SetLinkAndExpand ( Int_t index,
Int_t val )

Definition at line 41 of file Link.cxx.

◆ SetNextLink()

void Hal::Link::SetNextLink ( Int_t i)

set id of linked object and clean "to" array, if you don't want to clean "to" array

See also
OverwriteFrom
Parameters
iid of linked object

Definition at line 58 of file Link.cxx.


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