class PStringToString: public PStringDictionary

This is a dictionary collection class of PString objects, keyed by another string.

Inheritance:


Public Classes

[more]struct Initialiser
Structure for static array initialiser for class.

Public Methods

[more] PStringToString ( PINDEX count, const Initialiser * init, BOOL caselessKeys = FALSE, BOOL caselessValues = FALSE )
Initialise the string dictionary of strings from the static array.


Inherited from PStringDictionary:

Public

Construction

Overrides from class PObject

New functions for class


Inherited from PAbstractDictionary:

Public

Overrides from class PCollection


Inherited from PHashTable:

Protected

Overrides from class PContainer


Inherited from PCollection:

Public

Common functions for collections


Inherited from PContainer:

Public

Common functions for containers

Protected Methods

ovirtual void DestroyContents()
ovirtual void AssignContents(const PContainer & c)
ovoid CopyContents(const PContainer & c)
ovoid CloneContents(const PContainer * src)
ovoid Destruct()


Inherited from PObject:

Public

Run Time Type functions

Comparison functions

I/O functions

Miscellaneous functions


Documentation

This is a dictionary collection class of PString objects, keyed by another string. It has all the usual functions for a collection, with the object types set to PString pointers.

In addition some addition functions are added that take a const PString reference instead of a pointer as most standard collection functions do. This is more convenient for when string expressions are used as parameters to function in the collection.

See the PAbstractDictionary and PStringDictionary classes and PDECLARE_DICTIONARY and PDECLARE_STRING_DICTIONARY macros for more information.

ostruct Initialiser
Structure for static array initialiser for class.

oconst char* key
String key for string.

oconst char* value
String value for string.

o PStringToString( PINDEX count, const Initialiser * init, BOOL caselessKeys = FALSE, BOOL caselessValues = FALSE )
Initialise the string dictionary of strings from the static array.
Parameters:
count - Count of strings in initialiser array
init - Array of Initialiser structures
caselessKeys - New keys are to be PCaselessStrings
caselessValues - New values are to be PCaselessStrings


Direct child classes:
PMIMEInfo

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.