Functions

pp_TableAttrProp.cpp File Reference

#include "ut_types.h"
#include "ut_assert.h"
#include "ut_vector.h"
#include "ut_string.h"
#include "pp_AttrProp.h"
#include "pp_TableAttrProp.h"

Functions

static UT_sint32 compareAP (const void *vX1, const void *vX2)
static UT_sint32 compareAPBinary (const void *vX1, const void *vX2)

Function Documentation

static UT_sint32 compareAP ( const void *  vX1,
const void *  vX2 
) [static]

This static function is used to compare PP_AttrProp's for the qsort method of UT_Vector

Parameters:
vX1 pointer to a PP_AttrProp value.
vX2 pointer to a second PP_AttrProp value

References PP_AttrProp::getCheckSum().

Referenced by pp_TableAttrProp::addAP(), and pp_TableAttrProp::createAP().

static UT_sint32 compareAPBinary ( const void *  vX1,
const void *  vX2 
) [static]

This static function is used to compare PP_AttrProp's for the binarysearch method of UT_Vector

Parameters:
vX1 pointer to a PP_AttrProp value.
vX2 pointer to a second PP_AttrProp value

References PP_AttrProp::getCheckSum().

Referenced by pp_TableAttrProp::findMatch().