33 return (
MInt)inputSize;
38 mTerm(1, AT_,
"Input size is < 0!");
41 std::stringstream errorMessage;
42 errorMessage <<
" Error in list, maxSize reached ( " <<
m_maxSize <<
" cells ).";
43 mTerm(1, AT_, errorMessage.str());
46 return (
MInt)inputSize;
59 m_rawMemoryCounter = 0;
60 m_maxSize = inputMaxSize;
62 a =
new T[(inputMaxSize + 1)];
67 if(m_size < m_maxSize)
70 std::stringstream errorMessage;
71 errorMessage <<
" Error in list, maxSize reached ( " << m_maxSize <<
" cells ).";
72 mTerm(1, AT_, errorMessage.str());
MInt setSize(MInt inputSize)
MInt resetSize(MInt inputSize)
T * operator[](const MInt index)
void mTerm(const MInt errorCode, const MString &location, const MString &message)