API Documentation
Toggle main menu visibility
Main Page
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
c
d
e
f
g
i
j
k
l
m
n
o
r
s
u
v
Properties
Related Symbols
c
d
f
h
i
l
m
n
q
r
s
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
c
d
e
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
Typedefs
b
g
p
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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
4
namespace
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
NDEVR_DESIGN_API
#define NDEVR_DESIGN_API
Definition
DLLInfo.h:55
NDEVR
Definition
ACIColor.h:37
Design
Headers
FileResourceModel.h