Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:logging:tutorials-cpp [2014/09/19 15:13] – Added info on registering custom OWL namespaces winkler | doc:logging:tutorials-cpp [2014/09/19 15:19] (current) – [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 309: | Line 309: | ||
Custom namespaces can therefore be registered by calling | 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. | + | where the shortcut is the short version of the namespace, i.e. '' |
==== Sample Program ==== | ==== Sample Program ==== | ||
A complete sample program depicting the '' | A complete sample program depicting the '' |