TPIE
2362a60
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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 <iostream>
30
31
namespace
tpie {
32
33
enum
resource_type {
34
// These should be ordered by when the resource
35
// assigned at runtime
36
FILES,
37
MEMORY,
38
39
// Special values for internal use
40
TOTAL_RESOURCE_TYPES,
41
NO_RESOURCE
42
};
43
44
std::ostream & operator<<(std::ostream & os,
const
resource_type t);
45
46
}
//namespace tpie
47
48
#endif //__TPIE_RESOURCES_H__
from TPIE 2362a60 (
browse source
). Generated on Fri Mar 31 2017 00:01:16 by
Doxygen
1.8.7