Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:logging:tutorials-cpp [2014/09/19 07:44] – [Non-Default Contexts] winkler | doc:logging:tutorials-cpp [2014/09/19 15:13] – Added info on registering custom OWL namespaces winkler | ||
---|---|---|---|
Line 298: | Line 298: | ||
</ | </ | ||
produces the actual addition of the object reference to the current context (and creation of the object individual). The optional '' | produces the actual addition of the object reference to the current context (and creation of the object individual). The optional '' | ||
+ | |||
+ | |||
+ | === Registering custom OWL namespaces === | ||
+ | |||
+ | When using custom namespaces in the entity class definitions, | ||
+ | <code cpp> | ||
+ | bscl-> | ||
+ | </ | ||
+ | with both parameters representing your use-case, of course. | ||
+ | |||
+ | Custom namespaces can therefore be registered by calling | ||
+ | `void BeliefstateClient:: | ||
+ | where the shortcut is the short version of the namespace, i.e. `sim`, and the IRI is the actual URL you want to have associated. | ||
+ | ==== Sample Program ==== | ||
+ | |||
+ | A complete sample program depicting the '' |