Last change
on this file since 187 was
15,
checked in by Bayard Gildas, 5 years ago
|
sources reformatted with flair-format-dir script
|
File size:
1.1 KB
|
Line | |
---|
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 | public: |
---|
23 | Object_impl(const flair::core::Object *self, |
---|
24 | const flair::core::Object *parent = NULL, std::string name = "", |
---|
25 | std::string type = ""); |
---|
26 | ~Object_impl(); |
---|
27 | std::string name, type; |
---|
28 | std::vector<const flair::core::Object *> childs; |
---|
29 | std::vector<const flair::core::Object *> type_childs; |
---|
30 | void AddChild(const flair::core::Object *child); |
---|
31 | void RemoveChild(const flair::core::Object *child); |
---|
32 | bool ErrorOccured(bool recursive); |
---|
33 | bool error_occured; |
---|
34 | const flair::core::Object *parent; |
---|
35 | |
---|
36 | private: |
---|
37 | const flair::core::Object *self; |
---|
38 | }; |
---|
39 | |
---|
40 | #endif // OBJECT_IMPL_H |
---|
Note: See
TracBrowser
for help on using the repository browser.