Pajdeg  0.2.2
Pajdeg
Macros | Functions
PDDictionary.h File Reference
#include "PDDefines.h"

Go to the source code of this file.

Macros

#define PDDictionaryGetString(d, k)   PDDictionaryGetTyped(d,k,PDInstanceTypeString)
 
#define PDDictionaryGetArray(d, k)   PDDictionaryGetTyped(d,k,PDInstanceTypeArray)
 
#define PDDictionaryGetDictionary(d, k)   PDDictionaryGetTyped(d,k,PDInstanceTypeDict)
 
#define PDDictionaryGetReference(d, k)   PDDictionaryGetTyped(d,k,PDInstanceTypeRef)
 
#define PDDictionaryGetObject(d, k)   PDDictionaryGetTyped(d,k,PDInstanceTypeObj)
 
#define PDDictionaryGetInteger(d, k)   PDNumberGetInteger(PDDictionaryGet(d,k))
 

Functions

PDDictionaryRef PDDictionaryCreate ()
 
PDDictionaryRef PDDictionaryCreateWithBucketCount (PDSize bucketCount)
 
PDDictionaryRef PDDictionaryCreateWithComplex (pd_stack stack)
 
PDDictionaryRef PDDictionaryCreateWithKeyValueDefinition (const void **defs)
 
void PDDictionaryAddEntriesFromComplex (PDDictionaryRef hm, pd_stack stack)
 
void PDDictionarySet (PDDictionaryRef hm, const char *key, void *value)
 
void * PDDictionaryGet (PDDictionaryRef hm, const char *key)
 
void PDDictionaryDelete (PDDictionaryRef hm, const char *key)
 
PDSize PDDictionaryGetCount (PDDictionaryRef hm)
 
void PDDictionaryIterate (PDDictionaryRef hm, PDHashIterator it, void *ui)
 
void PDDictionaryPopulateKeys (PDDictionaryRef hm, char **keys)
 
void PDDictionaryClear (PDDictionaryRef hm)
 
void PDDictionaryPrint (PDDictionaryRef hm)
 
char * PDDictionaryToString (PDDictionaryRef hm)
 
PDInteger PDDictionaryPrinter (void *inst, char **buf, PDInteger offs, PDInteger *cap)
 
void * PDDictionaryGetTyped (PDDictionaryRef dictionary, const char *key, PDInstanceType type)
 
void PDDictionaryAttachCrypto (PDDictionaryRef hm, pd_crypto crypto, PDInteger objectID, PDInteger genNumber)
 

Detailed Description

Hash map object