CRSOperationMethods
Objective-C
@interface CRSOperationMethods : NSObject
Swift
class CRSOperationMethods : NSObject
Operation Methods
-
Get the type
Declaration
Objective-C
- (enum CRSOperationMethodType)type;Swift
func type() -> CRSOperationMethodTypeReturn 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() -> CRSOperationTypeReturn 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() -> Int32Return 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() -> Int32Return Value
parameter count
-
Get the parameter code at the index
Declaration
Objective-C
- (int)parameterCodeAtIndex:(int)index;Swift
func parameterCode(at index: Int32) -> Int32Parameters
indexparameter 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
indexparameter 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
typeoperation 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
namename 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
namename 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
codemethod code
Return Value
method
View on GitHub
CRSOperationMethods Class Reference