# j_manager.cc

Go to the documentation of this file.

    00001 ///
    00002 /// \file       j_manager.cc
    00003 ///             Application management classes
    00004 ///
    00005
    00006 /*
    00007     Copyright (C) 2009, Nicolas VIVIEN
    00008
    00009     This program is free software; you can redistribute it and/or modify
    00010     it under the terms of the GNU General Public License as published by
    00011     the Free Software Foundation; either version 2 of the License, or
    00012     (at your option) any later version.
    00013
    00014     This program is distributed in the hope that it will be useful,
    00015     but WITHOUT ANY WARRANTY; without even the implied warranty of
    00016     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    00017
    00018     See the GNU General Public License in the COPYING file at the
    00019     root directory of this project for more details.
    00020 */
    00021
    00022 #include "j_manager.h"
    00023 #include "dp_codinfo.h"
    00024 #include "debug.h"
    00025
    00026
    00027 namespace Barry { namespace JDWP {
    00028
    00029
    00030 // JDWAppInfo class
    00031 //------------------
    00032
    00033
    00034 void JDWAppInfo::Load(JDG::CodInfo &info)
    00035 {
    00036         dout("JDWAppInfo::load" << endl);
    00037
    00038         // Assign uniqueId
    00039         uniqueId = info.GetUniqueId();
    00040
    00041         // Add Class (concat with a previous list)
    00042         JDG::ClassList *list = &(info.classList);
    00043
    00044         classList.insert(classList.end(), list->begin(), list->end());
    00045 }
    00046
    00047
    00048 }} // namespace Barry::JDWP
    00049