-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNetworkProperty.h
44 lines (38 loc) · 1.54 KB
/
NetworkProperty.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
39
40
41
42
43
44
#ifndef H_NetworkProperty
#define H_NetworkProperty
#include <stdbool.h>
#include "KMF4C.h"
typedef struct _NetworkProperty NetworkProperty;
typedef struct _NamedElement NamedElement;
typedef struct _Visitor Visitor;
typedef char* (*fptrNetPropMetaClassName)(NetworkProperty*);
typedef char* (*fptrNetPropInternalGetKey)(NetworkProperty*);
typedef void (*fptrDeleteNetworkProperty)(NetworkProperty*);
typedef void (*fptrVisitAttrNetworkProperty)(void*, char*, Visitor*);
typedef void* (*fptrFindByPathNetworkProperty)(char*, NetworkProperty*);
typedef struct _NetworkProperty {
void *pDerivedObj;
char *eContainer;
char *path;
map_t refs;
fptrKMFMetaClassName metaClassName;
fptrKMFInternalGetKey internalGetKey;
fptrVisitAttr VisitAttributes;
fptrVisitAttr VisitPathAttributes;
fptrVisitRefs VisitReferences;
fptrVisitRefs VisitPathReferences;
fptrFindByPath FindByPath;
fptrDelete Delete;
NamedElement *super;
char *value;
} NetworkProperty;
NamedElement* newPoly_NetworkProperty(void);
NetworkProperty* new_NetworkProperty(void);
char* NetworkProperty_metaClassName(void * const this);
char* NetworkProperty_internalGetKey(void * const this);
void deletePoly_NetworkProperty(void * const this);
void delete_NetworkProperty(void * const this);
void NetworkProperty_VisitAttributes(void* const this, char* parent, Visitor* visitor, bool recursive);
void NetworkProperty_VisitPathAttributes(void *const this, char *parent, Visitor *visitor, bool recursive);
void* NetworkProperty_FindByPath(char* attribute, void * const this);
#endif /* H_NetworkProperty */