Public Member Functions | Data Fields
DataNoroCacheNode< number_type > Class Template Reference

#include <tgb_internal.h>

Public Member Functions

 DataNoroCacheNode (poly p, int len)
 
 DataNoroCacheNode (SparseRow< number_type > *row)
 
 ~DataNoroCacheNode ()
 
- Public Member Functions inherited from NoroCacheNode
 NoroCacheNode ()
 
NoroCacheNodesetNode (int branch, NoroCacheNode *node)
 
NoroCacheNodegetBranch (int branch)
 
virtual ~NoroCacheNode ()
 
NoroCacheNodegetOrInsertBranch (int branch)
 

Data Fields

int value_len
 
poly value_poly
 
SparseRow< number_type > * row
 
int term_index
 
- Data Fields inherited from NoroCacheNode
NoroCacheNode ** branches
 
int branches_len
 

Detailed Description

template<class number_type>
class DataNoroCacheNode< number_type >

Definition at line 123 of file tgb_internal.h.

Constructor & Destructor Documentation

template<class number_type>
DataNoroCacheNode< number_type >::DataNoroCacheNode ( poly  p,
int  len 
)
inline

Definition at line 555 of file tgb_internal.h.

556  {
557  value_len=len;
558  value_poly=p;
559  row=NULL;
560  term_index=-1;
561  }
return P p
Definition: myNF.cc:203
#define NULL
Definition: omList.c:10
SparseRow< number_type > * row
Definition: tgb_internal.h:550
template<class number_type>
DataNoroCacheNode< number_type >::DataNoroCacheNode ( SparseRow< number_type > *  row)
inline

Definition at line 563 of file tgb_internal.h.

564  {
565  if (row!=NULL)
566  value_len=row->len;
567  else
568  value_len=0;
570  this->row=row;
571  term_index=-1;
572  }
#define NULL
Definition: omList.c:10
SparseRow< number_type > * row
Definition: tgb_internal.h:550
template<class number_type>
DataNoroCacheNode< number_type >::~DataNoroCacheNode ( )
inline

Definition at line 574 of file tgb_internal.h.

575  {
576  //p_Delete(&value_poly,currRing);
577  if (row) delete row;
578  }
SparseRow< number_type > * row
Definition: tgb_internal.h:550

Field Documentation

template<class number_type>
SparseRow<number_type>* DataNoroCacheNode< number_type >::row

Definition at line 550 of file tgb_internal.h.

template<class number_type>
int DataNoroCacheNode< number_type >::term_index

Definition at line 554 of file tgb_internal.h.

template<class number_type>
int DataNoroCacheNode< number_type >::value_len

Definition at line 547 of file tgb_internal.h.

template<class number_type>
poly DataNoroCacheNode< number_type >::value_poly

Definition at line 548 of file tgb_internal.h.


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