ObjFW
Classes | Typedefs | Enumerations
OFString.h File Reference
#include <stdarg.h>
#include <inttypes.h>
#import "OFObject.h"
#import "OFSerialization.h"
#import "OFJSONRepresentation.h"
#import "OFMessagePackRepresentation.h"
#import "OFConstantString.h"
#import "OFMutableString.h"
#import "OFString+Hashing.h"
#import "OFString+JSONValue.h"
#import "OFString+Serialization.h"
#import "OFString+URLEncoding.h"
#import "OFString+XMLEscaping.h"
#import "OFString+XMLUnescaping.h"

Go to the source code of this file.

Classes

class  OFString
 A class for handling strings. More...
 

Typedefs

typedef enum of_string_encoding_t of_string_encoding_t
 The encoding of a string.
 
typedef void(^ of_string_line_enumeration_block_t) (OFString *line, bool *stop)
 A block for enumerating the lines of a string. More...
 

Enumerations

enum  of_string_encoding_t {
  OF_STRING_ENCODING_UTF_8, OF_STRING_ENCODING_ASCII, OF_STRING_ENCODING_ISO_8859_1, OF_STRING_ENCODING_ISO_8859_15,
  OF_STRING_ENCODING_WINDOWS_1252, OF_STRING_ENCODING_CODEPAGE_437, OF_STRING_ENCODING_AUTODETECT = 0xFF
}
 The encoding of a string. More...
 

Typedef Documentation

typedef void(^ of_string_line_enumeration_block_t) (OFString *line, bool *stop)

A block for enumerating the lines of a string.

Parameters
lineThe current line
stopA pointer to a variable that can be set to true to stop the enumeration

Enumeration Type Documentation

The encoding of a string.

Enumerator
OF_STRING_ENCODING_UTF_8 

UTF-8

OF_STRING_ENCODING_ASCII 

ASCII

OF_STRING_ENCODING_ISO_8859_1 

ISO 8859-1

OF_STRING_ENCODING_ISO_8859_15 

ISO 8859-15

OF_STRING_ENCODING_WINDOWS_1252 

Windows-1252

OF_STRING_ENCODING_CODEPAGE_437 

Codepage 437

OF_STRING_ENCODING_AUTODETECT 

Try to automatically detect the encoding