TPIE

2362a60
persist.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 2008, 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 
20 // Persistence flags for TPIE streams.
21 #ifndef _TPIE_PERSIST_H
22 #define _TPIE_PERSIST_H
23 
27 
28 // Get definitions for working with Unix and Windows
29 #include <tpie/portability.h>
30 
31 namespace tpie {
32 
37  enum TPIE_DEPRECATED_CLASS_B persistence {
45  PERSIST_READ_ONCE = 0
46  } TPIE_DEPRECATED_CLASS_C;
47 
48 } // tpie namespace
49 
50 #endif // _TPIE_PERSIST_H
PERSIST_DELETE
Delete the stream from the disk when it is destructed.
Definition: persist.h:39
This file contains a few deprecated definitions for legacy code.
PERSIST_PERSISTENT
Do not delete the stream from the disk when it is destructed.
Definition: persist.h:41