COOPY » Guide
version 0.6.5
|
00001 #ifndef COOPY_JSONPROPERTY 00002 #define COOPY_JSONPROPERTY 00003 00004 #include <coopy/Property.h> 00005 00006 #include <json/json.h> 00007 00008 namespace coopy { 00009 namespace store { 00010 class JsonProperty; 00011 } 00012 } 00013 00019 class coopy::store::JsonProperty { 00020 public: 00021 static bool add(Property& prop, const char *fname); 00022 static bool add(Property& prop, const std::string& fname) { 00023 return add(prop,fname.c_str()); 00024 } 00025 static bool add(Property& prop, Json::Value& root); 00026 }; 00027 00028 #endif 00029 00030