FlashGraph-ng
A new frontier in large-scale graph analysis and data mining
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
safs::data_loc_t Class Reference

#include <io_request.h>

Public Member Functions

 data_loc_t (file_id_t file_id, off_t off)
 
file_id_t get_file_id () const
 
off_t get_offset () const
 

Detailed Description

This class specifies a data location in SAFS. It includes a SAFS file ID and the location in the file.

Constructor & Destructor Documentation

safs::data_loc_t::data_loc_t ( file_id_t  file_id,
off_t  off 
)
inline

The constructor.

Parameters
file_idthe SAFS file.
offthe location in the file.

Member Function Documentation

file_id_t safs::data_loc_t::get_file_id ( ) const
inline

This method gets the SAFS file ID.

Returns
the SAFS file ID.
off_t safs::data_loc_t::get_offset ( ) const
inline

This method gets the location in the SAFS file.

Returns
the location.

The documentation for this class was generated from the following file: