NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Private Attributes | List of all members
nest::Modelrangemanager Class Reference

#include <modelrangemanager.h>

Public Member Functions

 Modelrangemanager ()
 
void add_range (index model, index first_gid, index last_gid)
 
bool is_in_range (index gid) const
 
long_t get_model_id (index gid)
 
bool model_in_use (index i) const
 
void clear ()
 
void print () const
 
const modelrangeget_range (index gid) const
 

Private Attributes

std::vector< modelrangemodelranges_
 
index first_gid_
 
index last_gid_
 

Constructor & Destructor Documentation

nest::Modelrangemanager::Modelrangemanager ( )

Member Function Documentation

void nest::Modelrangemanager::add_range ( index  model,
index  first_gid,
index  last_gid 
)
void nest::Modelrangemanager::clear ( )

References modelranges_.

Referenced by nest::Network::destruct_nodes_().

long_t nest::Modelrangemanager::get_model_id ( index  gid)
const modelrange & nest::Modelrangemanager::get_range ( index  gid) const
bool nest::Modelrangemanager::is_in_range ( index  gid) const
inline
bool nest::Modelrangemanager::model_in_use ( index  i) const

References modelranges_.

Referenced by nest::Network::model_in_use().

void nest::Modelrangemanager::print ( ) const

Member Data Documentation

index nest::Modelrangemanager::first_gid_
private

Referenced by add_range(), and is_in_range().

index nest::Modelrangemanager::last_gid_
private

Referenced by add_range(), and is_in_range().

std::vector<modelrange> nest::Modelrangemanager::modelranges_
private

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