-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCGAtom.h
33 lines (26 loc) · 1001 Bytes
/
CGAtom.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
#ifndef _CGATOM_H_
#define _CGATOM_H_
#include <DS/DSAtom.h>
#include "CGBasicTypes.h"
#include "CGWriter.h"
class CGAtom : public DSAtom
{
public:
CGAtom(DSObject* = NULL, // Vaterobjekt
DSString* = NULL, // Name des Atoms
DSExpression* = NULL); // Proposition
CGAtom(DSObject*, // Vaterobjekt
DSString&, // Name der Atoms
DSExpression*); // Proposition
CGAtom(DSObject*, // Vaterobjekt
const char *, // Name der Atomn
DSExpression*); // Proposition
~CGAtom(void);
DSObject *New(DSObject * = NULL) const; // virtueller Konstruktor
DSResult Write(DSWriter *, DSCardinal) const;
private:
DSResult WriteHeader(CGWriter *) const; // CG_WRITE_H
DSResult WriteImplementation(CGWriter *) const; //CG_WRITE_CC
DSResult WriteInitialize(CGWriter *) const; //CG_WRITE_INIT
};
#endif