OpenStructure
|
#include <linear_indexer.hh>
Public Member Functions | |
LinearIndexer () | |
void | Save (const String &filename) const |
void | AddAssembly (const String &name, const std::vector< String > &chain_names, const std::vector< uint > &chain_lengths) |
void | RemoveAssembly (const String &name) |
std::vector< String > | GetAssemblies () const |
std::vector< String > | GetChainNames (const String &name) const |
std::vector< uint > | GetChainLengths (const String &name) const |
std::pair< uint64_t, uint64_t > | GetDataRange (const String &name) const |
std::pair< uint64_t, uint64_t > | GetDataRange (const String &name, const String &chain_name) const |
uint64_t | GetNumResidues () const |
bool | operator== (const LinearIndexer &other) const |
bool | operator!= (const LinearIndexer &other) const |
Static Public Member Functions | |
static LinearIndexerPtr | Load (const String &filename) |
Definition at line 58 of file linear_indexer.hh.
|
inline |
Definition at line 62 of file linear_indexer.hh.
void AddAssembly | ( | const String & | name, |
const std::vector< String > & | chain_names, | ||
const std::vector< uint > & | chain_lengths | ||
) |
std::vector<String> GetAssemblies | ( | ) | const |
|
inline |
Definition at line 85 of file linear_indexer.hh.
|
static |
|
inline |
Definition at line 94 of file linear_indexer.hh.
|
inline |
Definition at line 87 of file linear_indexer.hh.
void RemoveAssembly | ( | const String & | name | ) |
void Save | ( | const String & | filename | ) | const |