reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
34 if (N + CurrentPosition >= BufferCapacity) { 36 if (BufferCapacity < N + CurrentPosition) 37 BufferCapacity = N + CurrentPosition; 70 CurrentPosition = 0; 85 std::memmove(Buffer + CurrentPosition, R.begin(), Size); 86 CurrentPosition += Size; 92 Buffer[CurrentPosition++] = C; 129 size_t getCurrentPosition() const { return CurrentPosition; } 130 void setCurrentPosition(size_t NewPos) { CurrentPosition = NewPos; } 133 return CurrentPosition ? Buffer[CurrentPosition - 1] : '\0'; 133 return CurrentPosition ? Buffer[CurrentPosition - 1] : '\0'; 136 bool empty() const { return CurrentPosition == 0; } 139 char *getBufferEnd() { return Buffer + CurrentPosition - 1; }