File Information
Library: JS/Bridge
Package: Bridging
Header: Poco/JS/Bridge/Serializer.h
Description
A helper class to keep a stack of JavaScript objects.
Member Summary
Member Functions: back, clear, empty, front, pop, push, size
Constructors
PersistentValueStack
explicit PersistentValueStack(
v8::Isolate * pIsolate
);
Destructor
~PersistentValueStack
Member Functions
back
v8::Global < V > & back();
back
const v8::Global < V > & back() const;
clear
void clear();
empty
bool empty() const;
front
v8::Global < V > & front();
front
const v8::Global < V > & front() const;
pop
void pop();
push
void push(
const v8::Local < V > & value
);
size
std::size_t size() const;
Variables
_pIsolate
v8::Isolate * _pIsolate;
_vector
std::vector < v8::Global < V >> _vector;