equal
deleted
inserted
replaced
22 static const int Tnum_blocks = Tnum_blocks_; ///< number of blocks is now visible from outside |
22 static const int Tnum_blocks = Tnum_blocks_; ///< number of blocks is now visible from outside |
23 static const int Tcapacity = Tblock_size * Tnum_blocks; ///< total max number of items |
23 static const int Tcapacity = Tblock_size * Tnum_blocks; ///< total max number of items |
24 |
24 |
25 /** implicit constructor */ |
25 /** implicit constructor */ |
26 FORCEINLINE CArrayT() { } |
26 FORCEINLINE CArrayT() { } |
|
27 /** Clear (destroy) all items */ |
|
28 FORCEINLINE void Clear() {m_a.Clear();} |
27 /** Return actual number of items */ |
29 /** Return actual number of items */ |
28 FORCEINLINE int Size() const |
30 FORCEINLINE int Size() const |
29 { |
31 { |
30 int super_size = m_a.Size(); |
32 int super_size = m_a.Size(); |
31 if (super_size == 0) return 0; |
33 if (super_size == 0) return 0; |