NeoPZ
|
Free store vector implementation in chunks. More...
#include "pzmanvector.h"
#include "pzerror.h"
#include "Hash/TPZHash.h"
#include "TPZSavable.h"
#include <type_traits>
#include <stdlib.h>
#include <stddef.h>
#include "TPZStream.h"
Go to the source code of this file.
Classes | |
class | TPZChunkVector< T, EXP > |
class | TPZChunkVectorIterator< is_const, T, EXP > |
class | TPZChunkVector< T, EXP > |
Macros | |
#define | DEFAULTNUMBEROFCHUNKS |
Default number of elements which will be allocated in the chunk vector. More... | |
#define | DEFAULTCHUNKEXPONENT |
Default number of elements in each chunk is . More... | |
Functions | |
template<typename T , typename std::enable_if< std::is_pointer< T >::value, int >::type * = nullptr> | |
void | ReadInternal (T &output, TPZStream &buf, void *context) |
An object of this class implements a vector which allocates objects by chunks. Utility. More... | |
template<typename T , typename std::enable_if< std::is_pointer< T >::value, int >::type * = nullptr> | |
void | WriteInternal (const T &input, TPZStream &buf, int withclassid) |
Free store vector implementation in chunks.
Definition in file TPZChunkVector.h.
void WriteInternal | ( | const T & | input, |
TPZStream & | buf, | ||
int | withclassid | ||
) |
Definition at line 156 of file TPZChunkVector.h.
References input, TPZStream::Write(), and TPZPersistenceManager::WritePointer().
Referenced by TPZAdmChunkVector< TPZGeoEl *>::Write(), and TPZChunkVector< TPZGraphNode, 10 >::Write().