-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
27 lines (23 loc) · 1.25 KB
/
main.cpp
File metadata and controls
27 lines (23 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
* @date: Oct 2018
* @author: walther
* @brief: Test program for the enumerations header file.
*/
#include <stdlib.h>
#include <iostream>
#include <string>
#include "SisoRef010Enums.h"
int main(int numArguments, char const * const arguments[]) {
using namespace SISO::ENTITY_TYPES::_1_3_225::GUIDED_MISSILE_DESTROYER::ARLEIGH_BURKE_CLASS::DDG_51_ARLEIGH_BURKE;
/** C++11 usage example. */
std::cout << "Arleigh Burke Class DDG 51 Entity Type (C++11): " << std::endl;
std::cout << " KIND: " << static_cast<unsigned int>(DDG_51_ARLEIGH_BURKE_E::KIND) << std::endl;
std::cout << " DOMAIN: " << static_cast<unsigned int>(DDG_51_ARLEIGH_BURKE_E::DOMAIN) << std::endl;
std::cout << " COUNTRY: " << static_cast<unsigned int>(DDG_51_ARLEIGH_BURKE_E::COUNTRY) << std::endl;
std::cout << " CATEGORY: " << static_cast<unsigned int>(DDG_51_ARLEIGH_BURKE_E::CATEGORY) << std::endl;
std::cout << " SUBCATEGORY: " << static_cast<unsigned int>(DDG_51_ARLEIGH_BURKE_E::SUBCATEGORY) << std::endl;
std::cout << " SPECIFIC: " << static_cast<unsigned int>(DDG_51_ARLEIGH_BURKE_E::SPECIFIC) << std::endl;
std::cout << " EXTRA: " << static_cast<unsigned int>(DDG_51_ARLEIGH_BURKE_E::EXTRA) << std::endl;
std::cout << "Successful Completion" << std::endl;
return EXIT_SUCCESS;
}