DCL 4.0
|
#include <__LIST.h>
Classes | |
class | ConstIterator |
class | Iterator |
struct | ListNode |
class | ReverseConstIterator |
class | ReverseIterator |
Public Member Functions | |
virtual | ~LIST_T () |
LIST_T () | |
LIST_T (const LIST_T &_src) | |
const LIST_T & | operator= (const LIST_T &_src) |
ConstIterator | begin () const |
ConstIterator | end () const |
Iterator | begin () |
Iterator | end () |
ReverseConstIterator | rbegin () const |
ReverseConstIterator | rend () const |
ReverseIterator | rbegin () |
ReverseIterator | rend () |
Iterator | insert (Iterator _pos, CONST_ELEMENT_REF _element) |
void | insert (Iterator _pos, ConstIterator _first, ConstIterator _last) |
Iterator | find (CONST_ELEMENT_REF _element) |
Iterator | erase (Iterator _pos) |
void | splice (Iterator _pos, LIST_T &_other, Iterator _otherFirst, Iterator _otherLast) |
LIST_T & | add (CONST_ELEMENT_REF _element) |
LIST_T & | addHead (CONST_ELEMENT_REF _element) |
LIST_T & | addTail (CONST_ELEMENT_REF _element) |
ELEMENT_T | removeHead () |
ELEMENT_T | removeTail () |
void | clear () |
bool | isEmpty () const |
size_t | size () const |
Public Member Functions inherited from Object | |
virtual String | toString () const |
virtual void | destroy () |
String | className () const |
bool | isInstanceOf (const std::type_info &typeinfo) const |
virtual const std::type_info & | typeInfo () const |
Protected Member Functions | |
size_t | size (ConstIterator _first, ConstIterator _last) const |
void | move (Iterator posTo, Iterator _first, Iterator _last) |
ListNode * | createNode (CONST_ELEMENT_REF _element) |
void | destroyNode (ListNode *_pNode) |
Protected Member Functions inherited from Object | |
virtual | ~Object () |
Object () |
Protected Attributes | |
NodeBase * | __pMasterNode |
size_t | __size |
template class List의 DSO 호환성을 제공한다.
C++의 template class는 해당 코드를 사용하기 전에는 실제 이진 코드를 생성하지 않으므로, DSO(so, DLL)와 DSO, 또는 실행파일에서 객체를 주고받을 수 없다.
이 클래스는 DSO의 이러한 문제를 해결하며, 포함파일은 <dcl/List.h>
이다.
이 코드를 사용하는 클래스는 다음과 같다.
|
virtual |
LIST_T::LIST_T | ( | ) |
Definition at line 76 of file __LIST.cpp.
LIST_T::LIST_T | ( | const LIST_T & | _src | ) |
Definition at line 89 of file __LIST.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void LIST_T::clear | ( | ) |
Definition at line 185 of file __LIST.cpp.
|
protected |
Definition at line 117 of file __LIST.cpp.
|
protected |
Definition at line 141 of file __LIST.cpp.
|
inline |
|
inline |
LIST_T::Iterator LIST_T::erase | ( | Iterator | _pos | ) |
Definition at line 201 of file __LIST.cpp.
LIST_T::Iterator LIST_T::find | ( | CONST_ELEMENT_REF | _element | ) |
Definition at line 173 of file __LIST.cpp.
LIST_T::Iterator LIST_T::insert | ( | Iterator | _pos, |
CONST_ELEMENT_REF | _element ) |
Definition at line 150 of file __LIST.cpp.
void LIST_T::insert | ( | Iterator | _pos, |
ConstIterator | _first, | ||
ConstIterator | _last ) |
Definition at line 164 of file __LIST.cpp.
|
inline |
Definition at line 233 of file __LIST.cpp.
Definition at line 105 of file __LIST.cpp.
|
inline |
|
inline |
ELEMENT_T LIST_T::removeHead | ( | ) |
Definition at line 214 of file __LIST.cpp.
ELEMENT_T LIST_T::removeTail | ( | ) |
Definition at line 223 of file __LIST.cpp.
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 261 of file __LIST.cpp.