---
title: getCapacityIncrement
framework: kernel
role: pseudoSymbol
path: kernel/oscollection/1808233-getcapacityincrement
---

# getCapacityIncrement

Returns the storage increment of the collection.

## Declaration

```occ
virtual unsigned int getCapacityIncrement() const = 0; 
```

## Return Value

Return Value The storage increment of the collection.

## Overview

Overview Subclasses must implement this pure virtual member function. Most collection subclasses allocate their storage in multiples of the capacity increment. See ensureCapacity for how the capacity increment is used.

## See Also

### Miscellaneous

- [copyCollection](kernel/oscollection/1808206-copycollection.md)
- [ensureCapacity](kernel/oscollection/1808212-ensurecapacity.md)
- [flushCollection](kernel/oscollection/1808219-flushcollection.md)
- [getCapacity](kernel/oscollection/1808225-getcapacity.md)
- [getCount](kernel/oscollection/1808238-getcount.md)
- [getNextObjectForIterator](kernel/oscollection/1808244-getnextobjectforiterator.md)
- [haveUpdated](kernel/oscollection/1808248-haveupdated.md)
- [init](kernel/oscollection/1808252-init.md)
- [initIterator](kernel/oscollection/1808258-inititerator.md)
- [iteratorSize](kernel/oscollection/1808262-iteratorsize.md)
- [setCapacityIncrement](kernel/oscollection/1808267-setcapacityincrement.md)
