Zimbu documentation

index

builtin types

     
CLASS  array  The builtin type array. An array contains zero or more items of the type specified in the declaration:
CLASS  autoLock  The builtin type autoLock: an object that keeps a lock and releases it when destructed.
CLASS  bool  The builtin type bool. It has either the value TRUE or FALSE.
CLASS  byteString  The builtin type byteString.
CLASS  cond  The builtin type cond: An object to wait on a condition.
CLASS  dict  The builtin type dict.
CLASS  dyn  The builtin type dyn.
CLASS  float  The builtin type float.
CLASS  int  The builtin type int: 64 bit integer number.
CLASS  list  The builtin type list.
CLASS  lock  The builtin type lock: An object to get exclusive access.
CLASS  multiDict  The builtin type multiDict.
CLASS  multiSet  The builtin type multiSet.
CLASS  nat  The builtin type nat: 64 bit natural number.
CLASS  pipe  The builtin type pipe.
CLASS  regex  The builtin type regex.
CLASS  set  The builtin type set.
CLASS  sortedList  The builtin type sortedList.
CLASS  status  The builtin type status. It has either the value FAIL or OK.
CLASS  string  The builtin type string.
CLASS  thread  The builtin type thread.
CLASS  tuple  The builtin type tuple. A tuple contains one or more items of possibly different types.
CLASS  type  The builtin type type.
CLASS  varByteString  The builtin type varByteString.
CLASS  varString  The builtin type varString.

builtin modules

     
MODULE  ARG  Methods for command line flags.
MODULE  BOX  Pieces for Boxes (Containers)
MODULE  BYTE  Methods for the builtin byte type.
MODULE  CHECK  Methods for runtime checks.
MODULE  CTX  Methods for passing objects downwards through the call stack.
MODULE  E  Classes, Interfaces and methods for Exceptions
MODULE  FLOAT128  Methods for the builtin float128 type.
MODULE  FLOAT32  Methods for the builtin float32 type.
MODULE  FLOAT80  Methods for the builtin float80 type.
MODULE  GC  Items built into the compiler
MODULE  HTTP  Classes to create a simple HTTP server and other browser related functionality.
MODULE  I  Builtin Interfaces.
MODULE  INT16  Methods for the builtin int16 type.
MODULE  INT32  Methods for the builtin int32 type.
MODULE  INT8  Methods for the builtin int8 type.
MODULE  IO  Classes, Interfaces and methods for Input/Output. Operations on files and directories.
MODULE  LOG  Logging, messages and error reporting.
MODULE  NAT16  Methods for the builtin nat16 type.
MODULE  NAT32  Methods for the builtin nat32 type.
MODULE  RE  Classes and methods for regular expression support.
MODULE  RPC  Classes, Interfaces and methods for Remote Procedure Calls.
MODULE  SYS  Various system related stuff
MODULE  T  The T module contains the builtin types and type information.
MODULE  TEST  Methods for running tests and checking for success.
MODULE  THREAD  Classes and methods for thread support.
MODULE  TIME  Various time related stuff
MODULE  TIO  Classes, Interfaces and methods for Terminal Input/Output.
MODULE  Z  Items built into the compiler.
MODULE  ZUT  Zimbu Templates. For creating interactive web pages.
MODULE  ZWT  Zimbu Web Toolkit. A GUI in a web browser.

