PeriDyno
0.9.2
Loading...
Searching...
No Matches
peridyno
src
Framework
FilePath.cpp
Go to the documentation of this file.
1
#include "
FilePath.h
"
2
#include "
Field.h
"
3
4
namespace
dyno
{
5
template
<>
6
std::string
FVar<FilePath>::serialize
()
7
{
8
if
(isEmpty())
9
return
""
;
10
11
FilePath
val = this->getValue();
12
13
return
val.
string
();
14
}
15
16
template
<>
17
bool
FVar<FilePath>::deserialize
(
const
std::string& str)
18
{
19
if
(str.empty())
20
return
false
;
21
22
this->setValue(str);
23
24
return
true
;
25
}
26
27
template
class
FVar<FilePath>
;
28
}
Field.h
FilePath.h
dyno::ArrayMap
Definition
ArrayMap.h:25
dyno::FVar::serialize
std::string serialize() override
Definition
Field.h:55
dyno::FVar::deserialize
bool deserialize(const std::string &str) override
Definition
Field.h:56
dyno::FilePath
Definition
FilePath.h:8
dyno::FilePath::string
const std::string string()
Definition
FilePath.h:16
dyno
This is an implementation of AdditiveCCD based on peridyno.
Definition
Array.h:24
Generated by
1.9.8