DictValue
Objective-C
@interface DictValue : NSObject
Swift
class DictValue : NSObject
This struct stores the scalar value (or array) of one of the following type: double, cv::String or int64. TODO: Maybe int64 is useless because double type exactly stores at least 2^52 integers.
Member of Dnn
-
Declaration
Objective-C
- (instancetype)initWithS:(NSString*)s;
Swift
init(s: String)
-
Declaration
Objective-C
- (instancetype)initWithP:(double)p;
Swift
init(p: Double)
-
Declaration
Objective-C
- (instancetype)initWithI:(int)i;
Swift
init(i: Int32)
-
Declaration
Objective-C
- (NSString*)getStringValue:(int)idx NS_SWIFT_NAME(getStringValue(idx:));
Swift
func getStringValue(idx: Int32) -> String
-
Declaration
Objective-C
- (NSString*)getStringValue NS_SWIFT_NAME(getStringValue());
Swift
func getStringValue() -> String
-
Declaration
Objective-C
- (BOOL)isInt NS_SWIFT_NAME(isInt());
Swift
func isInt() -> Bool
-
Declaration
Objective-C
- (BOOL)isReal NS_SWIFT_NAME(isReal());
Swift
func isReal() -> Bool
-
Declaration
Objective-C
- (BOOL)isString NS_SWIFT_NAME(isString());
Swift
func isString() -> Bool
-
Declaration
Objective-C
- (double)getRealValue:(int)idx NS_SWIFT_NAME(getRealValue(idx:));
Swift
func getRealValue(idx: Int32) -> Double
-
Declaration
Objective-C
- (double)getRealValue NS_SWIFT_NAME(getRealValue());
Swift
func getRealValue() -> Double
-
Declaration
Objective-C
- (int)getIntValue:(int)idx NS_SWIFT_NAME(getIntValue(idx:));
Swift
func getIntValue(idx: Int32) -> Int32
-
Declaration
Objective-C
- (int)getIntValue NS_SWIFT_NAME(getIntValue());
Swift
func getIntValue() -> Int32