TStaticArray.h File Reference

static array More...

#include "Mbo.h"

Include dependency graph for TStaticArray.h:

Mbo.hMboTString.hMboDebugTrace.harg_info.h

Go to the source code of this file.

Namespaces

namespace  mbo

Classes

class  mbo::TStaticArray< __ValueType, __MaxSize, __Allocator >
 static sized array of __ValueType More...
class  mbo::TStaticArray< __ValueType, __MaxSize, __Allocator >::const_iterator
 constant bidirectional iterator More...
class  mbo::TStaticArray< __ValueType, __MaxSize, __Allocator >::iterator
 bidirectional iterator (non const) More...
struct  mbo::TStaticArray< __ValueType, __MaxSize, __Allocator >::value_memory
 Type that holds ram memory for one element.
class  mbo::TStaticArrayEx< __ValueType, __MaxSize, __Allocator >
 static sized array of __ValueType More...

Defines

#define MBO_TSA_VERIFY   1
#define MBO_TSA_STL_ITERATOR   1
#define mbo_tsa_throw_if_not(exception, condition)   mbo_throw_if_not(exception, condition)
#define __DEPRECATED


Detailed Description

static array

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

Definition in file TStaticArray.h.


Define Documentation

#define __DEPRECATED

Definition at line 93 of file TStaticArray.h.

#define MBO_TSA_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 72 of file TStaticArray.h.

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

Controls how check violations are handled.

See also:
MBO_THROWS_EXCEPTIONS

MBO_TSA_VERIFY

Definition at line 81 of file TStaticArray.h.

Referenced by mbo::TStaticArray< __ValueType, __MaxSize, __Allocator >::at(), mbo::TStaticArrayEx< __ValueType, __MaxSize, __Allocator >::operator[](), and mbo::TStaticArray< __ValueType, __MaxSize, __Allocator >::operator[]().

#define MBO_TSA_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 60 of file TStaticArray.h.


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