second level items

     
CLASS  ARG.Bool  A <A href='ARG.Flag.html'><b>Flag</b></A> that has no argument, it's presence is noted.
CLASS  ARG.Flag  The abstract base class of all flags.
CLASS  ARG.Int  A <A href='ARG.Flag.html'><b>Flag</b></A> that has one number argument.
CLASS  ARG.Status  Dummy class, returned by methods that need to be invoked before command line flags are parsed.
CLASS  ARG.String  A <A href='ARG.Flag.html'><b>Flag</b></A> that has one string argument.
CLASS  ARG.StringList  A Flag that includes all following arguments.
CLASS  ARG.Usage  The Usage message to be displayed when there is a flag error and for --help.
CLASS  ARRAY.array  The builtin type array. An array contains zero or more items of the type specified in the declaration:
CLASS  BOOL.bool  The builtin type bool. It has either the value TRUE or FALSE.
PIECE  BOX.Average  Provide average() and total() for any Box that has $Iterator() and where the item type can be added up.
PIECE  BOX.ByItem  Provide removeItem(Titem) and clearItem(Titem) for any Box that has find(Titem), remove(int) and clear(int)
CLASS  BOX.ListIterator  The iterator that list&lt;Titem&gt;.Iterator() returns.
CLASS  BOX.ListKeyIterator  The iterator that list&lt;Titem&gt;.KeyIterator() returns.
PIECE  BOX.MaxMin  Provide max() and min() for any Box that has $Iterator() and the item supports Compare().
CLASS  BYTE.byte  The builtin type byte: 8 bit natural number.
CLASS  BYTESTRING.byteString  The builtin type byteString.
INTERFACE  CTX.I_Provider  The interface used for objects passed to addProvider().
CLASS  CTX.Provider  A simple provider that allows setting the object to provide.
CLASS  DICT.dict  The builtin type dict.
CLASS  DYN.dyn  The builtin type dyn.
CLASS  E.AccessDenied  Exception thrown when a file cannot be opened for the current user and the requested operation.
CLASS  E.Arithmetic  Exception thrown for a non-specific Arithmetic error
CLASS  E.BadValue  Class of exceptions that are thrown when a value is unacceptable.
CLASS  E.Check  Exception thrown by a method in the CHECK module.
CLASS  E.DivideByZero  Exception thrown when dividing by zero.
CLASS  E.Dyn  Exception thrown when using a dyn type.
CLASS  E.Error  Base class for exceptions that are an error.
CLASS  E.Exception  The base class for all exceptions.
CLASS  E.Exit  Exception thrown by EXIT.
CLASS  E.FileNotFound  Exception thrown when a file cannot be opened because it, or its directory, cannot be found.
CLASS  E.IOError  Exception thrown for a non-specific I/O error
CLASS  E.IllegalByte  Exception thrown when encountering an illegal byte in a UTF-8 string.
CLASS  E.Init  Exception thrown when initialization failed.
CLASS  E.Internal  Exception thrown when running into an internal error. Sorry!
CLASS  E.Interrupt  Exception thrown by a user interrupt: CTRL-C pressed or signal SIGHUP or SIGINT received.
CLASS  E.ItemNotFound  Exception thrown when searching for an item in a container that does not exist.
CLASS  E.KeyExists  Exception thrown when adding an item to a dict for a key that already exist.
CLASS  E.KeyNotFound  Exception thrown when making a dict loopup for a key that does not exist.
CLASS  E.MemoryAccess  Exception thrown when accessing memory that cannot be accessed.
CLASS  E.NilAccess  Exception thrown when dereferencing a NIL.
CLASS  E.OutOfMemory  Exception thrown when out of memory.
CLASS  E.OutOfRange  Exception thrown when an index is out of range: idx &lt; 0 <b></b> idx &gt;= Size()
CLASS  E.Overflow  Exception thrown for a value overflow.
CLASS  E.Pipe  Exception thrown when writing to or reading from a pipe that is not open.
CLASS  E.Thread  Exception thrown when an operation on a thread fails.
CLASS  E.TimeOut  Exception thrown when a timer expires.
CLASS  E.Unsupported  Exception thrown when code is not implemented.
CLASS  E.WrongType  Exception thrown when a type is used where another type is expected and automatic conversion is not possible.
CLASS  FLOAT.float  The builtin type float.
CLASS  FLOAT128.float128  The builtin type float128.
CLASS  FLOAT32.float32  The builtin type float32.
CLASS  FLOAT80.float80  The builtin type float80.
CLASS  GC.Info  Information about a round of garbage collection.
CLASS  HTTP.Context  Stores the Server, Request and Response, so that we only need to pass one argument to $serve methods.
CLASS  HTTP.FileServlet  Get the page body from a file.
CLASS  HTTP.FunctionServlet  A Servlet that generates the page body with a function.
CLASS  HTTP.LoginServlet  Generate a redirect when the user is not logged in.
CLASS  HTTP.RedirectServlet  Generate a 301 redirect.
CLASS  HTTP.Request  The HTTP request fields.
ENUM  HTTP.RequestType  Request type names according to HTTP/1.1. Uppercase in request.
CLASS  HTTP.Response  The HTTP response fields.
CLASS  HTTP.RpcServlet  A Servlet that handles RPC requests.
CLASS  HTTP.Server  The actual HTTP server.
CLASS  HTTP.Servlet  Base class for all Servlets.
CLASS  HTTP.StringServlet  A Servlet that gets the page body from a string.
ENUM  HTTP.Verbosity  Verbosity of the server:
INTERFACE  I.BidiIterator  Interface for an iterator that can go in both directions.
INTERFACE  I.BidiMutateIterator  Interface for an iterator that can go in both directions and can modify the container. The methods that can normally only be called after $next() will also work after $previous().
INTERFACE  I.Iterable  Interface allowing a class to be iterated over.
INTERFACE  I.Iterator  The interface that all iterators must implement.
INTERFACE  I.KeyIterable  Interface allowing a class to be iterated over, with a key.
INTERFACE  I.KeyIterator  The interface for an iterator that provides access to its current position.
INTERFACE  I.MutateIterator  Interface for an iterator that can modify the container.
CLASS  INT.int  The builtin type int: 64 bit integer number.
CLASS  INT16.int16  The builtin type int16: 16 bit integer number.
CLASS  INT32.int32  The builtin type int32: 32 bit integer number.
CLASS  INT8.int8  The builtin type int8: 8 bit integer number.
CLASS  IO.ByteReader  A ByteReader that reads from a byteString.
CLASS  IO.ByteReaderStack  A wrapper around a ByteReader that supports push().
CLASS  IO.ByteWriter  A Writer that stores a sequence of bytes. Call toByteString() to get the result.
CLASS  IO.CharReaderStack  A wrapper around a CharReader that supports push().
CLASS  IO.File  File for reading and writing.
CLASS  IO.FileInfo  Used for the return value of IO.fileInfo().
INTERFACE  IO.I_ByteReader  An interface for any class that can read a byte.
INTERFACE  IO.I_ByteWriter  An interface for any class that can write a byte.
INTERFACE  IO.I_CharOrByteReader  An interface for any class that can read a byte or a UTF-8 character.
INTERFACE  IO.I_CharReader  An interface for any class that can read a UTF-8 character.
INTERFACE  IO.I_CharWriter  An interface for any class that can write a character.
INTERFACE  IO.I_Writer  An interface for any class that can write a string.
CLASS  IO.Socket  Socket for reading and writing.
ENUM  IO.SocketProtocol  Protocol to use for a socket.
CLASS  IO.StringReader  A Reader that reads characters from a string.
CLASS  IO.StringWriter  A Writer that stores the text in a string. Use ToString() to get the result.
CLASS  IO.Url  Uniform Resource Locator
CLASS  IO.Writer  Abstract class that implements I_Writer while only requiring subclasses to implement write(string) by providing the writeByte(), writeChar() and print() implementations.
CLASS  LIST.list  The builtin type list.
BITS  LOG.Flags  Optional flags for the message methods.
ENUM  LOG.Level 
CLASS  MULTIDICT.MultiDict  The builtin type multiDict.
CLASS  MULTISET.MultiSet  The builtin type multiSet.
CLASS  NAT.nat  The builtin type nat: 64 bit natural number.
CLASS  NAT16.nat16  The builtin type nat16: 16 bit natural number.
CLASS  NAT32.nat32  The builtin type nat32: 32 bit natural number.
CLASS  PIPE.Pipe  The builtin type pipe.
BITS  RE.Options  Flags that can be used when creating a regex.
CLASS  RE.Regex  The builtin type regex.
CLASS  RPC.Control  A Control object is passed with an RPC to store its status and be able to cancel it.
ENUM  RPC.State  The state used in the client to track the progress of an RPC call.
CLASS  SET.Set  The builtin type set.
CLASS  SORTEDLIST.SortedList  The builtin type sortedList.
CLASS  SORTEDLIST.SortedListIterator  Iterator for sortedList.
CLASS  STATUS.status  The builtin type status. It has either the value FAIL or OK.
CLASS  STRING.string  The builtin type string.
CLASS  SYS.E_Process  Exception thrown for an error related to a Process.
BITS  SYS.IOFlags  Flags to pass to Process.setIO().
CLASS  SYS.Process  Class for handling processes.
ENUM  SYS.Signal  Signals that can be received and send to a <b>Process</b>.
CLASS  THREAD.AutoLock  The builtin type autoLock: an object that keeps a lock and releases it when destructed.
CLASS  THREAD.Cond  The builtin type cond: An object to wait on a condition.
CLASS  THREAD.E_Thread  Exception thrown when there is a thread related error.
CLASS  THREAD.EvalThread  Thread to be used for evaluating a function and returning the result through a pipe.
CLASS  THREAD.Lock  The builtin type lock: An object to get exclusive access.
ENUM  THREAD.State  The possible states a thread can be in.
CLASS  THREAD.Thread  The builtin type thread.
CLASS  THREAD.ThreadBase  Base class for Thread and EvalThread
ENUM  THREAD.Type  The possible types of threads.
ENUM  TIME.Dst  Information about daylight saving time.
CLASS  TIME.Values  Broken-down values of a moment in time.
ENUM  TIO.CharSize  Character size in bits.
BITS  TIO.ControlMode  For docs see the termios manpage, c_cflag constants.
BITS  TIO.InputMode  For docs see the termios manpage, c_iflag constants.
BITS  TIO.LocalMode  For docs see the termios manpage, c_lflag constants.
CLASS  TIO.Mode  Stores terminal mode values.
BITS  TIO.OutputMode  For docs see the termios manpage, c_oflag constants.
ENUM  TIO.Speed  Speed in baud.
CLASS  TUPLE.tuple  The builtin type tuple. A tuple contains one or more items of possibly different types.
CLASS  TYPE.type  The builtin type type.
CLASS  VARBYTESTRING.varByteString  The builtin type varByteString.
CLASS  VARSTRING.varString  The builtin type varString.
ENUM  Z.FinishReason  Argument to Finish(): why it was called.
CLASS  Z.Pos  Class that stores the line/column position in a file.
CLASS  ZUT.Attributes  A string that is properly formatted HTML attributes.
CLASS  ZUT.Context  The context for processing ZUT templates.
CLASS  ZUT.Controller  All controllers should inherite from this.
CLASS  ZUT.Css  A string that is properly formatted CSS.
CLASS  ZUT.DomElement  Lowest level object, an HTML element.
CLASS  ZUT.DomEvent  A low level browser event.
CLASS  ZUT.E_BadValue  Exception thrown when using a value in a way the result can't possibly be valid.
CLASS  ZUT.Element  A wrapper around an HTML element.
CLASS  ZUT.Event  The properties of an event.
CLASS  ZUT.EventConfig  The configuration for events handled by ZUT.
ENUM  ZUT.EventType 
CLASS  ZUT.Html  A string that is properly formatted HTML.
ALIAS  ZUT.HtmlFunc  The type used for a ZUT template method producing HTML.
INTERFACE  ZUT.I_Listener  An interface which is used to pass information from a Controller to the object that created the DOM.
CLASS  ZUT.Javascript  A string that is properly formatted Javascript.
CLASS  ZUT.Page  The properties of an HTML page.
ALIAS  ZUT.TextDialog 
CLASS  ZUT.Timer  A Timer is used to postpone a callback to be invoked. The Timer fires once. To trigger multiple times use an Interval.
CLASS  ZUT.Url  A string that is a properly formatted URL.
ENUM  ZWT.BorderStyle  Values to be used in setBorder() and setBorderStyle().
CLASS  ZWT.Button  A simple button that can call a procedure when clicked.
CLASS  ZWT.Checkbox  A Checkbox is a widget that has two states: Checked or not.
CLASS  ZWT.Code  A Code is a widget that contains preformatted text.
CLASS  ZWT.Color  Specifies a color to be used for a Style.
ENUM  ZWT.ColorName  Values to be used when creating a Color object.
CLASS  ZWT.Dropdown  A Dropdown is a widget that allows selecting one item in a list.
CLASS  ZWT.Element  Lowest level object, an HTML element.
CLASS  ZWT.Event  An event that can be triggered and acted upon.
ENUM  ZWT.EventType  Used in the <b>Event</b> class.
ENUM  ZWT.HorAlign  Horizontal alignment.
CLASS  ZWT.HorizontalPanel  A panel that stacks its children horizontally: a row of Widgets.
INTERFACE  ZWT.I_Controller 
INTERFACE  ZWT.I_WidgetBuilder  Interface for a builder that can create a Widget from a <b>Titem</b>.
CLASS  ZWT.Input  A Input is a widget that contains one line of editable text.
CLASS  ZWT.JsEvent  Lowest level object, a Javascript event.
CLASS  ZWT.Label  A Label is a simple widget that contains text, a HTML SPAN.
CLASS  ZWT.ListController  Display a list of items in a Panel.
CLASS  ZWT.NoButtonDialog  A dialog with one Widget only. It has a background that covers the whole page, only interaction with the dialog is possible.
CLASS  ZWT.OkCancelDialog  A Dialog with one Widget and two buttons: OK and Cancel.
CLASS  ZWT.Panel  A Widget that contains one or more other widgets. How they are ordered is defined by subclasses.
CLASS  ZWT.PopupPanel  A panel that goes on top of other panels.
CLASS  ZWT.ScrollPanel  A panel that provides control over scrollbars.
CLASS  ZWT.SimpleDialog  A Dialog with one Widget and an OK button.
CLASS  ZWT.Style  A style to be attached to a Widget or Table cell. Specifies various properties for the item.
CLASS  ZWT.Table  A table can hold a Widget in each cell. The number of columns and rows is adjusted dynamically.
CLASS  ZWT.TableCell  A cell in a Table.
CLASS  ZWT.TableRow  A row in the table.
CLASS  ZWT.TextBlock  A TextBlock is a simple widget that contains text, a HTML DIV.
CLASS  ZWT.Textarea  A Textarea is a widget that contains editable text.
CLASS  ZWT.UIObject  Lowest level ZWT object. Wraps an HTML Element. Cannot handle events.
ENUM  ZWT.Unit  Values to be used when setting a size.
ENUM  ZWT.VerAlign  Vertical alignment.
CLASS  ZWT.VerticalPanel  A panel that stacks its children vertically: a column of Widgets.
CLASS  ZWT.Widget  A UIObject that handles events and can be added to panels.