65 MoveFlags operator|(
const MoveFlags& o) {
68 ret.relative =
relative || o.relative;
69 ret.thru =
thru || o.thru;
70 ret.reverse =
reverse || o.reverse;
74 MoveFlags operator&(
const MoveFlags& o) {
76 ret.async =
async && o.async;
77 ret.relative =
relative && o.relative;
78 ret.thru =
thru && o.thru;
79 ret.reverse =
reverse && o.reverse;
89 inline MoveFlags operator|(
const MoveFlags& f, MoveFlags& o) {
91 ret.async = f.async || o.async;
92 ret.relative = f.relative || o.relative;
93 ret.thru = f.thru || o.thru;
94 ret.reverse = f.reverse || o.reverse;
98 inline MoveFlags operator&(
const MoveFlags& f, MoveFlags& o) {
100 ret.async = f.async && o.async;
101 ret.relative = f.relative && o.relative;
102 ret.thru = f.thru && o.thru;
103 ret.reverse = f.reverse && o.reverse;
107 inline MoveFlags operator|(
const MoveFlags& f,
const MoveFlags& o) {
109 ret.async = f.async || o.async;
110 ret.relative = f.relative || o.relative;
111 ret.thru = f.thru || o.thru;
112 ret.reverse = f.reverse || o.reverse;
116 inline MoveFlags operator&(
const MoveFlags& f,
const MoveFlags& o) {
118 ret.async = f.async && o.async;
119 ret.relative = f.relative && o.relative;
120 ret.thru = f.thru && o.thru;
121 ret.reverse = f.reverse && o.reverse;
129 const MoveFlags NONE = {
false,
false,
false,
false};
133 const MoveFlags ASYNC = {
true,
false,
false,
false};
137 const MoveFlags RELATIVE = {
false,
true,
false,
false};
141 const MoveFlags THRU = {
false,
false,
true,
false};
145 const MoveFlags REVERSE = {
false,
false,
false,
true};
bool relative
Definition: flags.h:43
bool async
Definition: flags.h:42
bool reverse
Definition: flags.h:45
bool thru
Definition: flags.h:44