Rev | Line | |
---|
[2] | 1 | // %flair:license{
|
---|
| 2 | // This file is part of the Flair framework distributed under the
|
---|
| 3 | // CECILL-C License, Version 1.0.
|
---|
| 4 | // %flair:license}
|
---|
| 5 | // created: 2013/05/07
|
---|
| 6 | // filename: Object.cpp
|
---|
| 7 | //
|
---|
| 8 | // author: Guillaume Sanahuja
|
---|
| 9 | // Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
| 10 | //
|
---|
| 11 | // version: $Id: $
|
---|
| 12 | //
|
---|
| 13 | // purpose: classe pour object_impl
|
---|
| 14 | //
|
---|
| 15 | //
|
---|
| 16 | /*********************************************************************/
|
---|
| 17 |
|
---|
| 18 | #ifndef OBJECT_IMPL_H
|
---|
| 19 | #define OBJECT_IMPL_H
|
---|
| 20 |
|
---|
| 21 | class Object_impl
|
---|
| 22 | {
|
---|
| 23 | public:
|
---|
| 24 | Object_impl(const flair::core::Object* self,const flair::core::Object* parent=NULL,std::string name="",std::string type="");
|
---|
| 25 | ~Object_impl();
|
---|
| 26 | std::string name,type;
|
---|
| 27 | std::vector<const flair::core::Object*> childs;
|
---|
| 28 | std::vector<const flair::core::Object*> type_childs;
|
---|
| 29 | void AddChild(const flair::core::Object* child);
|
---|
| 30 | void RemoveChild(const flair::core::Object* child);
|
---|
| 31 | bool ErrorOccured(bool recursive);
|
---|
| 32 | bool error_occured;
|
---|
| 33 | const flair::core::Object* parent;
|
---|
| 34 |
|
---|
| 35 | private:
|
---|
| 36 | const flair::core::Object* self;
|
---|
| 37 | };
|
---|
| 38 |
|
---|
| 39 | #endif // OBJECT_IMPL_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.