21 #ifndef _MINLIB_STAK_H_
22 #define _MINLIB_STAK_H_
24 #include "../mn_config.hpp"
25 #include "../mn_error.hpp"
37 template<
typename TType>
91 if(item == NULL)
return ERR_NULL;
110 if(item == NULL)
return ERR_NULL;
Definition: mn_stack.hpp:38
int count()
Definition: mn_stack.hpp:130
int size()
Definition: mn_stack.hpp:135
bool is_full()
Definition: mn_stack.hpp:146
int pop(basic_type_t *item)
Definition: mn_stack.hpp:90
basic_stack(size_t nSize)
Definition: mn_stack.hpp:46
size_t m_ulSize
Definition: mn_stack.hpp:177
void internal_reset()
Definition: mn_stack.hpp:170
int get_left()
Definition: mn_stack.hpp:151
size_t m_iLast
Definition: mn_stack.hpp:179
int push(basic_type_t item)
Definition: mn_stack.hpp:73
void reset()
Definition: mn_stack.hpp:122
int peek(basic_type_t *item)
Definition: mn_stack.hpp:109
size_t m_iFirst
Definition: mn_stack.hpp:178
TType basic_type_t
Definition: mn_stack.hpp:40
bool is_empty()
Definition: mn_stack.hpp:141
basic_type_t * m_ulAdrr
Definition: mn_stack.hpp:176
size_t m_iCurrent
Definition: mn_stack.hpp:180
basic_stack(size_t nSize, basic_type_t *addr, int offset)
Definition: mn_stack.hpp:63
basic_stack(size_t nSize, basic_type_t *addr)
Definition: mn_stack.hpp:54
void internal_create(size_t nSize, basic_type_t *addr, int offset)
Definition: mn_stack.hpp:159
#define NO_ERROR
Definition: mn_error.hpp:53
#define ERR_MNTHREAD_UNKN
Definition: mn_error.hpp:57
Definition: mn_allocator_typetraits.hpp:25