CollectionSortItem Class Documentation

classCollectionSortItem

Namespace:datalogics_interface

Detailed Description

Collections are aslo known as portfolios.

Referenced by

Constructor & Destructor Documentation

CollectionSortItem

CollectionSortItem(const std::string &field_id, boolascending)

Parameters

field_id: const std::string &

the schema field's id.

ascending: bool

true for ascending, false for descending

CCollectionSortItem allows to construct sort item which will be used for collection sorting.

Member Function Documentation

get_ascending

boolget_ascending()

Returns:

true if the sort order is ascending, false if descending.

Gets whether the sort order is ascending.

get_name

std::stringget_name()

Returns:

The field name to sort by.

This is the schema field identifier that determines which collection field is used as the sort key.