#include <ObjArray.h>
Inheritance diagram for ObjArray:
Public Members | |||
ObjArray () | |||
ObjArray (Int size, Int alloc = kFirstObjAlloc) | |||
ObjArray (const ObjArray &array) | |||
~ObjArray () | |||
ObjectPtr | operator[] (Int i) const | ||
Int | NumItems () const | ||
ObjArray& | operator>> (Action<ObjectPtr> &a) | ||
ObjArray& | operator= (const ObjArray &array) | ||
ObjectPtr | Top () | ||
Void | Pop () | ||
Void | Push (ObjectPtr objPtr) | ||
Void | Set (Int i, ObjectPtr objPtr) | ||
Void | Append (ObjectPtr objPtr) | ||
Void | Prepend (ObjectPtr objPtr) | ||
Void | Insert (Int i, ObjectPtr objPtr) | ||
Void | Delete (Int i) | ||
Void | Clear () | ||
Void | Print (ostream &s) const | ||
Void | Parse (istream &s) | ||
ObjectPtr | Clone () const | ||
Void | Free () | ||
Void | SetSize (Int newSize) | ||
Void | Add (Int n) | ||
Void | Shrink (Int n) | ||
Void | Insert (Int i, Int n) | ||
Void | Delete (Int i, Int n) | ||
Void | ShrinkWrap () | ||
ObjectPtr* | Ref () | ||
Protected Members | |||
Void | Grow () | ||
ObjectPtr* | item | ||
SInt32 | items | ||
SInt32 | allocated |
Definition at line 23 of file ObjArray.h.
ObjArray::ObjArray () [inline]
|
Definition at line 89 of file ObjArray.h.
ObjArray::ObjArray (Int size, Int alloc = kFirstObjAlloc) |
Definition at line 19 of file ObjArray.cc.
ObjArray::ObjArray (const ObjArray & array) |
Definition at line 28 of file ObjArray.cc.
ObjArray::~ObjArray () |
Definition at line 44 of file ObjArray.cc.
Void ObjArray::Add (Int n) |
Definition at line 194 of file ObjArray.cc.
Void ObjArray::Append (ObjectPtr objPtr) [inline]
|
Definition at line 132 of file ObjArray.h.
Void ObjArray::Clear () |
Definition at line 145 of file ObjArray.cc.
ObjectPtr ObjArray::Clone () const [virtual]
|
Void ObjArray::Delete (Int i, Int n) |
Definition at line 221 of file ObjArray.cc.
Void ObjArray::Delete (Int i) [inline]
|
Definition at line 152 of file ObjArray.h.
Void ObjArray::Free () [virtual]
|
Void ObjArray::Grow () [protected]
|
Definition at line 256 of file ObjArray.cc.
Void ObjArray::Insert (Int i, Int n) [inline]
|
Definition at line 205 of file ObjArray.cc.
Void ObjArray::Insert (Int i, ObjectPtr objPtr) [inline]
|
Definition at line 205 of file ObjArray.cc.
Int ObjArray::NumItems () const [inline]
|
Definition at line 93 of file ObjArray.h.
Void ObjArray::Parse (istream & s) [virtual]
|
Void ObjArray::Pop () [inline]
|
Definition at line 118 of file ObjArray.h.
Void ObjArray::Prepend (ObjectPtr objPtr) [inline]
|
Definition at line 140 of file ObjArray.h.
Void ObjArray::Print (ostream & s) const [virtual]
|
Void ObjArray::Push (ObjectPtr objPtr) [inline]
|
Definition at line 110 of file ObjArray.h.
ObjectPtr * ObjArray::Ref () [inline]
|
Definition at line 157 of file ObjArray.h.
Void ObjArray::Set (Int i, ObjectPtr objPtr) [inline]
|
Definition at line 124 of file ObjArray.h.
Void ObjArray::SetSize (Int newSize) |
Definition at line 168 of file ObjArray.cc.
Void ObjArray::Shrink (Int n) |
Definition at line 199 of file ObjArray.cc.
Void ObjArray::ShrinkWrap () |
Definition at line 237 of file ObjArray.cc.
ObjectPtr ObjArray::Top () [inline]
|
Definition at line 105 of file ObjArray.h.
ObjArray & ObjArray::operator= (const ObjArray & array) |
Definition at line 66 of file ObjArray.cc.
ObjArray & ObjArray::operator>> (Action<ObjectPtr>& a) |
Definition at line 52 of file ObjArray.cc.
ObjectPtr ObjArray::operator[] (Int i) const [inline]
|
Definition at line 98 of file ObjArray.h.
SInt32 ObjArray::allocated [protected]
|
Definition at line 82 of file ObjArray.h.
ObjectPtr * ObjArray::item [protected]
|
Definition at line 80 of file ObjArray.h.
SInt32 ObjArray::items [protected]
|
Definition at line 81 of file ObjArray.h.