SOSpin is hosted by Hepforge, IPPP Durham
SOSpin  1.0.0

#include <include/dlist.h>

Public Member Functions

unsigned int getType ()
 Returns the type of the element. Ex.: $b$ - type=0; $b^{}$ - type=1; $$ - type=2; constant - type=3. More...
 
bool getSign ()
 Returns the sign of the element (not used in current version). More...
 
unsigned int getIdx1 ()
 Returns the first data field of the element (id.x). More...
 
unsigned int getIdx2 ()
 Returns the second data field of the element (id.y). More...
 
void setType (unsigned int typ)
 Sets the type of the element. More...
 
void setSign (bool sign)
 Sets sign field of the element (not used in current version). More...
 
void setIdx1 (unsigned int idx)
 Sets first data field of the element (idx1). More...
 
void setIdx2 (unsigned int idx)
 Sets second data field of the element (idx2). More...
 
elemTypeoperator= (const elemType &elem)
 Makes a copy of an element. More...
 

Static Public Member Functions

static elemType make_elem (int type, int data)
 Creates and return an element of type "type" and one data field "data". Second data field is set to zero. More...
 
static elemType make_elem (int type, int data1, int data2)
 Creates and return an element of type "type" and data fields "data1" and "data2". More...
 
static elemType make_delta (elemType data1, elemType data2)
 Creates and return $$ element using first data field of elements "a" and "b". More...
 

Public Attributes

unsigned int dataField
 

Detailed Description

Definition at line 101 of file dlist.h.

Member Function Documentation

unsigned int sospin::elemType::getIdx1 ( )
inline

Returns the first data field of the element (id.x).

Definition at line 126 of file dlist.h.

unsigned int sospin::elemType::getIdx2 ( )
inline

Returns the second data field of the element (id.y).

Definition at line 134 of file dlist.h.

bool sospin::elemType::getSign ( )
inline

Returns the sign of the element (not used in current version).

Definition at line 118 of file dlist.h.

unsigned int sospin::elemType::getType ( )
inline

Returns the type of the element. Ex.: $b$ - type=0; $b^{}$ - type=1; $$ - type=2; constant - type=3.

Definition at line 111 of file dlist.h.

static elemType sospin::elemType::make_delta ( elemType  data1,
elemType  data2 
)
inlinestatic

Creates and return $$ element using first data field of elements "a" and "b".

Definition at line 164 of file dlist.h.

static elemType sospin::elemType::make_elem ( int  type,
int  data 
)
inlinestatic

Creates and return an element of type "type" and one data field "data". Second data field is set to zero.

Definition at line 142 of file dlist.h.

static elemType sospin::elemType::make_elem ( int  type,
int  data1,
int  data2 
)
inlinestatic

Creates and return an element of type "type" and data fields "data1" and "data2".

Definition at line 155 of file dlist.h.

elemType& sospin::elemType::operator= ( const elemType elem)
inline

Makes a copy of an element.

Definition at line 237 of file dlist.h.

void sospin::elemType::setIdx1 ( unsigned int  idx)
inline

Sets first data field of the element (idx1).

Definition at line 203 of file dlist.h.

void sospin::elemType::setIdx2 ( unsigned int  idx)
inline

Sets second data field of the element (idx2).

Definition at line 220 of file dlist.h.

void sospin::elemType::setSign ( bool  sign)
inline

Sets sign field of the element (not used in current version).

Definition at line 193 of file dlist.h.

void sospin::elemType::setType ( unsigned int  typ)
inline

Sets the type of the element.

Definition at line 173 of file dlist.h.

Member Data Documentation

unsigned int sospin::elemType::dataField

Definition at line 108 of file dlist.h.


The documentation for this struct was generated from the following file: