[go: up one dir, main page]

File: Define.h

package info (click to toggle)
fastdep 0.16-13
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 600 kB
  • ctags: 327
  • sloc: cpp: 2,161; ansic: 814; sh: 208; makefile: 123
file content (32 lines) | stat: -rw-r--r-- 592 bytes parent folder | download | duplicates (5)
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 DEFINE_H_
#define DEFINE_H_

#include "Element.h"

#include <string>

class FileStructure;

class Define : public Element
{
	public:
		Define(FileStructure* aStructure, const std::string& aMacro);
		Define(FileStructure* aStructure, const std::string& aMacro, const std::string& aContent);
		Define(const Define& anOther);
		virtual ~Define();

		Define& operator=(const Define& anOther);

		virtual Element* copy() const;
		virtual void getDependencies(CompileState* aState);

		std::string getContent() const;

	private:
		std::string MacroName;
		std::string Content;

};

#endif