GUIDOLib
1.7.7
Guido Engine Internal Documentation
|
Public Member Functions | |
KF_Vector (TYPE p_noelement) | |
KF_Vector (TYPE p_noelement, TYPE *newdata, int newmemsize, int newindexoffset, int newminimum, int newmaximum, int newcount) | |
virtual | ~KF_Vector () |
int | size () const |
bool | empty () const |
void | RemoveAll () |
int | GetNextIndex (int index) const |
void | Set (int index, TYPE mydata) |
virtual void | Cut (int index, KF_Vector< TYPE > **pnew) |
Cuts a vector in two. More... | |
virtual void | Delete (int index) |
Deletes an Element at position index. More... | |
TYPE | Get (int index) const |
Returns element[index] if existing and noelement if element[index] doesn't exist. More... | |
int | GetMaximum () const |
int | GetMinimum () const |
int | GetCount () const |
Protected Member Functions | |
void | Resize (int index) |
Protected Attributes | |
TYPE | noelement |
int | maximum |
int | minimum |
int | count |
int | indexoffset |
TYPE * | data |
int | memsize |
KF_Vector< TYPE >::KF_Vector | ( | TYPE | p_noelement, |
TYPE * | newdata, | ||
int | newmemsize, | ||
int | newindexoffset, | ||
int | newminimum, | ||
int | newmaximum, | ||
int | newcount | ||
) |
Cuts a vector in two.
The old vector reaches from minimum to index, the new vector (which is constructed within the function) ranges from index+1 till maximum.
|
virtual |
Deletes an Element at position index.
Reimplemented in KF_IVector< TYPE >, KF_IVector< poslist >, KF_IVector< GRPossibleBreakState::GRVoiceTagsAndStaff >, KF_IVector< GRPossibleBreakState::GRStaffAndState >, and KF_IVector< pentryvector >.
|
inline |
TYPE KF_Vector< TYPE >::Get | ( | int | index | ) | const |
Returns element[index] if existing and noelement if element[index] doesn't exist.
|
inline |
|
inline |
|
inline |
int KF_Vector< TYPE >::GetNextIndex | ( | int | index | ) | const |
void KF_Vector< TYPE >::RemoveAll | ( | ) |
|
protected |
void KF_Vector< TYPE >::Set | ( | int | index, |
TYPE | mydata | ||
) |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |