CRSOperationMethods

Objective-C

@interface CRSOperationMethods : NSObject

Swift

class CRSOperationMethods : NSObject

Operation Methods

  • Get the type

    Declaration

    Objective-C

    - (enum CRSOperationMethodType)type;

    Swift

    func type() -> CRSOperationMethodType

    Return Value

    type

  • Get the name

    Declaration

    Objective-C

    - (NSString *)name;

    Swift

    func name() -> String!

    Return Value

    name

  • Get the operation type

    Declaration

    Objective-C

    - (enum CRSOperationType)operationType;

    Swift

    func operationType() -> CRSOperationType

    Return Value

    operation type

  • Get the aliases

    Declaration

    Objective-C

    - (NSArray<NSString *> *)aliases;

    Swift

    func aliases() -> [String]!

    Return Value

    aliases

  • Get the code

    Declaration

    Objective-C

    - (int)code;

    Swift

    func code() -> Int32

    Return Value

    code

  • Get the parameter codes

    Declaration

    Objective-C

    - (NSArray<NSNumber *> *)parameterCodes;

    Swift

    func parameterCodes() -> [NSNumber]!

    Return Value

    parameter codes

  • Number of parameters

    Declaration

    Objective-C

    - (int)numParameters;

    Swift

    func numParameters() -> Int32

    Return Value

    parameter count

  • Get the parameter code at the index

    Declaration

    Objective-C

    - (int)parameterCodeAtIndex:(int)index;

    Swift

    func parameterCode(at index: Int32) -> Int32

    Parameters

    index

    parameter index

    Return Value

    parameter code

  • Get the parameter at the index

    Declaration

    Objective-C

    - (CRSOperationParameters *)parameterAtIndex:(int)index;

    Swift

    func parameter(at index: Int32) -> CRSOperationParameters!

    Parameters

    index

    parameter index

    Return Value

    parameter

  • Get the parameters

    Declaration

    Objective-C

    - (NSArray<CRSOperationParameters *> *)parameters;

    Swift

    func parameters() -> [CRSOperationParameters]!

    Return Value

    parameters

  • Get the method from the method type

    Declaration

    Objective-C

    + (CRSOperationMethods *)method:(enum CRSOperationMethodType)type;

    Swift

    class func method(_ type: CRSOperationMethodType) -> CRSOperationMethods!

    Parameters

    type

    operation method type

    Return Value

    parameter

  • Get the method from the alias

    Declaration

    Objective-C

    + (CRSOperationMethods *)methodFromName:(NSString *)name;

    Swift

    class func method(fromName name: String!) -> CRSOperationMethods!

    Parameters

    name

    name or alias

    Return Value

    method

  • Get the methods from the alias

    Declaration

    Objective-C

    + (NSArray<CRSOperationMethods *> *)methodsFromName:(NSString *)name;

    Swift

    class func methods(fromName name: String!) -> [CRSOperationMethods]!

    Parameters

    name

    name or alias

    Return Value

    methods

  • Get the method from the code

    Declaration

    Objective-C

    + (CRSOperationMethods *)methodFromCode:(int)code;

    Swift

    class func method(fromCode code: Int32) -> CRSOperationMethods!

    Parameters

    code

    method code

    Return Value

    method