Slice
/** * @brief Regular slicing (on the form lower:upper or lower:upper:step). Can occur only inside the slice field of Subscript, either directly or as an element of Tuple. */
Inherit from SliceDO
Primary key: element_oid: int
schema Slice extends SliceDO { @primary element_oid: int, element_index: int, parent_oid: int, location_oid: int, printable_text: string, has_step: int }
Slice::getPrintableText
/** * @brief gets the printable text of this element. * @return string */
- Parameter
self
:Slice
- Return
string
pub fn getPrintableText(self: Slice) -> string;
Slice::getParentOid
/** * @brief gets the parent oid of this element. * @return int */
- Parameter
self
:Slice
- Return
int
pub fn getParentOid(self: Slice) -> int;
Slice::getElementIndex
/** * @brief gets the element index of this element. * @return int */
- Parameter
self
:Slice
- Return
int
pub fn getElementIndex(self: Slice) -> int;
Slice::getLocationOid
/** * @brief gets the location oid of this element. * @return int */
- Parameter
self
:Slice
- Return
int
pub fn getLocationOid(self: Slice) -> int;
Slice::getParent
/** * @brief gets the parent element of the element * @return CombineElement */
- Parameter
self
:Slice
- Return
CombineElement
pub fn getParent(self: Slice) -> CombineElement;
Slice::__all__
Data constraint method.
pub fn __all__(db: PythonDB) -> *Slice;
Slice::getAnAncestor
/** * @brief gets an ancestor of the element. * @return CombineElement */
- Parameter
self
:Slice
- Return
*CombineElement
pub fn getAnAncestor(self: Slice) -> *CombineElement;
Slice::getLocation
/** * @brief gets the location for the element. * @return Location */
pub fn getLocation(self: Slice) -> Location;
Slice::getHasStep
/** * @brief gets the has step of this element. * @return int */
- Parameter
self
:Slice
- Return
int
pub fn getHasStep(self: Slice) -> int;