API Documentation
Loading...
Searching...
No Matches
FileResourceModel.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/Model.h>
3#if NDEVR_FILE_RESOURCE_MODEL
4namespace NDEVR
5{
6 /**--------------------------------------------------------------------------------------------------
7 \brief A Model which represents a file resource. This resource may reside on the local machine.
8 **/
9 class NDEVR_DESIGN_API FileResourceModel : public Model
10 {
11 public:
12 enum DataMode
13 {
14 e_embed_data
15 , e_project_folder
16 , e_do_not_move
17 };
18 FileResourceModel();
19 FileResourceModel(const Model& model);
20 void setFile(const File& file);
21 File getFile() const;
22 DataMode dataMode() const;
23 static constexpr const char* TypeName() { return "file_resource"; }
24 };
25}
26#endif
#define NDEVR_DESIGN_API
Definition DLLInfo.h:55
Definition ACIColor.h:37