WSF
usmtf::InputBuilder Class Reference

#include <InputBuilder.hpp>

Public Member Functions

 InputBuilder (const std::string &aFileName)
void Export (bool aIgnoreBlockSeperation=false) const
void AddBlock (const InputBlock &aBlock) noexcept
void AddBlock (const Exportable &aExportbableEntity) noexcept
void AddBlock (const Exportable *aExportbableEntity) noexcept
void AddBlocks (const std::vector< InputBlock > &aBlocks) noexcept
void AddBlocks (const std::vector< const Exportable * > &aExportbableEntities) noexcept

Detailed Description

An Input Builder is a class used to abstract away the construction and export of an AFSIM Scenario file. Its done through composing input blocks. See InputBlock.hpp and InputBlockProperty.cpp

      ______     header
      |              properties <---- n Properties
      |              blocks                 __________

Input | – properties | Block | – blocks | Nested Input block | – etc | | – etc.. n times __________| |_____ end_header

Constructor & Destructor Documentation

◆ InputBuilder()

usmtf::InputBuilder::InputBuilder ( const std::string & aFileName)
explicit

Member Function Documentation

◆ AddBlock() [1/3]

void usmtf::InputBuilder::AddBlock ( const Exportable & aExportbableEntity)
noexcept

◆ AddBlock() [2/3]

void usmtf::InputBuilder::AddBlock ( const Exportable * aExportbableEntity)
noexcept

◆ AddBlock() [3/3]

void usmtf::InputBuilder::AddBlock ( const InputBlock & aBlock)
noexcept

Referenced by usmtf::ExportAto().

◆ AddBlocks() [1/2]

void usmtf::InputBuilder::AddBlocks ( const std::vector< const Exportable * > & aExportbableEntities)
noexcept

◆ AddBlocks() [2/2]

void usmtf::InputBuilder::AddBlocks ( const std::vector< InputBlock > & aBlocks)
noexcept

◆ Export()

void usmtf::InputBuilder::Export ( bool aIgnoreBlockSeperation = false) const

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