BankAndCustomer
Lade ...
Suche ...
Keine Treffer
NaturalPerson Klassenreferenz

Eine natürliche Person. Mehr ...

#include <NaturalPerson.h>

Klassendiagramm für NaturalPerson:
Zusammengehörigkeiten von NaturalPerson:

Öffentliche Methoden

 NaturalPerson ()
 
 NaturalPerson (const std::string &rsName, const std::string &rsSurname)
 
 ~NaturalPerson ()
 
void setSurname (const std::string &rsSurname)
 
std::string getSurname () const
 
- Öffentliche Methoden geerbt von Person
 Person ()
 
 Person (const std::string &rsName)
 
 ~Person ()
 
int initBankAccounts ()
 
virtual int preDeleteInBase (glo::EnDeepMode eDeepMode, void *&prData) override
 
virtual void postDeleteInBase (int iDeleteErr, glo::EnDeepMode eDeepMode, void *pData) override
 
void setName (const std::string &rsName)
 
std::string getName () const
 
int setBankAccount (const std::string &rsIBAN, const std::string &rsBIC)
 
int setBankAccount (Bank &rBank, const std::string &rsIBAN)
 
int setBankAccount (std::shared_ptr< Bank > rBank, const std::string &rsIBAN)
 
int removeBankAccount (const std::string &rsIBAN)
 
int getBankAccount (std::shared_ptr< BankAccount > &rRetVal, glo::EnSeekMode eMode)
 
int getBankAccount (std::shared_ptr< BankAccount > &rRetVal, const std::string &rsIBAN)
 
int getBankAccounts (std::vector< std::shared_ptr< BankAccount > > &rRetVal, std::shared_ptr< Bank > rBank)
 
int getBank (std::shared_ptr< Bank > &rRetVal, const std::string &rsIBAN)
 
- Öffentliche Methoden geerbt von glo::Persistent
 Persistent ()
 
 Persistent (const Persistent &rT)
 
virtual void activate ()
 
virtual int assign (Base &rBase) override
 
virtual void removeBase () override
 
virtual ObjID getObjID () const override
 
virtual std::time_t getCreateDate () const override
 
virtual std::time_t getLastChangeDate () const override
 
virtual void takeOverRecord (Record *pRecord) override
 
virtual int preStore (EnDeepMode eDeepMode, void *&prData)
 
virtual int store (EnDeepMode eDeepMode=DM_SHALLOW) override
 
virtual void postStore (int iStoreErr, EnDeepMode eDeepMode, void *pData)
 
virtual int preDeleteInBase (EnDeepMode eDeepMode, void *&prData)
 
virtual int deleteInBase (EnDeepMode eDeepMode=DM_SHALLOW) override
 
virtual void postDeleteInBase (int iDeleteErr, EnDeepMode eDeepMode, void *pData)
 
virtual int preRefresh (void *&prData)
 
virtual int refresh () override
 
virtual void postRefresh (int iRefreshErr, void *pData)
 
virtual int preLock (EnLockMode eLockMode, EnDeepMode eDeepMode, void *&prData)
 
virtual int lock (EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW) override
 
virtual void postLock (int iLockErr, EnLockMode eLockMode, EnDeepMode eDeepMode, void *pData)
 
virtual int preRelock (EnLockMode eLockMode, EnDeepMode eDeepMode, void *&prData)
 
virtual int relock (EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW) override
 
virtual void postRelock (int iLockErr, EnLockMode eLockMode, EnDeepMode eDeepMode, void *pData)
 
virtual int preUnlock (EnLockMode eLockMode, EnDeepMode eDeepMode, void *&prData)
 
virtual int unlock (EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW) override
 
virtual void postUnlock (int iUnlockErr, EnLockMode eLockMode, EnDeepMode eDeepMode, void *pData)
 
virtual int preSetWatch (TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack, void *&prData)
 
virtual int setWatch (TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack=0) override
 
virtual void postSetWatch (int iSetWatchErr, TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack, void *pData)
 
virtual int preUnsetWatch (TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack, void *&prData)
 
virtual int unsetWatch (TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack=0) override
 
virtual void postUnsetWatch (int iUnsetWatchErr, TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack, void *pData)
 
virtual unsigned long getGloClassID () const override
 
