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