Psi4
io.h
Go to the documentation of this file.
1 /*
2  * @BEGIN LICENSE
3  *
4  * Psi4: an open-source quantum chemistry software package
5  *
6  * Copyright (c) 2007-2017 The Psi4 Developers.
7  *
8  * The copyrights for code used from other parties are included in
9  * the corresponding files.
10  *
11  * This file is part of Psi4.
12  *
13  * Psi4 is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU Lesser General Public License as published by
15  * the Free Software Foundation, version 3.
16  *
17  * Psi4 is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public License along
23  * with Psi4; if not, write to the Free Software Foundation, Inc.,
24  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25  *
26  * @END LICENSE
27  */
28 
34 #ifndef _opt_io_h_
35 #define _opt_io_h_
36 
37 #include "package.h"
38 
39 #include <stddef.h>
40 
41 namespace opt {
42 
44 
45 bool opt_io_is_present(void);
46 void opt_io_remove(bool force=false);
48 void opt_io_close(int keep);
49 void opt_io_read_entry(const char *key, char *buffer, size_t size);
50 void opt_io_write_entry(const char *key, char *buffer, size_t size);
51 void opt_intco_dat_remove(void);
52 void opt_clean(void);
53 
54 }
55 
56 #endif
void opt_io_write_entry(const char *key, char *buffer, size_t size)
Definition: opt_data_io.cc:181
void opt_clean(void)
Definition: opt_data_io.cc:109
void status(const char *, std::string)
Definition: cchbar/status.cc:38
void opt_io_open(OPT_IO_FILE_STATUS status)
Definition: opt_data_io.cc:118
void opt_intco_dat_remove(void)
Definition: opt_data_io.cc:105
Definition: io.h:43
void opt_io_remove(bool force=false)
Definition: opt_data_io.cc:86
OPT_IO_FILE_STATUS
Definition: io.h:43
void opt_io_read_entry(const char *key, char *buffer, size_t size)
Definition: opt_data_io.cc:169
void opt_io_close(int keep)
Definition: opt_data_io.cc:153
Definition: io.h:43
bool opt_io_is_present(void)
Definition: opt_data_io.cc:63