Design Pattern Examples
Overview of object-oriented design patterns
Command_TextObject Struct Reference

Container for a string. Need to use a structure to keep the starting text and the current text together. Operations applied to an instance of this structure alter the contents but not the structure itself. More...

#include <Command_TextObject.h>

Collaboration diagram for Command_TextObject:
Collaboration graph

Public Attributes

const char * startingText
 Starting string text so we can reset the text to a known point.
 
char * text
 The text that can change.
 

Detailed Description

Container for a string. Need to use a structure to keep the starting text and the current text together. Operations applied to an instance of this structure alter the contents but not the structure itself.

Definition at line 18 of file Command_TextObject.h.

Member Data Documentation

◆ startingText

const char* startingText

Starting string text so we can reset the text to a known point.

Definition at line 23 of file Command_TextObject.h.

Referenced by Command_TextObject_Clear(), Command_TextObject_Initialize(), and Command_TextObject_Reset().

◆ text


The documentation for this struct was generated from the following file: