Difference between revisions of "ObjectType:set"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
{{ObjectType-Vitals|set|[[LavishScript]]|none|NULL|set|no|LSSet *}}
+
{{ObjectType-Vitals|set|[[LavishScript]]|[[ObjectType:objectcontainer|objectcontainer]]|NULL|set|no|LSSet *}}
  
 
A '''set''' is a sorted list of keys.  It can be thought of as a [[ObjectType:collection|collection]] where the key ''is'' the object -- the key is either present, or it is absent.  Keys are text, and not case sensitive.
 
A '''set''' is a sorted list of keys.  It can be thought of as a [[ObjectType:collection|collection]] where the key ''is'' the object -- the key is either present, or it is absent.  Keys are text, and not case sensitive.
  
 
== Members ==
 
== Members ==
* [[ObjectType:uint|uint]] '''Size''':
 
 
* [[ObjectType:bool|bool]] '''Contains['''key''']''':
 
* [[ObjectType:bool|bool]] '''Contains['''key''']''':
 
* [[ObjectType:string|string]] '''FirstKey''':
 
* [[ObjectType:string|string]] '''FirstKey''':
Line 14: Line 13:
 
*'''Add['''key''']''':
 
*'''Add['''key''']''':
 
*'''Remove['''key''']''':
 
*'''Remove['''key''']''':
*'''Reset''':
 
 
*'''Intersect''':
 
*'''Intersect''':
 
*'''Union''':
 
*'''Union''':
Line 20: Line 18:
 
*'''Minus''':
 
*'''Minus''':
 
*'''NotIntersect''':
 
*'''NotIntersect''':
*'''GetIterator['''iterator object''']''':
 
  
 
== See Also ==
 
== See Also ==

Revision as of 15:32, 7 May 2006

Overview

Object Type Vitals
set
Defined By LavishScript
Inherits objectcontainer
Reduces To NULL
Variable Object Type set
Uses Sub-Types no
C/C++ Type LSSet *

A set is a sorted list of keys. It can be thought of as a collection where the key is the object -- the key is either present, or it is absent. Keys are text, and not case sensitive.

Members

Methods

  • Add[key]:
  • Remove[key]:
  • Intersect:
  • Union:
  • Not:
  • Minus:
  • NotIntersect:

See Also