Added nb_elements_per_line property to OBIDMS_column class

This commit is contained in:
Celine Mercier
2016-09-26 17:01:13 +02:00
parent a0bc45cc92
commit a474391b27
2 changed files with 9 additions and 4 deletions

View File

@ -16,7 +16,7 @@ cdef class OBIDMS_column:
cdef OBIView view
cdef str data_type
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
cpdef str get_data_type(self)

View File

@ -165,11 +165,16 @@ cdef class OBIDMS_column :
def alias(self, new_alias):
self.view.change_column_alias(self.column_alias, new_alias)
# Element names property getter
# elements_names property getter
@property
def elements_names(self):
return self.elements_names
# nb_elements_per_line property getter
@property
def nb_elements_per_line(self):
return self.nb_elements_per_line
@staticmethod
cdef object get_subclass_type(OBIDMS_column_p column_p) :