17 using std::ostringstream;
36 virtual std::string
str()
const = 0;
55 std::string
str()
const
73 std::string
str()
const
77 size_t size =
_value.size() - 2;
78 for (
size_t i = 0; i < size; i += 2)
82 ret +=
_value[i + 1]->str();
85 ret +=
_value[size]->str();
87 ret +=
_value[size + 1]->str();
108 size_t size =
_value.size() - 1;
109 for (
size_t i = 0; i < size; ++i)
114 ret +=
_value[size]->str();
120 {
_value.push_back(other); }
160 {
return _value ?
"true" :
"false"; }
void add(value *id, value *other)
value * get_value() const
virtual std::string str() const =0
value * parse(istream &input)
value * get_value() const
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.
std::string get_value() const