-
Notifications
You must be signed in to change notification settings - Fork 0
/
CGReturn.h
32 lines (25 loc) · 910 Bytes
/
CGReturn.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
#ifndef _CGRETURN_H_
#define _CGRETURN_H_
#include <DS/DSReturn.h>
#include "CGBasicTypes.h"
#include "CGWriter.h"
class CGReturn : public DSReturn
{
public:
CGReturn(DSObject* = NULL, // Vaterobjekt
DSExpression* = NULL, // Rueckgabewert
DSString* = NULL); // Label
CGReturn(DSObject*, // Vaterobjekt
DSExpression*, // Rueckgabewert
DSString&);
CGReturn(DSObject*, // Vaterobjekt
DSExpression*, // Rueckgabewert
const char *);
~CGReturn(void);
DSObject *New(DSObject * = NULL) const; // virtueller Konstruktor
DSResult Write(DSWriter *, DSCardinal) const;
private:
DSResult WriteImplementation(CGWriter *) const;
DSResult WriteLabel(CGWriter *) const;
};
#endif