equal
deleted
inserted
replaced
51 return true; |
51 return true; |
52 } |
52 } |
53 |
53 |
54 /*****************************************************************************/ |
54 /*****************************************************************************/ |
55 |
55 |
|
56 string Command::numericInfo() |
|
57 { |
|
58 stringstream str; |
|
59 |
|
60 str << "Numerical values can be specified either with decimal (no" << endl |
|
61 << "prefix), octal (prefix '0') or hexadecimal (prefix '0x') base." |
|
62 << endl; |
|
63 |
|
64 return str.str(); |
|
65 } |
|
66 |
|
67 /*****************************************************************************/ |
|
68 |
56 void Command::throwInvalidUsageException(const stringstream &s) |
69 void Command::throwInvalidUsageException(const stringstream &s) |
57 { |
70 { |
58 throw InvalidUsageException(s); |
71 throw InvalidUsageException(s); |
59 } |
72 } |
60 |
73 |
63 void Command::throwCommandException(const stringstream &s) |
76 void Command::throwCommandException(const stringstream &s) |
64 { |
77 { |
65 throw CommandException(s); |
78 throw CommandException(s); |
66 } |
79 } |
67 |
80 |
68 /*****************************************************************************/ |
|
69 |
|
70 string Command::numericInfo() |
|
71 { |
|
72 stringstream str; |
|
73 |
|
74 str << "Numerical values can be specified either with decimal (no" << endl |
|
75 << "prefix), octal (prefix '0') or hexadecimal (prefix '0x') base." |
|
76 << endl; |
|
77 |
|
78 return str.str(); |
|
79 } |
|
80 |
|
81 /****************************************************************************/ |
81 /****************************************************************************/ |