Inspect the state of a a managed object database using the inspector protocol.
More...
|
virtual | ~InspectorClient () |
| Destroy the inspector client.
|
|
virtual void | setFollowRefs (bool enabled)=0 |
| Follow references for retrieved objects. More...
|
|
virtual void | setRecursive (bool enabled)=0 |
| Download the whole subtree rather than just the specific object for each query. More...
|
|
virtual void | addQuery (const std::string &subject, const modb::URI &uri)=0 |
| Query for a particular managed object. More...
|
|
virtual void | addClassQuery (const std::string &subject)=0 |
| Query for all managed objects of a particular type. More...
|
|
virtual void | execute ()=0 |
| Attempt to execute all queued inspector commands.
|
|
virtual void | dumpToFile (FILE *file)=0 |
| Dump the current MODB view to the specified file using the Opflex JSON wire format. More...
|
|
virtual size_t | loadFromFile (FILE *file)=0 |
| Load a set of managed objects from the given file into the inspector's MODB view in order to display them. More...
|
|
virtual void | prettyPrint (std::ostream &output, bool tree=true, bool includeProps=true, bool utf8=true)=0 |
| Pretty print the current MODB to the provided output stream. More...
|
|
Inspect the state of a a managed object database using the inspector protocol.
Can query for objects, dump the database state, and other simple tasks.
Use the client by queuing a list of commands, which will then be executed in sequence. Commands will operate to change the state of the client's view of the managed object database by querying the server. The client's view can then either be pretty-printed for viewing by a user or dumped to a file.