virtual int getTypeAsString (std::string &rsTypeName) override
 
virtual int setGloAttribute (const AttributeID &rAttributeID, void *pPara)
 
virtual void * getGloAttribute (const AttributeID &rAttributeID)
 
virtual int setGloAttribute (const std::string &rstrAttributName, void *pPara)
 
virtual void * getGloAttribute (const std::string &rstrAttributName)
 
virtual bool isSameOrSuperClassFrom (const glo::Persistent *pPersistent) const
 Prüft ob übergebenes Objekt auf dieses gecastet werden kann.
 
virtual bool isSameOrSuperClassFrom (const std::shared_ptr< glo::Persistent > pPersistent) const
 Prüft ob übergebenes Objekt auf dieses gecastet werden kann.
 
- Öffentliche Methoden geerbt von glo::BasePersistent
 BasePersistent ()
 
 BasePersistent (const BasePersistent &rT)
 
virtual int setBase (Base *pBase) override
 
virtual Base * getBase () const override
 
virtual int getClassInfo (ClassInfo *&prClassInfo)
 
virtual unsigned int remember ()
 
virtual unsigned int forget ()
 
virtual bool isAssigned () const
 
unsigned int getLinkCount () const
 
int getRecord (Record *&prRecord) const
 
int getRecord (std::shared_ptr< Record > &rRetVal) const
 
int getAllPersAttributeNames (std::list< std::string > &rRetValList, const std::vector< unsigned long > *pClassIdVector=0) const
 
