Go to the documentation of this file.
54 elements.push_back(
value);
80 if (
index >= elements.size())
82 throw LocalException(
"Out of range.");
85 elements.erase(elements.begin() +
index);
90 return elements.size();
std::shared_ptr< JsonArray > JsonArrayPtr
std::shared_ptr< JsonWriter > JsonWriterPtr
JsonArrayPtr toSharedPtr() const
double a(double t, double a0, double j)
std::shared_ptr< Value > value()
void writeJson(const JsonWriterPtr &writer) override
void add(const JsonDataPtr &value)
double v(double t, double v0, double a0, double j)
std::shared_ptr< JsonData > JsonDataPtr
JsonDataPtr clone() override
This file offers overloads of toIce() and fromIce() functions for STL container types.
void set(uint index, const JsonDataPtr &value)