Class TPostContent (unit PostCont)

Inherits from

TObject

Constructors


constructor Create(ContentLen: Integer);

Class methods

constructor CreateFromString(Str: String);

Add one to the count


Functions

destructor Destroy;

The query data starts after the ? in the query.

function ValueForKey(Key: String; Occurance: Word): String;


procedure FreeItems;

Add the last one

function GetCount: Word;


function GetKey(Index: Integer): String;


function GetValue(Index: Integer): String;

Free all items in the list

procedure ParseStream(MemStr: TMemoryStream);

See below

Properties

property Count : Word


property Key : String


property Value : String


Events

Variables

FList : TList;



Constructors


constructor Create(ContentLen: Integer);

Class methods


constructor CreateFromString(Str: String);

Add one to the count


Functions


destructor Destroy;

The query data starts after the ? in the query. If none is found, start at position 1. Convenient, since Pos returns 0 if not found.


function ValueForKey(Key: String; Occurance: Word): String;


procedure FreeItems;

Add the last one


function GetCount: Word;


function GetKey(Index: Integer): String;


function GetValue(Index: Integer): String;

Free all items in the list


procedure ParseStream(MemStr: TMemoryStream);

See below


Properties


property Count : Word


property Key : String


property Value : String


Events


Variables


FList : TList;