Example #1
0
LLBC_Dictionary::ConstIter LLBC_Dictionary::Find(const LLBC_String &key) const
{
    LLBC_Dictionary *nonConstThis = 
        const_cast<LLBC_Dictionary *>(this);

    LLBC_Dictionary::Iter it = nonConstThis->Find(key);
    if (it == nonConstThis->End())
    {
        return this->End();
    }

    return ConstIter(it.Elem());
}
Example #2
0
LLBC_Dictionary::ConstIter LLBC_Dictionary::End() const
{
    return ConstIter(NULL);
}
Example #3
0
LLBC_Dictionary::ConstIter LLBC_Dictionary::Begin() const
{
    return ConstIter(_head);
}
Example #4
0
LLBC_Array::ConstIter LLBC_Array::End() const
{
    return ConstIter((ConstIter::pointer)_objs, _size);
}
Example #5
0
LLBC_Array::ConstIter LLBC_Array::Begin() const
{
    return ConstIter((ConstIter::pointer)_objs, 0);
}