~ubuntu-branches/debian/wheezy/firebird2.5/wheezy

« back to all changes in this revision

Viewing changes to src/common/StatusArg.h

  • Committer: Package Import Robot
  • Author(s): Damyan Ivanov
  • Date: 2011-12-21 14:50:58 UTC
  • mfrom: (1.3.3)
  • Revision ID: package-import@ubuntu.com-20111221145058-onlmwnp09xhqfpub
Tags: 2.5.2~svn+53698.ds4-1
* Snapshot from Upstream's 2.5 branch, revision 53698
 + drop two patches included upstream
 + refresh the rest to apply cleanly
* pass buildflags directly to $(MAKE), drop default-optimization.patch
* move fbintl from -common to -server-common
 + -server-common: break/replace -common
* Fix typo in -superclassic description. Closes: #652140. Thanks to Daniel
  Hartwig

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
                virtual void shiftLeft(const AbstractString&) throw() { }
72
72
                virtual void shiftLeft(const MetaName&) throw() { }
73
73
 
 
74
                virtual bool compare(const StatusVector& v) const throw() { return false; }
 
75
 
74
76
                ImplBase(ISC_STATUS k, ISC_STATUS c) throw() : kind(k), code(c) { }
75
77
                virtual ~ImplBase() { }
76
78
        };
113
115
                virtual void shiftLeft(const AbstractString& text) throw();
114
116
                virtual void shiftLeft(const MetaName& text) throw();
115
117
 
 
118
                virtual bool compare(const StatusVector& v) const throw();
 
119
 
116
120
                ImplStatusVector(ISC_STATUS k, ISC_STATUS c) throw() : ImplBase(k, c)
117
121
                {
118
122
                        clear();
170
174
                return *this;
171
175
        }
172
176
 
 
177
        bool operator==(const StatusVector& arg) const throw()
 
178
        {
 
179
                return implementation->compare(arg);
 
180
        }
 
181
 
 
182
        bool operator!=(const StatusVector& arg) const throw()
 
183
        {
 
184
                return !(*this == arg);
 
185
        }
 
186
 
173
187
private:
174
188
};
175
189