WSF
WsfAssetMap Class Reference

#include <WsfAssetMap.hpp>

Inheritance diagram for WsfAssetMap:
Collaboration diagram for WsfAssetMap:

Public Member Functions

 WsfAssetMap (std::weak_ptr< il::logger::GlobalLogger > aGlobalLogger)
 WsfAssetMap (il::assetMap *assets, std::weak_ptr< il::logger::GlobalLogger > aGlobalLogger)
virtual void SetAssetMap (il::assetMap *assets)
WsfAssetMapClone () const override
const char * GetScriptClassName () const override
il::assetMap * GetRawAssetsPtr ()
void Add (const WsfBMAssetRecord *record)
bool Exists (const il::idRecord &asset_id) const
bool GetAsset (const il::idRecord &asset_id, WsfBMAssetRecord *record) const
std::weak_ptr< il::logger::GlobalLogger > GetGlobalLogger () 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 Attributes

std::weak_ptr< il::logger::GlobalLogger > mGlobalLogger

Additional Inherited Members

Public Types inherited from WsfObject
typedef std::vector< WsfStringIdTypeList
 The list of types returned by GetTypeList.
 WsfObject (const WsfObject &aSrc)
 Copy constructor (for Clone()).

Constructor & Destructor Documentation

◆ WsfAssetMap() [1/2]

WsfAssetMap::WsfAssetMap ( std::weak_ptr< il::logger::GlobalLogger > aGlobalLogger)
inline

Referenced by Clone().

◆ WsfAssetMap() [2/2]

WsfAssetMap::WsfAssetMap ( il::assetMap * assets,
std::weak_ptr< il::logger::GlobalLogger > aGlobalLogger )
inline

Member Function Documentation

◆ Add()

void WsfAssetMap::Add ( const WsfBMAssetRecord * record)

◆ Clone()

WsfAssetMap * WsfAssetMap::Clone ( ) const
overridevirtual

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

Implements WsfObject.

References WsfAssetMap().

◆ Exists()

bool WsfAssetMap::Exists ( const il::idRecord & asset_id) const

◆ GetAsset()

bool WsfAssetMap::GetAsset ( const il::idRecord & asset_id,
WsfBMAssetRecord * record ) const

◆ GetGlobalLogger()

std::weak_ptr< il::logger::GlobalLogger > WsfAssetMap::GetGlobalLogger ( ) const
inline

References mGlobalLogger.

◆ GetRawAssetsPtr()

il::assetMap * WsfAssetMap::GetRawAssetsPtr ( )
inline

◆ GetScriptClassName()

const char * WsfAssetMap::GetScriptClassName ( ) const
inlineoverride

◆ SetAssetMap()

virtual void WsfAssetMap::SetAssetMap ( il::assetMap * assets)
inlinevirtual

References mGlobalLogger.

Member Data Documentation

◆ mGlobalLogger

std::weak_ptr<il::logger::GlobalLogger> WsfAssetMap::mGlobalLogger
protected

Referenced by GetGlobalLogger(), and SetAssetMap().


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