30 #ifndef GOOGLE_DATAFLOW_API_FLOATING_POINT_LIST_H_ 31 #define GOOGLE_DATAFLOW_API_FLOATING_POINT_LIST_H_ 33 #include "googleapis/base/macros.h" 34 #include "googleapis/client/data/jsoncpp_data.h" 35 #include "googleapis/strings/stringpiece.h" 83 return StringPiece(
"google_dataflow_api::FloatingPointList");
92 return Storage().isMember(
"elements");
99 MutableStorage()->removeMember(
"elements");
107 const Json::Value& storage = Storage(
"elements");
108 return client::JsonValueToCppValueHelper<client::JsonCppArray<double > >(storage);
120 Json::Value* storage = MutableStorage(
"elements");
121 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<double > >(storage);
128 #endif // GOOGLE_DATAFLOW_API_FLOATING_POINT_LIST_H_ void clear_elements()
Definition: floating_point_list.h:98
Definition: floating_point_list.h:49
const StringPiece GetTypeName() const
Definition: floating_point_list.h:82
bool has_elements() const
Definition: floating_point_list.h:91
Definition: approximate_progress.h:40
client::JsonCppArray< double > mutable_elements()
Definition: floating_point_list.h:119
const client::JsonCppArray< double > get_elements() const
Definition: floating_point_list.h:106
Definition: approximate_progress.cc:42