Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# Tools/StringFunctions.cpp File Reference

Implementation of common string functions. More...

`#include "StringFunctions.h"`
`#include <string.h>`

Include dependency graph for StringFunctions.cpp:

Go to the source code of this file.

## Functions
void | getYabslString (char *dstYabsl, const char *src)
void | getXmlString (char *dstYabsl, const char *src)
| converts a string to our xml format, eg kickLeft or kick-left to kick-left

## Detailed Description

Implementation of common string functions.

Author:
  Uwe Düffert

Definition in file StringFunctions.cpp.

## Function Documentation

void getYabslString | ( | char * | dstYabsl,
|  | const char * | src
| ) |

| Definition at line 12 of file StringFunctions.cpp.

void getXmlString | ( | char * | dstXml,
|  | const char * | src
| ) |

  | converts a string to our xml format, eg kickLeft or kick-left to kick-left Parameters:
  src | pointer to source char* to be converted
  dstXml | pointer to buffer to write return value to
Todo: Header/Xabsl interpretation differences: tail-mode.TAIL-center/left/right-* top.left/right-ONLY *-paw-kick-forward vs. paw-kick-with-*-forward start-me-UP HEAD-CONTROL-MODE.* Definition at line 49 of file StringFunctions.cpp. Referenced by AngleSymbols::registerSymbols(), CalibrationSymbols::registerSymbols(), ChallengeSymbols::registerSymbols(), HeadAndTailSymbols::registerSymbols(), LEDAndSoundSymbols::registerSymbols(), and MotionRequestSymbols::registerSymbols().