|
BOSS 8.0.0
BESIII Offline Software System
|
#include <KalFitList.h>
Public Member Functions | |
| KalFitList (int length_to_alloc=100) | |
| default constructor | |
| KalFitList (const KalFitList< T > &) | |
| copy constructor | |
| ~KalFitList () | |
| destructor | |
| int | append (T x) |
| append an object into the end of the list | |
| int | append (const KalFitList< T > &) |
| append objects into the end of the list | |
| int | remove (int &) |
| remove objects by index and returns decremented index and length | |
| void | remove2 (int) |
| remove objects by index | |
| void | replace (int i, T src) |
| replace index-th object by the object src | |
| int | deleteObj (int &) |
| delete objects by index and returns decremented index and length | |
| void | removeLast (void) |
| remove just last objects of the list | |
| void | clear (void) |
| clear lists but the allocated memory remains same | |
| void | removeAll (void) |
| clear lists and free memory | |
| void | deleteAll (void) |
| delete all object and clear(allocated memory remains same) | |
| void | resize (void) |
| re-allocate memory to reduce size | |
| T | operator[] (unsigned i) const |
| returns a object by index | |
| T & | operator() (unsigned i) const |
| returns the reference of a object by index | |
| T | first (void) const |
| returns the first object in the list | |
| T * | firstPtr (void) const |
| returns the pointer of first object | |
| T * | lastPtr (void) const |
| returns the pointer of last object | |
| int | length (void) const |
| returns the length of the list | |
| KalFitList (int length_to_alloc=100) | |
| default constructor | |
| KalFitList (const KalFitList< T > &) | |
| copy constructor | |
| ~KalFitList () | |
| destructor | |
| int | append (T x) |
| append an object into the end of the list | |
| int | append (const KalFitList< T > &) |
| append objects into the end of the list | |
| int | remove (int &) |
| remove objects by index and returns decremented index and length | |
| void | remove2 (int) |
| remove objects by index | |
| void | replace (int i, T src) |
| replace index-th object by the object src | |
| int | deleteObj (int &) |
| delete objects by index and returns decremented index and length | |
| void | removeLast (void) |
| remove just last objects of the list | |
| void | clear (void) |
| clear lists but the allocated memory remains same | |
| void | removeAll (void) |
| clear lists and free memory | |
| void | deleteAll (void) |
| delete all object and clear(allocated memory remains same) | |
| void | resize (void) |
| re-allocate memory to reduce size | |
| T | operator[] (unsigned i) const |
| returns a object by index | |
| T & | operator() (unsigned i) const |
| returns the reference of a object by index | |
| T | first (void) const |
| returns the first object in the list | |
| T * | firstPtr (void) const |
| returns the pointer of first object | |
| T * | lastPtr (void) const |
| returns the pointer of last object | |
| int | length (void) const |
| returns the length of the list | |
| KalFitList (int length_to_alloc=100) | |
| default constructor | |
| KalFitList (const KalFitList< T > &) | |
| copy constructor | |
| ~KalFitList () | |
| destructor | |
| int | append (T x) |
| append an object into the end of the list | |
| int | append (const KalFitList< T > &) |
| append objects into the end of the list | |
| int | remove (int &) |
| remove objects by index and returns decremented index and length | |
| void | remove2 (int) |
| remove objects by index | |
| void | replace (int i, T src) |
| replace index-th object by the object src | |
| int | deleteObj (int &) |
| delete objects by index and returns decremented index and length | |
| void | removeLast (void) |
| remove just last objects of the list | |
| void | clear (void) |
| clear lists but the allocated memory remains same | |
| void | removeAll (void) |
| clear lists and free memory | |
| void | deleteAll (void) |
| delete all object and clear(allocated memory remains same) | |
| void | resize (void) |
| re-allocate memory to reduce size | |
| T | operator[] (unsigned i) const |
| returns a object by index | |
| T & | operator() (unsigned i) const |
| returns the reference of a object by index | |
| T | first (void) const |
| returns the first object in the list | |
| T * | firstPtr (void) const |
| returns the pointer of first object | |
| T * | lastPtr (void) const |
| returns the pointer of last object | |
| int | length (void) const |
| returns the length of the list | |
Definition at line 10 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
|
inline |
default constructor
Definition at line 90 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
Referenced by append(), and KalFitList().
| KalFitList< T >::KalFitList | ( | const KalFitList< T > & | src | ) |
copy constructor
Definition at line 97 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
|
inline |
destructor
Definition at line 106 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| KalFitList< T >::KalFitList | ( | int | length_to_alloc = 100 | ) |
default constructor
| KalFitList< T >::KalFitList | ( | const KalFitList< T > & | ) |
copy constructor
| KalFitList< T >::~KalFitList | ( | ) |
destructor
| KalFitList< T >::KalFitList | ( | int | length_to_alloc = 100 | ) |
default constructor
| KalFitList< T >::KalFitList | ( | const KalFitList< T > & | ) |
copy constructor
| KalFitList< T >::~KalFitList | ( | ) |
destructor
| int KalFitList< T >::append | ( | const KalFitList< T > & | src | ) |
append objects into the end of the list
Definition at line 180 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| int KalFitList< T >::append | ( | const KalFitList< T > & | ) |
append objects into the end of the list
| int KalFitList< T >::append | ( | const KalFitList< T > & | ) |
append objects into the end of the list
|
inline |
append an object into the end of the list
Definition at line 108 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
Referenced by KalFitSuper_Mdc::appendHit().
| int KalFitList< T >::append | ( | T | x | ) |
append an object into the end of the list
| int KalFitList< T >::append | ( | T | x | ) |
append an object into the end of the list
|
inline |
clear lists but the allocated memory remains same
Definition at line 144 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
Referenced by deleteAll().
| void KalFitList< T >::clear | ( | void | ) |
clear lists but the allocated memory remains same
| void KalFitList< T >::clear | ( | void | ) |
clear lists but the allocated memory remains same
| void KalFitList< T >::deleteAll | ( | void | ) |
delete all object and clear(allocated memory remains same)
Definition at line 197 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| void KalFitList< T >::deleteAll | ( | void | ) |
delete all object and clear(allocated memory remains same)
| void KalFitList< T >::deleteAll | ( | void | ) |
delete all object and clear(allocated memory remains same)
|
inline |
delete objects by index and returns decremented index and length
Definition at line 132 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| int KalFitList< T >::deleteObj | ( | int & | ) |
delete objects by index and returns decremented index and length
| int KalFitList< T >::deleteObj | ( | int & | ) |
delete objects by index and returns decremented index and length
|
inline |
returns the first object in the list
Definition at line 170 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| T KalFitList< T >::first | ( | void | ) | const |
returns the first object in the list
| T KalFitList< T >::first | ( | void | ) | const |
returns the first object in the list
|
inline |
returns the pointer of first object
Definition at line 172 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| T * KalFitList< T >::firstPtr | ( | void | ) | const |
returns the pointer of first object
| T * KalFitList< T >::firstPtr | ( | void | ) | const |
returns the pointer of first object
|
inline |
returns the pointer of last object
Definition at line 174 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| T * KalFitList< T >::lastPtr | ( | void | ) | const |
returns the pointer of last object
| T * KalFitList< T >::lastPtr | ( | void | ) | const |
returns the pointer of last object
|
inline |
returns the length of the list
Definition at line 178 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| int KalFitList< T >::length | ( | void | ) | const |
returns the length of the list
| int KalFitList< T >::length | ( | void | ) | const |
returns the length of the list
|
inline |
returns the reference of a object by index
Definition at line 166 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| T & KalFitList< T >::operator() | ( | unsigned | i | ) | const |
returns the reference of a object by index
| T & KalFitList< T >::operator() | ( | unsigned | i | ) | const |
returns the reference of a object by index
|
inline |
returns a object by index
Definition at line 162 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| T KalFitList< T >::operator[] | ( | unsigned | i | ) | const |
returns a object by index
| T KalFitList< T >::operator[] | ( | unsigned | i | ) | const |
returns a object by index
|
inline |
remove objects by index and returns decremented index and length
Definition at line 119 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| int KalFitList< T >::remove | ( | int & | ) |
remove objects by index and returns decremented index and length
| int KalFitList< T >::remove | ( | int & | ) |
remove objects by index and returns decremented index and length
|
inline |
remove objects by index
Definition at line 125 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| void KalFitList< T >::remove2 | ( | int | ) |
remove objects by index
| void KalFitList< T >::remove2 | ( | int | ) |
remove objects by index
|
inline |
clear lists and free memory
Definition at line 149 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| void KalFitList< T >::removeAll | ( | void | ) |
clear lists and free memory
| void KalFitList< T >::removeAll | ( | void | ) |
clear lists and free memory
|
inline |
remove just last objects of the list
Definition at line 139 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| void KalFitList< T >::removeLast | ( | void | ) |
remove just last objects of the list
| void KalFitList< T >::removeLast | ( | void | ) |
remove just last objects of the list
|
inline |
replace index-th object by the object src
Definition at line 130 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| void KalFitList< T >::replace | ( | int | i, |
| T | src ) |
replace index-th object by the object src
| void KalFitList< T >::replace | ( | int | i, |
| T | src ) |
replace index-th object by the object src
|
inline |
re-allocate memory to reduce size
Definition at line 156 of file InstallArea/x86_64-el9-gcc13-dbg/include/KalFitAlg/KalFitList.h.
| void KalFitList< T >::resize | ( | void | ) |
re-allocate memory to reduce size
| void KalFitList< T >::resize | ( | void | ) |
re-allocate memory to reduce size