StatusArg.h (Firebird-3.0.2.32703-0.tar.bz2) | : | StatusArg.h (Firebird-3.0.4.33054-0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 76 | skipping to change at line 76 | |||
virtual unsigned int length() const throw() { return 0; } | virtual unsigned int length() const throw() { return 0; } | |||
virtual unsigned int firstWarning() const throw() { return 0; } | virtual unsigned int firstWarning() const throw() { return 0; } | |||
virtual bool hasData() const throw() { return false; } | virtual bool hasData() const throw() { return false; } | |||
virtual void clear() throw() { } | virtual void clear() throw() { } | |||
virtual void append(const StatusVector&) throw() { } | virtual void append(const StatusVector&) throw() { } | |||
virtual void prepend(const StatusVector&) throw() { } | virtual void prepend(const StatusVector&) throw() { } | |||
virtual void assign(const StatusVector& ex) throw() { } | virtual void assign(const StatusVector& ex) throw() { } | |||
virtual void assign(const Exception& ex) throw() { } | virtual void assign(const Exception& ex) throw() { } | |||
virtual ISC_STATUS copyTo(ISC_STATUS*) const throw() { return 0; } | virtual ISC_STATUS copyTo(ISC_STATUS*) const throw() { return 0; } | |||
virtual void copyTo(IStatus*) const throw() { } | virtual void copyTo(IStatus*) const throw() { } | |||
virtual void appendTo(IStatus*) const throw() { } | ||||
virtual void shiftLeft(const Base&) throw() { } | virtual void shiftLeft(const Base&) throw() { } | |||
virtual void shiftLeft(const Warning&) throw() { } | virtual void shiftLeft(const Warning&) throw() { } | |||
virtual void shiftLeft(const char*) throw() { } | virtual void shiftLeft(const char*) throw() { } | |||
virtual void shiftLeft(const AbstractString&) throw() { } | virtual void shiftLeft(const AbstractString&) throw() { } | |||
virtual void shiftLeft(const MetaName&) throw() { } | virtual void shiftLeft(const MetaName&) throw() { } | |||
virtual bool compare(const StatusVector& /*v*/) const throw() { r eturn false; } | virtual bool compare(const StatusVector& /*v*/) const throw() { r eturn false; } | |||
ImplBase(ISC_STATUS k, ISC_STATUS c) throw() : kind(k), code(c) { } | ImplBase(ISC_STATUS k, ISC_STATUS c) throw() : kind(k), code(c) { } | |||
skipping to change at line 126 | skipping to change at line 127 | |||
virtual unsigned int length() const throw() { return m_status_vec tor.getCount() - 1u; } | virtual unsigned int length() const throw() { return m_status_vec tor.getCount() - 1u; } | |||
virtual unsigned int firstWarning() const throw() { return m_warn ing; } | virtual unsigned int firstWarning() const throw() { return m_warn ing; } | |||
virtual bool hasData() const throw() { return length() > 0u; } | virtual bool hasData() const throw() { return length() > 0u; } | |||
virtual void clear() throw(); | virtual void clear() throw(); | |||
virtual void append(const StatusVector& v) throw(); | virtual void append(const StatusVector& v) throw(); | |||
virtual void prepend(const StatusVector& v) throw(); | virtual void prepend(const StatusVector& v) throw(); | |||
virtual void assign(const StatusVector& v) throw(); | virtual void assign(const StatusVector& v) throw(); | |||
virtual void assign(const Exception& ex) throw(); | virtual void assign(const Exception& ex) throw(); | |||
virtual ISC_STATUS copyTo(ISC_STATUS* dest) const throw(); | virtual ISC_STATUS copyTo(ISC_STATUS* dest) const throw(); | |||
virtual void copyTo(IStatus* dest) const throw(); | virtual void copyTo(IStatus* dest) const throw(); | |||
virtual void appendTo(IStatus* dest) const throw(); | ||||
virtual void shiftLeft(const Base& arg) throw(); | virtual void shiftLeft(const Base& arg) throw(); | |||
virtual void shiftLeft(const Warning& arg) throw(); | virtual void shiftLeft(const Warning& arg) throw(); | |||
virtual void shiftLeft(const char* text) throw(); | virtual void shiftLeft(const char* text) throw(); | |||
virtual void shiftLeft(const AbstractString& text) throw(); | virtual void shiftLeft(const AbstractString& text) throw(); | |||
virtual void shiftLeft(const MetaName& text) throw(); | virtual void shiftLeft(const MetaName& text) throw(); | |||
virtual bool compare(const StatusVector& v) const throw(); | virtual bool compare(const StatusVector& v) const throw(); | |||
ImplStatusVector(ISC_STATUS k, ISC_STATUS c) throw() | ImplStatusVector(ISC_STATUS k, ISC_STATUS c) throw() | |||
: ImplBase(k, c), | : ImplBase(k, c), | |||
m_status_vector(*getDefaultMemoryPool()) | m_status_vector(*getDefaultMemoryPool()) | |||
skipping to change at line 167 | skipping to change at line 169 | |||
bool isEmpty() const throw() { return !implementation->hasData(); } | bool isEmpty() const throw() { return !implementation->hasData(); } | |||
void clear() throw() { implementation->clear(); } | void clear() throw() { implementation->clear(); } | |||
void append(const StatusVector& v) throw() { implementation->append(v); } | void append(const StatusVector& v) throw() { implementation->append(v); } | |||
void prepend(const StatusVector& v) throw() { implementation->prepend(v); } | void prepend(const StatusVector& v) throw() { implementation->prepend(v); } | |||
void assign(const StatusVector& v) throw() { implementation->assign(v); } | void assign(const StatusVector& v) throw() { implementation->assign(v); } | |||
void assign(const Exception& ex) throw() { implementation->assign(ex); } | void assign(const Exception& ex) throw() { implementation->assign(ex); } | |||
void raise() const; | void raise() const; | |||
ISC_STATUS copyTo(ISC_STATUS* dest) const throw() { return implementation ->copyTo(dest); } | ISC_STATUS copyTo(ISC_STATUS* dest) const throw() { return implementation ->copyTo(dest); } | |||
void copyTo(IStatus* dest) const throw() { implementation->copyTo(dest); } | void copyTo(IStatus* dest) const throw() { implementation->copyTo(dest); } | |||
void appendTo(IStatus* dest) const throw() { implementation->appendTo(des t); } | ||||
// generic argument insert | // generic argument insert | |||
StatusVector& operator<<(const Base& arg) throw() | StatusVector& operator<<(const Base& arg) throw() | |||
{ | { | |||
implementation->shiftLeft(arg); | implementation->shiftLeft(arg); | |||
return *this; | return *this; | |||
} | } | |||
// StatusVector case - append multiple args | // StatusVector case - append multiple args | |||
StatusVector& operator<<(const StatusVector& arg) throw() | StatusVector& operator<<(const StatusVector& arg) throw() | |||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added |