Amesos Package Browser (Single Doxygen Collection)
Development
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
Amesos_NoCopiable.h
Go to the documentation of this file.
1
/*
2
// @HEADER
3
// ***********************************************************************
4
//
5
// Amesos: Direct Sparse Solver Package
6
// Copyright (2004) Sandia Corporation
7
//
8
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
9
// license for use of this work by or on behalf of the U.S. Government.
10
//
11
// This library is free software; you can redistribute it and/or modify
12
// it under the terms of the GNU Lesser General Public License as
13
// published by the Free Software Foundation; either version 2.1 of the
14
// License, or (at your option) any later version.
15
//
16
// This library is distributed in the hope that it will be useful, but
17
// WITHOUT ANY WARRANTY; without even the implied warranty of
18
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
// Lesser General Public License for more details.
20
//
21
// You should have received a copy of the GNU Lesser General Public
22
// License along with this library; if not, write to the Free Software
23
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
24
// USA
25
// Questions? Contact Michael A. Heroux (maherou@sandia.gov)
26
//
27
// ***********************************************************************
28
// @HEADER
29
*/
30
31
#ifndef AMESOS_NOCOPIABLE_H
32
#define AMESOS_NOCOPIABLE_H
33
34
#if defined(Amesos_SHOW_DEPRECATED_WARNINGS)
35
#ifdef __GNUC__
36
#warning "The Amesos package is deprecated"
37
#endif
38
#endif
39
50
class
Amesos_NoCopiable
51
{
52
public
:
54
Amesos_NoCopiable
() {}
55
57
~Amesos_NoCopiable
() {}
58
59
private
:
61
Amesos_NoCopiable
(
const
Amesos_NoCopiable
& rhs);
62
64
Amesos_NoCopiable
&
operator=
(
const
Amesos_NoCopiable
& rhs);
65
};
66
#endif
Amesos_NoCopiable::~Amesos_NoCopiable
~Amesos_NoCopiable()
Default destructor.
Definition:
Amesos_NoCopiable.h:57
Amesos_NoCopiable::Amesos_NoCopiable
Amesos_NoCopiable()
Default constructor.
Definition:
Amesos_NoCopiable.h:54
Amesos_NoCopiable::operator=
Amesos_NoCopiable & operator=(const Amesos_NoCopiable &rhs)
Copy destructor.
Amesos_NoCopiable
Amesos_NoCopiable: Simple class to prevent the usage of copy constructor and operator =...
Definition:
Amesos_NoCopiable.h:50
Generated on Thu Nov 21 2024 09:19:33 for Amesos Package Browser (Single Doxygen Collection) by
1.8.5