aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/blobbuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unstable/blobbuilder.cpp63
1 files changed, 63 insertions, 0 deletions
diff --git a/src/unstable/blobbuilder.cpp b/src/unstable/blobbuilder.cpp
index 73271f8..b98476b 100644
--- a/src/unstable/blobbuilder.cpp
+++ b/src/unstable/blobbuilder.cpp
@@ -5,4 +5,67 @@
5 * terms of the license contained in the file LICENSE. 5 * terms of the license contained in the file LICENSE.
6 */ 6 */
7 7
8#include "blobbuilder.h"
9
10/////
11// BlobBuilderCore::Chunk
12//
13
14Bu::BlobBuilderCore::Chunk::Chunk() :
15 iFill( 0 ),
16 iLength( 0 ),
17 pData( 0 ),
18 pNext( 0 )
19{
20}
21
22Bu::BlobBuilderCore::Chunk::~Chunk()
23{
24 delete[] pData;
25 pData = 0;
26 delete pNext;
27 pNext = 0;
28}
29
30/////
31// BlobBuilderCore
32//
33
34Bu::BlobBuilderCore::BlobBuilderCore() :
35 pFirst( 0 ),
36 pLast( 0 ),
37 iLength( 0 )
38{
39}
40
41Bu::BlobBuilderCore::BlobBuilderCore( const Bu::BlobBuilderCore &rSrc ) :
42 iLength( rSrc.iLength ),
43 pFirst( 0 ),
44 pLast( 0 )
45{
46
47}
48
49Bu::BlobBuilderCore::~BlobBuilderCore()
50{
51 delete pFirst;
52 pFirst = pLast = 0;
53}
54
55//////
56// BlobBuilder
57//
58
59Bu::BlobBuilder::BlobBuilder()
60{
61}
62
63Bu::BlobBuilder::BlobBuilder( const Bu::BlobBuilder &rSrc ) :
64 Bu::SharedCore<Bu::BlobBuilder, Bu::BlobBuilderCore>( rSrc )
65{
66}
67
68Bu::BlobBuilder::~BlobBuilder()
69{
70}
8 71