#include <HMySelectionSet.h>
Public Member Functions | |
HMySelectionSet (HBaseView *view, CDataLoader *dataloader) | |
virtual void | Select (HC_KEY key, int num_include_keys, HC_KEY *include_keys, bool emit_message=true) |
virtual void | SelectDirect (HC_KEY key, int num_include_keys, HC_KEY *include_keys, bool emit_message=true) |
void | SetModelStructureFilter (char *filter) |
HMySelectionSet is derived from HSelectionSet to handle key based selection with persistent identifiers
HMySelectionSet::HMySelectionSet | ( | HBaseView * | view, | |
CDataLoader * | dataloader | |||
) |
Constructor
view | Pointer to HBaseView object | |
dataloader | Pointer to dataloader object |
virtual void HMySelectionSet::Select | ( | HC_KEY | key, | |
int | num_include_keys, | |||
HC_KEY * | include_keys, | |||
bool | emit_message = true | |||
) | [virtual] |
Selects an item by first trying to map the key to a persistent identifier
key | The key of the item to add. | |
num_include_keys | The number of include keys in the path upto the driver key | |
include_keys | An array of include keys | |
emit_message | Indicates that a message should be sent to the emit_message_function, which (if implemented) would typically use the HOOPS/Net 'Send' function to dispatch the message to clients |
Reimplemented from HSelectionSet.
virtual void HMySelectionSet::SelectDirect | ( | HC_KEY | key, | |
int | num_include_keys, | |||
HC_KEY * | include_keys, | |||
bool | emit_message = true | |||
) | [virtual] |
Calls the base class Select method
key | The key of the item to add. | |
num_include_keys | The number of include keys in the path upto the driver key | |
include_keys | An array of include keys | |
emit_message | Indicates that a message should be sent to the emit_message_function, which (if implemented) would typically use the HOOPS/Net 'Send' function to dispatch the message to clients |
void HMySelectionSet::SetModelStructureFilter | ( | char * | filter | ) | [inline] |
Sets the model structure filter used to filter selections
filter | Model Structure Filter to use for selections |