Changeset 198 for XMLIO_V2/dev/dev_rv/src/xmlio/linear_buffer.cpp
- Timestamp:
- 05/19/11 19:06:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/xmlio/linear_buffer.cpp
r196 r198 34 34 35 35 void CLinearBuffer::clear(void) 36 { this->bdata.clear(); this->p_write = 0; } 37 36 { 37 this->bdata.clear(); 38 //SuperClass::fillData('\0', SuperClass::getSize(), 0); 39 this->p_write = 0; 40 } 41 42 //--------------------------------------------------------------- 43 38 44 StdSize CLinearBuffer::getUsedSize(void) const 39 { return (this->p_write); } 40 45 { 46 return (this->p_write); 47 } 48 49 //--------------------------------------------------------------- 50 41 51 StdSize CLinearBuffer::getUnusedSize(void) const 42 { return (SuperClass::getSize() - this->getUsedSize()); } 52 { 53 return (SuperClass::getSize() - this->getUsedSize()); 54 } 43 55 44 56 //---------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.