Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::SortSpec Struct Reference

Sort specification for node query results. More...

#include <mitkNodeQueryParams.h>

Collaboration diagram for mitk::SortSpec:

Public Attributes

std::string field
 The field name to sort by (e.g., "name", "timestamp"). More...
 
bool ascending
 If true, sort in ascending order; otherwise descending. More...
 

Detailed Description

Sort specification for node query results.

Defines the field to sort by and the sort direction. A descending sort is indicated by a minus prefix in the query string (e.g., sort=-timestamp).

See also
NodeQueryParams

Definition at line 81 of file mitkNodeQueryParams.h.

Member Data Documentation

◆ ascending

bool mitk::SortSpec::ascending

If true, sort in ascending order; otherwise descending.

Definition at line 84 of file mitkNodeQueryParams.h.

◆ field

std::string mitk::SortSpec::field

The field name to sort by (e.g., "name", "timestamp").

Definition at line 83 of file mitkNodeQueryParams.h.


The documentation for this struct was generated from the following file: