CXI
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KeyList Class Reference

Encapsulates an array of key property lists, see PropertyList. More...

Public Member Functions

int size (void) const
 
void add (const PropertyList &pl)
 
PropertyListoperator[] (int i)
 

Detailed Description

Encapsulates an array of key property lists, see PropertyList.

The following example illustrates the usage of the KeyList class:

KeyList keyList = cxi->key_list();
keyList.sort();
for (int i=0; i<keyList.size(); i++)
{
printf("%-3d %-5d %-4d %-4x %-24s %-24s\n", i, keyList[i].getAlgo(),
keyList[i].getSize(),
keyList[i].getType(),
keyList[i].getGroup(),
keyList[i].getName());
}
Encapsulates an array of key property lists, see PropertyList.
Definition: sw/cxi_api_c/def/keylist.h:25
int size(void) const
Definition: keylist.cpp:55
Definition: cxi.cpp:173

Member Function Documentation

◆ size()

int size ( void  ) const

Returns number of elements in key list

◆ add()

void add ( const PropertyList pl)

Adds a new element of type PropertyList to the key list

◆ operator[]()

PropertyList & operator[] ( int  i)

Returns element of type PropertyList