Public Member Functions |
|
| Xrl (const string &protocol, const string &protocol_target, const string &command, const XrlArgs &args) |
| | Construct an Xrl.
|
|
| Xrl (const string &target, const string &command, const XrlArgs &args) |
| | Construct an Xrl (with implicit finder protocol).
|
|
| Xrl (const string &protocol, const string &protocol_target, const string &command) |
| | Construct an Xrl that does not have an argument list.
|
|
| Xrl (const string &target, const string &command) |
| | Construct an Xrl that does not have an argument list.
|
|
| Xrl (const char *target, const char *command) |
| | Construct an Xrl that does not have an argument list.
|
|
| Xrl (const char *xrl_c_str) throw (InvalidString) |
| | Construct an Xrl object from the string representation of Xrl.
|
|
| Xrl (const Xrl &xrl) |
|
Xrl & | operator= (const Xrl &rhs) |
|
string | str () const |
| | Render Xrl as a string.
|
| const string & | protocol () const |
| const string & | target () const |
| const string & | string_no_args () const |
| const string & | command () const |
|
XrlArgs & | args () |
| | Retrieve list of arguments associated with the XRL.
|
|
const XrlArgs & | args () const |
| | Retrieve list of arguments associated with the XRL.
|
| bool | operator== (const Xrl &x) const |
| | Test the equivalence of two XRL's.
|
| bool | is_resolved () const |
|
size_t | packed_bytes () const |
| | Get number of bytes needed to pack XRL into a serialized byte form.
|
| size_t | pack (uint8_t *buffer, size_t buffer_bytes) const |
| | Pack XRL into a byte array.
|
| size_t | unpack (const uint8_t *buffer, size_t buffer_bytes) |
| | Unpack XRL from serialized byte array.
|
|
void | set_args (const Xrl &x) const |
|
size_t | fill (const uint8_t *buffer, size_t buffer_bytes) |
|
bool | to_finder () const |
|
bool | resolved () const |
|
void | set_resolved (bool r) const |
|
ref_ptr< XrlPFSender > | resolved_sender () const |
|
void | set_resolved_sender (ref_ptr< XrlPFSender > &s) const |
|
void | set_target (const char *target) |
Static Public Member Functions |
|
static size_t | unpack_command (string &cmd, const uint8_t *in, size_t len) |
Private Member Functions |
|
const char * | parse_xrl_path (const char *xrl_path) |
|
void | clear_cache () |
|
void | copy (const Xrl &xrl) |
Private Attributes |
|
string | _protocol |
|
string | _target |
|
string | _command |
|
XrlArgs | _args |
|
string | _string_no_args |
|
XrlAtom * | _sna_atom |
|
size_t | _packed_bytes |
|
XrlArgs * | _argp |
|
int | _to_finder |
|
bool | _resolved |
|
ref_ptr< XrlPFSender > | _resolved_sender |
Static Private Attributes |
|
static const string | _finder_protocol = "finder" |