Difference between revisions of "ObjectType:objectcontainer"

From Lavish Software Wiki
Jump to navigation Jump to search
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
 
 
{{ObjectType-Vitals|objectcontainer|[[LavishScript]]|none|NULL|none|no|LSContainer *}}
 
{{ObjectType-Vitals|objectcontainer|[[LavishScript]]|none|NULL|none|no|LSContainer *}}
  
An '''objectcontainer''' is container of objects
+
== Overview ==
 +
An '''objectcontainer''' is container of objects. This is a base type inherited by each of the standard LavishScript container types.
  
 
== Members ==
 
== Members ==
*[[ObjectType:int|int]] '''Size''': Number of objects in the container
+
*[[ObjectType:uint|uint]] '''Size''': Number of objects the container may possibly contain in its present state
*[[ObjectType:int|int]] '''Used''': Number of objects in the container
+
*[[ObjectType:uint|uint]] '''Used''': Number of objects presently contained
  
 
== Methods ==
 
== Methods ==
*'''Clear''': Clears all objects from the collection
+
*'''Clear''': Clears all objects from the container
 
*'''GetIterator['''[[ObjectType:iterator|iterator]] object''']''': Initializes the given [[ObjectType:iterator|iterator]] object for iteration of this container
 
*'''GetIterator['''[[ObjectType:iterator|iterator]] object''']''': Initializes the given [[ObjectType:iterator|iterator]] object for iteration of this container
  
 
== See Also ==
 
== See Also ==
* [[LavishScript]]
+
{{LavishScript:ObjectType}}
 
 
[[Category:LavishScript]]
 

Latest revision as of 16:09, 8 July 2018

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

Overview

An objectcontainer is container of objects. This is a base type inherited by each of the standard LavishScript container types.

Members

  • uint Size: Number of objects the container may possibly contain in its present state
  • uint Used: Number of objects presently contained

Methods

  • Clear: Clears all objects from the container
  • GetIterator[iterator object]: Initializes the given iterator object for iteration of this container

See Also

LavishScript Object Types