API Documentation
Loading...
Searching...
No Matches
ExportRequest.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/PopupInfo.h>
3#include <NDEVR/FileFormat.h>
4namespace NDEVR
5{
6 /**--------------------------------------------------------------------------------------------------
7 \brief Stores information related to exporting specific data from the software.
8 **/
10 {
12 ExportRequest(const Buffer<UUID>& ids, const PopupInfo& info = PopupInfo())
13 : requested_items(ids)
14 , request_origin(info)
15 {}
16 Buffer<UUID> requested_items;//If empty entire project
18 Buffer<FileFormat> white_list;//if empty all allowed
20 bool show_recents = false;
21 };
22}
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
Data that describes a particular file format and how to use the format with the program....
Definition FileFormat.h:43
static FileFormat InvalidFormat()
Definition FileFormat.h:65
Definition ACIColor.h:37
Stores information related to exporting specific data from the software.
Definition ExportRequest.h:10
ExportRequest(const Buffer< UUID > &ids, const PopupInfo &info=PopupInfo())
Definition ExportRequest.h:12
bool show_recents
Definition ExportRequest.h:20
PopupInfo request_origin
Definition ExportRequest.h:19
Buffer< UUID > requested_items
Definition ExportRequest.h:16
ExportRequest()
Definition ExportRequest.h:11
FileFormat requested_format
Definition ExportRequest.h:17
Buffer< FileFormat > white_list
Definition ExportRequest.h:18
Class which is used to pass arguments and requests for creating a popup dialog or widget....
Definition PopupInfo.h:15