Function
save
This functions saves an index to disk.
Include Headers
seqan/index.h
Parameters
The index to be saved to disk. Types: Index | |
C-style character string containing the file name. | |
The combination of flags defining how the file should be opened. Default: Remarks: To open a file read-only, write-only or to read and write use To create or overwrite a file add To append a file if existing add To circumvent problems, files are always opened in binary mode. |
Return Values
A bool which is true on success.
Member of
Examples
The following code shows how the function open is used with indices.
File "index_open_save.cpp"
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 |
1
SeqAn - Sequence Analysis Library - www.seqan.de