OpenLexocad  27.1
Core::TransactionDocumentObject Class Reference

#include <Transaction.h>

Inheritance diagram for Core::TransactionDocumentObject:
Core::TransactionObject Base::Persistence Base::BaseClass

Public Member Functions

 TransactionDocumentObject ()
 Construction. More...
 
virtual ~TransactionDocumentObject ()
 Destruction. More...
 
void applyNew (CoreDocument &Doc, Core::DocObject *pcObj)
 
void applyDel (CoreDocument &Doc, Core::DocObject *pcObj)
 
- Public Member Functions inherited from Core::TransactionObject
 TransactionObject ()
 Construction. More...
 
virtual ~TransactionObject ()
 Destruction. More...
 
virtual void applyChn (CoreDocument &Doc, Core::DocObject *pcObj, bool Forward)
 
void setProperty (const Property *pcProp)
 
void addOrRemoveProperty (const Property *pcProp, bool add)
 
virtual void save (Base::AbstractWriter &, Base::PersistenceVersion &)
 This method is used to save properties or very small amounts of data to an XML document. More...
 
virtual void restore (Base::AbstractXMLReader &, Base::PersistenceVersion &)
 This method is used to restore properties from an XML document. More...
 
- Public Member Functions inherited from Base::Persistence
virtual void saveDocFile (Base::AbstractWriter &, const Base::String &, const Base::String &)
 This method is used to save large amounts of data to a binary file. More...
 
virtual void restoreDocFile (Base::Reader &, const Base::String &)
 This method is used to restore large amounts of data from a binary file. More...
 
virtual bool mustbeSaved () const
 Return 'true' if this object must always be saved in the file. More...
 
virtual bool createSQL (Base::AbstractWriter &, Base::PersistenceVersion &, bool)
 This method is used to save properties or very small amounts of data to an XML document. More...
 
- Public Member Functions inherited from Base::BaseClass
virtual Type getTypeId (void) const
 
template<typename T >
bool isDerivedFrom () const
 
bool isDerivedFrom (const Type type) const
 
 BaseClass ()
 Construction. More...
 
virtual ~BaseClass ()
 Destruction. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Base::Persistence
static std::string encodeAttribute (const std::string &)
 
- Static Public Member Functions inherited from Base::BaseClass
static Type getClassTypeId (void)
 
static void init (void)
 
static void * create (void)
 
static void setIfcNameAndID (const std::string &n, int id)
 
- Public Attributes inherited from Base::BaseClass
long ____deadVal = 0xBADEAFFE
 
- Protected Types inherited from Core::TransactionObject
enum  Status { New, Del, Chn }
 
- Static Protected Member Functions inherited from Base::BaseClass
static void initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=0)
 
static void initIfcTypes (const std::string &s, Base::Type classTypeId, int id)
 
- Protected Attributes inherited from Core::TransactionObject
enum Core::TransactionObject::Status status
 
std::unordered_map< const Property *, PropData_PropChangeMap
 
std::string _NameInDocument
 

Detailed Description

Represents an entry for a document object in a transaction

Constructor & Destructor Documentation

◆ TransactionDocumentObject()

Core::TransactionDocumentObject::TransactionDocumentObject ( )

Construction.

◆ ~TransactionDocumentObject()

virtual Core::TransactionDocumentObject::~TransactionDocumentObject ( )
virtual

Destruction.

Member Function Documentation

◆ applyDel()

void Core::TransactionDocumentObject::applyDel ( CoreDocument Doc,
Core::DocObject pcObj 
)
virtual

Reimplemented from Core::TransactionObject.

◆ applyNew()

void Core::TransactionDocumentObject::applyNew ( CoreDocument Doc,
Core::DocObject pcObj 
)
virtual

Reimplemented from Core::TransactionObject.


The documentation for this class was generated from the following file: