Files
secondo/Algebras/Tile/Defines.h
2026-01-23 17:03:45 +08:00

60 lines
1.8 KiB
C++

/*
This file is part of SECONDO.
Copyright (C) 2013, University in Hagen, Department of Computer Science,
Database Systems for New Applications.
SECONDO 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.
SECONDO 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 SECONDO; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef TILEALGEBRA_DEFINES_H
#define TILEALGEBRA_DEFINES_H
/*
declaration of namespace TileAlgebra
*/
namespace TileAlgebra
{
/*
Define traces name of method, implementation file of method and
line number in the implementation file of method of a TileAlgebra object.
*/
#define TILEALGEBRA_TRACE cout << __PRETTY_FUNCTION__ \
<< " of object " << this \
<< " in " << __FILE__ \
<< " line " << __LINE__ \
<< endl;
/*
Define traces name of a static method, implementation file of a static method and
line number in the implementation file of a static method.
*/
#define TILEALGEBRA_STATIC_TRACE cout << __PRETTY_FUNCTION__ \
<< " in " << __FILE__ \
<< " line " << __LINE__ \
<< endl;
}
#endif // TILEALGEBRA_DEFINES_H