|
ICatalog |
If this is also an ICatalog, call the appropriate methods. - Todo:
- Should be moved to a new SCatalog class.
|
status_t | AddEntry (const SString &name, const SValue &entry) const |
status_t | RemoveEntry (const SString &name) const |
status_t | RenameEntry (const SString &entry, const SString &name) const |
Bookkeeping |
Creation, destruction, copying, comparing, etc.
|
SValue | CollapsedNode () const |
| Retrieve the SValue mappings being used.
|
status_t | ErrorCheck () const |
sptr< INode > | Node () const |
| Retrieve the INode object being used.
|
bool | operator!= (const SNode &o) const |
| Retrieve the SValue mappings being used.
|
bool | operator< (const SNode &o) const |
| Retrieve the SValue mappings being used.
|
bool | operator<= (const SNode &o) const |
| Retrieve the SValue mappings being used.
|
SNode & | operator= (const SNode &o) |
| Replace this SNode with o.
|
bool | operator== (const SNode &o) const |
| Retrieve the SValue mappings being used.
|
bool | operator> (const SNode &o) const |
| Retrieve the SValue mappings being used.
|
bool | operator>= (const SNode &o) const |
| Retrieve the SValue mappings being used.
|
| SNode (const SNode &node) |
| Copy from another SNode.
|
| SNode (const sptr< INode > &node) |
| Initialize directly from an INode.
|
| SNode (const sptr< IBinder > &binder) |
| Retrieve a node from an IBinder, casting to an INode interface.
|
| SNode (const SValue &value) |
| Retrieve a node from a generic SValue.
|
| SNode (const SContext &context, const SString &path, uint32_t node_flags=0) |
| Retrieve a node from the given path in context.
|
| SNode () |
| Create a new, empty node.
|
status_t | StatusCheck () const |
| Returns B_OK if we hold a value INode or SValue of mappings.
|
| ~SNode () |
| Release reference on INode.
|
Path Walking |
Call INode::Walk() to resolve a path. If this SNode contains a collapsed SValue, walk through that instead. These functions take care of repeatedly calling INode::Walk() until the path is fully resolved or an error occurs.
|
SValue | Walk (SString *path, status_t *outErr, uint32_t flags=INode::REQUEST_DATA) const |
SValue | Walk (const SString &path, status_t *outErr, uint32_t flags=INode::REQUEST_DATA) const |
SValue | Walk (SString *path, uint32_t flags=INode::REQUEST_DATA) const |
SValue | Walk (const SString &path, uint32_t flags=INode::REQUEST_DATA) const |