Rudiments: /home/dmuse/temp/rudiments/include/rudiments/mvcresult.h Source File

Rudiments

mvcresult.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more informations.
3
4 #ifndef RUDIMENTS_MVCRESULT_H
5 #define RUDIMENTS_MVCRESULT_H 1
6
7 #include <rudiments/private/mvcresultincludes.h>
8
9 class RUDIMENTS_DLLSPEC mvcresult {
10 public:
11 mvcresult();
12 virtual ~mvcresult();
13
14 void setResult(bool success);
15 void setResult(bool success, uint32_t code);
16 void setResult(bool success, uint32_t code,
17 const char *message);
18
19 void setSuccess();
20 void setSuccess(uint32_t code);
21 void setSuccess(uint32_t code, const char *message);
22
23 void setFailed();
24 void setFailed(uint32_t code);
25 void setFailed(uint32_t code, const char *message);
26
27 void setSuccess(bool success);
28 bool getSuccess();
29
30 void setCode(uint32_t code);
31 uint32_t getCode();
32
33 void setMessage(const char *message);
34 const char *getMessage();
35
36 dom *getDom();
37
38 domnode *getDataNode();
39
40 #include <rudiments/private/mvcresult.h>
41 };
42
43 #endif
dom
Definition: dom.h:10
domnode
Definition: domnode.h:122
mvcresult
Definition: mvcresult.h:9