CKSourceLocation Reference

File
ClangKit/Classes/CKSourceLocation.h
Author
Jean-David Gadina - www.xs-labs.com
Copyright
© (c) 2010-2014 - Jean-David Gadina - www.xs-labs.com
Date
Wednesday, June 25, 2014
Includes
None

Overview

ClangKit source location class

Class CKSourceLocation

Attributes

Superclass
NSObject

- initWithPointerData1:pointerData2:intData:

Initializes a source location object

- ( id )initWithPointerData1: ( void * )ptrData1 pointerData2: ( void * )ptrData2 intData: ( unsigned int )intData;

Parameters
  • ptrData1
    Pointer data 1
  • ptrData2
    Pointer data 2
  • intData
    Integer data
Return value

The source location object

+ sourceLocationWithPointerData1:pointerData2:intData:

Gets a source location object

+ ( id )sourceLocationWithPointerData1: ( void * )ptrData1 pointerData2: ( void * )ptrData2 intData: ( unsigned int )intData;

Discussion

The returned object is autoreleased.

Parameters
  • ptrData1
    Pointer data 1
  • ptrData2
    Pointer data 2
  • intData
    Integer data
Return value

The source location object

fileName

The source location's filename

@property( atomic, readonly ) NSString * fileName;

intData

Internal integer data

@property( atomic, readonly ) unsigned int intData;

ptrData1

Internal pointer data 1

@property( atomic, readonly ) void * ptrData1;

ptrData2

Internal pointer data 1

@property( atomic, readonly ) void * ptrData2;