Last change
on this file since 246 was
246,
checked in by landauf, 16 years ago
|
added "MetaObjectList", containing the list-element of the ObjectList of all classes an object is registered in. this allowes much faster deleting of objects.
|
File size:
363 bytes
|
Line | |
---|
1 | #include "OrxonoxClass.h" |
---|
2 | |
---|
3 | namespace orxonox |
---|
4 | { |
---|
5 | OrxonoxClass::OrxonoxClass() |
---|
6 | { |
---|
7 | this->identifier_ = 0; |
---|
8 | this->parents_ = 0; |
---|
9 | |
---|
10 | this->metaList_ = new MetaObjectList; |
---|
11 | } |
---|
12 | |
---|
13 | OrxonoxClass::~OrxonoxClass() |
---|
14 | { |
---|
15 | if (this->parents_) |
---|
16 | delete this->parents_; |
---|
17 | |
---|
18 | delete this->metaList_; |
---|
19 | } |
---|
20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.