You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: +DSS_MATLAB/IActiveClass.m
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -43,61 +43,61 @@
43
43
options =0;
44
44
end
45
45
46
-
result = calllib(obj.libname, 'ActiveClass_ToJSON', options);
46
+
result = calllib(obj.libname, 'ctx_ActiveClass_ToJSON', obj.dssctx, options);
47
47
obj.CheckForError();
48
48
end
49
49
end
50
50
methods
51
51
52
52
functionresult=get.ActiveClassName(obj)
53
53
% (read-only) Returns name of active class.
54
-
result = calllib(obj.libname, 'ActiveClass_Get_ActiveClassName');
54
+
result = calllib(obj.libname, 'ctx_ActiveClass_Get_ActiveClassName', obj.dssctx);
55
55
obj.CheckForError();
56
56
end
57
57
58
58
functionresult=get.AllNames(obj)
59
59
% (read-only) Array of strings consisting of all element names in the active class.
60
-
result =obj.apiutil.get_string_array('ActiveClass_Get_AllNames');
60
+
result =obj.apiutil.get_string_array('ctx_ActiveClass_Get_AllNames');
61
61
obj.CheckForError();
62
62
end
63
63
64
64
functionresult=get.Count(obj)
65
65
% (read-only) Number of elements in Active Class. Same as NumElements Property.
66
-
result = calllib(obj.libname, 'ActiveClass_Get_Count');
66
+
result = calllib(obj.libname, 'ctx_ActiveClass_Get_Count', obj.dssctx);
67
67
obj.CheckForError();
68
68
end
69
69
70
70
functionresult=get.First(obj)
71
71
% (read-only) Sets first element in the active class to be the active DSS object. If object is a CktElement, ActiveCktELment also points to this element. Returns 0 if none.
72
-
result = calllib(obj.libname, 'ActiveClass_Get_First');
72
+
result = calllib(obj.libname, 'ctx_ActiveClass_Get_First', obj.dssctx);
73
73
obj.CheckForError();
74
74
end
75
75
76
76
functionresult=get.Name(obj)
77
77
% Name of the Active Element of the Active Class
78
-
result = calllib(obj.libname, 'ActiveClass_Get_Name');
78
+
result = calllib(obj.libname, 'ctx_ActiveClass_Get_Name', obj.dssctx);
% (read-only) Sets next element in active class to be the active DSS object. If object is a CktElement, ActiveCktElement also points to this element. Returns 0 if no more.
88
-
result = calllib(obj.libname, 'ActiveClass_Get_Next');
88
+
result = calllib(obj.libname, 'ctx_ActiveClass_Get_Next', obj.dssctx);
89
89
obj.CheckForError();
90
90
end
91
91
92
92
functionresult=get.NumElements(obj)
93
93
% (read-only) Number of elements in this class. Same as Count property.
94
-
result = calllib(obj.libname, 'ActiveClass_Get_NumElements');
94
+
result = calllib(obj.libname, 'ctx_ActiveClass_Get_NumElements', obj.dssctx);
95
95
obj.CheckForError();
96
96
end
97
97
98
98
functionresult=get.ActiveClassParent(obj)
99
99
% Get the name of the parent class of the active class
100
-
result = calllib(obj.libname, 'ActiveClass_Get_ActiveClassParent');
100
+
result = calllib(obj.libname, 'ctx_ActiveClass_Get_ActiveClassParent', obj.dssctx);
0 commit comments