Commit 24b1dab5 by Celine Mercier

Cython: Columns: added a keys() method that returns all element names

parent 7593673f
......@@ -22,6 +22,7 @@ cdef class Column(OBIWrapper) :
cdef inline OBIDMS_column_p pointer(self)
cdef read_elements_names(self)
cpdef list keys(self)
cdef type get_column_class(obitype_t obitype, bint multi_elts, bint tuples)
......@@ -323,7 +323,10 @@ cdef class Column(OBIWrapper) :
return elts_names_list
cpdef list keys(self):
return self._elements_names
# Column alias property getter and setter
def name(self):
......@@ -340,7 +343,7 @@ cdef class Column(OBIWrapper) :
def elements_names(self):
return self._elements_names
# nb_elements_per_line property getter
def nb_elements_per_line(self):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment