VR-Forces 4.0.4 Class Documentation
include/vrftasks/weaponListResponseAdmin.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2012 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00008 
00010 
00011 #pragma once
00012 
00013 #include "vrftasks/adminContent.h"
00014 #include <list>
00015 
00018 class DT_DLL_vrftasks DtWeaponListResponseAdmin : public DtAdminContent
00019 {
00020 public:
00021 
00023    DtWeaponListResponseAdmin();
00024 
00026    DtWeaponListResponseAdmin(const DtWeaponListResponseAdmin & orig);
00027 
00029    const DtWeaponListResponseAdmin & operator=(const 
00030       DtWeaponListResponseAdmin & orig);
00031 
00033    virtual ~DtWeaponListResponseAdmin();
00034 
00036    static DtAdminContent* create();
00037 
00039    virtual bool init();
00040 
00042    virtual int type() const;
00043 
00045 
00046    virtual const std::list<DtString>& weaponSystems() const;
00047    virtual std::list<DtString>& weaponSystems();
00049 
00052    virtual void addWeaponSystem(const DtString& modeName);
00054    virtual void clearWeaponSystems();
00055 
00058    virtual DtAdminContent* clone() const;
00059 
00061    virtual DtString stringRep() const;
00062 
00064    virtual int netRepSize() const;
00065 
00067    virtual bool setFromNet(const char* contentBuffer,
00068       unsigned contentSize);
00069 
00071    virtual bool setToNet();
00072 
00073 protected:
00075    std::list<DtString> myWeaponSystems;
00076 };

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)