IMP  2.3.1
The Integrative Modeling Platform
filenames_manipulation.h File Reference

Generation of projections using the central section theorem Copyright 2007-2014 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...
 

Detailed Description

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

Definition in file filenames_manipulation.h.

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 necessary

Definition at line 48 of file filenames_manipulation.h.

IMPEM2D_BEGIN_NAMESPACE Strings read_selection_file ( String  fn)

Reads a selection file.

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.