1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- /* FILE
- *
- * file: word.cpp
- *
- *
- */
- /* */
- # include <stddef.h>
- /* INCLUDE
- *
- * NULL
- *
- *
- */
- /* */
- # include "word.h"
- /* INCLUDE
- *
- * Word
- * word__get (struct Word *this)
- * word__set (struct Word *this, char *value)
- * word__copy (struct Word *this, struct Word *word)
- * word__init (struct Word *this)
- *
- *
- */
- /* tools for value */
- /* */
- char*
- word__get (struct Word *this)
- {
- /* */
- return this->value;
- }
-
- /* */
- void
- word__set (struct Word *this, char *value)
- {
- /* */
- this->value = value;
- }
-
- /* Word (Word *word) */
- void
- word__copy (struct Word *this, struct Word *word)
- {
- /* */
- this->value = word->value;
-
- /* */
- this->previous = word->previous;
-
- /* */
- this->next = word->next;
- }
- /* tools wich point */
- /* INITIALIZATION Word */
- void
- word__init (struct Word *this)
- {
- /* */
- this->previous = NULL;
-
- /* */
- this->next = NULL;
- }
|