session.anubis 1.79 KB
/*
 * Created by PyramIDE.
 * User: フランスのトトロ aka (David RENÉ) 
 * Date: 02/04/2020
 * Time: 16:39
 * © David RENÉ
 */

transmit tools/basis.anubis
transmit calexium_lib/database/db_types.anubis

public type Session_Field:...
public type Session_Field_No_Var:...

public type Session_Field_Datum:
  string(String),             //fully implented
  bool(Bool),                 //fully implented
  int(Int),                   //fully implemented
  db_id(DB_id),
  message(Message),           //fully implemented
  byte_array(ByteArray),
  float(Float),
  word128(Word128),
  word64(Word64),
  word32(Word32),
  word16(Word16),
  word8(Word8),
  word4(Word4),
  fields_set(Var(List(Session_Field)))
  //WEB_Request
.

public type Session_Field_Datum_No_Var:
  string(String),             //fully implented
  bool(Bool),                 //fully implented
  int(Int),                   //fully implemented
  db_id(DB_id),
  message(Message),           //fully implemented
  byte_array(ByteArray),
  float(Float),
  word128(Word128),
  word64(Word64),
  word32(Word32),
  word16(Word16),
  word8(Word8),
  word4(Word4),
  fields_set(List(Session_Field_No_Var))
  //WEB_Request
.

public type Session_Field_Type:
  string_t,
  bool_t,
  int_t,
  db_id_t,
  message_t,
  byte_array_t,
  float_t,
  word128_t,
  word64_t,
  word32_t,
  word16_t,
  word8_t,
  word4_t,
  fields_set_t
.

public type Session_Field:
  session_field(
    String                    field_name,
    Session_Field_Type        field_type,
    Var(Session_Field_Datum)  field_datum   //Var because it can be replaced
  )
.

public type Session_Field_No_Var:
  session_field(
    String                      field_name,
    Session_Field_Type          field_type,
    Session_Field_Datum_No_Var  field_datum   //Var because it can be replaced
  )
.