27 #include <unordered_map> 40 class TransactionObject;
74 int getID(
void)
const;
77 static int getNewID(
void);
78 static int getLastID(
void);
92 std::unique_ptr<TransactionP> mPimpl;
111 void setProperty(
const Property* pcProp);
112 void addOrRemoveProperty(
const Property* pcProp,
bool add);
152 static void destruct ();
159 std::map<Base::Type, Base::AbstractProducer*> producers;
165 template <
class CLASS>
Abstract base class of all producers.
Definition: Factory.h:61
Definition: Persistence.h:14
Definition: Transaction.h:46
Definition: Transaction.h:148
std::string _NameInDocument
Definition: Transaction.h:129
Definition: Transaction.h:134
Persistence class and root of the type system.
Definition: Persistence.h:23
Definition: CoreDocument.h:210
std::string Name
Definition: Transaction.h:67
Definition: DocObject.h:26
Base::Type propertyType
Definition: Transaction.h:125
Definition: DynamicProperty.h:139
Definition: AbstractXMLReader.h:7
Definition: Transaction.h:124
virtual ~TransactionProducer()
Definition: Transaction.h:174
static TransactionFactory & instance()
void addProducer(const Base::Type &type, Base::AbstractProducer *producer)
Definition: Transaction.h:97
TransactionProducer(const Base::Type &type)
Definition: Transaction.h:169
Definition: Property.h:77
std::unordered_map< const Property *, PropData > _PropChangeMap
Definition: Transaction.h:127
Definition: DocObject.h:51
Status
Definition: Transaction.h:121
Definition: Transaction.h:166
virtual void * Produce() const
Definition: Transaction.h:179