Commit 79a99e5e authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

minor corrections

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 1253
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 4e55cde9
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: array_dec.h,v 1.20 2002-12-31 17:19:46 forbrig Exp $
* $Id: array_dec.h,v 1.21 2003-01-02 10:33:42 forbrig Exp $
* \author Thomas Forbriger
* \since 08/12/2002
*
......@@ -54,6 +54,8 @@
* ConstArray (except default constructor, which is
* needed, when object is a container element) as
* suggested by Wolfgang.
* - 02/01/2003 V1.9 (thof)
* - type TIndexVec was not declared
*
* ============================================================================
*/
......@@ -62,9 +64,9 @@
#ifndef AFF_ARRAY_DEC_H_VERSION
#define AFF_ARRAY_DEC_H_VERSION \
"AFF_ARRAY_DEC_H V1.8"
"AFF_ARRAY_DEC_H V1.9"
#define AFF_ARRAY_DEC_H_CVSID \
"$Id: array_dec.h,v 1.20 2002-12-31 17:19:46 forbrig Exp $"
"$Id: array_dec.h,v 1.21 2003-01-02 10:33:42 forbrig Exp $"
#include <aff/lib/sharedheap.h>
#include <aff/lib/strided.h>
......@@ -119,6 +121,8 @@ namespace prebuilt {
typedef aff::ConstSharedHeap<T> Trepresentation;
//! Type of shape
typedef aff::Strided Tshape;
//! we use this for one of the access operators
typedef Tshape::TIndexVec TIndexVec;
//! Element type
typedef const T Tvalue;
//! Type of pointer to element
......@@ -316,6 +320,8 @@ namespace prebuilt {
typedef aff::SharedHeap<T> Trepresentation;
//! Type of subscriptor
typedef aff::Strided Tshape;
//! we use this for one of the access operators
typedef Tshape::TIndexVec TIndexVec;
//! Element type
typedef T Tvalue;
//! Type of pointer to element
......
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: dump_macros.h,v 1.3 2002-12-23 11:44:04 forbrig Exp $
* $Id: dump_macros.h,v 1.4 2003-01-02 10:33:43 forbrig Exp $
* \author Thomas Forbriger
* \date 19/12/2002
*
......@@ -20,6 +20,8 @@
*
* REVISIONS and CHANGES
* - 19/12/2002 V1.0 Thomas Forbriger
* - 02/01/2003 V1.1 (thof)
* - did not resolve cout and endl in namespace std
*
* ============================================================================
*/
......@@ -28,9 +30,9 @@
#ifndef AFF_DUMP_MACROS_H_VERSION
#define AFF_DUMP_MACROS_H_VERSION \
"AFF_DUMP_MACROS_H V1.0"
"AFF_DUMP_MACROS_H V1.1"
#define AFF_DUMP_MACROS_H_CVSID \
"$Id: dump_macros.h,v 1.3 2002-12-23 11:44:04 forbrig Exp $"
"$Id: dump_macros.h,v 1.4 2003-01-02 10:33:43 forbrig Exp $"
#include<iostream>
......@@ -38,7 +40,8 @@
*
* \ingroup group_helpers
*/
#define DUMP( A ) std::cout << "object \"" << #A << "\":" << endl; aff::dump(A)
#define DUMP( A ) std::cout << "object \"" << #A << "\":" << std::endl; \
aff::dump(A)
/*! \brief print program location
*
......@@ -57,7 +60,7 @@
*
* \ingroup group_helpers
*/
#define CODE( C ) cout << #C << ";" << endl; C
#define CODE( C ) std::cout << #C << ";" << std::endl; C
#endif // AFF_DUMP_MACROS_H_VERSION (includeguard)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment