TDynamicArray.h File Reference

dynamic array More...

#include "Mbo.h"
#include "reallocator.h"

Include dependency graph for TDynamicArray.h:

Mbo.hreallocator.hMboTString.hMboDebugTrace.harg_info.h

Go to the source code of this file.

Namespaces

namespace  mbo

Classes

class  mbo::TDynamicArray< __ValueType, __Allocator, __MinSize, __Append >
 dynamic array More...
class  mbo::TDynamicArray< __ValueType, __Allocator, __MinSize, __Append >::const_iterator
 constant bidirectional iterator More...
class  mbo::TDynamicArray< __ValueType, __Allocator, __MinSize, __Append >::iterator
 bidirectional iterator (non const) More...

Defines

#define MBO_TDA_VERIFY   1
#define MBO_TDA_STL_ITERATOR   1
#define mbo_tda_throw_if_not(exception, condition)   mbo_throw_if_not(exception, condition)
#define __DEPRECATED


Detailed Description

dynamic array

Author:
Marcus Boerger (http://marcus-boerger.de/)
Note:
This file is distributed under the LGPL license GNU Lesser General Public License, version 2.1.

Definition in file TDynamicArray.h.


Define Documentation

#define __DEPRECATED

Definition at line 96 of file TDynamicArray.h.

#define MBO_TDA_STL_ITERATOR   1

Controls whether the TDynamicArray iterators are stl complient. If so they can be used as random access iterators in any <algorithm> function. If this macro is defined to zero and the iterators do not inherit from the standard STL iterators then they still behave like normal iterators but the reverse iterators are not available.

Definition at line 75 of file TDynamicArray.h.

#define mbo_tda_throw_if_not ( exception,
condition   )     mbo_throw_if_not(exception, condition)

Controls how check violations are handled.

See also:
MBO_THROWS_EXCEPTIONS

MBO_TDA_VERIFY

Definition at line 84 of file TDynamicArray.h.

Referenced by mbo::TDynamicArray< __ValueType, __Allocator, __MinSize, __Append >::operator[]().

#define MBO_TDA_VERIFY   1

Controls whether TDynamicArray verifies its operations. If the macro evaluates to a non zero value then MBO_THROW_EXCEPTIONS controls whether violating conditions results in throwing exceptions or abortion.

Warning:
Ignoring check violations leads to memory corruption.
See also:
MBO_THROWS_EXCEPTIONS

Definition at line 63 of file TDynamicArray.h.


  Hosted on code.google.com  
© Marcus Börger
Generated on Fri Jan 18 21:21:08 2008 for MBO-lib by doxygen 1.5.4