picofuse-objc

List of all members
NXConstantString Class Reference

The class of constant strings, such as @"string". More...

#import <Foundation/Foundation.h>

Inheritance diagram for NXConstantString:
Inheritance graph
[legend]
Collaboration diagram for NXConstantString:
Collaboration graph
[legend]

Additional Inherited Members

- Instance Methods inherited from NXString
(id) - initWithBytes:length:
 Initializes a string with a number of bytes, or those before the first which is zero.
 
(id) - initWithString:
 Initializes a string with the contents of another, which is empty if that's nil.
 
(id) - initWithQuotedString:
 Initializes a string from one in quotes, with its escapes decoded.
 
(id) - initWithCString:
 Initializes a string with the contents of a null-terminated string, which is empty if that's NULL.
 
(id) - initWithFormat:
 Initializes a string with a format and arguments.
 
(id) - initWithFormat:arguments:
 Initializes a string with a format and a list of arguments.
 
(size_t) - length
 Returns the length in bytes, which doesn't include the null terminator.
 
(const char *) - cStr
 Returns the contents, as a null-terminated string. More...
 
(size_t) - runeCount
 Returns the number of runes, which are Unicode code points.
 
(BOOL) - isEqual:
 Returns YES if the other object is a string with the same contents, whatever kind it is.
 
(uintptr_t) - hash
 Returns a hash of the contents, which is the same for equal strings.
 
(NXComparisonResult) - compare:
 Compares the string with another, byte by byte. More...
 
(BOOL) - hasPrefix:
 Returns YES if the string starts with another, as it does with nil or an empty string.
 
(BOOL) - hasSuffix:
 Returns YES if the string ends with another, as it does with nil or an empty string.
 
(BOOL) - containsString:
 Returns YES if the string has another in it, as it does nil or an empty string.
 
(size_t) - indexOfSubstring:
 Returns the index, in bytes, of the first place that another string is in this one, or NXNotFound. More...
 
(NXArray *) - componentsSeparatedByString:
 Returns the parts of the string between a separator, as new strings. More...
 
(NXArray *) - componentsSeparatedByWhitespace
 Returns the words of the string, which are between runs of whitespace, as new strings. More...
 
(NXString *) - description
 Returns the string itself.
 
- Instance Methods inherited from NXObject
(void) - dealloc
 Frees the instance. More...
 
(NXZone *) - zone
 Returns the zone in which the instance was allocated. More...
 
(id) - retain
 Increases the retain count of the receiver. More...
 
(void) - release
 Decreases the retain count of the receiver. More...
 
(id) - autorelease
 Releases the receiver later, when the current autorelease pool of the thread is drained. More...
 
(id) - copy
 Returns a copy which can't be changed by anything else, which the caller owns and has to release. More...
 
- Instance Methods inherited from Object
(id) - init
 Initialize the instance, after allocation. More...
 
(Class) - class
 Returns the class of the instance. More...
 
(Class) - superclass
 Returns the superclass of the instance. More...
 
(BOOL) - isKindOfClass:
 Returns a Boolean value that indicates whether the receiver is an instance of a given class. More...
 
(BOOL) - conformsTo:
 Checks if the receiver's class conforms to a protocol. More...
 
- Instance Methods inherited from <ObjectProtocol>
(BOOL) - respondsToSelector:
 Checks if the receiver responds to a selector. More...
 
- Class Methods inherited from NXString
(id) + string
 Returns an empty string.
 
(id) + stringWithString:
 Returns a string with the contents of another, which is empty if that's nil.
 
(id) + stringWithCString:
 Returns a string with the contents of a null-terminated string, which is empty if that's NULL.
 
(id) + stringWithFormat:
 Returns a string made from a format and arguments.
 
(id) + stringWithQuotedString:
 Returns a string from one in quotes, with its escapes decoded, or nil if it isn't one. More...
 
- Class Methods inherited from NXObject
(id) + alloc
 Allocates a new instance in the default zone, or if there isn't one, with sys_calloc(). More...
 
(id) + allocWithZone:
 Allocates a new instance in a specific zone. More...
 
(id) + new
 Allocates and initializes a new instance, as [[cls alloc] init] does. More...
 
- Class Methods inherited from Object
(void) + initialize
 Performs one-time initialization for the class. More...
 
(Class) + class
 Returns the class object. More...
 
(Class) + superclass
 Returns the superclass of the class. More...
 
(const char *) + name
 Returns the name of the class. More...
 
(BOOL) + conformsTo:
 Checks if the class conforms to a protocol. More...
 
- Protected Attributes inherited from Object
Class isa
 A pointer to the object's class structure. More...
 

Detailed Description

The class of constant strings, such as @"string".

The compiler makes these, so they aren't allocated or deallocated. Nothing other than the compiler needs to refer to this class: use NXString.

Definition at line 16 of file NXConstantString.h.


The documentation for this class was generated from the following file: