WSF
wsf::coverage::AssetSpecification::Asset Struct Reference

A record read in from the input file. More...

#include <WsfCoverageAssetSpecification.hpp>

Public Member Functions

bool SetAssetClass (const std::string &aAssetClass)

Public Attributes

AssetClass mType {AssetClass::cUNKNOWN}
std::string mName
std::string mDeviceName

Detailed Description

A record read in from the input file.

Member Function Documentation

◆ SetAssetClass()

bool wsf::coverage::AssetSpecification::Asset::SetAssetClass ( const std::string & aAssetClass)

Set the AssetClass of this Asset from the string identifier of that class.

This will set the asset class of this Asset from the provided aAssetClass identifier. If there is no such recognized class, this method sets the asset class of this Asset to cUNKNOWN.

Parameters
aAssetClass- A string identifier for the asset class.
Returns
- true if the asset class was recognized and this object's class was set; false otherwise.

References wsf::coverage::AssetSpecification::cCATEGORY, wsf::coverage::AssetSpecification::cGROUP, wsf::coverage::AssetSpecification::cPLATFORM, wsf::coverage::AssetSpecification::cPLATFORM_TYPE, wsf::coverage::AssetSpecification::cUNKNOWN, and mType.

Referenced by wsf::coverage::AssetSpecification::ProcessInput().

Member Data Documentation

◆ mDeviceName

std::string wsf::coverage::AssetSpecification::Asset::mDeviceName

◆ mName

std::string wsf::coverage::AssetSpecification::Asset::mName

◆ mType

AssetClass wsf::coverage::AssetSpecification::Asset::mType {AssetClass::cUNKNOWN}

Referenced by SetAssetClass().


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