OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions
LinearIndexer Class Reference

#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< StringGetAssemblies () const
 
std::vector< StringGetChainNames (const String &name) const
 
std::vector< uintGetChainLengths (const String &name) const
 
std::pair< uint64_t, uint64_tGetDataRange (const String &name) const
 
std::pair< uint64_t, uint64_tGetDataRange (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)
 

Detailed Description

Definition at line 58 of file linear_indexer.hh.

Constructor & Destructor Documentation

LinearIndexer ( )
inline

Definition at line 62 of file linear_indexer.hh.

Member Function Documentation

void AddAssembly ( const String name,
const std::vector< String > &  chain_names,
const std::vector< uint > &  chain_lengths 
)
std::vector<String> GetAssemblies ( ) const
std::vector<uint> GetChainLengths ( const String name) const
std::vector<String> GetChainNames ( 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
inline

Definition at line 85 of file linear_indexer.hh.

static LinearIndexerPtr Load ( const String filename)
static
bool operator!= ( const LinearIndexer other) const
inline

Definition at line 94 of file linear_indexer.hh.

bool operator== ( const LinearIndexer other) const
inline

Definition at line 87 of file linear_indexer.hh.

void RemoveAssembly ( const String name)
void Save ( const String filename) const

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