Exemplo n.º 1
0
 PerPageCopy(PerPageCopy const& that)
 {
   store_ = that.store_;
   pagenos_ = that.pagenos_;
   for (std::size_t pageno : pagenos_)
     store_->ref_page(pageno);
 }
Exemplo n.º 2
0
 // Copy and move
 ChunkedData(ChunkedData const& that)
 {
   store_ = that.store_;
   pagenos_ = that.pagenos_;
   for (std::size_t pageno : pagenos_)
     store_->ref_page(pageno);
 }
Exemplo n.º 3
0
 PerPageCopy& operator=(PerPageCopy const& that)
 {
   this->clear();
   store_ = that.store_;
   pagenos_ = that.pagenos_;
   for (std::size_t pageno : pagenos_)
     store_->ref_page(pageno);
   return *this;
 }
Exemplo n.º 4
0
 ChunkedData& operator=(ChunkedData const& that)
 {
   this->clear();
   store_ = that.store_;
   pagenos_ = that.pagenos_;
   for (std::size_t pageno : pagenos_)
     store_->ref_page(pageno);
   return *this;
 }