Teuchos - Trilinos Tools Package
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
parser
src
Teuchos_TableDecl.hpp
1
// @HEADER
2
// *****************************************************************************
3
// Teuchos: Common Tools Package
4
//
5
// Copyright 2004 NTESS and the Teuchos contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#ifndef TEUCHOS_TABLE_DECL_HPP
11
#define TEUCHOS_TABLE_DECL_HPP
12
13
#include <vector>
14
15
namespace
Teuchos {
16
17
template
<
typename
T>
18
struct
Table {
19
std::vector<T> data;
20
int
ncols;
21
typedef
typename
std::vector<T>::reference Ref;
22
typedef
typename
std::vector<T>::const_reference ConstRef;
23
Table();
24
Table(
int
ncols_init,
int
nrows_reserve);
25
};
26
27
}
28
29
#endif
Generated on Fri Dec 20 2024 09:21:32 for Teuchos - Trilinos Tools Package by
1.8.5