IMP  2.1.1
The Integrative Modeling Platform
filenames_manipulation.h File Reference

Generation of projections using the central section theorem Copyright 2007-2013 IMP Inventors. All rights reserved. More...

#include "IMP/base/exception.h"
#include "IMP/base_types.h"
#include <iostream>
#include <fstream>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/exception.hpp>
#include <boost/version.hpp>
+ Include dependency graph for filenames_manipulation.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Strings create_filenames (unsigned long number, String basic_name, String extension)
 
IMPEM2D_BEGIN_NAMESPACE Strings read_selection_file (String fn)
 Reads a selection file. More...
 

Function Documentation

Strings create_filenames ( unsigned long  number,
String  basic_name,
String  extension 
)

generates consecutive filenames: basic_name-i.extension Adds zeros at the front of the number when neccessary

Definition at line 49 of file filenames_manipulation.h.

IMPEM2D_BEGIN_NAMESPACE Strings read_selection_file ( String  fn)
Parameters
[in]fnName of the selection file. First column is are file names and second are 1 (file is selected) or 0 (file ignored)
Returns
List of the selected names.

Definition at line 27 of file filenames_manipulation.h.