C++ main module for emicrom Package  1.0
CORE_StringArrayList.h
Go to the documentation of this file.
1 #ifndef CORE_StringArrayList_H
2 #define CORE_StringArrayList_H
3 
4 
5 #include "CORE_ArrayList.h"
6 
14 class CORE_StringArrayList : public CORE_ArrayList<tString> {
15 
17 
18 private:
19 
20 
21 
22  // CONSTRUCTORS
23 public:
27 
28  }
33  }
34 
35 
36 
37 
38  // DESTRUCTORS
42  }
43 
44 
45 
46 
47  // ----------------
48  // New constructors
49  // ----------------
50 public:
53  static inline SP::CORE_StringArrayList New() {
54  SP::CORE_StringArrayList p(new CORE_StringArrayList(),
56  p->setThis(p);
57  return p;
58  };
59 
60  // ---------------------------
61  // Accessor & basic operators
62  // ---------------------------
63 
68  return (*this);
69  };
74  return (*this);
75  };
76 public:
77 
78 
79 
80 
81  // SET Methods
82  // ==================
83 
84  //LIST Manipulations
85  //===================
86 
87 
88 
89 
90 
91 public:
92  // -----------------
93  // SORTING Methods
94  // -----------------
95 
98  virtual void sort() {
100  };
105  virtual void sort(const tFlag& order);
106 
107 
108 
109 
110 
111 
112 
113 };
114 #endif
DEFINE_SPTR(CORE_StringArrayList)
SP_OBJECT(CORE_StringArrayList)
CORE_StringArrayList()
build a string array of T*
Definition: CORE_StringArrayList.h:26
void copy(const CORE_Array< Q > &f)
copy the array list f
Definition: CORE_ArrayList.h:143
CORE_StringArrayList & operator=(const tString &f)
operator =
Definition: CORE_StringArrayList.h:72
DEFINE_SVPTR(CORE_StringArrayList)
this class describes an array of string viewed as a list
Definition: CORE_StringArrayList.h:14
static SP::CORE_StringArrayList New()
return a CORE_Array shared pointer
Definition: CORE_StringArrayList.h:53
virtual ~CORE_StringArrayList()
destroy an array of T*
Definition: CORE_StringArrayList.h:41
CORE_StringArrayList(const CORE_StringArrayList &c)
build a string array by a copy of c
Definition: CORE_StringArrayList.h:32
#define tString
Definition: types.h:135
Definition: CORE_ArrayList.h:12
static const tFlag LT
=
Definition: CORE_List.h:23
virtual void sort()
sort the array in an increasing order (LE)
Definition: CORE_StringArrayList.h:98
void initArray(const Q &f)
init the array to uniform value
Definition: CORE_Array.h:316
CORE_StringArrayList & operator=(const CORE_StringArrayList &f)
operator =
Definition: CORE_StringArrayList.h:66
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141
#define tFlag
Definition: types.h:74