SwitchCaseDO

/**
* @brief DO class: A switch case.
*/

Primary key: oid: int

schema SwitchCaseDO {
  @primary oid: int,
  sub_statement_oid: int,
  next_switch_case_oid: int,
  is_default: int,
  printable_text: string
}

SwitchCaseDO::getPrintableText

/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
pub fn getPrintableText(self: SwitchCaseDO) -> string;

SwitchCaseDO::getIsDefault

/**
* @brief gets the is default of this element.
* @return int
*/
pub fn getIsDefault(self: SwitchCaseDO) -> int;

SwitchCaseDO::__all__

Data constraint method.

pub fn __all__(db: CfamilyDB) -> *SwitchCaseDO;

SwitchCaseDO::getNextSwitchCaseOid

/**
* @brief Gets the next switch case belonging to the same switch statement, if any
* @return int
*/
pub fn getNextSwitchCaseOid(self: SwitchCaseDO) -> int;

SwitchCaseDO::getSubStatementOid

/**
* @brief gets the sub statement oid of this element.
* @return int
*/
pub fn getSubStatementOid(self: SwitchCaseDO) -> int;