#include <httpsvc.h>
Inheritance diagram for PServiceMacro:
Public Member Functions | |
PServiceMacro (const char *name, BOOL isBlock) | |
PServiceMacro (const PCaselessString &name, BOOL isBlock) | |
Comparison | Compare (const PObject &obj) const |
virtual PString | Translate (PHTTPRequest &request, const PString &args, const PString &block) const |
Protected Attributes | |
const char * | macroName |
BOOL | isMacroBlock |
PServiceMacro * | link |
Static Protected Attributes | |
static PServiceMacro * | list |
Friends | |
class | PServiceMacros_list |
PServiceMacro::PServiceMacro | ( | const char * | name, | |
BOOL | isBlock | |||
) |
PServiceMacro::PServiceMacro | ( | const PCaselessString & | name, | |
BOOL | isBlock | |||
) |
Comparison PServiceMacro::Compare | ( | const PObject & | obj | ) | const [virtual] |
Compare the two objects and return their relative rank. This function is usually overridden by descendent classes to yield the ranking according to the semantics of the object.
The default function is to use the CompareObjectMemoryDirect()# function to do a byte wise memory comparison of the two objects.
Reimplemented from PObject.
virtual PString PServiceMacro::Translate | ( | PHTTPRequest & | request, | |
const PString & | args, | |||
const PString & | block | |||
) | const [virtual] |
friend class PServiceMacros_list [friend] |
const char* PServiceMacro::macroName [protected] |
BOOL PServiceMacro::isMacroBlock [protected] |
PServiceMacro* PServiceMacro::link [protected] |
PServiceMacro* PServiceMacro::list [static, protected] |