-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCGProcedure.h
62 lines (53 loc) · 2.6 KB
/
CGProcedure.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifndef _CGPROCEDURE_H_
#define _CGPROCEDURE_H_
#include <DS/DSString.h>
#include <DS/DSProcedure.h>
#include "CGBasicTypes.h"
#include "CGWriter.h"
class CGProcedure : public DSProcedure
{
public:
CGProcedure(DSObject* = NULL, DSString* = NULL);
CGProcedure(DSObject*, DSString&);
CGProcedure(DSObject*, const char *);
~CGProcedure(void);
DSObject *New(DSObject * = NULL) const; // virtueller Konstruktor
DSResult Write(DSWriter *, DSCardinal) const;
DSResult WriteIdentifier(CGWriter *) const; // CG_WRITE_IDENTIFIER
DSString & GetIdentifier(void) const;
protected:
DSResult WriteInitialize(CGWriter *) const; // CG_WRITE_INIT
DSResult WriteInitializeImplementation(CGWriter *) const;
DSResult WriteFinish(CGWriter *) const; // CG_WRITE_FINISH
DSResult WriteFinishImplementation(CGWriter *) const; // CG_WRITE_FINISH
DSResult WriteInclude(CGWriter *) const; // CG_WRITE_INCLUDE
DSResult WriteEnum(CGWriter *) const; // CG_WRITE_PROCESS_ENUM
DSResult WriteParamStruct(CGWriter *) const; // CG_WRITE_PARAM_STRUCT
DSResult WriteParam(CGWriter *) const; // CG_WRITE_PARAM
DSResult WriteTypeHeader(CGWriter *) const; // CG_WRITE_TYPE_H
DSResult WriteTypeImplementation(CGWriter *) const; // CG_WRITE_TYPE_CC:
DSResult WriteTypeInit(CGWriter *) const; // CG_WRITE_TYPE_INIT:
DSResult WriteTypeFinish(CGWriter *) const; // CG_WRITE_TYPE_FINISH:
DSResult WriteHeaderSimple(CGWriter *) const; // CG_WRITE_H
DSResult WriteImplementationSimple(CGWriter *) const; // CG_WRITE_CC
DSResult WriteHeaderComplex(CGWriter *) const; // CG_WRITE_H
DSResult WriteImplementationComplex(CGWriter *) const; // CG_WRITE_CC
DSResult WriteParamDefaultConstructor(CGWriter *) const;
DSResult WriteParamCopyConstructor(CGWriter *) const;
DSResult WriteParamClone(CGWriter *) const;
DSResult WriteParamAssign(CGWriter *) const;
DSResult WriteParamCompare(CGWriter *) const;
DSResult WriteParamEqual(CGWriter *) const;
DSResult WriteParamDisplay(CGWriter *) const;
DSResult WriteParamStreamOperator(CGWriter *) const;
DSResult WriteParamSave(CGWriter *) const;
DSResult WriteParamRestore(CGWriter *) const;
DSResult WriteDisplay(CGWriter *) const;
DSResult WriteStreamOperator(CGWriter *) const;
DSResult WriteSave(CGWriter *) const; // CG_WRITE_SAVE
DSResult WriteRestore(CGWriter *) const; // CG_WRITE_RESTORE
DSResult WriteSize(CGWriter *) const; // CG_WRITE_SIZE
DSResult WriteSensorUpdate(CGWriter *) const;
DSResult WriteFriend(CGWriter *) const; // CG_WRITE_FRIEND
};
#endif