16 using std::runtime_error;
19 using namespace hippodraw;
25 m_has_filled ( false )
33 m_has_filled ( false )
39 m_capacity ( nt.m_capacity ),
40 m_next_row ( nt.m_next_row ),
41 m_has_filled ( nt.m_has_filled )
49 m_has_filled ( false )
57 m_has_filled ( false )
82 addRow (
const std::vector< double > & v )
96 if (
empty () ==
false ) {
97 const string what (
"CircularBuffer: Attempt to set the capacity of "
98 "non-empty buffer is not allowed" );
99 throw runtime_error ( what );