int getAllPersAttributeNamesSortByID (std::map< AttributeID, std::string > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const
 
int getPersAttribute (BaseRecordAttribute *&prRetVal, const std::string &sName) const
 
int getPersAttribute (std::shared_ptr< BaseRecordAttribute > &rRetVal, const std::string &sName) const
 
int getPersAttribute (BaseRecordAttribute *&prRetVal, const AttributeID &rAttributeID) const
 
int getPersAttribute (std::shared_ptr< BaseRecordAttribute > &rRetVal, const AttributeID &rAttributeID) const
 
int getAllPersAttributes (std::list< BaseRecordAttribute * > &rRetValList, const std::vector< unsigned long > *pClassIdVector=0) const
 
int getAllPersAttributes (std::list< std::shared_ptr< BaseRecordAttribute > > &rRetValList, const std::vector< unsigned long > *pClassIdVector=0) const
 
int getAllPersAttributesSortByName (std::map< std::string, BaseRecordAttribute *, std::less< std::string > > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const
 
int getAllPersAttributesSortByName (std::map< std::string, std::shared_ptr< BaseRecordAttribute >, std::less< std::string > > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const
 
int getAllPersAttributesSortByID (std::map< AttributeID, BaseRecordAttribute *, std::less< AttributeID > > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const
 
int getAllPersAttributesSortByID (std::map< AttributeID, std::shared_ptr< BaseRecordAttribute >, std::less< AttributeID > > &rRetValMap, const std::vector< unsigned long > *pClassIdVector=0) const
 
virtual bool isStored ()
 
virtual bool isDeletedInBase ()
 
virtual int lock (const LockSpecification &rLockSpecification)
 
virtual int relock (const LockSpecification &rLockSpecification)
 
virtual int unlock (const LockSpecification &rLockSpecification)
 
virtual int isLocked (EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW) const
 
virtual int isLocked (const LockSpecification &rLockSpecification) const
 
virtual int isPossible (bool bRead, bool bWrite, bool bDelete, EnDeepMode eDeepMode=DM_SHALLOW) const
 
virtual int isPossible (const LockPossibleSpecification &rLockPossibleSpec, EnDeepMode eDeepMode=DM_SHALLOW) const
 
virtual int getProcessingPossibilities (LockPossibleSpecification &rLockPossibleSpec, EnDeepMode eDeepMode=DM_SHALLOW) const
 
virtual int setWatch (const WatchSpecification &rWatchSpec)
 
virtual int unsetWatch (const WatchSpecification &rWatchSpec)
 
BasePersistentoperator= (const BasePersistent &rT)
 
bool operator== (const BasePersistent &rT) const
 Vergleichsoperator, es werden alle Attribute verglichen.
 
bool operator!= (const BasePersistent &rT) const
 Vergleichsoperator, es werden alle Attribute verglichen.
 
- Öffentliche Methoden geerbt von glo::CallBack
 CallBack ()
 
virtual ~CallBack ()
 
virtual void notify (NotifyNote &rNote)
 
CallBackoperator= (const CallBack &rT)
 
bool operator== (const CallBack &rT) const
 Vergleichsoperator, es werden alle Attribute verglichen.
 
bool operator!= (const CallBack &rT) const
 Vergleichsoperator, es werden alle Attribute verglichen.
 

Private Methoden

 GLO_OBJECT (NaturalPerson:Person)
 
 GLO_INDEX (IDXFullName, Person.m_Name[255] &NaturalPerson.m_Surname[255], USE_DELIMITER|DEU-2 &AUT &DNK &EST &FIN &FRA &ISL &NOR &SWE)
 
 NaturalPerson (const NaturalPerson &)
 
Bankoperator= (const Bank &)
 

Private Attribute

std::string m_Surname
 Der bzw. die Vornamen der natürlichen Person.
 

Weitere Geerbte Elemente

- Öffentliche Attribute geerbt von glo::CallBack
std::string m_strDebugInfo
 
- Geschützte Methoden geerbt von glo::Persistent
virtual ~Persistent ()
 
virtual void insertInObjectSpy () const override
 
virtual void removeInObjectSpy () const override
 
virtual void setCreateDate () override
 
virtual void _postAssign (Base &rBase)
 
Persistentoperator= (const Persistent &rT)
 
bool operator== (const Persistent &rT) const
 Vergleichsoperator.
 
bool operator!= (const Persistent &rT) const
 Vergleichsoperator.
 
- Geschützte Methoden geerbt von glo::BasePersistent
virtual ~BasePersistent ()
 
void setSpyaction (bool bSpyaction)
 
- Geschützte Methoden geerbt von glo::CallBack
 CallBack (const CallBack &rT)
 
void init ()
 
void deinit ()
 
- Geschützte Attribute geerbt von glo::BasePersistent
Base * m_pBase
 
unsigned int m_uiReferenceCount
 
eut::CriticalSection m_LocalCriticalSection
 
Record * m_pRecord
 
bool m_bSpyaction
 

Ausführliche Beschreibung

Eine natürliche Person.

Autor
Helmut Jakoby

Beschreibung der Konstruktoren und Destruktoren

◆ NaturalPerson() [1/3]

NaturalPerson::NaturalPerson ( )

Standard-Konstruktor.

◆ NaturalPerson() [2/3]

NaturalPerson::NaturalPerson ( const std::string & rsName,
const std::string & rsSurname )

Konstruktor mit Parameterübergabe.

Parameter
[in]rsNameDer Name der Person.
[in]rsSurnameDer Vorname der Person.

◆ ~NaturalPerson()

NaturalPerson::~NaturalPerson ( )

Destruktor.

◆ NaturalPerson() [3/3]

NaturalPerson::NaturalPerson ( const NaturalPerson & )
private

Der Copy-Konstruktor steht nicht zur Verfügung.

Dokumentation der Elementfunktionen

◆ getSurname()

std::string NaturalPerson::getSurname ( ) const

Liefert den Vornamen.

Rückgabe
s.o.

◆ GLO_INDEX()

NaturalPerson::GLO_INDEX ( IDXFullName ,
Person.m_Name &NaturalPerson. m_Surname[255][255],
USE_DELIMITER|DEU-2 &AUT &DNK &EST &FIN &FRA &ISL &NOR & SWE )
private

Um die Suche nach natürlichen Personen zu beschleunigen, werden Nachname und Vorname mit dem Trennzeichen "|" indiziert.

◆ GLO_OBJECT()

NaturalPerson::GLO_OBJECT ( NaturalPerson:Person )
private

◆ operator=()

Bank & NaturalPerson::operator= ( const Bank & )
private

Der Zuweisungsoperator steht nicht zur Verfügung.

◆ setSurname()

void NaturalPerson::setSurname ( const std::string & rsSurname)

Setzt den Vornamen.

Parameter
[in]rsSurnameDer neue Vorname.

Dokumentation der Datenelemente

◆ m_Surname

std::string NaturalPerson::m_Surname
private

Der bzw. die Vornamen der natürlichen Person.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: