TPIE
11a2c2d
stream_usage.h
Go to the documentation of this file.
1
// -*- mode: c++; tab-width: 4; indent-tabs-mode: t; c-file-style: "stroustrup"; -*-
2
// vi:set ts=4 sts=4 sw=4 noet :
3
// Copyright 2011, The TPIE development team
4
//
5
// This file is part of TPIE.
6
//
7
// TPIE is free software: you can redistribute it and/or modify it under
8
// the terms of the GNU Lesser General Public License as published by the
9
// Free Software Foundation, either version 3 of the License, or (at your
10
// option) any later version.
11
//
12
// TPIE is distributed in the hope that it will be useful, but WITHOUT ANY
13
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15
// License for more details.
16
//
17
// You should have received a copy of the GNU Lesser General Public License
18
// along with TPIE. If not, see <http://www.gnu.org/licenses/>
19
23
#ifndef __TPIE_STREAM_USAGE_H__
24
#define __TPIE_STREAM_USAGE_H__
25
26
namespace
tpie
{
27
28
enum
stream_usage
{
30
STREAM_USAGE_OVERHEAD
= 1,
32
STREAM_USAGE_BUFFER
,
34
STREAM_USAGE_CURRENT
,
36
STREAM_USAGE_MAXIMUM
,
38
STREAM_USAGE_SUBSTREAM
39
};
40
41
}
// namespace tpie
42
43
#endif // __TPIE_STREAM_USAGE_H__
tpie::STREAM_USAGE_CURRENT
@ STREAM_USAGE_CURRENT
Amount currently in use.
Definition:
stream_usage.h:34
tpie::STREAM_USAGE_BUFFER
@ STREAM_USAGE_BUFFER
Max amount ever used by a buffer.
Definition:
stream_usage.h:32
tpie::stream_usage
stream_usage
Definition:
stream_usage.h:28
tpie::STREAM_USAGE_MAXIMUM
@ STREAM_USAGE_MAXIMUM
Max amount that will ever be used.
Definition:
stream_usage.h:36
tpie::STREAM_USAGE_SUBSTREAM
@ STREAM_USAGE_SUBSTREAM
Maximum additional amount used by each substream created.
Definition:
stream_usage.h:38
tpie::STREAM_USAGE_OVERHEAD
@ STREAM_USAGE_OVERHEAD
Overhead of the object without the buffer.
Definition:
stream_usage.h:30
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