vdk 2.4.0
|
#include <vdktreeview.h>
Public Member Functions | |
VDKTreeViewModelTuple (int n=0, int key=0, VDKStringCompareFunction less=NULL, VDKStringCompareFunction equal=NULL) | |
![]() | |
VDKArray (int n=0) | |
VDKArray (const VDKArray &) | |
VDKArray & | operator= (const VDKArray &) |
virtual | ~VDKArray () |
int | size () |
void | resize (int) |
T & | operator[] (int ndx) |
VDKArray< T > & | Heapsort () |
virtual int | operator== (VDKArray< T > &m) |
Public Attributes | |
VDKReadWriteValueProp < VDKTreeViewModelTuple, int > | KeyIndex |
VDKReadWriteValueProp < VDKTreeViewModelTuple, VDKStringCompareFunction > | Less |
VDKReadWriteValueProp < VDKTreeViewModelTuple, VDKStringCompareFunction > | Equal |
This class represent a tuple, a string array with an element considered as a primary key.
|
inline |
Constructor.
n,array | dimension |
key,ordinal | position of the key field ( 0 <= key < n) |
less,an | user function to substitute < operator if needed |
equal,an | user function to substitute == operator if needed |
Compare function should be declared as: bool compare(VDKString&, VDKString&);
VDKReadWriteValueProp<VDKTreeViewModelTuple,VDKStringCompareFunction> VDKTreeViewModelTuple::Equal |
Property: Equal
VDKReadWriteValueProp<VDKTreeViewModelTuple,int> VDKTreeViewModelTuple::KeyIndex |
Property: KeyIndex
VDKReadWriteValueProp<VDKTreeViewModelTuple,VDKStringCompareFunction> VDKTreeViewModelTuple::Less |
Property: Less