Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:logging:tutorials-cpp [2014/09/19 07:45] – [Non-Default Contexts] winkler | doc:logging:tutorials-cpp [2014/09/19 15:15] – [Non-Default Contexts] winkler | ||
---|---|---|---|
Line 162: | Line 162: | ||
The same accounts for the '' | The same accounts for the '' | ||
<code pseudo> | <code pseudo> | ||
- | void Context:: | + | void Context:: |
</ | </ | ||
The success flag is by default set to '' | The success flag is by default set to '' | ||
Line 188: | Line 188: | ||
<code cpp> | <code cpp> | ||
Context* ctxContext = ctxMain-> | Context* ctxContext = ctxMain-> | ||
- | ctxContext-> | + | ctxContext-> |
</ | </ | ||
Line 300: | Line 300: | ||
+ | === 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 ==== | ==== Sample Program ==== | ||
A complete sample program depicting the '' | A complete sample program depicting the '' |