#include <CactusStackStorage.h>


Public Member Functions | |
| CactusStackStorage () | |
| void | setParent (CactusStackStorage *parent) |
| void | setChildren (CactusStackStorage *children) |
| CactusStackStorage * | getParent () |
| CactusStackStorage * | getChildren () |
| void | push (void *data) |
| void * | pop () |
| void * | top () const |
| bool | empty () const |
Protected Attributes | |
| CactusStackStorage * | up |
| This point to the parent stack. | |
| CactusStackStorage * | down |
| This point to the *array* of child stacks. | |
| std::stack< void * > | stack |
See http://www.nist.gov/dads/HTML/cactusstack.html
Definition at line 41 of file CactusStackStorage.h.
| sofa::simulation::CactusStackStorage::CactusStackStorage | ( | ) | [inline] |
Definition at line 48 of file CactusStackStorage.h.
| bool sofa::simulation::CactusStackStorage::empty | ( | ) | const [virtual] |
Implements sofa::simulation::LocalStorage.
Definition at line 54 of file CactusStackStorage.cpp.
References empty(), stack, and up.
Referenced by empty().
| CactusStackStorage* sofa::simulation::CactusStackStorage::getChildren | ( | void | ) | [inline] |
| CactusStackStorage* sofa::simulation::CactusStackStorage::getParent | ( | ) | [inline] |
| void * sofa::simulation::CactusStackStorage::pop | ( | ) | [virtual] |
Implements sofa::simulation::LocalStorage.
Definition at line 37 of file CactusStackStorage.cpp.
References stack.
| void sofa::simulation::CactusStackStorage::push | ( | void * | data | ) | [virtual] |
Implements sofa::simulation::LocalStorage.
Definition at line 33 of file CactusStackStorage.cpp.
References stack.
| void sofa::simulation::CactusStackStorage::setChildren | ( | CactusStackStorage * | children | ) | [inline] |
| void sofa::simulation::CactusStackStorage::setParent | ( | CactusStackStorage * | parent | ) | [inline] |
| void * sofa::simulation::CactusStackStorage::top | ( | ) | const [virtual] |
Implements sofa::simulation::LocalStorage.
Definition at line 44 of file CactusStackStorage.cpp.
References stack, top(), and up.
Referenced by top().
This point to the *array* of child stacks.
Definition at line 45 of file CactusStackStorage.h.
Referenced by getChildren(), and setChildren().
std::stack<void*> sofa::simulation::CactusStackStorage::stack [protected] |
This point to the parent stack.
Definition at line 44 of file CactusStackStorage.h.
Referenced by empty(), getParent(), setParent(), and top().
1.5.7.1