RMF
FileConstHandle.h File Reference

Handle read/write of Model data from/to files. More...

#include <boost/current_function.hpp>
#include <boost/functional/hash.hpp>
#include <memory>
#include <iosfwd>
#include <limits>
#include <string>
#include <vector>
#include "BufferHandle.h"
#include "NodeConstHandle.h"
#include "RMF/ID.h"
#include "RMF/config.h"
#include "RMF/constants.h"
#include "RMF/enums.h"
#include "RMF/exceptions.h"
#include "RMF/infrastructure_macros.h"
#include "RMF/internal/SharedData.h"
#include "RMF/internal/errors.h"
#include "RMF/internal/shared_data_ranges.h"
#include "internal/SharedData.h"
#include "internal/shared_data_ranges.h"
#include "types.h"
+ Include dependency graph for FileConstHandle.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RMF::FileConstHandle
 A handle for a read-only RMF file. More...
 

Namespaces

 RMF
 The namespace for all functionality in the library.
 

Macros

#define RMF_FILE_CATCH(extra_info)
 
#define RMF_HDF5_ROOT_CONST_KEY_TYPE_METHODS(Traits, UCName)
 

Typedefs

typedef std::vector
< FileConstHandle > 
RMF::FileConstHandles
 Pass a list of them.
 

Functions

std::size_t RMF::hash_value (const FileConstHandle &t)
 Produce hash values for boost hash tables.
 
FileConstHandle RMF::open_rmf_buffer_read_only (BufferConstHandle buffer)
 
FileConstHandle RMF::open_rmf_file_read_only (std::string path)
 

Batch data access

These methods provide batch access to attribute data to try to reduce the overhead of repeated function calls.

The missing_value argument is a placeholder that can fill in for values which are not found in the respective node.

Note
These methods are experimental and subject to change.
Floats RMF::get_values (const NodeConstHandles &nodes, FloatKey k, Float missing_value=std::numeric_limits< float >::max())
 

Detailed Description

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file FileConstHandle.h.