NCBI C++ ToolKit
Public Member Functions | Public Attributes | List of all members
array_positive< T > Class Template Reference

Search Toolkit Book for array_positive

#include "sls_alp_data.hpp"
(Private to src/algo/blast/gumbel_params.)

+ Inheritance diagram for array_positive< T >:
+ Collaboration diagram for array_positive< T >:

Public Member Functions

 array_positive (alp_data *alp_data_)
 
 ~array_positive ()
 
void increment_array ()
 
void set_elem (Int4 ind_, T elem_)
 
void increase_elem_by_1 (Int4 ind_)
 
void increase_elem_by_x (Int4 ind_, T x_)
 

Public Attributes

Int4 d_step
 
Int4 d_dim
 
Td_elem
 
alp_datad_alp_data
 

Detailed Description

template<typename T>
class array_positive< T >

Definition at line 127 of file sls_alp_data.hpp.

Constructor & Destructor Documentation

◆ array_positive()

template<typename T >
array_positive< T >::array_positive ( alp_data alp_data_)
inline

Definition at line 129 of file sls_alp_data.hpp.

◆ ~array_positive()

template<class T >
array_positive< T >::~array_positive

Definition at line 647 of file sls_alp_data.hpp.

References mb_bytes, NULL, and T.

Member Function Documentation

◆ increase_elem_by_1()

template<typename T >
void array_positive< T >::increase_elem_by_1 ( Int4  ind_)
inline

Definition at line 159 of file sls_alp_data.hpp.

◆ increase_elem_by_x()

template<typename T >
void array_positive< T >::increase_elem_by_x ( Int4  ind_,
T  x_ 
)
inline

◆ increment_array()

template<class T >
void array_positive< T >::increment_array

◆ set_elem()

template<typename T >
void array_positive< T >::set_elem ( Int4  ind_,
T  elem_ 
)
inline

Member Data Documentation

◆ d_alp_data

template<typename T >
alp_data* array_positive< T >::d_alp_data

◆ d_dim

template<typename T >
Int4 array_positive< T >::d_dim

◆ d_elem

template<typename T >
T* array_positive< T >::d_elem

◆ d_step

template<typename T >
Int4 array_positive< T >::d_step

Definition at line 186 of file sls_alp_data.hpp.

Referenced by array_positive< state * >::array_positive().


The documentation for this class was generated from the following file:
Modified on Fri Mar 01 10:09:06 2024 by modify_doxy.py rev. 669887