WSF
WsfBMWeaponTable Class Reference

#include <WsfBMWeaponTable.hpp>

Inheritance diagram for WsfBMWeaponTable:
Collaboration diagram for WsfBMWeaponTable:

Public Member Functions

 WsfBMWeaponTable ()
 WsfBMWeaponTable (il::weaponTable *table)
virtual WsfBMWeaponTableClone () const
virtual bool ProcessInput (UtInput &aInput, bool has_priority=false, bool has_pk_percent=false)
Public Member Functions inherited from WsfBMUnmanagedTypeWrapper< il::weaponTable >
 WsfBMUnmanagedTypeWrapper (const std::string &script_class_name)
virtual void SetData (il::weaponTable *data_to_wrap)
Public Member Functions inherited from WsfBMTypeWrapper< il::weaponTable, il::weaponTable * >
 WsfBMTypeWrapper (const std::string &script_class_name)
virtual const char * GetScriptClassName () const
virtual tType GetRawPtr () const
virtual bool IsValidRef () const
Public Member Functions inherited from WsfObject
 WsfObject ()
 This is the constructor for the WsfObject class.
 ~WsfObject () override
 This is the destructor for the WsfObject class.
const char * GetScriptClassName () const override
virtual bool ProcessInput (UtInput &aInput)
const std::string & GetType () const
WsfStringId GetTypeId () const
 Get the string ID of the 'type' of the object.
void SetType (WsfStringId aType)
const std::string & GetBaseType () const
WsfStringId GetBaseTypeId () const
const TypeListGetTypeList () const
bool IsA_TypeOf (WsfStringId aType) const
WsfObjectoperator= (const WsfObject &aRhs)
 Assignment operator.
template<typename T>
void Serialize (T &aBuff)
 For XIO (de)serialization.
const std::string & GetName () const
WsfStringId GetNameId () const
void SetName (WsfStringId aName)

Protected Types

typedef std::map< std::string, il::genericAttribute > tAttributeCache

Protected Member Functions

virtual bool ParseSpeedAttributes (UtInput &aInput, const std::string &end_block_str)
virtual bool ParseAltitudeAttributes (UtInput &aInput, const std::string &end_block_str)
virtual bool ParseWeaponRowsBlock (UtInput &aInput, const std::string &end_block_str, bool has_priority=false, bool has_pk_percent=false)
virtual bool ParseAISubtypePrefs (UtInput &aInput, const std::string &end_block_str, std::shared_ptr< il::weaponTableRow > &wtr)
virtual bool ParseSAMSubtypePrefs (UtInput &aInput, const std::string &end_block_str, std::shared_ptr< il::weaponTableRow > &wtr)
virtual bool ParseOtherSubtypePrefs (UtInput &aInput, const std::string &end_block_str, std::shared_ptr< il::weaponTableRow > &wtr)
 WsfObject (const WsfObject &aSrc)
 Copy constructor (for Clone()).

Protected Attributes

tAttributeCache m_speed_attributes
tAttributeCache m_altitude_attributes
Protected Attributes inherited from WsfBMTypeWrapper< il::weaponTable, il::weaponTable * >
std::string m_script_class_name
il::weaponTable * m_wrapped_ptr

Additional Inherited Members

Public Types inherited from WsfBMTypeWrapper< il::weaponTable, il::weaponTable * >
typedef il::weaponTable * tType
Public Types inherited from WsfObject
typedef std::vector< WsfStringIdTypeList
 The list of types returned by GetTypeList.

Member Typedef Documentation

◆ tAttributeCache

typedef std::map<std::string, il::genericAttribute> WsfBMWeaponTable::tAttributeCache
protected

Constructor & Destructor Documentation

◆ WsfBMWeaponTable() [1/2]

WsfBMWeaponTable::WsfBMWeaponTable ( )

◆ WsfBMWeaponTable() [2/2]

WsfBMWeaponTable::WsfBMWeaponTable ( il::weaponTable * table)

Member Function Documentation

◆ Clone()

WsfBMWeaponTable * WsfBMWeaponTable::Clone ( ) const
virtual

Return a copy of this object. Must be implemented by all derived types. If cloning is impossible, a WsfUncloneableException should be thrown.

Reimplemented from WsfBMTypeWrapper< il::weaponTable, il::weaponTable * >.

References WsfBMWeaponTable().

◆ ParseAISubtypePrefs()

bool WsfBMWeaponTable::ParseAISubtypePrefs ( UtInput & aInput,
const std::string & end_block_str,
std::shared_ptr< il::weaponTableRow > & wtr )
protectedvirtual

◆ ParseAltitudeAttributes()

bool WsfBMWeaponTable::ParseAltitudeAttributes ( UtInput & aInput,
const std::string & end_block_str )
protectedvirtual

References m_altitude_attributes.

Referenced by ProcessInput().

◆ ParseOtherSubtypePrefs()

bool WsfBMWeaponTable::ParseOtherSubtypePrefs ( UtInput & aInput,
const std::string & end_block_str,
std::shared_ptr< il::weaponTableRow > & wtr )
protectedvirtual

◆ ParseSAMSubtypePrefs()

bool WsfBMWeaponTable::ParseSAMSubtypePrefs ( UtInput & aInput,
const std::string & end_block_str,
std::shared_ptr< il::weaponTableRow > & wtr )
protectedvirtual

◆ ParseSpeedAttributes()

bool WsfBMWeaponTable::ParseSpeedAttributes ( UtInput & aInput,
const std::string & end_block_str )
protectedvirtual

References m_speed_attributes.

Referenced by ProcessInput().

◆ ParseWeaponRowsBlock()

bool WsfBMWeaponTable::ParseWeaponRowsBlock ( UtInput & aInput,
const std::string & end_block_str,
bool has_priority = false,
bool has_pk_percent = false )
protectedvirtual

◆ ProcessInput()

bool WsfBMWeaponTable::ProcessInput ( UtInput & aInput,
bool has_priority = false,
bool has_pk_percent = false )
virtual

Member Data Documentation

◆ m_altitude_attributes

tAttributeCache WsfBMWeaponTable::m_altitude_attributes
protected

◆ m_speed_attributes

tAttributeCache WsfBMWeaponTable::m_speed_attributes
protected

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved