CRSDatumEnsemble
Objective-C
@interface CRSDatumEnsemble : NSObject <CRSIdentifiable>
Swift
class CRSDatumEnsemble : NSObject, CRSIdentifiable
Datum Ensemble
-
Name
Declaration
Objective-C
@property (nonatomic, strong) NSString *name;
Swift
var name: String! { get set }
-
Members
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray<CRSDatumEnsembleMember *> *members;
Swift
var members: NSMutableArray! { get set }
-
Accuracy (in meters)
Declaration
Objective-C
@property (nonatomic) double accuracy;
Swift
var accuracy: Double { get set }
-
Accuracy (in meters) Text
Declaration
Objective-C
@property (nonatomic, strong) NSString *accuracyText;
Swift
var accuracyText: String! { get set }
-
Identifiers
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray<CRSIdentifier *> *identifiers;
Swift
var identifiers: NSMutableArray! { get set }
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)initWithName:(NSString *)name andMember:(CRSDatumEnsembleMember *)member andAccuracy:(double)accuracy;
Swift
init!(name: String!, andMember member: CRSDatumEnsembleMember!, andAccuracy accuracy: Double)
Parameters
name
name
member
member
accuracy
accuracy
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)initWithName:(NSString *)name andMember:(CRSDatumEnsembleMember *)member andAccuracyText:(NSString *)accuracy;
Swift
init!(name: String!, andMember member: CRSDatumEnsembleMember!, andAccuracyText accuracy: String!)
Parameters
name
name
member
member
accuracy
accuracy
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)initWithName:(NSString *)name andMembers:(NSArray<CRSDatumEnsembleMember *> *)members andAccuracy:(double)accuracy;
Swift
init!(name: String!, andMembers members: [CRSDatumEnsembleMember]!, andAccuracy accuracy: Double)
Parameters
name
name
members
members
accuracy
accuracy
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)initWithName:(NSString *)name andMembers:(NSArray<CRSDatumEnsembleMember *> *)members andAccuracyText:(NSString *)accuracy;
Swift
init!(name: String!, andMembers members: [CRSDatumEnsembleMember]!, andAccuracyText accuracy: String!)
Parameters
name
name
members
members
accuracy
accuracy
Return Value
new instance
-
Number of members
Declaration
Objective-C
- (int)numMembers;
Swift
func numMembers() -> Int32
Return Value
members count
-
Get the member at the index
Declaration
Objective-C
- (CRSDatumEnsembleMember *)memberAtIndex:(int)index;
Swift
func member(at index: Int32) -> CRSDatumEnsembleMember!
Parameters
index
member index
Return Value
member
-
Add the member
Declaration
Objective-C
- (void)addMember:(CRSDatumEnsembleMember *)member;
Swift
func addMember(_ member: CRSDatumEnsembleMember!)
Parameters
member
member
-
Add the members
Declaration
Objective-C
- (void)addMembers:(NSArray<CRSDatumEnsembleMember *> *)members;
Swift
func addMembers(_ members: [CRSDatumEnsembleMember]!)
Parameters
members
members