mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
committed by
GitHub
parent
9f53d07d4c
commit
8d95644bad
@@ -129,6 +129,12 @@ public:
|
||||
/// Equality operator. Compares value, row and database handles and
|
||||
/// returns true iff all are equal.
|
||||
|
||||
const std::string& getTable() const;
|
||||
/// Returns the table name.
|
||||
|
||||
void setTable(const std::string& table);
|
||||
/// Sets the row number.
|
||||
|
||||
Poco::Int64 getRow() const;
|
||||
/// Returns the row number.
|
||||
|
||||
@@ -151,8 +157,9 @@ private:
|
||||
Notifier& operator=(const Notifier&);
|
||||
|
||||
const Session& _session;
|
||||
Poco::Dynamic::Var _value;
|
||||
std::string _table;
|
||||
Poco::Int64 _row;
|
||||
Poco::Dynamic::Var _value;
|
||||
EnabledEventType _enabledEvents;
|
||||
Poco::Mutex _mutex;
|
||||
};
|
||||
@@ -170,6 +177,19 @@ inline bool Notifier::operator == (const Notifier& other) const
|
||||
}
|
||||
|
||||
|
||||
inline const std::string& Notifier::getTable() const
|
||||
{
|
||||
return _table;
|
||||
}
|
||||
|
||||
|
||||
inline void Notifier::setTable(const std::string& table)
|
||||
/// Sets the row number.
|
||||
{
|
||||
_table = table;
|
||||
}
|
||||
|
||||
|
||||
inline Poco::Int64 Notifier::getRow() const
|
||||
{
|
||||
return _row;
|
||||
@@ -177,7 +197,6 @@ inline Poco::Int64 Notifier::getRow() const
|
||||
|
||||
|
||||
inline void Notifier::setRow(Poco::Int64 row)
|
||||
/// Sets the row number.
|
||||
{
|
||||
_row = row;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user