BankAndCustomer
|
Header for Persistent More...
#include "GloTypes.h"
#include "GloBasePersistent.h"
#include "GloPersObjectSpy.h"
#include "GloAttributeID.h"
#include "GloRecord.h"
#include "GloTOndemand.h"
#include "GloTPointerSet.h"
#include "GloTOndemandSet.h"
#include "GloTPointerList.h"
#include "GloTOndemandList.h"
#include "EuException.h"
#include <string>
#include <ctime>
#include <list>
Go to the source code of this file.
Classes | |
class | glo::Persistent |
The base class of the persistent classes. All persistent classes must be derived from this class to be able to process their objects in the database. More... | |
Namespaces | |
namespace | glo |
Macros | |
#define | GLO_OBJECT(...) |
#define | GLO_INDEX(...) |
#define | GLO_ANNOTATE_ACCESS_SPECIFIER(x) |
#define | GLO_PERSISTENT_AREA GLO_ANNOTATE_ACCESS_SPECIFIER(x) |
#define | persistent GLO_PERSISTENT_AREA |
#define | transient GLO_PERSISTENT_AREA |
Header for Persistent
Terms of License
This file is part of the GlobalObjects module.
GlobalObjects is free software:
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
GNU Affero General Public License Usage
You can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. Please review the following information to ensure the GNU Affero General Public License requirements will be met: https://www.gnu.org/licenses/agpl-3.0.en.html .
#define GLO_ANNOTATE_ACCESS_SPECIFIER | ( | x | ) |
#define GLO_INDEX | ( | ... | ) |
To insert a GLO-specific index in the header of persistent classes. Examples:
See example in ExampleClass.h.
#define GLO_OBJECT | ( | ... | ) |
It declares the virtual methodes for the subclasses. Examples:
See example in ExampleClass.h.
#define GLO_PERSISTENT_AREA GLO_ANNOTATE_ACCESS_SPECIFIER(x) |
-> persistent
-> transient
#define persistent GLO_PERSISTENT_AREA |
Start sequence for the persistent attributes area.
Within the start sequence 'persistent' and end sequence 'transient' all attributes are considered for storage in GlobalObjects.
See example in ExampleClass.h.
#define transient GLO_PERSISTENT_AREA |
End sequence for the range of persistent attributes.
See description of persistent.