GBSourceInfo Class Reference
Specifies declared file data for store object.
Declared file provides information about where an object was declared - i.e. source file name and line number. This can be used for generating output and for diagnostics and as debug information.
Initialization & disposal
Returns a new autoreleased
GBSourceInfo with the given values.
+ (id)infoWithFilename:(NSString *)filename lineNumber:(NSUInteger)lineNumber
- The name of the file without path.
- Line number within the file.
Returns autoreleased object.
- Thrown if the given filename is
nilor empty string.
NSComparisonResult value that indicates whether the receiver is greater than, equal to, or less than a given data.
- (NSComparisonResult)compare:(GBSourceInfo *)data
GBSourceInfoto compare with.
NSOrderedAscending if the value of data is greater than the receiver,
NSOrderedSame if they’re equal, and
NSOrderedDescending if the data is less than the receiver.
Important: Note that the given data must not be
nil. The behavior is undefined in such case!