29 char p = (char)input.peek();
41 string* s = (
string*)
parse(input);
42 input >> std::ws >> c >> std::ws;
45 input >> std::ws >> c >> std::ws;
61 input >> std::ws >> c >> std::ws;
87 else if (p ==
'-' || std::isdigit(p))
118 std::cerr <<
"Error: unknown char(" << p <<
") in json input.\n";
137 assert(size <= INT_MAX);
139 allocate(1, static_cast<int>(size));
140 for (
size_t i = 0; i <
size; ++i)
double * v
pointer to the data
void add(value *id, value *other)
int allocated(void) const
Returns 1 (TRUE) if memory is allocated.
value * parse(istream &input)
void allocate(void)
Allocate dvector without allocating memory.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
unsigned int size() const
Get number of elements in array.
istream & operator>>(const istream &input, const d3_array &arr3)
Read values from input stream into arr3.
ostream & operator<<(const ostream &_s, preshowpoint p)
Description not yet available.
istream & parse(istream &input_json)
void deallocate(void)
Called by destructor to deallocate memory for a dvector object.