Removed old templates folder
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
//
|
//
|
||||||
// CLASS newClass
|
// CLASS bla
|
||||||
//
|
//
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
#ifndef DOXY_IGNORE_THIS
|
#ifndef DOXY_IGNORE_THIS
|
||||||
@@ -67,7 +67,7 @@ namespace OpenMesh {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/** \class newClassT newClassT.hh <OpenMesh/.../newClassT.hh>
|
/** \class blaT blaT.hh <OpenMesh/.../blaT.hh>
|
||||||
|
|
||||||
Brief Description.
|
Brief Description.
|
||||||
|
|
||||||
@@ -75,24 +75,24 @@ namespace OpenMesh {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
class newClassT
|
class blaT
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/// Default constructor
|
/// Default constructor
|
||||||
newClassT() {}
|
blaT() {}
|
||||||
|
|
||||||
/// Destructor
|
/// Destructor
|
||||||
~newClassT() {}
|
~blaT() {}
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
/// Copy constructor (not used)
|
/// Copy constructor (not used)
|
||||||
newClassT(const newClassT& _rhs);
|
blaT(const blaT& _rhs);
|
||||||
|
|
||||||
/// Assignment operator (not used)
|
/// Assignment operator (not used)
|
||||||
newClassT& operator=(const newClassT& _rhs);
|
blaT& operator=(const blaT& _rhs);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -100,9 +100,9 @@ private:
|
|||||||
//=============================================================================
|
//=============================================================================
|
||||||
} // namespace OpenMesh
|
} // namespace OpenMesh
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
#if defined(OM_INCLUDE_TEMPLATES) && !defined(OPENMESH_NEWCLASS_C)
|
#if defined(OM_INCLUDE_TEMPLATES) && !defined(OPENMESH_BLA_C)
|
||||||
#define OPENMESH_NEWCLASS_TEMPLATES
|
#define OPENMESH_BLA_TEMPLATES
|
||||||
#include "newClass.cc"
|
#include "blaT_impl.hh"
|
||||||
#endif
|
#endif
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
#endif // OPENMESH_NEWCLASST_HH defined
|
#endif // OPENMESH_NEWCLASST_HH defined
|
||||||
@@ -43,15 +43,15 @@
|
|||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
//
|
//
|
||||||
// CLASS newClass - IMPLEMENTATION
|
// CLASS bla - IMPLEMENTATION
|
||||||
//
|
//
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
|
||||||
#define OPENMESH_NEWCLASS_C
|
#define OPENMESH_BLA_C
|
||||||
|
|
||||||
//== INCLUDES =================================================================
|
//== INCLUDES =================================================================
|
||||||
|
|
||||||
#include <OpenMesh/.../newClass.hh>
|
#include <OpenMesh/.../bla.hh>
|
||||||
|
|
||||||
|
|
||||||
//== NAMESPACES ===============================================================
|
//== NAMESPACES ===============================================================
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
/* ========================================================================= *
|
|
||||||
* *
|
|
||||||
* OpenMesh *
|
|
||||||
* Copyright (c) 2001-2015, RWTH-Aachen University *
|
|
||||||
* Department of Computer Graphics and Multimedia *
|
|
||||||
* All rights reserved. *
|
|
||||||
* www.openmesh.org *
|
|
||||||
* *
|
|
||||||
*---------------------------------------------------------------------------*
|
|
||||||
* This file is part of OpenMesh. *
|
|
||||||
*---------------------------------------------------------------------------*
|
|
||||||
* *
|
|
||||||
* Redistribution and use in source and binary forms, with or without *
|
|
||||||
* modification, are permitted provided that the following conditions *
|
|
||||||
* are met: *
|
|
||||||
* *
|
|
||||||
* 1. Redistributions of source code must retain the above copyright notice, *
|
|
||||||
* this list of conditions and the following disclaimer. *
|
|
||||||
* *
|
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright *
|
|
||||||
* notice, this list of conditions and the following disclaimer in the *
|
|
||||||
* documentation and/or other materials provided with the distribution. *
|
|
||||||
* *
|
|
||||||
* 3. Neither the name of the copyright holder nor the names of its *
|
|
||||||
* contributors may be used to endorse or promote products derived from *
|
|
||||||
* this software without specific prior written permission. *
|
|
||||||
* *
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
|
|
||||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *
|
|
||||||
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
|
|
||||||
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER *
|
|
||||||
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, *
|
|
||||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *
|
|
||||||
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR *
|
|
||||||
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF *
|
|
||||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
|
|
||||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
|
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
|
|
||||||
* *
|
|
||||||
* ========================================================================= */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//=============================================================================
|
|
||||||
//
|
|
||||||
// CLASS newClass - IMPLEMENTATION
|
|
||||||
//
|
|
||||||
//=============================================================================
|
|
||||||
|
|
||||||
|
|
||||||
//== INCLUDES =================================================================
|
|
||||||
|
|
||||||
#include <OpenMesh/.../newClass.hh>
|
|
||||||
|
|
||||||
|
|
||||||
//== NAMESPACES ===============================================================
|
|
||||||
|
|
||||||
namespace OpenMesh {
|
|
||||||
|
|
||||||
|
|
||||||
//== IMPLEMENTATION ==========================================================
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//=============================================================================
|
|
||||||
} // namespace OpenMesh
|
|
||||||
//=============================================================================
|
|
||||||
@@ -1,103 +0,0 @@
|
|||||||
/* ========================================================================= *
|
|
||||||
* *
|
|
||||||
* OpenMesh *
|
|
||||||
* Copyright (c) 2001-2015, RWTH-Aachen University *
|
|
||||||
* Department of Computer Graphics and Multimedia *
|
|
||||||
* All rights reserved. *
|
|
||||||
* www.openmesh.org *
|
|
||||||
* *
|
|
||||||
*---------------------------------------------------------------------------*
|
|
||||||
* This file is part of OpenMesh. *
|
|
||||||
*---------------------------------------------------------------------------*
|
|
||||||
* *
|
|
||||||
* Redistribution and use in source and binary forms, with or without *
|
|
||||||
* modification, are permitted provided that the following conditions *
|
|
||||||
* are met: *
|
|
||||||
* *
|
|
||||||
* 1. Redistributions of source code must retain the above copyright notice, *
|
|
||||||
* this list of conditions and the following disclaimer. *
|
|
||||||
* *
|
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright *
|
|
||||||
* notice, this list of conditions and the following disclaimer in the *
|
|
||||||
* documentation and/or other materials provided with the distribution. *
|
|
||||||
* *
|
|
||||||
* 3. Neither the name of the copyright holder nor the names of its *
|
|
||||||
* contributors may be used to endorse or promote products derived from *
|
|
||||||
* this software without specific prior written permission. *
|
|
||||||
* *
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
|
|
||||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *
|
|
||||||
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
|
|
||||||
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER *
|
|
||||||
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, *
|
|
||||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *
|
|
||||||
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR *
|
|
||||||
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF *
|
|
||||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
|
|
||||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
|
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
|
|
||||||
* *
|
|
||||||
* ========================================================================= */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//=============================================================================
|
|
||||||
//
|
|
||||||
// CLASS newClass
|
|
||||||
//
|
|
||||||
//=============================================================================
|
|
||||||
#ifndef DOXY_IGNORE_THIS
|
|
||||||
#ifndef OPENMESH_NEWCLASS_HH
|
|
||||||
#define OPENMESH_NEWCLASS_HH
|
|
||||||
|
|
||||||
|
|
||||||
//== INCLUDES =================================================================
|
|
||||||
|
|
||||||
|
|
||||||
//== FORWARDDECLARATIONS ======================================================
|
|
||||||
|
|
||||||
|
|
||||||
//== NAMESPACES ===============================================================
|
|
||||||
|
|
||||||
namespace OpenMesh {
|
|
||||||
|
|
||||||
|
|
||||||
//== CLASS DEFINITION =========================================================
|
|
||||||
|
|
||||||
|
|
||||||
/** \class newClass newClass.hh <OpenMesh/.../newClass.hh>
|
|
||||||
|
|
||||||
Brief Description.
|
|
||||||
|
|
||||||
A more elaborate description follows.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class newClass
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
/// Default constructor
|
|
||||||
newClass() {}
|
|
||||||
|
|
||||||
/// Destructor
|
|
||||||
~newClass() {}
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
/// Copy constructor (not used)
|
|
||||||
newClass(const newClass& _rhs);
|
|
||||||
|
|
||||||
/// Assignment operator (not used)
|
|
||||||
newClass& operator=(const newClass& _rhs);
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
//=============================================================================
|
|
||||||
} // namespace OpenMesh
|
|
||||||
//=============================================================================
|
|
||||||
#endif // OPENMESH_NEWCLASS_HH defined
|
|
||||||
#endif // DOXY_IGNORE_THIS
|
|
||||||
//=============================================================================
|
|
||||||
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
A=`echo $1_ | tr '[:lower:]' '[:upper:]'`
|
|
||||||
|
|
||||||
sed -e s/newClass/$1/g -e s/NEWCLASS_/$A/g < newClass.cc > tmp_newClass.cc
|
|
||||||
sed -e s/newClass/$1/g -e s/NEWCLASS_/$A/g < newClass.hh > tmp_newClass.hh
|
|
||||||
|
|
||||||
mv -i tmp_newClass.cc $1.cc && echo $1.cc - ok
|
|
||||||
mv -i tmp_newClass.hh $1.hh && echo $1.hh - ok
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
A=`echo $1_ | tr '[:lower:]' '[:upper:]'`
|
|
||||||
|
|
||||||
sed -e s/newClass/$1/g -e s/NEWCLASS_/$A/g < newClassT.cc > tmp_newClass.cc
|
|
||||||
sed -e s/newClass/$1/g -e s/NEWCLASS_/$A/g < newClassT.hh > tmp_newClass.hh
|
|
||||||
|
|
||||||
mv -i tmp_newClass.cc $1.cc && echo $1.cc - ok
|
|
||||||
mv -i tmp_newClass.hh $1.hh && echo $1.hh - ok
|
|
||||||
Reference in New Issue
Block a user