NeoPZ
Classes | Macros | Functions
TPZChunkVector.h File Reference

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"
Include dependency graph for TPZChunkVector.h:
This graph shows which files directly or indirectly include this file:

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 $ pow(2,--) $. 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)
 

Detailed Description

Free store vector implementation in chunks.

Definition in file TPZChunkVector.h.

Function Documentation

◆ WriteInternal()

template<typename T , typename std::enable_if< std::is_pointer< T >::value, int >::type * = nullptr>
void WriteInternal ( const T &  input,
TPZStream buf,
int  withclassid 
)