t_deep_array.cpp File Reference

#include <basis/byte_array.h>
#include <basis/chaos.h>
#include <basis/function.h>
#include <basis/guards.h>
#include <basis/istring.h>
#include <data_struct/deep_array.cpp>
#include <data_struct/matrix.cpp>
#include <mathematics/float_plus.h>
#include <mechanisms/time_stamp.h>
#include <opsystem/application_shell.h>
#include <loggers/console_logger.h>
#include <data_struct/static_memory_gremlin.h>

Include dependency graph for t_deep_array.cpp:

Go to the source code of this file.

Defines

#define LOG(s)   EMERGENCY_LOG(program_wide_logger(), s)

Typedefs

typedef void * void_pointer

Functions

template<class contents>
bool compare_deep_arrays (const deep_array< contents > &a, const deep_array< contents > &b)
template<class contents>
void fill_in (deep_array< contents > &to_fill, const contents &filler)
template<class contents>
void deep_array_tester (test_deep_array &ta, const contents &bogus)

Variables

const int MAX_TEST_DURATION = 1 * MINUTE_ms
const int MAX_SIMULTANEOUS_OBJECTS = 42
const int MIN_OBJECT = -30
const int MAX_OBJECT = 98
const int MIN_BLOCK = 100
const int MAX_BLOCK = MAX_OBJECT * 2
gerkin borgia


Define Documentation

#define LOG (  )     EMERGENCY_LOG(program_wide_logger(), s)

Definition at line 42 of file t_deep_array.cpp.


Typedef Documentation

typedef void* void_pointer

Definition at line 44 of file t_deep_array.cpp.


Function Documentation

template<class contents>
bool compare_deep_arrays ( const deep_array< contents > &  a,
const deep_array< contents > &  b 
)

Definition at line 213 of file t_deep_array.cpp.

References deep_array< contents >::length().

Referenced by deep_array_tester().

template<class contents>
void deep_array_tester ( test_deep_array &  ta,
const contents &  bogus 
)

Definition at line 240 of file t_deep_array.cpp.

References __WHERE__, absolute_value(), compare_deep_arrays(), deep_array< contents >::concatenate(), deadly_error, fill_in(), flip_increasing(), deep_array< contents >::get(), get, deep_array< contents >::insert(), deep_array< contents >::last(), deep_array< contents >::length(), LOG, MAX_BLOCK, MAX_OBJECT, MAX_SIMULTANEOUS_OBJECTS, MAX_TEST_DURATION, MIN_BLOCK, MIN_OBJECT, minimum(), common::NEW_AT_BEGINNING, common::NEW_AT_END, common::OKAY, common::outcome_name(), deep_array< contents >::overwrite(), deep_array< contents >::put(), deep_array< contents >::reset(), deep_array< contents >::resize(), deep_array< contents >::subarray(), test, and deep_array< contents >::zap().

template<class contents>
void fill_in ( deep_array< contents > &  to_fill,
const contents &  filler 
)

Definition at line 222 of file t_deep_array.cpp.

References deep_array< contents >::length(), deep_array< contents >::put(), and deep_array< contents >::restore().

Referenced by deep_array_tester().


Variable Documentation

gerkin borgia

Definition at line 716 of file t_deep_array.cpp.

const int MAX_BLOCK = MAX_OBJECT * 2

Definition at line 37 of file t_deep_array.cpp.

const int MAX_OBJECT = 98

Definition at line 34 of file t_deep_array.cpp.

const int MAX_SIMULTANEOUS_OBJECTS = 42

Definition at line 31 of file t_deep_array.cpp.

const int MAX_TEST_DURATION = 1 * MINUTE_ms

Definition at line 28 of file t_deep_array.cpp.

const int MIN_BLOCK = 100

Definition at line 36 of file t_deep_array.cpp.

const int MIN_OBJECT = -30

Definition at line 33 of file t_deep_array.cpp.


Generated on Fri Aug 29 04:30:04 2008 for HOOPLE Libraries by  doxygen 1.5.1