18 std::map<std::string, std::shared_ptr<Common> >
children;
20 std::shared_ptr<Common>
self;
27 Common(std::shared_ptr<Common> parent, std::string uuid, std::string name, std::string description, std::string ontology =
"");
30 std::vector<std::string> fqid(
void);
31 std::shared_ptr<Common> operator[] (std::string fqid);
32 bool insert(std::string uuid, std::shared_ptr<Common>& child);
33 bool insert(std::string uuid,
Common* child);
34 bool remove(std::string uuid);
35 template<
typename T> T* cast(
void);
37 bool is_object(
void)
const;
38 bool is_variable(
void)
const;
39 bool is_function(
void)
const;
40 bool is_parameter(
void)
const;
43 virtual std::string
json(
void);
51 return dynamic_cast<T*
>(
self.get());
HTTP Resource base class.
std::map< std::string, std::shared_ptr< Common > > children
std::recursive_mutex mutex
std::shared_ptr< Common > parent
std::shared_ptr< Common > self
web::json::value Json
HTTP JSON.
web::http::http_request Request
HTTP Request.
web::http::http_response Response
HTTP Response.
void null_deleter(SOIL::Common *)