Added nb_elements_per_line property to OBIDMS_column class
This commit is contained in:
@ -16,7 +16,7 @@ cdef class OBIDMS_column:
|
|||||||
cdef OBIView view
|
cdef OBIView view
|
||||||
cdef str data_type
|
cdef str data_type
|
||||||
cdef str dms_name
|
cdef str dms_name
|
||||||
cdef index_t nb_elements_per_line
|
cdef index_t nb_elements_per_line # associated property: nb_elements_per_line
|
||||||
cdef list elements_names # associated property: elements_names
|
cdef list elements_names # associated property: elements_names
|
||||||
|
|
||||||
cpdef str get_data_type(self)
|
cpdef str get_data_type(self)
|
||||||
|
@ -165,11 +165,16 @@ cdef class OBIDMS_column :
|
|||||||
def alias(self, new_alias):
|
def alias(self, new_alias):
|
||||||
self.view.change_column_alias(self.column_alias, new_alias)
|
self.view.change_column_alias(self.column_alias, new_alias)
|
||||||
|
|
||||||
# Element names property getter
|
# elements_names property getter
|
||||||
@property
|
@property
|
||||||
def elements_names(self):
|
def elements_names(self):
|
||||||
return self.elements_names
|
return self.elements_names
|
||||||
|
|
||||||
|
# nb_elements_per_line property getter
|
||||||
|
@property
|
||||||
|
def nb_elements_per_line(self):
|
||||||
|
return self.nb_elements_per_line
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
cdef object get_subclass_type(OBIDMS_column_p column_p) :
|
cdef object get_subclass_type(OBIDMS_column_p column_p) :
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user