llvm::SmallVectorBase Class Reference
SmallVectorBase - This is all the non-templated stuff common to all SmallVectors.
More...
#include <SmallVector.h>
List of all members.
Classes |
union | U |
Public Member Functions |
bool | empty () const |
Protected Member Functions |
| SmallVectorBase (size_t Size) |
bool | isSmall () const |
| isSmall - Return true if this is a smallvector which has not had dynamic memory allocated for it.
|
size_t | size_in_bytes () const |
| size_in_bytes - This returns size()*sizeof(T).
|
size_t | capacity_in_bytes () const |
| capacity_in_bytes - This returns capacity()*sizeof(T).
|
void | grow_pod (size_t MinSizeInBytes, size_t TSize) |
| grow_pod - This is an implementation of the grow() method which only works on POD-like datatypes and is out of line to reduce code duplication.
|
Protected Attributes |
void * | BeginX |
void * | EndX |
void * | CapacityX |
union llvm::SmallVectorBase::U | FirstEl |
Detailed Description
SmallVectorBase - This is all the non-templated stuff common to all SmallVectors.
Constructor & Destructor Documentation
llvm::SmallVectorBase::SmallVectorBase |
( |
size_t |
Size |
) |
[inline, protected] |
Member Function Documentation
size_t llvm::SmallVectorBase::capacity_in_bytes |
( |
|
) |
const [inline, protected] |
capacity_in_bytes - This returns capacity()*sizeof(T).
bool llvm::SmallVectorBase::empty |
( |
|
) |
const [inline] |
void llvm::SmallVectorBase::grow_pod |
( |
size_t |
MinSizeInBytes, |
|
|
size_t |
TSize | |
|
) |
| | [protected] |
grow_pod - This is an implementation of the grow() method which only works on POD-like datatypes and is out of line to reduce code duplication.
bool llvm::SmallVectorBase::isSmall |
( |
|
) |
const [inline, protected] |
isSmall - Return true if this is a smallvector which has not had dynamic memory allocated for it.
size_t llvm::SmallVectorBase::size_in_bytes |
( |
|
) |
const [inline, protected] |
size_in_bytes - This returns size()*sizeof(T).
Member Data Documentation
The documentation for this class was generated from the following files: