PeriDyno 0.9.2
Loading...
Searching...
No Matches
FilePath.cpp
Go to the documentation of this file.
1#include "FilePath.h"
2#include "Field.h"
3
4namespace dyno {
5 template<>
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}
std::string serialize() override
Definition Field.h:55
bool deserialize(const std::string &str) override
Definition Field.h:56
const std::string string()
Definition FilePath.h:16
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:24