-
Notifications
You must be signed in to change notification settings - Fork 0
/
DSAtomComponent.h
38 lines (30 loc) · 1.09 KB
/
DSAtomComponent.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef _DSATOMCOMPONENT_H_
#define _DSATOMCOMPONENT_H_
#include "DSBasicTypes.h"
#include "DSAtomList.h"
/************************************************************************
* Classname: DSAtomComponent
* Aufgabe: Basisklasse fuer alle SDL-Strukturen in denen QSDL-Atome
* definiert werden koennen.
************************************************************************/
class DSAtomComponent
{
public:
DSAtomComponent(class DSObject * = NULL);
~DSAtomComponent(void);
DSAtomKeyList *GetAtomList(void) const;
class DSAtom *GetAtom(DSString *) const;
class DSAtom *GetAtom(DSString&) const;
class DSAtom *GetAtom(const char *) const;
class DSAtom *GetFirstAtom(void) const;
class DSAtom *GetNextAtom(void) const;
DSResult SetAtomList(DSAtomKeyList *);
DSResult InsertAtom(class DSAtom *);
protected:
DSObject *GetComponentParent(void) const; // Vaterobject
DSResult SetComponentParent(const DSObject*);
private:
DSAtomKeyList *atom_definition_list;
class DSObject *parent;
};
#endif