ConnectionIterator.cpp

Go to the documentation of this file.
00001 
00011 #include "ConnectionIterator.h"
00012 
00016 ConnectionIterator::ConnectionIterator()
00017 {
00018     theThreadSpecificRandomEngine.init();
00019     m_rnd_eng =theThreadSpecificRandomEngine.get();
00020 
00021     last_conn_idx.first = last_conn_idx.second = 0;
00022     last_conn_valid=false;
00023 }
00024 
00025 
00026 ConnectionIterator::~ConnectionIterator()
00027 {
00028 }
00029 
00030 
00031 bool ConnectionIterator::getIdx(size_t &src_idx, size_t &dst_idx )
00032 {
00033     src_idx = last_conn_idx.first;
00034     dst_idx = last_conn_idx.second;
00035 
00036     return last_conn_valid;
00037 }

Generated on Wed Jul 9 16:34:37 2008 for PCSIM by  doxygen 1.5.5