Files Classes Functions Hierarchy
00001 #include <pointsgraphtimeD2.h> 00002 00003 00004 /* 00005 pointsgraphtimeD2(uintc N_, doublec xaxislength_) 00006 : N(N_), xaxislength(xaxislength_) 00007 { 00008 Ncurrent=0; 00009 00010 } 00011 */ 00012 00013 void pointsgraphtimeD2::push_back(doublec y) 00014 { 00015 if (Ncurrent==N) 00016 { 00017 ytime.popfront(); 00018 ytime.push_back(y); 00019 return; 00020 } 00021 assert(Ncurrent<=N); 00022 00023 ++Ncurrent; 00024 ytime.push_back(y); 00025 } 00026 00027 00028 00029
1.5.8