Arxx::Context Class Reference

#include <Merge.h>

Collaboration diagram for Arxx::Context:

Collaboration graph
[legend]
List of all members.

Detailed Description

Gathers information about a merging process.

The context is created to assist the merging process. It is handed to the rules so they can compute their matching according to external conditions provided by the context.


Public Member Functions

 Context (Arxx::Archive &TargetArchive, Arxx::Archive &SourceArchive)
Arxx::ItemGetCurrentItem (void) const
const Arxx::ArchiveGetTargetArchive (void) const
const Arxx::ArchiveGetSourceArchive (void) const
void vSetCurrentItem (Arxx::Item &Item)
void vAddingItem (Arxx::Item &Item)
void vAddItems (void)

Private Attributes

Arxx::Archivem_TargetArchive
 The target Archive of the merging process.
Arxx::Archivem_SourceArchive
Arxx::Itemm_pCurrentItem
std::vector< Arxx::Item * > m_AddingItems
std::vector< Arxx::Item * > m_ReplaceItems


Constructor & Destructor Documentation

Arxx::Context::Context ( Arxx::Archive TargetArchive,
Arxx::Archive SourceArchive 
)

libarxx - Advanced Resource files in C++ Copyright (C) 2005 Hagen Möbius

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.


Member Function Documentation

Arxx::Item & Arxx::Context::GetCurrentItem ( void   )  const

const Arxx::Archive & Arxx::Context::GetSourceArchive ( void   )  const

const Arxx::Archive & Arxx::Context::GetTargetArchive ( void   )  const

void Arxx::Context::vAddingItem ( Arxx::Item Item  ) 

void Arxx::Context::vAddItems ( void   ) 

void Arxx::Context::vSetCurrentItem ( Arxx::Item Item  ) 


Member Data Documentation

std::vector< Arxx::Item * > Arxx::Context::m_AddingItems [private]

Arxx::Item* Arxx::Context::m_pCurrentItem [private]

std::vector< Arxx::Item * > Arxx::Context::m_ReplaceItems [private]

Arxx::Archive& Arxx::Context::m_SourceArchive [private]

Arxx::Archive& Arxx::Context::m_TargetArchive [private]

The target Archive of the merging process.

The target Archive is the Archive that contains the old items. It serves as the base data set and Item objects from the source Archive will replace the Item objects of the target Archive or will be added to it.


The documentation for this class was generated from the following files:
Generated on Tue Oct 10 11:34:52 2006 for libarxx by  doxygen 1.4.7