|
C++ main module for emicrom Package
1.0
|
this class describes a list interface More...
#include <CORE_List.h>

Public Member Functions | |
| CORE_List () | |
| build a list More... | |
| virtual | ~CORE_List () |
| destroy a list More... | |
| virtual void | clear ()=0 |
| clear the list More... | |
Static Public Member Functions | |
| template<class Q > | |
| static tBoolean | compare (const Q &a, const Q &b, const tFlag &order) |
| compare 2 object a & b More... | |
| static tBoolean | compareString (const tString &a, const tString &b, const tFlag &order) |
| compare 2 string a & b More... | |
| static tFlag | reverse (const tFlag &oder) |
| return the reverse order More... | |
Static Public Attributes | |
| static const tFlag | NO_ORDER =0 |
| static const tFlag | EQ =1 |
| static const tFlag | NEQ =2 |
| static const tFlag | LT =3 |
| = More... | |
| static const tFlag | LE =4 |
| static const tFlag | GT =5 |
| static const tFlag | GE =6 |
this class describes a list interface
| CORE_List::CORE_List | ( | ) |
build a list
|
virtual |
destroy a list
|
pure virtual |
clear the list
Implemented in CORE_Vector< T >, CORE_ArrayList< T >, CORE_ArrayList< tString >, CORE_Array2D< T >, and CORE_Array3D< T >.
|
inlinestatic |
compare 2 object a & b
| a | the first object to compare |
| b | : the second object to compare |
| order | the type of order in EQ,NEQ,LT,LE,GT,GE (=,!=,<,<=,>,>=) |
Referenced by compareString(), CORE_ArrayList< tString >::insert(), CORE_Vector< T >::search(), CORE_ArrayList< tString >::sort(), and CORE_Vector< T >::sort().

|
inlinestatic |
compare 2 string a & b
| a | the first string to compare |
| b | : the second string to compare |
| order | the type of order in EQ,NEQ,LT,LE,GT,GE (=,!=,<,<=,>,>=) |
References compare(), reverse(), and tFlag.

return the reverse order
| oder | the order to reverse |
References GE, GT, LE, and LT.
Referenced by compareString(), and CORE_ArrayList< tString >::reverse().

|
static |
Referenced by CORE_ArrayList< tString >::search(), and CORE_Vector< T >::search().
|
static |
Referenced by reverse(), and CORE_Test::testString().
|
static |
|
static |
|
static |
Referenced by CORE_ArrayList< tString >::CORE_ArrayList(), and CORE_ArrayList< tString >::sort().
1.8.13