diff options
author | Fritz Elfert <felfert@to.com> | 2000-08-07 23:42:40 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2000-08-07 23:42:40 +0000 |
commit | 68d5fd192fee358ad195c32b47333f8f87ae13f2 (patch) | |
tree | 59f865b9679830a006c5c35fb13dcf8f81b85099 /lib/bufferarray.h | |
parent | 50dee0db8d5117ed3b9691140ceb02d8aac292d1 (diff) | |
download | plptools-68d5fd192fee358ad195c32b47333f8f87ae13f2.tar.gz plptools-68d5fd192fee358ad195c32b47333f8f87ae13f2.tar.bz2 plptools-68d5fd192fee358ad195c32b47333f8f87ae13f2.zip |
General cleanup:
- Corrected some operators of bufferArray
- Added more constructors to PsiTime
- Added one more fallback for Timezone calculation in PsiTime
- Use PsiTime in rfsv
- Moved some common methods from rfsv16/32 to rfsv
- Added more kdoc comments.
- Made interface more robust (added const whereever possible,
changed pointer arguments to references)
Diffstat (limited to 'lib/bufferarray.h')
-rw-r--r-- | lib/bufferarray.h | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/lib/bufferarray.h b/lib/bufferarray.h index 7389ab6..b43dcbd 100644 --- a/lib/bufferarray.h +++ b/lib/bufferarray.h @@ -48,19 +48,40 @@ public: bufferStore &operator [](const unsigned long index); /** - * Appends a bufferStore. + * Appends a bufferStore to a bufferArray. + * + * @param s The bufferStore to be appended. + * + * @returns A new bufferArray with bufferStore appended to. */ - bufferArray &operator +(const bufferStore &); + bufferArray operator +(const bufferStore &s); /** * Concatenates two bufferArrays. + * + * @param a The bufferArray to be appended. + * + * @returns A new bufferArray consisting with a appended. */ - bufferArray &operator +(const bufferArray &); + bufferArray operator +(const bufferArray &a); /** - * Appends a bufferStore. + * Appends a bufferStore to current instance. + * + * @param s The bufferStore to append. + * + * @returns A reference to the current instance with s appended. + */ + bufferArray &operator +=(const bufferStore &s); + + /** + * Appends a bufferArray to current instance. + * + * @param a The bufferArray to append. + * + * @returns A reference to the current instance with a appended. */ - bufferArray &operator +=(const bufferStore &b); + bufferArray &operator +=(const bufferArray &a); /** * Removes the first bufferStore. |