owlcpp
v0.3.3~
C++ library for working with OWL ontologies
|
#include <map_node_literal_crtpb.hpp>
Public Member Functions | |
Node_id const * | find_literal (std::string const &value, std::string const &dt_iri, std::string const &lang="") const |
find literal node | |
Node_id | insert_literal (std::string const &value, const Node_id dt_id, std::string const &lang="") |
Insert literal node. | |
Node_id | insert_literal (std::string const &value, std::string const &dt_iri, std::string const &lang="") |
Insert literal node. |
Enable interface for literal nodes. Base for CRTP (Curiously Recurring Template Pattern).
|
inline |
find literal node
value | literal node value |
dt_iri | datatype IRI |
lang | language |
|
inline |
Insert literal node.
value | |
dt_id | datatype node ID |
lang | language tag string for the literal node or "" if the language is not defined. The tag string format SHOULD be according to RFC 5646 (http://tools.ietf.org/html/rfc5646). This is not, however, currently enforced by the library. |
|
inline |
Insert literal node.
value | |
dt_iri | datatype IRI or empty string |
lang | language tag string for the literal node or "" if the language is not defined. The tag string format SHOULD be according to RFC 5646 (http://tools.ietf.org/html/rfc5646). This is not, however, currently enforced by the library. |