WSF
Beacon.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2019 Infoscitex, a DCS Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef BEACON_HPP
13#define BEACON_HPP
14
15#include "usmtf_export.h"
16
17#include <string>
18
19#include "RegexValidator.hpp"
20
21namespace usmtf
22{
25
47class USMTF_EXPORT Beacon : public RegexValidator
48{
49public:
50 Beacon();
51 bool ParseAndValidate(const Field& aField) override;
54 const std::string& GetFirst() const noexcept;
55 const std::string& GetSecond() const noexcept;
56 const std::string& GetThird() const noexcept;
57
58protected:
59 std::string mFirst;
60 std::string mSecond;
61 std::string mThird;
62};
63} // namespace usmtf
64#endif
const std::string & GetThird() const noexcept
Definition Beacon.cpp:47
bool ParseAndValidate(const Field &aField) override
Definition Beacon.cpp:24
std::string mSecond
Definition Beacon.hpp:60
std::string mFirst
Definition Beacon.hpp:59
const std::string & GetFirst() const noexcept
Definition Beacon.cpp:37
Beacon()
Definition Beacon.cpp:16
const std::string & GetSecond() const noexcept
Definition Beacon.cpp:42
std::string mThird
Definition Beacon.hpp:61
Definition Field.hpp:48
Definition Acmid.cpp:17
Copyrights Multiple, All Rights Reserved