WSF
ComponentNameHelper.hpp File Reference
#include "wsf_multiresolution_export.h"
#include <algorithm>
#include <locale>
#include <string>
#include <type_traits>
#include <unordered_map>
Include dependency graph for ComponentNameHelper.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  wsf::multiresolution::ComponentName< DerivedComponent >
 Helper struct for assigning names to platform components. More...
struct  wsf::multiresolution::ComponentName< DerivedComponent >::DependentFalse< U >
struct  wsf::multiresolution::PlatformComponentName
 A wrapper for identifying a platform component within a simulation, which may consist of three names: platform name, component type, and component name (optional, depending on whether or not a component is unique). More...
struct  wsf::multiresolution::ComponentName< WsfMover >
struct  wsf::multiresolution::ComponentName< WsfSensor >
struct  wsf::multiresolution::ComponentName< WsfFuel >
struct  wsf::multiresolution::ComponentName< wsf::comm::Comm >
struct  wsf::multiresolution::ComponentName< WsfProcessor >
struct  wsf::multiresolution::ComponentName< WsfAcousticSignature >
struct  wsf::multiresolution::ComponentName< WsfInfraredSignature >
struct  wsf::multiresolution::ComponentName< WsfOpticalSignature >
struct  wsf::multiresolution::ComponentName< WsfRadarSignature >

Namespaces

namespace  wsf
 Function definitions for those who need run-time access to the version.
namespace  wsf::comm
namespace  wsf::multiresolution
namespace  wsf::multiresolution::detail

Functions

template<typename DerivedComponent>
std::string wsf::multiresolution::CommandName ()
 This name, associated with DerivedComponent, is for use in the multiresolution framework. It is set as the name of the platform component instantiated with DerivedComponent.
template<typename DerivedComponent>
std::string wsf::multiresolution::BaseTypeName ()
 This name, associated with DerivedComponent, is used as the base input type for scenario input.
template<typename DerivedComponent>
constexpr bool wsf::multiresolution::RequiresUserInputName ()
template<typename DerivedComponent>
constexpr const char * wsf::multiresolution::BaseComponentName ()
std::unordered_map< std::string, bool > wsf::multiresolution::ComponentTypeRequiresNameMap ()
 Generates a map of each supported multiresolution type name to its required user input flag.
template<typename Last>
std::unordered_map< std::string, bool > wsf::multiresolution::detail::AppendComponentTypeMap (std::unordered_map< std::string, bool > &&componentTypeMap)
template<typename First, typename Second, typename... Rest>
std::unordered_map< std::string, bool > wsf::multiresolution::detail::AppendComponentTypeMap (std::unordered_map< std::string, bool > &&componentTypeMap)

Variables

constexpr auto wsf::multiresolution::cEXTENSION_NAME = "wsf_multiresolution"
constexpr auto wsf::multiresolution::cFEATURE_NAME = "multiresolution"
Copyrights Multiple, All Rights Reserved