Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGUID::toString Method
Syntax
C++
OdString toString(const StringFormat::Enum format = StringFormat::Hyphenses) const;

Returns string representation for this OdGUID. 

 

Parameters
Description
format
[in] A single format specifier that indicates how to format the value of this OdGUID. Default value is OdGUID::StringFormat::Hyphenses.

The following table shows the accepted format specifiers for the format parameter. "0" represents a digit; hyphens ("-"), braces ("{", "}"), and parentheses ("(", ")") appear as shown. 

OdGUID::StringFormat::Digits: 00000000000000000000000000000000 OdGUID::StringFormat::Hyphenses: 00000000-0000-0000-0000-000000000000 OdGUID::StringFormat::Braces: {00000000-0000-0000-0000-000000000000} OdGUID::StringFormat::Parentheses: (00000000-0000-0000-0000-000000000000) OdGUID::StringFormat::Extended: {0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} OdGUID::StringFormat::Base64String: Encoded of the base 64 characters compressed string. Contains 22 characters + 1 for the terminating 0

Copyright © 2002-2022. Open Design Alliance All rights reserved.