-
Notifications
You must be signed in to change notification settings - Fork 0
/
DSLinkComponent.h
38 lines (30 loc) · 1.1 KB
/
DSLinkComponent.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 _DSLINKCOMPONENT_H_
#define _DSLINKCOMPONENT_H_
#include "DSBasicTypes.h"
#include "DSLinkList.h"
/************************************************************************
* Classname: DSLinkComponent
* Aufgabe: Basisklasse fuer alle SDL-Strukturen in denen QSDL-Links
* definiert werden koennen.
************************************************************************/
class DSLinkComponent
{
public:
DSLinkComponent(class DSObject * = NULL);
~DSLinkComponent(void);
DSLinkKeyList *GetLinkList(void) const;
class DSLink *GetLink(class DSString*) const;
class DSLink *GetLink(class DSString&) const;
class DSLink *GetLink(const char *) const;
class DSLink *GetFirstLink(void) const;
class DSLink *GetNextLink(void) const;
DSResult SetLinkList(DSLinkKeyList*);
DSResult InsertLink(class DSLink*);
protected:
DSObject *GetComponentParent(void) const; // Vaterobject
DSResult SetComponentParent(const DSObject*);
private:
DSLinkKeyList *link_definition_list;
class DSObject *parent;
};
#endif