#include <Merge.h>
Collaboration diagram for Arxx::Context:
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::Item & | GetCurrentItem (void) const |
const Arxx::Archive & | GetTargetArchive (void) const |
const Arxx::Archive & | GetSourceArchive (void) const |
void | vSetCurrentItem (Arxx::Item &Item) |
void | vAddingItem (Arxx::Item &Item) |
void | vAddItems (void) |
Private Attributes | |
Arxx::Archive & | m_TargetArchive |
The target Archive of the merging process. | |
Arxx::Archive & | m_SourceArchive |
Arxx::Item * | m_pCurrentItem |
std::vector< Arxx::Item * > | m_AddingItems |
std::vector< Arxx::Item * > | m_ReplaceItems |
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.
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 | ) |
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] |