AFF --- A container for numbers (array) by Friederich and Forbriger.
dump_array.h File Reference

factored out Array dump function (prototypes) More...

#include <iostream>
#include <aff/array.h>
#include <aff/lib/dump_sharedheap.h>
Include dependency graph for dump_array.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 aff
 Root namespace of library.
 
 aff::anonymous_namespace{dump_array.h}
 

Macros

#define AFF_DUMP_ARRAY_H_VERSION   "AFF_DUMP_ARRAY_H V1.3"
 

Functions

template<class T >
void aff::anonymous_namespace{dump_array.h}::dump_array_helper (const aff::ConstArray< T > &array, const Tdim &i, const Tdim &j, Strided::TIndexVec &index, std::ostream &os)
 recursive usage tests all access functions More...
 
template<class T >
void aff::dump_array_values (const ConstArray< T > &array, const Tdim &i=(Strided::Mmax_dimen-1), std::ostream &os=std::cout)
 Dump array values only. More...
 
template<class T >
void aff::dump_array (const ConstArray< T > &array, const Tdim &i=(Strided::Mmax_dimen-1), std::ostream &os=std::cout)
 Dump array values. More...
 
template<class T >
void aff::dump (const ConstArray< T > &array, std::ostream &os=std::cout)
 Dump array shape. More...
 

Detailed Description

factored out Array dump function (prototypes)


Author
Thomas Forbriger
Date
19/12/2002

factored out Array dump function (prototypes)


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)

REVISIONS and CHANGES

  • 19/12/2002 V1.0 Thomas Forbriger
  • 28/12/2002 V1.1 (thof)
    • functions now take ConstArray class reference arguments
  • 03/01/2003 V1.2 (thof)
    • value dump looked like dump of SharedHeap introduced section title
  • 21/10/2016 V1.3 (thof)
    • provide separate function to dump array values only

Definition in file dump_array.h.