File: Element.cc

package info (click to toggle)
fastdep 0.16-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 596 kB
  • ctags: 323
  • sloc: cpp: 2,144; ansic: 814; sh: 208; makefile: 127
file content (33 lines) | stat: -rw-r--r-- 501 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
33
#include "Element.h"
#include "FileCache.h"
#include "FileStructure.h"

Element::Element(FileStructure* aStructure)
: theStructure(aStructure)
{
}

Element::Element(const Element& anOther)
: theStructure(anOther.theStructure)
{
}

Element::~Element()
{
}

Element& Element::operator=(const Element& anOther)
{
	theStructure = anOther.theStructure;
	return *this;
}

FileStructure* Element::getStructure()
{
	return theStructure;
}

FileCache* Element::getCache()
{
	return theStructure->getCache();
}