DCL 4.0
Loading...
Searching...
No Matches
entitycopy/main.h
Go to the documentation of this file.
1#ifndef __DCL_ENTITY_COPY_MAIN_H__
2#define __DCL_ENTITY_COPY_MAIN_H__ 20250508
3
4#ifndef __DCL_ARGUMENTS_H__
5#include <dcl/Arguments.h>
6#endif
7
8__DCL_BEGIN_NAMESPACE
9
10class MainArguments : public Arguments
11{
12public:
13 MainArguments(Writer& _output, Writer& _errout);
14
15 virtual String toString() const;
16
17 bool verbose() const {
18 return __verbose;
19 }
20
21 const String& source() const {
22 return __source;
23 }
24
25 const String& destination() const {
26 return __destination;
27 }
28
29 const String& entities() const {
30 return __entities;
31 }
32
33 bool truncate() const {
34 return __truncate;
35 }
36
37 int rows() const {
38 return __rows;
39 }
40
41 int i4precision() const {
42 return __i4precision;
43 }
44
45 int i8precision() const {
46 return __i8precision;
47 }
48
49 bool dryrun() const {
50 return __dryrun;
51 }
52
53protected:
54 virtual void onOption(int _key, const String& _arg)
56
57 virtual String onValidate();
58
61 String __source;
63 String __entities;
65 int __rows;
68};
69
70__DCL_END_NAMESPACE
71
72#endif // __DCL_ENTITY_COPY_MAIN_H__
#define __DCL_THROWS1(e)
Definition Config.h:167
MainArguments(Writer &_output, Writer &_errout)
bool verbose() const
int i4precision() const
virtual String onValidate()
const String & destination() const
const String & entities() const
const String & source() const
bool truncate() const
int rows() const
virtual void onOption(int _key, const String &_arg) __DCL_THROWS1(Exception *)
int i8precision() const
virtual String toString() const
bool dryrun() const