Example #1
0
 uint32_t data_type_id() {
     return ei->TypeId();
 }
Example #2
0
 void update(T d) {
     ei->Data() = sae::serialization::convert_to_string<T>(d);
 }
Example #3
0
 /* return the data rank of this vertex */
 std::string data_type_name() {
     return ei->TypeName();
 }
Example #4
0
 T parse() {
     T ret = sae::serialization::convert_from_string<T>(ei->Data());
     return ret;
 }
Example #5
0
 vertex_type target() const {
     return vertex_type(std::move(ei->Target()));
 }
Example #6
0
 vertex_type source() const {
     return vertex_type(std::move(ei->Source()));
 }
Example #7
0
 edge_data_type& data() {
     return *(edge_data_type*) ei->Data();
 }
Example #8
0
 const edge_data_type& data() const {
     return *(edge_data_type*) ei->Data();
 }