PServiceMacro Class Reference

#include <httpsvc.h>

Inheritance diagram for PServiceMacro:

PObject List of all members.

Public Member Functions

 PServiceMacro (const char *name, PBoolean isBlock)
 PServiceMacro (const PCaselessString &name, PBoolean isBlock)
Comparison Compare (const PObject &obj) const
virtual PString Translate (PHTTPRequest &request, const PString &args, const PString &block) const

Protected Attributes

const char * macroName
PBoolean isMacroBlock
PServiceMacrolink

Static Protected Attributes

static PServiceMacrolist

Friends

class PServiceMacros_list

Constructor & Destructor Documentation

PServiceMacro::PServiceMacro ( const char *  name,
PBoolean  isBlock 
)

PServiceMacro::PServiceMacro ( const PCaselessString name,
PBoolean  isBlock 
)


Member Function Documentation

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.

Returns:
LessThan, EqualTo or GreaterThan according to the relative rank of the objects.

Reimplemented from PObject.

virtual PString PServiceMacro::Translate ( PHTTPRequest &  request,
const PString args,
const PString block 
) const [virtual]


Friends And Related Function Documentation

friend class PServiceMacros_list [friend]


Member Data Documentation

const char* PServiceMacro::macroName [protected]

PBoolean PServiceMacro::isMacroBlock [protected]

PServiceMacro* PServiceMacro::link [protected]

PServiceMacro* PServiceMacro::list [static, protected]


The documentation for this class was generated from the following file:
Generated on Mon Sep 15 01:21:38 2008 for PTLib by  doxygen 1.5.1