summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-23 19:07:30 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-23 19:07:30 -0400
commit944c63e6f26d1f05ba6f63c60f510d3796872f3e (patch)
treee1fc54319c2c42c16a64e95930acaca063658863 /src/item.h
parent057506ab6dddbfb75d1bb29289602f375ca57df5 (diff)
downloadfork-ledger-944c63e6f26d1f05ba6f63c60f510d3796872f3e.tar.gz
fork-ledger-944c63e6f26d1f05ba6f63c60f510d3796872f3e.tar.bz2
fork-ledger-944c63e6f26d1f05ba6f63c60f510d3796872f3e.zip
The Great Renaming, Part II
The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset.
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/item.h b/src/item.h
index 94bb7e10..ce404426 100644
--- a/src/item.h
+++ b/src/item.h
@@ -59,9 +59,9 @@ namespace ledger {
class item_t : public supports_flags<>, public scope_t
{
public:
-#define ITEM_NORMAL 0x00 // no flags at all, a basic transaction
-#define ITEM_GENERATED 0x01 // transaction was not found in a journal
-#define ITEM_TEMP 0x02 // transaction is a temporary object
+#define ITEM_NORMAL 0x00 // no flags at all, a basic posting
+#define ITEM_GENERATED 0x01 // posting was not found in a journal
+#define ITEM_TEMP 0x02 // posting is a temporary object
enum state_t { UNCLEARED = 0, CLEARED, PENDING };
@@ -112,11 +112,11 @@ public:
end_line = item.end_line;
}
- virtual bool operator==(const item_t& entry) {
- return this == &entry;
+ virtual bool operator==(const item_t& xact) {
+ return this == &xact;
}
- virtual bool operator!=(const item_t& entry) {
- return ! (*this == entry);
+ virtual bool operator!=(const item_t& xact) {
+ return ! (*this == xact);
}
virtual bool has_tag(const string& tag) const;