-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCGOperandConstant.h
More file actions
34 lines (27 loc) · 1.16 KB
/
CGOperandConstant.h
File metadata and controls
34 lines (27 loc) · 1.16 KB
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
#ifndef _CGOPERANDCONSTANT_H_
#define _CGOPERANDCONSTANT_H_
#include <DS/DSOperandConstant.h>
#include "CGBasicTypes.h"
#include "CGWriter.h"
class CGOperandConstant : public DSOperandConstant
{
public:
CGOperandConstant(DSObject* = NULL, // Vaterobjekt, wird an DSOperand
// weitergegeben
DSString* = NULL, // Konstante
DSBoolean = DS_TRUE); // numerisch (ja/nein)
CGOperandConstant(DSObject*, // Vaterobjekt, wird an DSOperand
// weitergegeben
DSString&,
DSBoolean = DS_TRUE);
CGOperandConstant(DSObject*, // Vaterobjekt, wird an DSOperand
// weitergegeben
const char *,
DSBoolean = DS_TRUE);
~CGOperandConstant(void);
DSObject *New(DSObject * = NULL) const; // ueberladener Konstruktor
DSResult Write(DSWriter *, DSCardinal = 0) const;
private:
DSResult WriteImplementation(CGWriter *) const;
};
#endif