IMP logo
IMP Reference Guide  develop.cb6747d2d1,2024/03/28
The Integrative Modeling Platform
file.h File Reference

Handling of file input/output. More...

#include <IMP/kernel_config.h>
#include "exception.h"
#include "internal/ifile.h"
#include "Pointer.h"
#include "Object.h"
#include "RAII.h"
#include "raii_macros.h"
#include "InputAdaptor.h"
#include "value_macros.h"
#include "check_macros.h"
#include <memory>
#include <fstream>
#include <iostream>
+ Include dependency graph for file.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IMP::SetLogTarget
 Temporarily set log target. More...
 
class  IMP::TextInput
 
class  IMP::TextOutput
 

Namespaces

 IMP
 Base functionality and abstract base classes for representation, scoring and sampling.
 

Typedefs

typedef IMP::Vector< TextInput > IMP::TextInputs
 
typedef IMP::Vector< TextOutput > IMP::TextOutputs
 

Functions

TextOutput IMP::create_temporary_file (std::string prefix="imp_temp", std::string suffix="")
 Create a temporary file. The path can be extracted from the TextOutput. More...
 
std::string IMP::create_temporary_file_name (std::string prefix="imp_temp", std::string suffix="")
 Create a temporary file. More...
 
std::string IMP::get_absolute_path (std::string file)
 Convert a possibly relative path to an absolute path. More...
 
TextOutput IMP::get_log_target ()
 
std::string IMP::get_relative_path (std::string base, std::string relative)
 Return a path to a file relative to another file. More...
 
void IMP::set_log_target (TextOutput l)
 Set the target for the log. More...
 

Detailed Description

Handling of file input/output.

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file file.h.