|
Objectively 1.0.0
Ultra-lightweight object oriented framework for GNU C.
|
#include <URL.h>
Uniform Resource Locators (RFC 3986).
Properties | |
| String * | fragment |
| The fragment. More... | |
| String * | host |
| The host. More... | |
| Object | object |
| The superclass. More... | |
| String * | path |
| The path. More... | |
| unsigned short | port |
| The port. More... | |
| String * | query |
| The query. More... | |
| String * | scheme |
| The scheme, or protocol. More... | |
| String * | urlString |
| The URL String. More... | |
Properties inherited from Object | |
| Class * | clazz |
| Every instance of Object begins with a pointer to its Class. More... | |
Methods | |
| Class * | _URL (void) |
| The URL archetype. More... | |
| URL * | baseURL (const URL *self) |
| URL * | initWithCharacters (URL *self, const char *chars) |
| Initializes this URL with the specified characters. More... | |
| URL * | initWithString (URL *self, const String *string) |
| Initializes this URL with the specified String. More... | |
| Array * | pathComponents (const URL *self) |
Methods inherited from Object | |
| Class * | _Object (void) |
| The Object archetype. More... | |
| Object * | copy (const Object *self) |
| Creates a shallow copy of this Object. More... | |
| void | dealloc (Object *self) |
| Frees all resources held by this Object. More... | |
| String * | description (const Object *self) |
| int | hash (const Object *self) |
| Object * | init (Object *self) |
| Initializes this Object. More... | |
| _Bool | isEqual (const Object *self, const Object *other) |
| Tests equality of the other Object. More... | |
| _Bool | isKindOfClass (const Object *self, const Class *clazz) |
| Tests for Class hierarchy membership. More... | |
Protected Attributes | |
| URLInterface * | interface |
| The interface. More... | |
Protected Attributes inherited from Object | |
| ObjectInterface * | interface |
| The interface. More... | |
| Class * _URL | ( | void | ) |
The URL archetype.
Definition at line 248 of file URL.c.
| self | The URL. |
Definition at line 108 of file URL.c.
Initializes this URL with the specified characters.
NULL on error. Definition at line 136 of file URL.c.
| self | The URL. |
path components of this URL. Definition at line 210 of file URL.c.