BSG_KSCrashReportWriter
Objective-C
struct BSG_KSCrashReportWriter {}Swift
struct BSG_KSCrashReportWriterEncapsulates report writing functionality.
- 
                  
                  Add a boolean element to the report. DeclarationObjective-C void (*addBooleanElement)(const struct BSG_KSCrashReportWriter *, const char *, _Bool)Swift var addBooleanElement: ((UnsafePointer<BSG_KSCrashReportWriter>?, UnsafePointer<CChar>?, Bool) -> Void)!ParameterswriterThis writer. nameThe name to give this element. valueThe value to add. 
- 
                  
                  Add a floating point element to the report. DeclarationObjective-C void (*addFloatingPointElement)(const struct BSG_KSCrashReportWriter *, const char *, double)Swift var addFloatingPointElement: ((UnsafePointer<BSG_KSCrashReportWriter>?, UnsafePointer<CChar>?, Double) -> Void)!ParameterswriterThis writer. nameThe name to give this element. valueThe value to add. 
- 
                  
                  Add an integer element to the report. DeclarationObjective-C void (*addIntegerElement)(const struct BSG_KSCrashReportWriter *, const char *, long long)Swift var addIntegerElement: ((UnsafePointer<BSG_KSCrashReportWriter>?, UnsafePointer<CChar>?, Int64) -> Void)!ParameterswriterThis writer. nameThe name to give this element. valueThe value to add. 
- 
                  
                  Add an unsigned integer element to the report. DeclarationObjective-C void (*addUIntegerElement)(const struct BSG_KSCrashReportWriter *, const char *, unsigned long long)Swift var addUIntegerElement: ((UnsafePointer<BSG_KSCrashReportWriter>?, UnsafePointer<CChar>?, UInt64) -> Void)!ParameterswriterThis writer. nameThe name to give this element. valueThe value to add. 
- 
                  
                  Add a string element to the report. DeclarationObjective-C void (*addStringElement)(const struct BSG_KSCrashReportWriter *, const char *, const char *)Swift var addStringElement: ((UnsafePointer<BSG_KSCrashReportWriter>?, UnsafePointer<CChar>?, UnsafePointer<CChar>?) -> Void)!ParameterswriterThis writer. nameThe name to give this element. valueThe value to add. 
- 
                  
                  Add a string element from a text file to the report. DeclarationObjective-C void (*addTextFileElement)(const struct BSG_KSCrashReportWriter *, const char *, const char *)Swift var addTextFileElement: ((UnsafePointer<BSG_KSCrashReportWriter>?, UnsafePointer<CChar>?, UnsafePointer<CChar>?) -> Void)!ParameterswriterThis writer. nameThe name to give this element. filePathThe path to the file containing the value to add. 
- 
                  
                  Add a JSON element from a text file to the report. DeclarationObjective-C void (*addJSONFileElement)(const struct BSG_KSCrashReportWriter *, const char *, const char *)Swift var addJSONFileElement: ((UnsafePointer<BSG_KSCrashReportWriter>?, UnsafePointer<CChar>?, UnsafePointer<CChar>?) -> Void)!ParameterswriterThis writer. nameThe name to give this element. filePathThe path to the file containing the value to add. 
- 
                  
                  Add a hex encoded data element to the report. DeclarationObjective-C void (*addDataElement)(const struct BSG_KSCrashReportWriter *, const char *, const char *, const size_t)Swift var addDataElement: ((UnsafePointer<BSG_KSCrashReportWriter>?, UnsafePointer<CChar>?, UnsafePointer<CChar>?, Int) -> Void)!ParameterswriterThis writer. nameThe name to give this element. valueA pointer to the binary data. lengthThe length of the data. 
- 
                  
                  Begin writing a hex encoded data element to the report. DeclarationObjective-C void (*beginDataElement)(const struct BSG_KSCrashReportWriter *, const char *)Swift var beginDataElement: ((UnsafePointer<BSG_KSCrashReportWriter>?, UnsafePointer<CChar>?) -> Void)!ParameterswriterThis writer. nameThe name to give this element. 
- 
                  
                  Append hex encoded data to the current data element in the report. DeclarationObjective-C void (*appendDataElement)(const struct BSG_KSCrashReportWriter *, const char *, const size_t)Swift var appendDataElement: ((UnsafePointer<BSG_KSCrashReportWriter>?, UnsafePointer<CChar>?, Int) -> Void)!ParameterswriterThis writer. valueA pointer to the binary data. lengthThe length of the data. 
- 
                  
                  Complete writing a hex encoded data element to the report. DeclarationObjective-C void (*endDataElement)(const struct BSG_KSCrashReportWriter *)Swift var endDataElement: ((UnsafePointer<BSG_KSCrashReportWriter>?) -> Void)!ParameterswriterThis writer. 
- 
                  
                  Add a UUID element to the report. DeclarationObjective-C void (*addUUIDElement)(const struct BSG_KSCrashReportWriter *, const char *, const unsigned char *)Swift var addUUIDElement: ((UnsafePointer<BSG_KSCrashReportWriter>?, UnsafePointer<CChar>?, UnsafePointer<UInt8>?) -> Void)!ParameterswriterThis writer. nameThe name to give this element. valueA pointer to the binary UUID data. 
- 
                  
                  Add a preformatted JSON element to the report. DeclarationObjective-C void (*addJSONElement)(const struct BSG_KSCrashReportWriter *, const char *, const char *)Swift var addJSONElement: ((UnsafePointer<BSG_KSCrashReportWriter>?, UnsafePointer<CChar>?, UnsafePointer<CChar>?) -> Void)!ParameterswriterThis writer. nameThe name to give this element. jsonElementA pointer to the JSON data. 
- 
                  
                  Begin a new object container. DeclarationObjective-C void (*beginObject)(const struct BSG_KSCrashReportWriter *, const char *)Swift var beginObject: ((UnsafePointer<BSG_KSCrashReportWriter>?, UnsafePointer<CChar>?) -> Void)!ParameterswriterThis writer. nameThe name to give this element. 
- 
                  
                  Begin a new array container. DeclarationObjective-C void (*beginArray)(const struct BSG_KSCrashReportWriter *, const char *)Swift var beginArray: ((UnsafePointer<BSG_KSCrashReportWriter>?, UnsafePointer<CChar>?) -> Void)!ParameterswriterThis writer. nameThe name to give this element. 
- 
                  
                  Leave the current container, returning to the next higher level container. DeclarationObjective-C void (*endContainer)(const struct BSG_KSCrashReportWriter *)Swift var endContainer: ((UnsafePointer<BSG_KSCrashReportWriter>?) -> Void)!ParameterswriterThis writer. 
- 
                  
                  Internal contextual data for the writer DeclarationObjective-C void *contextSwift var context: UnsafeMutableRawPointer!
 View on GitHub
View on GitHub Install in Dash
Install in Dash BSG_KSCrashReportWriter Structure Reference
        BSG_KSCrashReportWriter Structure Reference