Detailed Description
Makes an Evidence value fit in the usage sharing XML.
The value is cut to SHARE_USAGE_MAX_EVIDENCE_LENGTH characters (code points, so a character is never split), a character XML 1.0 does not allow is written as a backslash, "x" and its code in four lower-case hexadecimal digits, and the markup characters are written as entities. escaped and truncated say what changed.
Public Member Functions | |
| __init__ (self, text) | |
| map_char (self, char) | |
Public Attributes | |
| str | result = "" |
| bool | escaped = False |
| bool | truncated = False |
Constructor & Destructor Documentation
◆ __init__()
| fiftyone_pipeline_engines_fiftyone.share_usage.ReplacedString.__init__ | ( | self, | |
| text ) |
Member Function Documentation
◆ map_char()
| fiftyone_pipeline_engines_fiftyone.share_usage.ReplacedString.map_char | ( | self, | |
| char ) |
Member Data Documentation
◆ escaped
| bool fiftyone_pipeline_engines_fiftyone.share_usage.ReplacedString.escaped = False |
◆ result
| str fiftyone_pipeline_engines_fiftyone.share_usage.ReplacedString.result = "" |
◆ truncated
| bool fiftyone_pipeline_engines_fiftyone.share_usage.ReplacedString.truncated = False |
