TPIE
11a2c2d
resources.h
Go to the documentation of this file.
1
// -*- mode: c++; tab-width: 4; indent-tabs-mode: t; eval: (progn (c-set-style "stroustrup") (c-set-offset 'innamespace 0)); -*-
2
// vi:set ts=4 sts=4 sw=4 noet :
3
//
4
// Copyright 2016, The TPIE development team
5
//
6
// This file is part of TPIE.
7
//
8
// TPIE is free software: you can redistribute it and/or modify it under
9
// the terms of the GNU Lesser General Public License as published by the
10
// Free Software Foundation, either version 3 of the License, or (at your
11
// option) any later version.
12
//
13
// TPIE is distributed in the hope that it will be useful, but WITHOUT ANY
14
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16
// License for more details.
17
//
18
// You should have received a copy of the GNU Lesser General Public License
19
// along with TPIE. If not, see <http://www.gnu.org/licenses/>
20
25
26
#ifndef __TPIE_RESOURCES_H__
27
#define __TPIE_RESOURCES_H__
28
29
#include <iosfwd>
30
#include <tpie/tpie_export.h>
31
32
namespace
tpie
{
33
34
enum
resource_type {
35
// These should be ordered by when the resource
36
// assigned at runtime
37
FILES,
38
MEMORY,
39
40
// Special values for internal use
41
TOTAL_RESOURCE_TYPES,
42
NO_RESOURCE
43
};
44
45
TPIE_EXPORT std::ostream & operator<<(std::ostream & os,
const
resource_type t);
46
47
}
//namespace tpie
48
49
#endif //__TPIE_RESOURCES_H__
tpie
Definition:
access_type.h:26
from TPIE 11a2c2d (
browse source
). Generated on Tue Jun 8 2021 12:44:18 by
Doxygen
1.8.17