RAC(Robot Action Command) String API file. More...
Go to the source code of this file.
Defines | |
#define | _DN_EXP_RACSTR |
Functions | |
_DN_EXP_RACSTR HRESULT | ConvertRacStr2Variant (uint16_t vt, const char *chSrc, VARIANT *pvargDest) |
Converts RAC string to VARIANT. | |
_DN_EXP_RACSTR HRESULT | ConvertVariant2RacStr (VARIANT varSrc, char **chDest) |
Converts VARIANT to RAC string. |
RAC(Robot Action Command) String API file.
Defines RAC String convertion APIs.
Software License Agreement (MIT License)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Definition in file rac_string.h.
#define _DN_EXP_RACSTR |
Definition at line 37 of file rac_string.h.
HRESULT ConvertRacStr2Variant | ( | uint16_t | vt, |
const char * | chSrc, | ||
VARIANT * | pvargDest | ||
) |
Converts RAC string to VARIANT.
[in] | vt | The variant type. |
[in] | chSrc | The source string. |
[out] | pvargDest | The destination variant. |
Definition at line 96 of file rac_string.c.
HRESULT ConvertVariant2RacStr | ( | VARIANT | varSrc, |
char ** | chDest | ||
) |
Converts VARIANT to RAC string.
[in] | varSrc | The source variant. |
[out] | chDest | The destination string. |
Definition at line 228 of file rac_string.c.