|
Last change
on this file since 12330 was 12330, checked in by Mathieu Morlighem, 13 years ago |
|
merged trunk-jpl and trunk for revision 12326M
|
|
File size:
535 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * Object.h:
|
|---|
| 3 | * \brief prototype for abstract Object class
|
|---|
| 4 | * \file Object.h
|
|---|
| 5 | * This prototype describes the Object class. This is an abstract class, parent
|
|---|
| 6 | * to any other objects (Quad, Tria, Node , etc ...), that can be included in a
|
|---|
| 7 | * DataSet.
|
|---|
| 8 | */
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 | #ifndef _OBJECT_H_
|
|---|
| 12 | #define _OBJECT_H_
|
|---|
| 13 |
|
|---|
| 14 | class Object {
|
|---|
| 15 |
|
|---|
| 16 | public:
|
|---|
| 17 |
|
|---|
| 18 | virtual ~Object() {};
|
|---|
| 19 | virtual void Echo()=0;
|
|---|
| 20 | virtual void DeepEcho()=0;
|
|---|
| 21 | virtual int Id()=0;
|
|---|
| 22 | virtual int MyRank()=0;
|
|---|
| 23 | virtual int ObjectEnum()=0;
|
|---|
| 24 | virtual Object* copy()=0;
|
|---|
| 25 |
|
|---|
| 26 | };
|
|---|
| 27 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.